修改本地生活商家分类的显示逻辑

This commit is contained in:
赵毅 2025-08-07 09:53:42 +08:00
parent 81b65f9eb9
commit 70d90876ee

View File

@ -39,7 +39,7 @@
<div class="dot">
<div
class="dotItem"
v-for="(page, index) in swiperList"
v-for="(page, index) in swiperList" :key="index"
:class="currentIndex == index ? 'actives' : ''"
></div>
</div>
@ -82,6 +82,7 @@
<div class="startList">
<image
v-for="index in 5"
:key="index"
:src="
index < item.rating
? 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/local_start1.png'
@ -198,6 +199,7 @@ export default {
async getCateList() {
let that = this;
await request(apiArr.getMerChantCateList, "POST").then((res) => {
res.rows = res.rows.filter((item) => item.is_visible == 1)
console.log(res);
// 10
const chunkSize = 10;