添加标签检索,添加公海页面
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</view>
|
||||
<view v-if="datas.tags.length>0">
|
||||
<view class="conts" :class="{'expandeds':!expanded}">
|
||||
<view class="tags" v-for="(item, index) in datas.tags" :key="index">{{item.name}}</view>
|
||||
<view class="tags" @click="tagselects(item)" v-for="(item, index) in datas.tags" :key="index">{{item.name}}</view>
|
||||
</view>
|
||||
<view class="toggle" @click="expanded = !expanded">
|
||||
<text >
|
||||
@@ -332,6 +332,11 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
tagselects(item){ //标签筛选
|
||||
uni.navigateTo({
|
||||
url: '/pages/customer/tagcustomer?tag_id='+item.id+'&name='+item.name
|
||||
});
|
||||
},
|
||||
isActive(parentId, childId) {
|
||||
return this.activeMap[parentId] === childId;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user