diff --git a/route/static/app/soft.js b/route/static/app/soft.js index 674822dc1..ed88dd2d2 100755 --- a/route/static/app/soft.js +++ b/route/static/app/soft.js @@ -6,15 +6,15 @@ function resetPluginWinWidth(width){ } //软件管理窗口 -function softMain(name, version) { +function softMain(name, title, version) { var loadT = layer.msg("正在处理,请稍后...", { icon: 16, time: 0, shade: [0.3, '#000'] }); $.get('/plugins/setting?name='+name, function(rdata) { layer.close(loadT); layer.open({ type: 1, area: '640px', - title: name + '-' + version + "管理", - closeBtn: 2, + title: title + '【' + version + "】管理", + closeBtn: 1, shift: 0, content: rdata }); @@ -104,8 +104,8 @@ function getSList(isdisplay) { var mupdate = '';//(plugin.versions[n] == plugin.updates[n]) '' : '更新 | '; // if (plugin.versions[n] == '') mupdate = ''; - handle = mupdate + '设置 | 卸载'; - titleClick = 'onclick="softMain(\'' + plugin.name + '\',\'' + plugin.setup_version + '\')" style="cursor:pointer"'; + handle = mupdate + '设置 | 卸载'; + titleClick = 'onclick="softMain(\'' + plugin.name + '\',\'' + plugin.title + '\',\'' + plugin.setup_version + '\')" style="cursor:pointer"'; softPath = ''; if (plugin.coexist){ @@ -335,19 +335,11 @@ function indexListHtml(callback){ name = plugin.title + ' '; data_id = plugin.name + '-' + plugin.versions; } - - // con += '
\ - // \ - //
\ - //
\ - //
' + name + state + '
\ - //
\ - //
'; con += '
\ \ -
\ -
\ +
\ +
\
' + name + state + '
\
\
';