Commit e5ef97dd by 王志慧

commit

1 parent 8c104f03
......@@ -162,15 +162,17 @@
<slot>
<p class="hint-text">
<span class="color-6">说明:</span>
仅支持企业标签<span v-if="merchantModel==1">和自店标签</span>进行人工维护和设置
仅支持企业标签
<span v-if="merchantModel == 1">和自店标签</span>
进行人工维护和设置
</p>
<p class="hint-text mg10">系统标签通过大数据算法进行自动更新,不支持人工维护和编辑</p>
<div class="labels-wrap" v-for="(group, index) in allTagsList" :key="index">
<template v-if="(merchantModel == 2 && group.labelType != '自店标签')||merchantModel == 1">
<template v-if="(merchantModel == 2 && group.labelType != '自店标签') || merchantModel == 1">
<div class="label-wrap">
<div class="label-group-name color-3">{{ group.labelType }}</div>
<div class="labels" v-for="(labels, ids) in group.children" :key="ids">
<div class="label-name white-hide color-71">{{ labels.labelGroup.name }}</div>
<div class="label-name white-hide color-71">{{ labels.labelGroup.name }}:</div>
<div class="label-value flex">
<template v-for="(label, i) in labels.labelList">
<div :class="['label', 'color-6', 'white-hide', label.checked ? 'isChecked' : '']" :style="{ width: label.name.length > 10 ? '145px' : auto }" :key="label.id" @click="choose(index, ids, i)">
......@@ -1014,11 +1016,8 @@ export default {
margin-bottom: 10px;
.label-name {
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-right: 10px;
margin-bottom: 10px;
font-weight: 400;
}
.label {
height: 26px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!