首页更改

This commit is contained in:
魏啾
2024-06-05 16:07:03 +08:00
parent 636a8e2915
commit 8f0114bb00

View File

@@ -57,8 +57,8 @@
@click="viewHistory(item,index)"
:class="!item.isChild && viewHistoryindex == index ? 'fourcontent_itemactev':''">
<text style="margin-right: 10rpx;">{{item.name}}</text>
<u-icon v-if="item.isChild" style="margin-left: 10rpx;" name="arrow-down-fill" color="#333333"
size="16"></u-icon>
<u-icon v-if="item.isChild" style="margin-left: 10rpx;" name="arrow-down-fill"
color="#333333" size="16"></u-icon>
</view>
</view>
</view>
@@ -511,8 +511,9 @@
this.form.type = '' //先清空后赋值
this.showproductlist = true
} else {
this.showproductlist = false
// 以下没有多选处理
if(item.value == this.form.type){// 再次选择取消选中
if (item.value == this.form.type) { // 再次选择取消选中
this.viewHistoryindex = ''
}
this.form.type = item.value == this.form.type ? "" : item.value //附近1KM 1选中 0不选中