From 79f21230998cd456bad8c68139ed09147b794ab2 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 2 Aug 2019 17:17:51 +0800 Subject: [PATCH] Revert "Update form.html" This reverts commit 7e58c528e1da334ebd993305a4c8a32d02fcb381. --- application/wechat/view/news/form.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/application/wechat/view/news/form.html b/application/wechat/view/news/form.html index 074105492..4e3d5eb11 100644 --- a/application/wechat/view/news/form.html +++ b/application/wechat/view/news/form.html @@ -99,7 +99,10 @@ 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) { @@ -170,7 +173,10 @@ $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')" }); @@ -206,4 +212,4 @@ } }); -{/block} +{/block} \ No newline at end of file