Bläddra i källkod

购买页面加客服

bayi 1 år sedan
förälder
incheckning
c470774fac
4 ändrade filer med 29 tillägg och 2 borttagningar
  1. 2 1
      pages/commodity/index.json
  2. 12 0
      pages/commodity/index.less
  3. 5 1
      pages/commodity/index.wxml
  4. 10 0
      pages/commodity/index.wxss

+ 2 - 1
pages/commodity/index.json

@@ -1,4 +1,5 @@
 {
   "usingComponents": {},
-  "navigationBarTitleText": "学习卡"
+  "navigationBarTitleText": "学习卡",
+  "enablePullDownRefresh": false
 }

+ 12 - 0
pages/commodity/index.less

@@ -94,6 +94,18 @@
     .li {
       margin-top: 20rpx;
       font-size: 28rpx;
+      display: flex;
+      align-items: center;
+
+      .resetBtn {
+        margin-left: 30rpx;
+        border: none;
+      }
+
+      .img {
+        width: 70rpx;
+        height: 70rpx;
+      }
     }
   }
 

+ 5 - 1
pages/commodity/index.wxml

@@ -26,7 +26,11 @@
     <view class="title">购买须知</view>
     <view class="li">1、支付成功后将自动给您添加权限。同时会给您推送一张学习卡。</view>
     <view class="li">2、查看使用权限,在“我的”会员栏目查看使用到期日。</view>
-    <view class="li">3、任何问题随时联系官方客服</view>
+    <view class="li">3、任何问题随时联系官方客服
+      <button class="resetBtn" open-type="contact" plain="true">
+        <image class="img" src="/static/contact.png" />
+      </button>
+    </view>
   </view>
   <view class="payBox">
     <view class="left">

+ 10 - 0
pages/commodity/index.wxss

@@ -80,6 +80,16 @@
 .commodity .remind .li {
   margin-top: 20rpx;
   font-size: 28rpx;
+  display: flex;
+  align-items: center;
+}
+.commodity .remind .li .resetBtn {
+  margin-left: 30rpx;
+  border: none;
+}
+.commodity .remind .li .img {
+  width: 70rpx;
+  height: 70rpx;
 }
 .commodity .payBox {
   position: fixed;