From 7e58c528e1da334ebd993305a4c8a32d02fcb381 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 2 Aug 2019 16:57:26 +0800 Subject: [PATCH] Update form.html --- application/wechat/view/news/form.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/application/wechat/view/news/form.html b/application/wechat/view/news/form.html index 4e3d5eb11..074105492 100644 --- a/application/wechat/view/news/form.html +++ b/application/wechat/view/news/form.html @@ -99,10 +99,7 @@ function apply(list) { if (list.length < 1) list.push({ - title: '新建图文', - author: '管理员', - content: '文章内容', - read_num: 0, + title: '新建图文', author: '管理员', content: '文章内容', read_num: 0, local_url: '__ROOT__/static/plugs/uploader/theme/image.png', }); for (var i in list) { @@ -173,10 +170,7 @@ $rootScope.addItem = function () { if ($rootScope.list.length > 7) return $.msg.tips('最多允许增加7篇文章哦!'); $rootScope.list.push({ - title: '新建图文', - author: '管理员', - content: '文章内容', - read_num: 0, + title: '新建图文', author: '管理员', content: '文章内容', read_num: 0, local_url: '__ROOT__/static/plugs/uploader/theme/image.png', style: "background-image:url('__ROOT__/static/plugs/uploader/theme/image.png')" }); @@ -212,4 +206,4 @@ } }); -{/block} \ No newline at end of file +{/block}