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
b6d3d79e
Commit
b6d3d79e
authored
Dec 20, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 微信图文升级
parent
db6ffbfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
index.vue
src/components/libs/imgTextTemp/index.vue
+13
-3
syncImgtext.vue
src/components/libs/imgTextTemp/syncImgtext.vue
+3
-3
No files found.
src/components/libs/imgTextTemp/index.vue
View file @
b6d3d79e
...
...
@@ -27,7 +27,7 @@
标题:
<a
class=
"blue"
:href=
"scope.row.itemList.length ? scope.row.itemList[0].mediaUrl || '' : ''"
target=
"_blank"
>
{{ scope.row.itemList.length ? scope.row.itemList[0].titleName || '' : '' }}
</a>
</p>
<p>
图文m_id:
{{ isPublish ? '图文a_id:' : '图文m_id:' }}
<el-tooltip
v-if=
"!isPublish && scope.row.draftMediaId"
placement=
"top"
:content=
"scope.row.draftMediaId"
>
<span
class=
"media-id"
>
{{ scope.row.draftMediaId }}
</span>
</el-tooltip>
...
...
@@ -130,7 +130,12 @@ export default {
this
.
$store
.
commit
(
'mutations_layoutTips'
,
`<div class="layout--tips">
<i class="el-icon-info"></i>因为在微信公众后台发布的图文会从草稿箱转移到发表记录,若在微信公众后台有发布操作,建议在达摩侧的草稿箱检查同步
<i class="el-icon-info"></i>
<span style="display:inline-block;vertical-align: top">
此处是同步【微信公众平台-草稿箱】中的图文类型草稿,点击“检查同步”可获取最新的草稿和草稿状态。若在微信公众后台对草稿有进行相关操作,请在此处“检查同步”以获取最新结果。
<br>
在此处对草稿进行“修改”/“发布”/“删除”操作,结果都会同步至微信公众平台对应的草稿上
</span>
</div>`
);
}
...
...
@@ -186,7 +191,7 @@ export default {
return
status
.
get
(
typeof
val
==
'string'
?
Number
(
val
)
:
val
)
||
'--'
;
},
onPublic
(
row
)
{
this
.
$confirm
(
'
确认发布此图文?'
,
'发布图文
'
,
{
this
.
$confirm
(
'
你正在将草稿进行“发布”。发布不会占用群发次数,也不会推送给用户。发布后的内容将可添加到自定义菜单、自动回复中。发布成功后,此图文将展示在【图文发布列表】'
,
'发布确认
'
,
{
type
:
'warning'
}).
then
(()
=>
{
this
.
$set
(
row
,
'loading'
,
true
);
...
...
@@ -324,3 +329,8 @@ export default {
}
}
</
style
>
<
style
>
.el-message-box__status
{
top
:
16px
;
}
</
style
>
src/components/libs/imgTextTemp/syncImgtext.vue
View file @
b6d3d79e
<
template
>
<el-dialog
class=
"sync-imgtext__dialog"
title=
"同步微信草稿箱图文
"
:visible
.
sync=
"show"
width=
"30%"
:before-close=
"close"
v-loading=
"loading"
>
<el-dialog
class=
"sync-imgtext__dialog"
:title=
"wxscType == 4 ? '同步微信草稿箱图文' : '同步已发布的微信图文'
"
:visible
.
sync=
"show"
width=
"30%"
:before-close=
"close"
v-loading=
"loading"
>
<div
class=
"gic-modal-bd"
>
<div
class=
"gic-modal-content"
>
<p
class=
"fz16"
style=
"margin-bottom:20px"
>
微信草稿箱里的图文共
<span>
{{
count
}}
</span>
条
<span
@
click=
"getSyncInfo"
class=
"blue"
style=
"margin-left:10px;"
>
刷新
</span>
{{
wxscType
==
4
?
'微信草稿箱里的图文共'
:
'已发布微信图文共'
}}
<span>
{{
count
}}
</span>
条
<span
@
click=
"getSyncInfo"
class=
"blue"
style=
"margin-left:10px;"
>
刷新
</span>
</p>
<div
style=
"margin-bottom: 10px"
>
同步条数:
<el-select
style=
"width: 160px"
v-if=
"loadStatus === 1 && count !== 0
"
v-model=
"size"
placeholder=
"选择同步条数"
>
<el-select
style=
"width: 160px"
:disabled=
"!(loadStatus === 1 && count !== 0)
"
v-model=
"size"
placeholder=
"选择同步条数"
>
<el-option
v-for=
"item in sizeOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</div>
...
...
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