修改本地生活商家分类的显示逻辑
This commit is contained in:
parent
81b65f9eb9
commit
70d90876ee
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user