修改:首页月售修改为销量

This commit is contained in:
wuhui_zzw 2024-02-06 10:51:37 +08:00
parent 08fc3a3774
commit 07b299a1a8
1 changed files with 15 additions and 14 deletions

View File

@ -29,7 +29,7 @@
<view class="picture">
<easy-loadimage mode="widthFix" :image-src="itemn.image"></easy-loadimage>
<view v-if="itemn.border_pic" :style="{ backgroundImage: `url(${itemn.border_pic})` }" class="border-picture"></view>
</view>
</view>
<view v-if="titleShow" class="name line1">{{itemn.store_name}}</view>
<view v-if="priceShow" class="price" :style="'color:'+themeColor">
<text></text>
@ -46,7 +46,7 @@
<image :src="item.mer_avatar" mode="widthFix"></image>
</view>
</view>
</block>
</block>
<!-- 风格三 -->
<block v-else-if="tabConfig == 2">
<view class="mobile-page-style-3">
@ -70,7 +70,8 @@
<text :class="['iconfont', 'icon-shitixing', 'stars-i',{'active-i': (item.service_score >= 5)}]"></text>
</view>
<view class="per-avg">人均 {{ item.avg_consumption }} </view>
<view class="month-sale">月售 {{ item.month_sales }}</view>
<!--<view class="month-sale">月售 {{ item.month_sales }}</view>-->
<view class="month-sale">销量 {{ item.sales }}</view>
</view>
<view class="class-address">
<view class="store-class">{{ item.category_name }}</view>
@ -113,7 +114,7 @@
</view>
</view>
</view>
</view>
</view>
</template>
<script>
@ -150,7 +151,7 @@ export default {
unique: this.dataConfig.timestamp,
latitude: 0,
longitude: 0
}
}
},
created() {},
mounted() {
@ -207,8 +208,8 @@ export default {
});
},
}
};
</script>
@ -219,7 +220,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
.title-img{
width: 242rpx;
margin: 20rpx 0;
@ -341,10 +342,10 @@ export default {
}
&:last-child {
margin-right: 0;
}
}
.picture {
position: relative;
}
}
.border-picture {
position: absolute;
top: 0;
@ -368,10 +369,10 @@ export default {
font-size: 22rpx;
}
}
}
}
.mer_count{