[更新]修改微信图文模块

This commit is contained in:
Anyon 2017-04-25 14:48:00 +08:00
parent 39fadfa913
commit 362dcfa151
2 changed files with 12 additions and 12 deletions

View File

@ -50,7 +50,7 @@
{/if}
{if auth("$classuri/apply")}
<span class="text-explode">|</span>
<a data-load='{:url("$classuri/apply")}?id={$vo.id}' href="javascript:void(0)">授权</a>
<a data-open='{:url("$classuri/apply")}?id={$vo.id}' href="javascript:void(0)">授权</a>
{/if}
{if $vo.status eq 1 and auth("$classuri/forbid")}
<span class="text-explode">|</span>

View File

@ -24,7 +24,15 @@ require.config({
waitSeconds: 0,
map: {'*': {css: baseUrl + '../plugs/require/require.css.js'}},
paths: {
// 开源插件 CDN
// 自定义插件(源码自创建或已修改源码)
'admin.plugs': ['plugs'],
'admin.listen': ['listen'],
'layui': ['../plugs/layui/layui'],
'ueditor': ['../plugs/ueditor/ueditor'],
'template': ['../plugs/template/template'],
'pcasunzips': ['../plugs/jquery/pcasunzips'],
'laydate': ['../plugs/layui/laydate/laydate'],
// 开源插件(未修改源码)
'pace': ['../plugs/jquery/pace.min'],
'json': ['../plugs/jquery/json2.min'],
'print': ['../plugs/jquery/jquery.PrintArea'],
@ -36,14 +44,6 @@ require.config({
'zeroclipboard': ['../plugs/ueditor/third-party/zeroclipboard/ZeroClipboard.min'],
'jquery.cookies': ['../plugs/jquery/jquery.cookie'],
'jquery.masonry': ['../plugs/jquery/masonry.min'],
// 自定义插件
'admin.plugs': ['plugs'],
'admin.listen': ['listen'],
'layui': ['../plugs/layui/layui'],
'ueditor': ['../plugs/ueditor/ueditor'],
'template': ['../plugs/template/template'],
'pcasunzips': ['../plugs/jquery/pcasunzips'],
'laydate': ['../plugs/layui/laydate/laydate'],
},
shim: {
'layui': {deps: ['jquery']},
@ -53,9 +53,9 @@ require.config({
'jquery.cookies': {deps: ['jquery']},
'jquery.masonry': {deps: ['jquery']},
'admin.plugs': {deps: ['jquery', 'layui']},
'admin.listen': {deps: ['jquery', 'jquery.cookies', 'admin.plugs']},
'jquery.ztree': {deps: ['jquery', 'css!' + baseUrl + '../plugs/zTreeStyle/zTreeStyle.min.css']},
'websocket': {deps: [baseUrl + '../plugs/socket/swfobject.min.js']},
'admin.listen': {deps: ['jquery', 'jquery.cookies', 'admin.plugs']},
'jquery.ztree': {deps: ['jquery', 'css!' + baseUrl + '../plugs/ztree/zTreeStyle/zTreeStyle.css']},
},
deps: ['css!' + baseUrl + '../plugs/awesome/css/font-awesome.min.css'],
// 开启debug模式不缓存资源