Commit ab5ff3df by caoyanzhi

update: 会员通

parent f4126208
......@@ -120,7 +120,7 @@
<template v-if="!Array.isArray(scope.row.memberSources) || scope.row.memberSources.filter(el => el.highlight != 0).length == 0">--</template>
<template v-else>
<!-- 1100:公众号 1600:小程序 1700:企业微信 1303:微盟 1302:天猫会员通 -->
<span class="channel-box" v-for="channel in scope.row.memberSources" :key="channel.parentSourceCode">
<span class="channel-box" v-for="channel in (scope.row.memberSources || []).filter(el => el.highlight == 1 || el.highlight == 2)" :key="channel.parentSourceCode">
<template v-if="channel.highlight == 1">
<img class="channel-icon" v-if="channel.parentSourceCode == 1100" src="../../../static/img/channel-icon/weixin-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1600" src="../../../static/img/channel-icon/xiaochengxu-1.png" alt="">
......
......@@ -126,7 +126,7 @@
<template v-if="!Array.isArray(scope.row.memberSources) || scope.row.memberSources.filter(el => el.highlight != 0).length == 0">--</template>
<template v-else>
<!-- 1100:公众号 1600:小程序 1700:企业微信 1303:微盟 1302:天猫会员通 -->
<span class="channel-box" v-for="channel in scope.row.memberSources" :key="channel.parentSourceCode">
<span class="channel-box" v-for="channel in (scope.row.memberSources || []).filter(el => el.highlight == 1 || el.highlight == 2)" :key="channel.parentSourceCode">
<template v-if="channel.highlight == 1">
<img class="channel-icon" v-if="channel.parentSourceCode == 1100" src="../../../static/img/channel-icon/weixin-1.png" alt="">
<img class="channel-icon" v-if="channel.parentSourceCode == 1600" src="../../../static/img/channel-icon/xiaochengxu-1.png" alt="">
......
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