Rorschach 6 年 前
コミット
8e220eee02

+ 4 - 1
component/hot/hot.wxml

@@ -12,6 +12,9 @@
             <icon type="search" size="17" />
         </button>
         <view class="allBooks" bindtap="goToBooks">全部课本</view>
+        <!-- <form bindsubmit="submitTest" report-submit="{{true}}" class="allBooks">
+            <button formType="submit">Reset</button>
+        </form> -->
     </view>
     <view class="hotSection">
         <view class="title">
@@ -46,7 +49,7 @@
                 <text>人气推荐</text>
             </view>
         </view>
-        <view class="hotWares"  >
+        <view class="hotWares">
             <view wx:for="{{hotData.hotWorks}}" wx:key="{{index}}" class="hotWareCard" bindtap="openWorks" data-readId="{{item.classId}}" data-title="{{item.title}}">
                 <image class="wareCardImg" src="{{item.img}}" />
                 <text class="wareCardTitle">{{item.title}}</text>

+ 5 - 3
component/share/share.js

@@ -79,8 +79,10 @@ Component({
                   y: 0,
                   width: 370,
                   height: 507,
-                  destWidth: 370,
-                  destHeight: 507,
+                  // destWidth: 370,
+                  destWidth: 1110,
+                  // destHeight: 507,
+                  destHeight: 1521,
                   canvasId: 'myCanvas',
                   success: (res) => {
                     console.log(res.tempFilePath)
@@ -269,7 +271,7 @@ Component({
         ctx.fillText('已使出洪荒之力,声情并茂的为', (370 - ctx.measureText('已使出洪荒之力,声情并茂的为').width) / 2, 138)
         ctx.fillText(`《${this.data.title}》`, (370 - ctx.measureText(`《${this.data.title}》`).width) / 2, 160)
         ctx.fillText(`配了一段惊世之作`, (370 - ctx.measureText(`配了一段惊世之作`).width) / 2, 182)
-        ctx.drawImage(this.data.iconImg, 9, 205, 352, 145);
+        ctx.drawImage(this.data.iconImg, 9, 205, 704, 145);
         ctx.setFontSize(18)
         ctx.setFillStyle('#000')
         ctx.drawImage('../../../static/groupImg/share_bottom.png', 3, 419, 370, 192);

+ 1 - 1
pages/groupPage/grade-details/grade-details.js

@@ -102,7 +102,7 @@ Page({
       'signType': 'MD5',
       'paySign': prePayMap.sign,
       'success': function (res) {
-        console.log('支付成功')
+        console.log('支付成功',res)
         wx.showModal({
           title: '提示',
           content: '支付成功',

+ 1 - 1
pages/groupPage/group-details/group-details.js

@@ -119,7 +119,7 @@ Page({
             //获取拼团信息
             console.log(that.data.orderId)
             wx.showLoading({
-              title: '作品转码中',
+              title: '支付查询中...',
               mask: true
             })
             setTimeout(() => {

+ 4 - 1
pages/index/index.js

@@ -188,5 +188,8 @@ Page({
         console.log('没有更多')
       }
     }
-  }
+  },
+  // submitTest: function(e){
+  //   console.log(e)
+  // }
 })

BIN
static/image/empty_heart.png


BIN
static/image/fully_heart.png