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
457a6f09
Commit
457a6f09
authored
Dec 18, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 微信图文升级
parent
8785da84
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
116 additions
and
25 deletions
+116
-25
imgtextpublic.vue
src/components/libs/imgTextTemp/imgtextpublic.vue
+11
-0
index.vue
src/components/libs/imgTextTemp/index.vue
+93
-23
syncImgtext.vue
src/components/libs/imgTextTemp/syncImgtext.vue
+1
-1
wechat.js
src/router/modules/wechat.js
+8
-0
wechatApi.js
src/service/api/wechatApi.js
+2
-0
editor.vue
src/views/wechat/editor.vue
+1
-1
No files found.
src/components/libs/imgTextTemp/imgtextpublic.vue
0 → 100644
View file @
457a6f09
<
template
>
<img-text
is-publish
></img-text>
</
template
>
<
script
>
import
ImgText
from
'./index.vue'
;
export
default
{
name
:
'imgtextpublic'
,
components
:
{
ImgText
}
};
</
script
>
src/components/libs/imgTextTemp/index.vue
View file @
457a6f09
This diff is collapsed.
Click to expand it.
src/components/libs/imgTextTemp/syncImgtext.vue
View file @
457a6f09
...
@@ -58,7 +58,7 @@ export default {
...
@@ -58,7 +58,7 @@ export default {
},
},
async
getSyncInfo
()
{
async
getSyncInfo
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
let
res
=
await
getSyncInfo
();
let
res
=
await
getSyncInfo
(
{
wxscType
:
this
.
wxscType
}
);
this
.
count
=
res
.
result
.
wechatCount
;
this
.
count
=
res
.
result
.
wechatCount
;
this
.
loadStatus
=
res
.
result
.
status
;
this
.
loadStatus
=
res
.
result
.
status
;
this
.
loading
=
false
;
this
.
loading
=
false
;
...
...
src/router/modules/wechat.js
View file @
457a6f09
...
@@ -94,6 +94,14 @@ export default {
...
@@ -94,6 +94,14 @@ export default {
}
}
},
},
{
{
path
:
'imgtextpublic'
,
name
:
'图文发布列表'
,
component
:
()
=>
import
(
/* webpackChunkName: "wechat" */
'../../components/libs/imgTextTemp/imgtextpublic.vue'
),
meta
:
{
path
:
'/wechat/temp/imgtextpublic'
}
},
{
path
:
'img'
,
path
:
'img'
,
name
:
'图片'
,
name
:
'图片'
,
component
:
()
=>
import
(
/* webpackChunkName: "wechat" */
'../../components/libs/imgTemp/index.vue'
),
component
:
()
=>
import
(
/* webpackChunkName: "wechat" */
'../../components/libs/imgTemp/index.vue'
),
...
...
src/service/api/wechatApi.js
View file @
457a6f09
...
@@ -33,6 +33,8 @@ export const getSyncInfo = params => requests(PREFIX + 'get-sync-info', params);
...
@@ -33,6 +33,8 @@ export const getSyncInfo = params => requests(PREFIX + 'get-sync-info', params);
//素材库--图文--同步微信侧 图文素材数据
//素材库--图文--同步微信侧 图文素材数据
export
const
syncWechatImageText
=
params
=>
requests
(
PREFIX
+
'sync-wechatImage-text'
,
params
);
export
const
syncWechatImageText
=
params
=>
requests
(
PREFIX
+
'sync-wechatImage-text'
,
params
);
export
const
wechatDraftPublish
=
params
=>
requests
(
PREFIX
+
'wechat-draft-publish'
,
params
);
//素材库--图片--图片分页列表
//素材库--图片--图片分页列表
export
const
loadImgList
=
params
=>
requests
(
PREFIX
+
'page-marketing-wechat-image'
,
params
);
export
const
loadImgList
=
params
=>
requests
(
PREFIX
+
'page-marketing-wechat-image'
,
params
);
...
...
src/views/wechat/editor.vue
View file @
457a6f09
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
"
"
><i
class=
"el-icon-picture"
></i><span>
图片
</span></span
><i
class=
"el-icon-picture"
></i><span>
图片
</span></span
>
>
<
span
@
click=
"preVideo"
><i
class=
"iconfont icon-shipin"
></i><span>
视频
</span></span
>
<
!--
<span
@
click=
"preVideo"
><i
class=
"iconfont icon-shipin"
></i><span>
视频
</span></span>
--
>
<!--
<span
@
click=
"cardShow = true"
><i
class=
"iconfont icon-qiaquan"
></i><span>
卡券
</span></span>
-->
<!--
<span
@
click=
"cardShow = true"
><i
class=
"iconfont icon-qiaquan"
></i><span>
卡券
</span></span>
-->
</div>
</div>
<vue-ueditor-wrap
ref=
"ueditor"
v-model=
"activeImgText.content"
:destroy=
"false"
:config=
"config"
@
ready=
"ready"
:myInit=
"myInit"
></vue-ueditor-wrap>
<vue-ueditor-wrap
ref=
"ueditor"
v-model=
"activeImgText.content"
:destroy=
"false"
:config=
"config"
@
ready=
"ready"
:myInit=
"myInit"
></vue-ueditor-wrap>
...
...
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