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
91f78d26
Commit
91f78d26
authored
Dec 18, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 微信图文升级
parent
cbcc7c2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
index.vue
src/components/libs/imgTextTemp/index.vue
+3
-1
wechat.js
src/router/modules/wechat.js
+9
-0
editor.vue
src/views/wechat/editor.vue
+2
-2
No files found.
src/components/libs/imgTextTemp/index.vue
View file @
91f78d26
...
...
@@ -59,6 +59,9 @@
<el-table-column
label=
"操作"
align=
"left"
v-if=
"auto"
min-width=
"120px"
>
<!-- 发布中不能进行编辑、删除、使用等任何操作 -->
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.publishStatus == 1 || isPublish"
>
<el-button
type=
"text"
@
click=
"$router.push('/wechat/check-imgtext/' + scope.row.imageTextId + '?type=' + getWxscType)"
>
查看
</el-button>
</
template
>
<
template
v-if=
"scope.row.publishStatus != 1"
>
<!-- 老图文才有转为草稿 -->
<!-- 转为草稿就是编辑 -->
...
...
@@ -74,7 +77,6 @@
<el-button
type=
"text"
>
删除
</el-button>
</dm-delete>
</template>
<
template
v-else
>
--
</
template
>
</template>
</el-table-column>
</el-table>
...
...
src/router/modules/wechat.js
View file @
91f78d26
...
...
@@ -79,6 +79,15 @@ export default {
}
},
{
path
:
'check-imgtext/:id'
,
name
:
'查看图文'
,
component
:
()
=>
import
(
/* webpackChunkName: "wechat" */
'../../views/wechat/editor.vue'
),
meta
:
{
type
:
'edit'
,
path
:
'/wechat/temp/check-imgtext'
}
},
{
path
:
'temp'
,
name
:
'素材库'
,
component
:
()
=>
import
(
/* webpackChunkName: "wechat" */
'../../views/wechat/temp.vue'
),
...
...
src/views/wechat/editor.vue
View file @
91f78d26
...
...
@@ -108,7 +108,7 @@
</el-dialog>
<preview
:show
.
sync=
"previewShow"
:imgTextList=
"imgTextList"
:firstImgText=
"firstImgText"
></preview>
<div
class=
"btn-wrap_fixed"
:class=
"
{ on: asideShow }">
<el-button
type=
"primary"
@
click=
"submit"
:loading=
"subLoading"
>
保 存
</el-button>
<el-button
type=
"primary"
v-if=
"$route.path == '/wechat/temp/imgtext'"
@
click=
"submit"
:loading=
"subLoading"
>
保 存
</el-button>
<el-button
@
click=
"previewShow = true"
>
预 览
</el-button>
<el-button
@
click=
"$router.go(-1)"
>
返 回
</el-button>
</div>
...
...
@@ -221,7 +221,7 @@ export default {
},
created
()
{
this
.
getMarketingUserInfo
();
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
},
{
name
:
'微信营销'
,
path
:
''
},
{
name
:
'素材库'
,
path
:
'/wechat/temp'
}
,
{
name
:
'图文编辑'
,
path
:
''
}
]);
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
},
{
name
:
'微信营销'
,
path
:
''
},
{
name
:
'素材库'
,
path
:
'/wechat/temp'
}]);
//监听获取图片 封面图或者正文图片
// eslint-disable-next-line
$bus
.
$on
(
'img-temp-choose'
,
val
=>
{
...
...
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