@@ -30,23 +20,33 @@
-
+
-
+
+ 添加封面
-
-
-
+
+
+
-
-
+
+
-
-
+
+
+
@@ -77,13 +77,15 @@
basicTitle: '没有奇迹,国足0-3不敌伊朗止步八强!',
basicThumbnailsl: 'https://img03.sogoucdn.com/app/a/100520091/20190125113148'
}],
- titleWordNumber: '', //图文标题剩余字数
- authorWordNumber: '', //图文作者剩余字数
+ titleWordNumber: 64, //图文标题剩余字数
+ authorWordNumber: 8, //图文作者剩余字数
+ descWordNumber:54,//摘要
editor: null, //富文本实例
- },
- watch: {
- subArticleList: function (n, o) {
- console.log('n', n);
+ articleForm:{
+ basicTitle:'',//标题
+ articleAuthor:'',//作者
+ basicDescription:'', //摘要
+ articleContent:'', //正文
}
},
methods: {
@@ -93,6 +95,10 @@
basicTitle: '新增文章标题',
basicThumbnailsl: 'https://img03.sogoucdn.com/app/a/100520091/20190125113148'
})
+ },
+ // 计算剩余字数
+ resetWordNum:function(type){
+
}
},
mounted: function () {
@@ -122,8 +128,8 @@
zIndex: 10000,
elementPathEnabled: false,
wordCount: false,
- initialFrameWidth: 600,
- initialFrameHeight: 240,
+ initialFrameWidth: '100%',
+ initialFrameHeight: 500,
});
this.editor.ready(function () {
var a = $("#ueditor_0").contents()[0].activeElement;
diff --git a/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl b/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl
index 939d7367..920def15 100644
--- a/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl
+++ b/src/main/webapp/WEB-INF/manager/mweixin/menu.ftl
@@ -52,7 +52,10 @@
}, {
title: '关键词回复'
}]
- }, ], //左侧导航列表
+ },{
+ title:'新建图文'
+ }
+ ], //左侧导航列表
menuActive: '图文', //选中
}
})
diff --git a/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl b/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl
index 3602a7a6..159bf5fa 100644
--- a/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl
+++ b/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl
@@ -13,5 +13,6 @@
+