Commit 22ee7476 by huaying

fix: 抖音未激活状态

parent b10c112c
......@@ -124,15 +124,21 @@
<img class="channel-icon" v-if="channel.parentSourceCode == 1700" src="../../../static/img/channel-icon/qiyeweixin-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1303" src="../../../static/img/channel-icon/weimen-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1302" src="../../../static/img/channel-icon/tianmao-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-1.png" alt="">
<!-- <img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-1.png" alt=""> -->
</template>
<template v-if="channel.activeFlag == 1">
<img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-1.png" alt="">
</template>
<template v-if="channel.activeFlag != 1">
<img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-2.png" alt="">
</template>
<template v-if="channel.highlight == 2">
<img class="channel-icon" v-if="channel.parentSourceCode == 1100" src="../../../static/img/channel-icon/weixin-2.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1600" src="../../../static/img/channel-icon/xiaochengxu-2.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1700" src="../../../static/img/channel-icon/qiyeweixin-2.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1303" src="../../../static/img/channel-icon/weimen-2.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1302" src="../../../static/img/channel-icon/tianmao-2.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-2.png" alt="">
<!-- <img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-2.png" alt=""> -->
</template>
</span>
</template>
......
......@@ -36,7 +36,7 @@
</template>
<template v-else>
<el-radio-group v-model="item.checkBox">
<el-radio v-for="(list, idx) in item.subTags" :key="idx" :label="list.tagsId" @change="changeCheck(item, false)">{{ list.tagsName }}</el-radio>
<el-radio v-for="(list, idx) in item.subTags" :key="idx" :label="list.tagsId" @change="changeCheck(item, false)" @click.native.prevent="clickitem(item,list.tagsId)">{{ list.tagsName }}</el-radio>
</el-radio-group>
</template>
</div>
......@@ -44,6 +44,7 @@
</ul>
<ul class="tags-list" v-if="tab.name==='other'&&otherTagsList.length">
<li v-for="(item,index) in otherTagsList" :key="index" class="tag-item-new">
{{item}}
<div class="tag-group-name" v-if="item.subTags && item.subTags.length">
{{ item.tagsName }}:
</div>
......@@ -62,7 +63,7 @@
</template>
<template v-else>
<el-radio-group v-model="item.checkBox">
<el-radio v-for="(list, idx) in item.subTags" :key="idx" :label="list.tagsId" @change="changeCheck(item, false)">{{ list.tagsName }}</el-radio>
<el-radio v-for="(list, idx) in item.subTags" :key="idx" :label="list.tagsId" @change="changeCheck(item, false)" @click.native.prevent="clickitem(item,list.tagsId)">{{ list.tagsName }}</el-radio>
</el-radio-group>
</template>
</div>
......@@ -201,6 +202,10 @@ export default {
});
return curTagsList;
},
clickitem(radio, e) {
console.log(radio.checkBox, 'pp', e);
e === radio.checkBox ? radio.checkBox = '' : radio.checkBox = e;
},
// 切换选中
changeCheck (item, isMultiple = true) {
console.log(item);
......@@ -335,4 +340,8 @@ export default {
}
}
}
.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
-webkit-box-shadow: none;
box-shadow: none;
}
</style>
......@@ -57,15 +57,16 @@
{{ member.customerType|customerTypeFilter }}
</el-tag>
<div class="channel-box" v-for="channel in member.memberSources" :key="channel.parentSourceCode">
<!-- {{member.memberSources}} -->
<el-popover popper-class="channel-info-popover" v-if="channel.highlight == 1" trigger="hover" placement="top">
<div class="channel-info">
<div class="channel-title">{{ channel.sourceName }}</div>
<div class="channel-title">{{ channel.sourceName }}<span v-if="channel.parentSourceCode == 1304 && channel.activeFlag !=1">(未激活)</span></div>
<div class="channel-info-item" v-if="!channel.event || channel.event != '-'">
<span class="channel-info-label">来 源:</span>
<span class="channel-info-value">{{ channel.event || '--' }}</span>
</div>
<div class="channel-info-item">
<span class="channel-info-label">关联时间:</span>
<span class="channel-info-label">最近关联时间:</span>
<span class="channel-info-value">{{ channel.lastEffectiveTime }}</span>
</div>
</div>
......@@ -75,7 +76,11 @@
<img class="channel-icon" v-if="channel.parentSourceCode == 1700" src="../../../static/img/channel-icon/qiyeweixin-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1303" src="../../../static/img/channel-icon/weimen-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1302" src="../../../static/img/channel-icon/tianmao-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-1.png" alt="">
<!-- <img class="channel-icon" v-if="channel.parentSourceCode == 1304" src="../../../static/img/channel-icon/douyin-1.png" alt=""> -->
<span v-if="channel.parentSourceCode == 1304">
<img class="channel-icon" v-if="channel.activeFlag == 1" src="../../../static/img/channel-icon/douyin-1.png" alt="">
<img class="channel-icon" v-else src="../../../static/img/channel-icon/douyin-2.png" alt="">
</span>
</template>
</el-popover>
<template v-if="channel.highlight == 2">
......@@ -796,7 +801,7 @@ export default { ...action };
line-height: 24px;
}
.channel-info-popover {
width: 193px;
width: 200px;
.channel-info {
.channel-title {
margin-bottom: 4px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment