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
213b6d61
Commit
213b6d61
authored
Dec 22, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 微信图文升级
parent
6b6e6d8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
index.vue
src/components/libs/imgTextTemp/index.vue
+4
-4
editor.vue
src/views/wechat/editor.vue
+1
-1
form.vue
src/views/wechat/form.vue
+1
-1
No files found.
src/components/libs/imgTextTemp/index.vue
View file @
213b6d61
...
...
@@ -12,11 +12,11 @@
<el-button
v-if=
"auto"
@
click=
"check"
>
检查同步
</el-button>
</div>
</div>
<el-radio-group
class=
"dm-imgtext-list"
v-model=
"selectedData"
:style=
"scrollStyle"
>
<el-radio-group
class=
"dm-imgtext-list"
v-model=
"selectedData
.imageTextId
"
:style=
"scrollStyle"
>
<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
:disabled=
"disabled"
:label=
"scope.row"
></el-radio></div>
<div
class=
"label-hidden"
><el-radio
:disabled=
"disabled"
:label=
"scope.row
.imageTextId
"
></el-radio></div>
</
template
>
</el-table-column>
<el-table-column
label=
"图文信息"
align=
"left"
min-width=
"200px"
>
...
...
@@ -177,7 +177,7 @@ export default {
watch
:
{
activeId
(
val
)
{
this
.
textImgList
.
map
(
v
=>
{
if
(
this
.
activeId
===
v
.
imageText
Wechat
Id
)
{
if
(
this
.
activeId
===
v
.
imageTextId
)
{
this
.
selectedData
=
v
;
}
});
...
...
@@ -235,7 +235,7 @@ export default {
this
.
textImgList
.
map
(
v
=>
{
v
.
createTimeStr
=
v
.
createTime
;
// v.updateTimeStr = v.updateTime;
if
(
this
.
activeId
===
v
.
imageText
Wechat
Id
)
{
if
(
this
.
activeId
===
v
.
imageTextId
)
{
this
.
selectedData
=
v
;
}
});
...
...
src/views/wechat/editor.vue
View file @
213b6d61
...
...
@@ -426,7 +426,7 @@ export default {
let
res
=
await
saveUpdateWechatImageText
({
wechatTeletext
:
JSON
.
stringify
(
params
)
});
if
(
res
.
errorCode
===
0
)
{
this
.
$tips
({
type
:
'success'
,
message
:
type
?
'编辑图文成功'
:
'新建图文成功'
});
this
.
$router
.
push
(
'/wechat/temp/imgtext'
);
this
.
$router
.
go
(
-
1
);
}
else
{
this
.
$tips
({
type
:
'error'
,
message
:
res
.
message
||
type
?
'编辑图文失败'
:
'新建图文失败'
});
}
...
...
src/views/wechat/form.vue
View file @
213b6d61
...
...
@@ -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"
:disabled=
"isInfo"
:showSelf=
"false"
:showSelfFlag=
"showSelfFlag"
@
get-data=
"getImgTextData"
:radioShow=
"true"
:auto=
"false"
:imageTextId=
"info.imageTextId"
:activeId=
"info.imageText
Wechat
Id"
></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.imageTextId"
></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