Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
5789c381
Commit
5789c381
authored
Dec 22, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 微信图文升级
parent
1c4c2b22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
index.vue
src/components/libs/imgTextTemp/index.vue
+6
-1
form.vue
src/views/wechat/form.vue
+1
-1
No files found.
src/components/libs/imgTextTemp/index.vue
View file @
5789c381
...
...
@@ -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
});
},
...
...
src/views/wechat/form.vue
View file @
5789c381
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment