|
@@ -3,7 +3,7 @@
|
|
|
<!-- #ifdef APP-PLUS || H5 -->
|
|
|
<view class="status_bar1"></view>
|
|
|
<view class="" style="margin-top: var(--status-bar-height);">
|
|
|
- <uni-nav-bar title="个人中心" backgroundColor="#ea3322" color="#fff"></uni-nav-bar>
|
|
|
+ <uni-nav-bar height="55px" title="个人中心" backgroundColor="#ea3322" color="#fff"></uni-nav-bar>
|
|
|
</view>
|
|
|
<!-- #endif -->
|
|
|
<view class="mid" style="flex:1;overflow: hidden;">
|
|
@@ -36,26 +36,6 @@
|
|
|
<view class="phone" v-else-if="isLogin" @tap="bindPhone">绑定手机号</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="num-wrapper">
|
|
|
- <!-- TODO 芋艿:钱包 -->
|
|
|
- <view class="num-item" @click="goMenuPage('/pages/users/user_money/index')">
|
|
|
- <text
|
|
|
- class="num">{{ userInfo.nowMoney ? Number(userInfo.nowMoney).toFixed(2) : 0 }}</text>
|
|
|
- <view class="txt">余额</view>
|
|
|
- </view>
|
|
|
- <view class="num-item" @click="goMenuPage('/pages/users/user_integral/index')">
|
|
|
- <text class="num">{{ userInfo.point ? userInfo.point: 0 }}</text>
|
|
|
- <view class="txt">积分</view>
|
|
|
- </view>
|
|
|
- <view class="num-item" @click="goMenuPage('/pages/users/user_coupon/index')">
|
|
|
- <text class="num">{{ couponCount }}</text>
|
|
|
- <view class="txt">优惠券</view>
|
|
|
- </view>
|
|
|
- <view class="num-item" @click="goMenuPage('/pages/users/user_goods_collection/index')">
|
|
|
- <text class="num">{{ favoriteCount }}</text>
|
|
|
- <view class="txt">收藏</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
<view class="sign" @click="goSignIn">签到</view>
|
|
|
</view>
|
|
|
|
|
@@ -122,8 +102,46 @@
|
|
|
<!-- #endif -->
|
|
|
</view>
|
|
|
</view>
|
|
|
- <image src="/static/images/support.png" alt="" class='support' />
|
|
|
- <view class="uni-p-b-98"></view>
|
|
|
+ <!-- 余额 -->
|
|
|
+ <view class="wallet-box">
|
|
|
+ <navigator url="/pages/users/user_money/index" hover-class="none">
|
|
|
+ <view class="wallet acea-row row-between-wrapper" v-if="userInfo.mobile">
|
|
|
+ <view>余额</view>
|
|
|
+ <view class="input">
|
|
|
+ {{ userInfo.nowMoney ? Number(userInfo.nowMoney).toFixed(2) : 0 }}<text class="iconfont icon-xiangyou"></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </navigator>
|
|
|
+ <navigator url="/pages/users/user_integral/index" hover-class="none">
|
|
|
+ <view class="wallet acea-row row-between-wrapper" v-if="userInfo.mobile">
|
|
|
+ <view>积分</view>
|
|
|
+ <view class="input">
|
|
|
+ <text class="iconfont icon-xiangyou"></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </navigator>
|
|
|
+
|
|
|
+ <navigator url="/pages/users/user_coupon/index" hover-class="none">
|
|
|
+ <view class="wallet acea-row row-between-wrapper" v-if="userInfo.mobile">
|
|
|
+ <view>优惠卷</view>
|
|
|
+ <view class="input">
|
|
|
+ <text class="iconfont icon-xiangyou"></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </navigator>
|
|
|
+
|
|
|
+ <navigator url="/pages/users/user_goods_collection/index" hover-class="none">
|
|
|
+ <view class="wallet acea-row row-between-wrapper" v-if="userInfo.mobile">
|
|
|
+ <view>收藏</view>
|
|
|
+ <view class="input">
|
|
|
+ <text class="iconfont icon-xiangyou"></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- <image src="/static/images/support.png" alt="" class='support' />
|
|
|
+ <view class="uni-p-b-98"></view> -->
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
@@ -641,6 +659,23 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .wallet-box{
|
|
|
+ background-color: #fff;
|
|
|
+ margin-top: 20rpx;
|
|
|
+ border-radius: 14rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+ .wallet{
|
|
|
+ border-bottom: 1rpx solid #f2f2f2;
|
|
|
+ padding: 24rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #282828;
|
|
|
+ .input{
|
|
|
+ color: #2D2D2D;
|
|
|
+ font-size: 36rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.phone {
|
|
|
color: #fff;
|
|
|
}
|