添加标签检索,添加公海页面

This commit is contained in:
浅念
2025-04-01 17:18:22 +08:00
parent fe26dfcfb7
commit 7fd2e63c9d
13 changed files with 618 additions and 13 deletions
+6 -1
View File
@@ -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;
},