1

parent d3a4a685
...@@ -42,10 +42,7 @@ ...@@ -42,10 +42,7 @@
<view class="right"> <view class="right">
<text class="name">{{ item.nickName }}</text> <text class="name">{{ item.nickName }}</text>
<view class="ratebox"> <view class="ratebox">
<image <image class="rate-img" :src="rateList[item.merchantServices].url"></image>
class="rate-img"
src="../static/assistingAgriculture/index/fiveStars.png"
></image>
<text>{{ item.merchantServices }}.0分</text> <text>{{ item.merchantServices }}.0分</text>
<text>{{ rateList[item.merchantServices].text }}</text> <text>{{ rateList[item.merchantServices].text }}</text>
</view> </view>
...@@ -102,24 +99,24 @@ const tabs = ref([ ...@@ -102,24 +99,24 @@ const tabs = ref([
const rateList = ref({ const rateList = ref({
1: { 1: {
url: '../../static/assistingAgriculture/index/oneStar.png', url: './../../static/assistingAgriculture/detail/oneStar.png',
text: '很糟', text: '很糟',
}, },
2: { 2: {
url: '../../static/assistingAgriculture/index/twoStars.png', url: './../../static/assistingAgriculture/detail/twoStars.png',
text: '较差', text: '较差',
}, },
3: { 3: {
url: '../../static/assistingAgriculture/index/threeStars.png', url: './../../static/assistingAgriculture/detail/threeStars.png',
text: '一般', text: '一般',
}, },
4: { 4: {
url: '../../static/assistingAgriculture/index/fourStars.png', url: './../../static/assistingAgriculture/detail/fourStars.png',
text: '还行', text: '还行',
}, },
5: { 5: {
url: '../../static/assistingAgriculture/index/fiveStars.png', url: '../../../static/assistingAgriculture/detail/fiveStars.png',
text: '超赞', text: '还行',
}, },
}); });
......
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