Commit 21e2f630 by zhangzhen

细节优化

parent 1f44c1fd
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</view> </view>
</view> </view>
<view class="flex-col margin-left"> <view class="flex-col margin-left">
<text class="text-title text-lg text-bold text-xxl">{{userInfo.nickName||"凑角001"}}</text> <text class="text-title text-lg text-bold text-xxl">{{userInfo.nickName||"凑角_"+userName}}</text>
<!-- <view class="flex-row" style="margin-top: 10rpx;"> <!-- <view class="flex-row" style="margin-top: 10rpx;">
<text class="cuIcon-hotfill text-white"></text> <text class="cuIcon-hotfill text-white"></text>
<text class="text-white text-lg">会员用户</text> <text class="text-white text-lg">会员用户</text>
...@@ -173,7 +173,8 @@ ...@@ -173,7 +173,8 @@
name:"", name:"",
password:'' password:''
}, },
servicePhone:'' servicePhone:'',
userName:''
} }
}, },
onShow() { onShow() {
...@@ -212,9 +213,9 @@ ...@@ -212,9 +213,9 @@
console.log(res) console.log(res)
if(res.data.code == 200){ if(res.data.code == 200){
this.userInfo = res.data.data; this.userInfo = res.data.data;
this.userName = this.userInfo.phone.slice(-4);
uni.setStorageSync('userInfo',this.userInfo) uni.setStorageSync('userInfo',this.userInfo)
this.loginStatus = true; this.loginStatus = true;
// this.loginStatus = false;
} }
}) })
}, },
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<view class="flex-col tip-box"> <view v-if="packageMode[modeIndex].remark" class="flex-col tip-box">
<text class="" style="margin-bottom: 12upx;">套餐说明:</text> <text class="" style="margin-bottom: 12upx;">套餐说明:</text>
<text class="text-sm">{{packageMode[modeIndex].remark}}</text> <text class="text-sm">{{packageMode[modeIndex].remark}}</text>
</view> </view>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<view class="flex-between"> <view class="flex-between">
<text class="text-gray">实付金额</text> <text class="text-gray">实付金额</text>
<view class="flex-row" style="align-items: center;"> <view class="flex-row" style="align-items: center;">
<text class="text-pink text-bold text-xxl">{{orderInfo.payPrice||'-'}}</text> <text class="text-pink text-bold text-xxl">{{orderInfo.payPrice||'0'}}</text>
<text style="margin-left: 4upx;"></text> <text style="margin-left: 4upx;"></text>
</view> </view>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment