首页更改
This commit is contained in:
@@ -52,17 +52,17 @@
|
||||
<!-- 类目 -->
|
||||
<view class="fourcontent">
|
||||
<!-- 用于防止榻卸 -->
|
||||
<view class="flex-between" style="flex-wrap: inherit;" v-if="!isFixedTop">
|
||||
<view class="flex-between" style="flex-wrap: inherit;" v-if="!isFixedTop">
|
||||
<view class="fourcontent_item flex-start" v-for="(item,index) in hometoplist.menu" :key="index"
|
||||
@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>
|
||||
|
||||
|
||||
<view class="fivecontent">
|
||||
<!-- <view class="fivecontent" :style="{'height':seighT + 'px'}"> -->
|
||||
<!-- <scroll-view :style="{'height':seighT + 'px'}" scroll-y @scrolltolower="loadMore"
|
||||
@@ -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不选中
|
||||
@@ -522,7 +523,7 @@
|
||||
this.homelist = []
|
||||
this.onLoadhome()
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
// 选择元素的指定选项
|
||||
clickdetail(item, index) {
|
||||
|
||||
Reference in New Issue
Block a user