服务评价

This commit is contained in:
shidongli 2023-11-01 15:53:38 +08:00
parent fa70543f92
commit b3b997736a

View File

@ -21,7 +21,10 @@
</view>
<view class="bottom">
<span>已评价</span>
<span class="rate" v-if="item.compositeScore"><u-rate :count="5" v-model="item.compositeScore" :size='50' active-color='#F4EA2A' disabled></u-rate></span>
<span class="rateval">已评价</span>
</view>
</view>
</view>
@ -48,6 +51,7 @@
getPageNum:1,
getPageSize:20,
userinfo:{},
rateval: '', //
}
},
onShow() {
@ -205,8 +209,18 @@
bottom: 4%;
font-size: 28rpx;
font-family: Source Han Sans CN;
.rate{
display: inline-block;
font-weight: 400;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 10rpx;
text-align: center;
}
span:nth-child(1) {
.rateval {
line-height: 30px;
width: 169rpx;
height: 61rpx;