bayi 1 year ago
parent
commit
0af9cc7f6f

+ 1 - 1
pages/my/index.wxml

@@ -90,7 +90,7 @@
         </view>
         <view class="activation" bindtap="jump" data-url="/pages/rankIntro/index?img=https://reader-wx.ai160.com/images/reader/pay/gzRule.png">
             <view class="tips">
-                <image src="/static/tjg.png" class="tipsImg" />机构合作
+                <image src="/static/fs.png" class="tipsImg" style="height: 34rpx;"/>机构合作
             </view>
             <image class='black' src='/static/black.png'></image>
         </view>

+ 10 - 1
salesperson/pages/withdrawal/index.js

@@ -7,7 +7,8 @@ Page({
     data: {
         allIncome: {},
         money: '',
-        errMsg: ''
+        errMsg: '',
+        activationModal: false,
     },
     async onShow() {
         let allIncome = await getSaleData()
@@ -34,6 +35,9 @@ Page({
             })
             return
         }
+        this.setData({
+            activationModal: true,
+        })
     },
     clearMoney() {
         console.log('11');
@@ -56,4 +60,9 @@ Page({
             url: `/salesperson/pages/${currentTarget.dataset.url}/index`,
         })
     },
+    closeModal() {
+        this.setData({
+            activationModal: false
+        })
+    },
 })

+ 55 - 0
salesperson/pages/withdrawal/index.less

@@ -105,4 +105,59 @@
         height: 30rpx;
         opacity: 0.6;
     }
+}
+
+.activationModal {
+    position: fixed;
+    z-index: 2;
+    left: 0rpx;
+    top: 0rpx;
+    width: 100vw;
+    height: 100vh;
+    background: rgba(0, 0, 0, 0.7);
+
+    .box {
+        position: absolute;
+        left: 0;
+        right: 0;
+        top: 30%;
+        margin: auto;
+        width: 496rpx;
+        height: 365rpx;
+        background-color: white;
+        border-radius: 20rpx;
+        text-align: center;
+
+
+        .sLcon {
+            margin-top: 34rpx;
+            width: 100rpx;
+            height: 100rpx;
+        }
+
+        .tips1 {
+            margin: 36rpx 0rpx 24rpx;
+            color: #131313;
+            font-weight: bold;
+            font-size: 34rpx;
+        }
+
+        .tips2 {
+            font-size: 30rpx;
+            color: #12C962;
+        }
+
+    }
+
+    .close {
+        position: absolute;
+        padding: 40rpx;
+        width: 54rpx;
+        height: 54rpx;
+        left: 0;
+        right: 0;
+        bottom: -140rpx;
+        margin: auto;
+    }
+
 }

+ 8 - 0
salesperson/pages/withdrawal/index.wxml

@@ -28,4 +28,12 @@
         </view>
         <image class='black' src='/static/black.png'></image>
     </view>
+    <view class="activationModal" wx:if="{{activationModal}}">
+        <view class="box zoomIn">
+            <image src="/static/lan.png" class="sLcon" />
+            <view class="tips1">已发起提现</view>
+            <view class="tips2">预计24小时内到账</view>
+            <image src="/static/lollipop.png" class="close" catchtap="closeModal" />
+        </view>
+    </view>
 </view>

+ 46 - 0
salesperson/pages/withdrawal/index.wxss

@@ -88,3 +88,49 @@
   height: 30rpx;
   opacity: 0.6;
 }
+.activationModal {
+  position: fixed;
+  z-index: 2;
+  left: 0rpx;
+  top: 0rpx;
+  width: 100vw;
+  height: 100vh;
+  background: rgba(0, 0, 0, 0.7);
+}
+.activationModal .box {
+  position: absolute;
+  left: 0;
+  right: 0;
+  top: 30%;
+  margin: auto;
+  width: 496rpx;
+  height: 365rpx;
+  background-color: white;
+  border-radius: 20rpx;
+  text-align: center;
+}
+.activationModal .box .sLcon {
+  margin-top: 34rpx;
+  width: 100rpx;
+  height: 100rpx;
+}
+.activationModal .box .tips1 {
+  margin: 36rpx 0rpx 24rpx;
+  color: #131313;
+  font-weight: bold;
+  font-size: 34rpx;
+}
+.activationModal .box .tips2 {
+  font-size: 30rpx;
+  color: #12C962;
+}
+.activationModal .close {
+  position: absolute;
+  padding: 40rpx;
+  width: 54rpx;
+  height: 54rpx;
+  left: 0;
+  right: 0;
+  bottom: -140rpx;
+  margin: auto;
+}

BIN
static/fs.png