直播添加标签
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
<view>
|
||||
<view class="titles">标签</view>
|
||||
<view class="form-view" @click="show_add()">+ 新建标签</view>
|
||||
<view class="form-view" :class=" {'cur': rSelect.indexOf(index)!=-1} " @tap="tapInfo(index)" v-for="(item,index) in fileListes"
|
||||
:key="index">{{item}}</view>
|
||||
<view class="form-view" :class=" {'cur': rSelect.indexOf(item.id)!=-1} " @tap="tapInfo(item.id)" v-for="(item,index) in fileListes"
|
||||
:key="index">{{item.spec_name}}</view>
|
||||
</view>
|
||||
<!-- 添加标签的按钮 -->
|
||||
<u-popup v-model="show" mode="center" border-radius="14" :closeable="true">
|
||||
@@ -32,11 +32,11 @@
|
||||
// 演示地址,请勿直接使用
|
||||
action: 'http://www.example.com/upload',
|
||||
fileList: [],
|
||||
fileListes: ["美妆", "博主穿搭", "美妆", "美妆", "美妆", "美妆", "美妆", "博主穿搭"],
|
||||
show: false,
|
||||
rSelect: []
|
||||
}
|
||||
},
|
||||
props:['fileListes'],
|
||||
methods: {
|
||||
show_add() {
|
||||
console.log(this.show)
|
||||
|
||||
Reference in New Issue
Block a user