|
@@ -8,13 +8,23 @@
|
|
|
<view class="text-style">
|
|
|
我的访问店铺
|
|
|
</view>
|
|
|
- <view class="iconfont icon-a-wodetiaozhuan icon-style-long"></view>
|
|
|
+ <view class="right">
|
|
|
+ <view class="tag">
|
|
|
+ {{ countObj.count_historystore }}
|
|
|
+ </view>
|
|
|
+ <view class="iconfont icon-a-wodetiaozhuan icon-style-long"></view>
|
|
|
+ </view>
|
|
|
</navigator>
|
|
|
<navigator class="border-list-content" url="/cloud/mySubscription/index" hover-class="navigator-hover">
|
|
|
<view class="text-style">
|
|
|
我的预约
|
|
|
</view>
|
|
|
- <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ <view class="right">
|
|
|
+ <view class="tag">
|
|
|
+ {{ countObj.count_appointment }}
|
|
|
+ </view>
|
|
|
+ <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ </view>
|
|
|
</navigator>
|
|
|
<!-- <navigator class="border-list-content" url="" hover-class="navigator-hover">
|
|
|
<view class="text-style">优惠券</view>
|
|
@@ -22,16 +32,31 @@
|
|
|
</navigator> -->
|
|
|
<navigator class="border-list-content" url="/store/deliveryAddress/index" hover-class="navigator-hover">
|
|
|
<view class="text-style">收货地址</view>
|
|
|
- <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ <view class="right">
|
|
|
+ <view class="tag">
|
|
|
+ {{ countObj.count_address }}
|
|
|
+ </view>
|
|
|
+ <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ </view>
|
|
|
</navigator>
|
|
|
<navigator class="border-list-content" url="/cloud/winningNews/index" hover-class="navigator-hover"
|
|
|
v-if="isWinning">
|
|
|
<view class="text-style">中奖信息</view>
|
|
|
- <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ <view class="right">
|
|
|
+ <view class="tag">
|
|
|
+ {{ countObj.count_awardmx }}
|
|
|
+ </view>
|
|
|
+ <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ </view>
|
|
|
</navigator>
|
|
|
<navigator class="border-list-content" url="/cloud/collect/mylist" hover-class="navigator-hover">
|
|
|
<view class="text-style">我的收藏</view>
|
|
|
- <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ <view class="right">
|
|
|
+ <view class="tag">
|
|
|
+ {{ countObj.count_collect }}
|
|
|
+ </view>
|
|
|
+ <view class="iconfont icon-a-wodetiaozhuan icon-style"></view>
|
|
|
+ </view>
|
|
|
</navigator>
|
|
|
<!-- <navigator class="border-list-bottom" url="" hover-class="navigator-hover">
|
|
|
<view class="text-style">活动订单</view>
|
|
@@ -49,7 +74,8 @@ export default {
|
|
|
return {
|
|
|
updatePage: true,
|
|
|
isWinning: true,
|
|
|
- userInfoValue: {}
|
|
|
+ userInfoValue: {},
|
|
|
+ countObj:{}
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -66,9 +92,17 @@ export default {
|
|
|
"id": "20240510104102",
|
|
|
"content": {}
|
|
|
})
|
|
|
- resolve()
|
|
|
+ if (this.cutoff(res.msg)) return;
|
|
|
+ await this.$Http.basic({
|
|
|
+ "id": 20240510104102,
|
|
|
+ "content": {
|
|
|
+ }
|
|
|
+ }).then(res => {
|
|
|
+ this.countObj = res.data
|
|
|
+ console.log(this.countObj,'数据');
|
|
|
+ resolve()
|
|
|
+ })
|
|
|
this.userInfoValue = res.data
|
|
|
- console.log(this.userInfoValue, '用户信息')
|
|
|
})
|
|
|
|
|
|
},
|
|
@@ -102,6 +136,7 @@ export default {
|
|
|
background: #FFFFFF;
|
|
|
border-bottom: 1px solid #F7F7F7;
|
|
|
display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
|
|
@@ -109,12 +144,14 @@ export default {
|
|
|
background: #FFFFFF;
|
|
|
border-bottom: 1px solid #F7F7F7;
|
|
|
display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
|
|
|
.border-list-bottom {
|
|
|
background: #FFFFFF;
|
|
|
display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
|
|
@@ -134,13 +171,27 @@ export default {
|
|
|
|
|
|
.icon-style-long {
|
|
|
color: #999999;
|
|
|
- margin-left: 200px;
|
|
|
padding: 15px 15px 15px 10px;
|
|
|
}
|
|
|
|
|
|
.icon-style {
|
|
|
color: #999999;
|
|
|
- margin-left: 227px;
|
|
|
- padding: 15px 15px 15px 10px;
|
|
|
+ padding: 15px 10px 15px 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.right {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ align-content: center;
|
|
|
+
|
|
|
+ .tag {
|
|
|
+ background: #BBBBBB;
|
|
|
+ border-radius: 50px 50px 50px 50px;
|
|
|
+ padding: 3px 12px;
|
|
|
+ font-family: PingFang SC, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 10px;
|
|
|
+ color: #FFFFFF;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|