yshop1.9.6,H5(公众号)端新增商品海报功能,管理后台配置新增排序与可隐藏选项,修复小程序bug等

This commit is contained in:
hupeng
2020-02-11 14:13:20 +08:00
parent a3ede4ccec
commit 512a502abb
13 changed files with 172 additions and 52 deletions

View File

@ -27,6 +27,15 @@
<a :href="scope.row.map.pic" style="color: #42b983" target="_blank"><img :src="scope.row.map.pic" alt="点击打开" class="el-avatar"></a>
</template>
</el-table-column>
<el-table-column prop="sort" label="排序" />
<el-table-column label="状态" align="center">
<template slot-scope="scope">
<div>
<el-tag v-if="scope.row.status === 1" style="cursor: pointer" :type="''">显示</el-tag>
<el-tag v-else style="cursor: pointer" :type=" 'info' ">不显示</el-tag>
</div>
</template>
</el-table-column>
<el-table-column v-if="checkPermission(['admin','YXSYSTEMGROUPDATA_ALL','YXSYSTEMGROUPDATA_EDIT','YXSYSTEMGROUPDATA_DELETE'])" label="操作" width="150px" align="center">
<template slot-scope="scope">
<el-button v-permission="['admin','YXSYSTEMGROUPDATA_ALL','YXSYSTEMGROUPDATA_EDIT']" size="mini" type="primary" icon="el-icon-edit" @click="edit(scope.row)" />
@ -116,7 +125,9 @@ export default {
url: data.map.url,
wxapp_url: data.map.wxapp_url,
pic: data.map.pic,
imageArr: data.map.pic ? data.map.pic.split(',') : []
imageArr: data.map.pic ? data.map.pic.split(',') : [],
sort: data.sort,
status: data.status
}
_this.dialog = true
}