Commit 5789c381 by caoyanzhi

update: 微信图文升级

parent 1c4c2b22
......@@ -16,7 +16,7 @@
<el-table tooltipEffect="light" :data="textImgList" style="width: 100%" @row-click="rowClick">
<el-table-column label="" align="center" v-if="radioShow">
<template slot-scope="scope">
<div class="label-hidden"><el-radio :label="scope.row"></el-radio></div>
<div class="label-hidden"><el-radio :disabled="disabled" :label="scope.row"></el-radio></div>
</template>
</el-table-column>
<el-table-column label="图文信息" align="left" min-width="200px">
......@@ -123,6 +123,10 @@ export default {
isPublish: {
type: Boolean,
default: false
},
disabled: {
type: Boolean,
default: false
}
},
created() {
......@@ -250,6 +254,7 @@ export default {
this.syncImgTextShow = true;
},
rowClick(row) {
if (this.disabled) return;
this.selectedData = row;
this.$emit('get-data', { imageTextId: row.imageTextId, imageTextWechatId: row.imageTextWechatId });
},
......
......@@ -59,7 +59,7 @@
</el-radio-group>
<div class="pt20">
<div v-show="info.contentType === 0" style="padding:15px; border:1px solid #DCDFE6;border-radius:2px;">
<dm-img-text :isGroupSend="true" :showSelf="false" :showSelfFlag="showSelfFlag" @get-data="getImgTextData" :radioShow="true" :auto="false" :imageTextId="info.imageTextId" :activeId="info.imageTextWechatId"></dm-img-text>
<dm-img-text :isGroupSend="true" :disabled="isInfo" :showSelf="false" :showSelfFlag="showSelfFlag" @get-data="getImgTextData" :radioShow="true" :auto="false" :imageTextId="info.imageTextId" :activeId="info.imageTextWechatId"></dm-img-text>
</div>
<dm-img-box :isGroupSend="true" :selfSwitch="false" v-show="info.contentType === 2" :mediaId="info.mediaId" @get-data="getImgData"></dm-img-box>
<div v-show="info.contentType === 1">
......
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