浏览代码

助力功能修复 AND 新增了解软件页面

liuyao 1 年之前
父节点
当前提交
36877a5c34

+ 2 - 1
app.json

@@ -74,7 +74,8 @@
                 "pages/historical-purchase-history/historical-purchase-history",
                 "pages/draw-bill/draw-bill",
                 "pages/draw-bill/add/add",
-                "pages/invoice-header/invoice-header"
+                "pages/invoice-header/invoice-header",
+                "pages/understand-software/understand-software"
             ]
         },
         {

+ 10 - 0
package-basic-data/pages/share/share.js

@@ -113,6 +113,9 @@ Page({
                 couponSendItem: data
               })
             }
+            that.setData({
+              couponSendItem: data
+            })
           })
           break;
         case 'toRegister':
@@ -128,6 +131,9 @@ Page({
                 integralShareItem: item
               })
             }
+            that.setData({
+              integralShareItem: item
+            })
           })
           break;
       }
@@ -448,6 +454,10 @@ Page({
           couponSendItem: item
         })
       }
+      this.setData({
+        couponSendItem: item
+      })
+      console.log('66', !this.data.couponSendItem);
       if (!this.data.couponSendItem) {
         const that = this
         const res = await this.insertNewPowerItem()

+ 3 - 3
package-basic-data/pages/share/share.wxss

@@ -293,13 +293,13 @@ page {
 .activity-card .button-view-footer .user-list {
   display: flex;
   max-width: 220rpx;
-  min-width: 98rpx;
+  min-width: 100rpx;
   justify-content: space-between;
 }
 
 .activity-card .button-view-footer .user-list .user-icon image {
-  width: 20px;
-  height: 20px;
+  width: 23px;
+  height: 23px;
   margin-top: 20rpx;
 }
 

+ 66 - 0
package-basic-data/pages/understand-software/understand-software.js

@@ -0,0 +1,66 @@
+// package-basic-data/pages/understand-software/understand-software.js
+Page({
+
+    /**
+     * 页面的初始数据
+     */
+    data: {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面加载
+     */
+    onLoad(options) {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面初次渲染完成
+     */
+    onReady() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面显示
+     */
+    onShow() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面隐藏
+     */
+    onHide() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面卸载
+     */
+    onUnload() {
+
+    },
+
+    /**
+     * 页面相关事件处理函数--监听用户下拉动作
+     */
+    onPullDownRefresh() {
+
+    },
+
+    /**
+     * 页面上拉触底事件的处理函数
+     */
+    onReachBottom() {
+
+    },
+
+    /**
+     * 用户点击右上角分享
+     */
+    onShareAppMessage() {
+
+    }
+})

+ 3 - 0
package-basic-data/pages/understand-software/understand-software.json

@@ -0,0 +1,3 @@
+{
+    "usingComponents": {}
+}

+ 6 - 0
package-basic-data/pages/understand-software/understand-software.wxml

@@ -0,0 +1,6 @@
+<view>
+    <van-sticky scroll-top="0" id="sticky">
+      <dk-navbar titleFontColor="#000000" leftButtonHide="{{false}}" operateShow="{{false}}" fixed="{{true}}"
+        navbarTitle="助力抢劵" customStyle="background-color:transparent;" titleFontColor="#ffffff" />
+  </van-sticky>
+</view>

+ 1 - 0
package-basic-data/pages/understand-software/understand-software.wxss

@@ -0,0 +1 @@
+/* package-basic-data/pages/understand-software/understand-software.wxss */