junyuanz 3 lat temu
rodzic
commit
a2bab0b218
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 1 1
      packageUser/pages/user/cash/cash.js
  2. 3 3
      pages/user/all/all.wxml

+ 1 - 1
packageUser/pages/user/cash/cash.js

@@ -37,7 +37,7 @@ Page({
     var params = {
     }
     var success = function (res) {
-      var result = res.data.total
+      var result = res.data.available
       that.setData({
         balance: result,
 		cashTotal: res.data

+ 3 - 3
pages/user/all/all.wxml

@@ -41,11 +41,11 @@
         <image class="user-points__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
         <view class="user-points__num">{{integral / 100}}</view>
       </view> -->
-	  <view class="user-points" bindtap="toCash">
+	  <!-- <view class="user-points" bindtap="toCash">
 		  <view class="user-points__title">我的收入</view>
 		  <image class="user-points__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
 		  <view class="user-points__num">{{cashbalance / 100}}</view>
-		</view>
+		</view> -->
       <view class="user-points" bindtap="toRadish">
         <view class="user-points__title">我的提货券</view>
         <image class="user-points__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
@@ -131,7 +131,7 @@
         <view class="user-line__title">我的推广</view>
         <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
       </view> -->
-      <view class="user-line" bindtap="toCashList" style="border:0;" wx:if="{{userInfo.show_invite_mode}}">
+      <view class="user-line" bindtap="toCash" style="border:0;" wx:if="{{userInfo.show_invite_mode}}">
         <view class="user-line__title">我的收入</view>
         <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
       </view>