|
|
|
@ -16,17 +16,17 @@ |
|
|
|
<view class="flex-col section_3" @click="$url('/pages/settings/settings')"> |
|
|
|
<view class="bottom-group flex-col items-center view_3"> |
|
|
|
<view class="flex-col items-end image-wrapper"> |
|
|
|
<image class="avatar" src="../../static/mrtx.png" mode="aspectFill"></image> |
|
|
|
<image class="avatar" :src="user.avatar" mode="aspectFill"></image> |
|
|
|
<image |
|
|
|
src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497944681815904.png" |
|
|
|
class="image_7" /> |
|
|
|
</view> |
|
|
|
<view class="flex-col items-center badge"> |
|
|
|
<text>99+</text> |
|
|
|
<view class="flex-col items-center badge" v-if="$isRight(dots.system)"> |
|
|
|
<text>{{ dots.system > 99 ? '99+' : dots.system }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="justify-center group_5"> |
|
|
|
<view class="user-name">茅*屋</view> |
|
|
|
<view class="user-name">{{ user.nick_name }}</view> |
|
|
|
<image src="@/static/icon/rightArrow.png" class="image_8" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -47,22 +47,32 @@ |
|
|
|
<image |
|
|
|
src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497746086268452.png" |
|
|
|
class="image_11" /> |
|
|
|
<view class="flex-col items-center badge_1"> |
|
|
|
<text>2</text> |
|
|
|
<view class="flex-col items-center badge_1" v-if="$isRight(dots.unconfirmed)"> |
|
|
|
<text>{{ dots.unconfirmed }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<text class="text_7">待确认</text> |
|
|
|
</view> |
|
|
|
<view class="flex-col items-center equal-division-item_1" @click="$url('/pages/order/order?current=2')"> |
|
|
|
<image |
|
|
|
src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497746226999392.png" |
|
|
|
class="image_11" /> |
|
|
|
<text class="text_9">评级中</text> |
|
|
|
<view class="top-group flex-col items-center"> |
|
|
|
<image |
|
|
|
src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497746226999392.png" |
|
|
|
class="image_11" /> |
|
|
|
<view class="flex-col items-center badge_2" v-if="$isRight(dots.rating)"> |
|
|
|
<text>{{ dots.rating }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<text class="text_7">评级中</text> |
|
|
|
</view> |
|
|
|
<view class="flex-col items-center equal-division-item_2" @click="$url('/pages/order/order?current=3')"> |
|
|
|
<image |
|
|
|
src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497746138565873.png" |
|
|
|
class="image_11" /> |
|
|
|
<view class="top-group flex-col items-center"> |
|
|
|
<image |
|
|
|
src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497746138565873.png" |
|
|
|
class="image_11" /> |
|
|
|
<view class="flex-col items-center badge_2" v-if="$isRight(dots.paying)"> |
|
|
|
<text>{{ dots.paying }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<text class="text_11">待付款</text> |
|
|
|
</view> |
|
|
|
<view class="equal-division-item flex-col" @click="$url('/pages/order/order?current=4')"> |
|
|
|
@ -70,8 +80,8 @@ |
|
|
|
<image |
|
|
|
src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497746181954101.png" |
|
|
|
class="image_11" /> |
|
|
|
<view class="flex-col items-center badge_2"> |
|
|
|
<text>1</text> |
|
|
|
<view class="flex-col items-center badge_2" v-if="$isRight(dots.shipping)"> |
|
|
|
<text>{{ dots.shipping }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<text class="text_7">待收货</text> |
|
|
|
@ -116,9 +126,8 @@ |
|
|
|
<view class="flex-col group_11"> |
|
|
|
<view class="justify-between group_12"> |
|
|
|
<view class="flex-row"> |
|
|
|
<!-- <view class="section_7"> </view> --> |
|
|
|
<checkbox-group> |
|
|
|
<checkbox color="#e6a33c"></checkbox> |
|
|
|
<checkbox-group @change="e => isConsentAgreement = !isConsentAgreement"> |
|
|
|
<checkbox color="#e6a33c" :checked="isConsentAgreement"></checkbox> |
|
|
|
</checkbox-group> |
|
|
|
<view class="group_14"> |
|
|
|
<text class="text_22">阅读并同意</text> |
|
|
|
@ -127,7 +136,7 @@ |
|
|
|
</view> |
|
|
|
<text class="text_24">45元/张</text> |
|
|
|
</view> |
|
|
|
<view class="flex-col items-center button" @click="$url('/pages/write/baseInfo')"> |
|
|
|
<view class="flex-col items-center button" @click="nextToGrading"> |
|
|
|
<text>下一步</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -184,13 +193,26 @@ |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
rateIndex: 0 |
|
|
|
isConsentAgreement: false, |
|
|
|
rateIndex: 0, |
|
|
|
user: {}, |
|
|
|
dots: {} |
|
|
|
}; |
|
|
|
}, |
|
|
|
onLoad(){ |
|
|
|
my().then(res => { |
|
|
|
console.log("request.my.res", res) |
|
|
|
}) |
|
|
|
this.getUserCenterDetail(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
async getUserCenterDetail(){ |
|
|
|
let res = await my(); |
|
|
|
this.user = res.data.datas.user; |
|
|
|
this.dots = res.data.datas.dots; |
|
|
|
uni.setStorageSync('userInfo', res.data.datas.user); |
|
|
|
}, |
|
|
|
nextToGrading(){ |
|
|
|
if(!this.isConsentAgreement) return this.$msg('请先阅读并同意协议'); |
|
|
|
this.$url('/pages/write/baseInfo'); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|
@ -413,15 +435,17 @@ |
|
|
|
left: 0; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
border-radius: 50%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.badge { |
|
|
|
background-color: rgb(234, 43, 43); |
|
|
|
border-radius: 17rpx; |
|
|
|
width: 64rpx; |
|
|
|
min-width: 34rpx; |
|
|
|
position: absolute; |
|
|
|
right: 284rpx; |
|
|
|
// right: 284rpx; |
|
|
|
left: 78rpx; |
|
|
|
top: 0; |
|
|
|
} |
|
|
|
|
|
|
|
|