瀏覽代碼

!109 【新增功能】添加微信转账到零钱提现功能
Merge pull request !109 from 痴货/jh-wxzz

芋道源码 10 月之前
父節點
當前提交
c399bb2373
共有 2 個文件被更改,包括 8 次插入2 次删除
  1. 6 1
      pages/commission/components/account-type-select.vue
  2. 2 1
      pages/commission/withdraw.vue

+ 6 - 1
pages/commission/components/account-type-select.vue

@@ -75,7 +75,12 @@
       icon: '/static/img/shop/pay/alipay.png',
       title: '支付宝账户',
       value: '4',
-    }
+    },
+	{
+	  icon: '/static/img/shop/pay/wechat.png',
+	  title: '微信零钱',
+	  value: '5',
+	}
   ];
 
   function onChange(e) {

+ 2 - 1
pages/commission/withdraw.vue

@@ -32,6 +32,7 @@
           <view v-if="state.accountInfo.type === '2'" class="empty-text">银行卡转账</view>
           <view v-if="state.accountInfo.type === '3'" class="empty-text">微信零钱</view>
           <view v-if="state.accountInfo.type === '4'" class="empty-text">支付宝账户</view>
+		  <view v-if="state.accountInfo.type === '5'" class="empty-text">微信零钱</view>
           <text class="cicon-forward" />
         </view>
       </view>
@@ -48,7 +49,7 @@
         />
       </view>
       <!-- 提现账号 -->
-      <view class="card-title" v-show="['2', '3', '4'].includes(state.accountInfo.type)">
+      <view class="card-title" v-show="['2', '3', '4', '5'].includes(state.accountInfo.type)">
         提现账号
       </view>
       <view