| | |
| | | {{ labelModelInfo.title }}
|
| | | </view>
|
| | |
|
| | | <u-radio-group class="mt-40" v-model="labelValue" placement="row">
|
| | | <u-radio-group v-model="" class="mt-40" v-model="labelValue" placement="row">
|
| | | <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in labelList" :key="index"
|
| | | :label="item.name" :labelColor="item.color" :name="item.name" :activeColor="item.color" @change="radioChange(item)">
|
| | | </u-radio>
|
| | |
| | | title: '',
|
| | | selectedColor: ''
|
| | | },
|
| | | labelValue: '',
|
| | | labelValue: "",
|
| | | remark: '',
|
| | | // 标记
|
| | | number: 0
|
| | | number: 0 |
| | | |
| | | }
|
| | | },
|
| | | created() {
|
| | |
| | | this.labelModelInfo.title = item.name
|
| | | this.currentLabelInfo = item
|
| | | // 遍历标签集合
|
| | | this.labelList.forEach(e => {
|
| | | this.labelList.forEach(e => { |
| | | console.log(e.color,item.color);
|
| | | if (e.color == item.color) {
|
| | | this.labelValue = e.name
|
| | | this.labelValue = e.name |
| | | console.log(e);
|
| | | this.remark = item.remark
|
| | | this.number = 1
|
| | | }
|