Commit 457a6f09 by caoyanzhi

update: 微信图文升级

parent 8785da84
<template>
<img-text is-publish></img-text>
</template>
<script>
import ImgText from './index.vue';
export default {
name: 'imgtextpublic',
components: { ImgText }
};
</script>
...@@ -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;
......
...@@ -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'),
......
...@@ -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);
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment