Commit d9f049f5 by 无尘

fix: 修改导购标签

parent 3c64240f
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-09-01 11:09:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-11 11:40:58
* @LastEditTime: 2020-09-11 14:14:50
-->
<!--
<tag-classify-list :tag-list="tagList" :current-classify-id="currentClassifyId" :brand-id="brandId" @refreshClassify="refreshClassify" @resetCurrentId="resetCurrentId" @changeClass="changeClass"></tag-classify-list>
......@@ -15,7 +15,7 @@
<ul class="tag-classify-body">
<li :class="['tag-classify-item', { active: currentClassifyId == item.categoryId }]" v-for="(item, index) in tagList" :key="item.categoryId+index" @click="changeClassify(index, item)">
<span class="tag-classify-name">{{ item.categoryName || '--' }}</span>
<el-dropdown v-if="item.categoryId != '' || item.state != 0" class="tag-classify-drop" placement="bottom-start">
<el-dropdown v-if="item.state != 0" class="tag-classify-drop" placement="bottom-start">
<i class="iconfont icongengduo edit-icon"></i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item styel="padding: 0 30px;" @click.native="toEditClassify(index, item)">编辑</el-dropdown-item>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-11 11:38:49
* @LastEditTime: 2020-09-11 14:15:19
-->
<template>
......@@ -420,7 +420,8 @@ export default {
that.tagsClassifyData.unshift(
{
categoryId: '',
categoryName: '所有'
categoryName: '所有',
state: 0
}
);
if (res.result && res.result.length) {
......
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