102 lines
4.8 KiB
HTML
102 lines
4.8 KiB
HTML
<include file="public/layout" />
|
|
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
|
|
<div id="append_parent"></div>
|
|
<div id="ajaxwaitid"></div>
|
|
<div class="page">
|
|
<div class="fixed-bar">
|
|
<div class="item-title">
|
|
<div class="subject">
|
|
<h3>移动App管理</h3>
|
|
<h5>移动App系统升级配置</h5>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 操作说明 -->
|
|
<div id="explanation" class="explanation" style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
|
|
<div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
|
|
<h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
|
|
<span title="收起提示" id="explanationZoom" style="display: block;"></span>
|
|
</div>
|
|
<ul>
|
|
<li>填写系统升级的信息。</li>
|
|
</ul>
|
|
</div>
|
|
<form method="post" id="handlepost" action="{:U('MobileApp/handle')}" enctype="multipart/form-data" name="form1">
|
|
<input type="hidden" name="form_submit" value="ok" />
|
|
<div class="ncap-form-default">
|
|
<dl class="row">
|
|
<dt class="tit">
|
|
<label for="app_version">安卓App版本号</label>
|
|
</dt>
|
|
<dd class="opt">
|
|
<input id="app_version" name="app_version" value="{$config.app_version}" class="input-txt" type="text" />
|
|
<p class="notic">请填写安卓App版本号</p>
|
|
</dd>
|
|
</dl>
|
|
<dl class="row">
|
|
<dt class="tit">
|
|
<label for="app_log">安卓App更新日志</label>
|
|
</dt>
|
|
<dd class="opt">
|
|
<textarea id="app_log" name="app_log" class="input-txt">{$config.app_log}</textarea>
|
|
<p class="notic">请填写安卓App更新日志</p>
|
|
</dd>
|
|
</dl>
|
|
<dl class="row">
|
|
<dt class="tit">
|
|
<label for="app_path">安卓App</label>
|
|
</dt>
|
|
<dd class="opt">
|
|
<!--<div class="input-file-show">
|
|
<span class="type-file-box">
|
|
<input type="text" id="app_path" name="app_path" value="{$config.app_path}" class="type-file-text">
|
|
<input type="button" name="button" id="button1" value="选择上传..." class="type-file-button">
|
|
<input class="type-file-file" onClick="appUploadify(1,'','','img_call_back','Admin','MobileApp', 'upload')" size="30" hidefocus="true">
|
|
</span>
|
|
</div>-->
|
|
<input id="app_version" value="{$config.app_path}" class="input-txt" type="text" disabled/>
|
|
<input type="file" name="app_path">
|
|
<span class="err"></span>
|
|
<p class="notic">上传安卓App文件</p>
|
|
</dd>
|
|
</dl>
|
|
<div class="bot">
|
|
<input type="hidden" name="inc_type" value="android">
|
|
<a href="JavaScript:void(0);" class="ncap-btn-big ncap-btn-green" onclick="check_form();">确认提交</a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div id="goTop"> <a href="JavaScript:void(0);" id="btntop"><i class="fa fa-angle-up"></i></a><a href="JavaScript:void(0);" id="btnbottom"><i class="fa fa-angle-down"></i></a></div>
|
|
<script>
|
|
function check_form()
|
|
{
|
|
if(!$('#app_version').val()){
|
|
layer.alert('版本号非空',{icon:2});
|
|
return false;
|
|
}
|
|
document.form1.submit()
|
|
}
|
|
// function img_call_back(fileurl_tmp)
|
|
// {
|
|
// $("#app_path").val(fileurl_tmp);
|
|
// $("#img_a").attr('href', fileurl_tmp);
|
|
// $("#img_i").attr('onmouseover', "layer.tips('<img src="+fileurl_tmp+">',this,{tips: [1, '#fff']});");
|
|
// }
|
|
//
|
|
// function appUploadify(num,elementid,path,callback , module, cls, fun) {
|
|
// var upurl ='/index.php?m='+module+'&c='+cls+'&a='+fun+'&num='+num+'&input='+elementid+'&path='+path+'&func='+callback;
|
|
// var iframe_str='<iframe frameborder="0" ';
|
|
// iframe_str=iframe_str+'id=uploadify ';
|
|
// iframe_str=iframe_str+' src='+upurl;
|
|
// iframe_str=iframe_str+' allowtransparency="true" class="uploadframe" scrolling="no"> ';
|
|
// iframe_str=iframe_str+'</iframe>';
|
|
// $("body").append(iframe_str);
|
|
// $("iframe.uploadframe").css("height",$(document).height()).css("width","100%").css("position","absolute").css("left","0px").css("top","0px").css("z-index","999999").show();
|
|
// $(window).resize(function(){
|
|
// $("iframe.uploadframe").css("height",$(document).height()).show();
|
|
// });
|
|
// }
|
|
</script>
|
|
</body>
|
|
</html> |