mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 13:25:32 +08:00
119 lines
2.7 KiB
HTML
119 lines
2.7 KiB
HTML
<!--
|
|
Copyright 2026 ShopeX (https://www.shopex.cn)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<div class="gridlist-head">
|
|
<strong>最热门的</strong>
|
|
</div>
|
|
<div class="gridlist">
|
|
<div class="clearfix row">
|
|
<div class="span-auto">
|
|
<h4>
|
|
APPNAME 01
|
|
</h4>
|
|
</div>
|
|
<div class="span-auto">
|
|
<p>
|
|
DESCREAPTION....
|
|
</p>
|
|
</div>
|
|
<div class="span-auto">
|
|
<{button label=$___desktop="立即安装"|t:'desktop'}>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix row last">
|
|
<div class="span-auto">
|
|
<h4>
|
|
APPNAME 01
|
|
</h4>
|
|
</div>
|
|
<div class="span-auto">
|
|
<p>
|
|
DESCREAPTION....
|
|
</p>
|
|
</div>
|
|
<div class="span-auto">
|
|
<{button label=$___desktop="立即安装"|t:'desktop'}>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="gridlist-head">
|
|
<strong><{t}>最新发布的<{/t}></strong>
|
|
</div>
|
|
<div class="gridlist">
|
|
<div class="clearfix row">
|
|
<div class="span-auto">
|
|
<h4>
|
|
APPNAME 01
|
|
</h4>
|
|
</div>
|
|
<div class="span-auto">
|
|
<p>
|
|
DESCREAPTION....
|
|
</p>
|
|
</div>
|
|
<div class="span-auto">
|
|
<{button label=$___desktop="立即安装"|t:'desktop'}>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix row last">
|
|
<div class="span-auto">
|
|
<h4>
|
|
APPNAME 02
|
|
</h4>
|
|
</div>
|
|
<div class="span-auto">
|
|
<p>
|
|
DESCREAPTION....
|
|
</p>
|
|
</div>
|
|
<div class="span-auto">
|
|
<{button label=$___desktop="立即安装"|t:'desktop'}>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="gridlist-head">
|
|
<strong><{t}>有更新的<{/t}></strong>
|
|
</div>
|
|
<div class="gridlist" id="app-update-msg">
|
|
loading...
|
|
</div>
|
|
<iframe id="appupdateinfo_handle" src="index.php?ctl=appmgr&act=fetchindex" onload="get_appupdateinfo();" style="display:none"></iframe>
|
|
|
|
<script>
|
|
var get_appupdateinfo = function(){
|
|
|
|
new Request.HTML({
|
|
url:'index.php?ctl=dashboard&act=appmgr',
|
|
update:'app-update-msg',
|
|
onRequest:function(){
|
|
|
|
$('app-update-msg').set('html','loading...');
|
|
},
|
|
onComplete:function(p1,p2,re){
|
|
if(!re){
|
|
$('app-update-msg').set('html',"<div class='row'><{t}>暂无需要更新的应用。<{/t}><span class=\"lnk\" onclick='$(\"appupdateinfo_handle\").contentWindow.location.reload();'><{t}>再次检查更新<{/t}>»</span></div>");
|
|
}else{
|
|
|
|
|
|
}
|
|
|
|
}
|
|
}).get();
|
|
} ;
|
|
</script>
|