You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
6.8 KiB
131 lines
6.8 KiB
|
|
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
|
|
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
|
|
|
<link href="style/css/H-ui.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="style/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
|
|
<link href="style/css/style.css" rel="stylesheet" type="text/css" />
|
|
<link href="style/lib/Hui-iconfont/1.0.7/iconfont.css" rel="stylesheet" type="text/css" />
|
|
|
|
<title>签到参数</title>
|
|
</head>
|
|
<body>
|
|
<nav class="breadcrumb"><i class="Hui-iconfont"></i> 签到管理 <span class="c-gray en">></span> 签到参数 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="#" onclick="location.href='index.php?module=plug_ins';" title="关闭" ><i class="Hui-iconfont"></i></a></nav>
|
|
<div class="page-container">
|
|
<form name="form1" action="index.php?module=sign&action=config" class="form form-horizontal" method="post" enctype="multipart/form-data" >
|
|
<input type="hidden" name="plug_ins_id" value="{$plug_ins_id}" >
|
|
<div id="tab-system" class="HuiTab">
|
|
<div class="row cl">
|
|
<label class="form-label col-xs-4 col-sm-4"><span class="c-red">*</span>图片:</label>
|
|
<div class="formControls col-xs-8 col-sm-4">
|
|
{if $imgurl != ''}
|
|
<img id="thumb_url" src='{$uploadImg}{$imgurl}' style="height:100px;width:150">
|
|
{else}
|
|
<img id="thumb_url" src='{$uploadImg}nopic.jpg' style="height:100px;width:150">
|
|
{/if}
|
|
<input type="hidden" id="picurl" name="imgurl" datatype="*" nullmsg="请选择图片"/>
|
|
<input type="hidden" name="oldpic" value="{$imgurl}" >
|
|
<button class="btn btn-success" id="image" type="button" >选择图片</button>
|
|
<text>签到后显示的样子</text>
|
|
</div>
|
|
<div class="col-4"> </div>
|
|
</div>
|
|
<div class="row cl">
|
|
<label class="form-label col-xs-4 col-sm-4"><span class="c-red">*</span>领取的最少积分:</label>
|
|
<div class="formControls col-xs-8 col-sm-4">
|
|
<input type="text" name="min_score" value="{$min_score}" class="input-text">
|
|
<text>如:签到最少领取1积分</text>
|
|
</div>
|
|
</div>
|
|
<div class="row cl">
|
|
<label class="form-label col-xs-4 col-sm-4"><span class="c-red">*</span>领取的最大积分:</label>
|
|
<div class="formControls col-xs-8 col-sm-4">
|
|
<input type="text" name="max_score" value="{$max_score}" class="input-text">
|
|
<text>如:签到最大领取10积分</text>
|
|
</div>
|
|
</div>
|
|
<div class="row cl">
|
|
<label class="form-label col-xs-4 col-sm-4">连续签到7天:</label>
|
|
<div class="formControls col-xs-8 col-sm-4">
|
|
<input type="text" name="continuity_three" value="{$continuity_three}" class="input-text">
|
|
<text>如:连续签到7天,得5积分 0表示没有连续签到7天奖励</text>
|
|
</div>
|
|
</div>
|
|
<div class="row cl">
|
|
<label class="form-label col-xs-4 col-sm-4">连续签到20天:</label>
|
|
<div class="formControls col-xs-8 col-sm-4">
|
|
<input type="text" name="continuity_twenty" value="{$continuity_twenty}" class="input-text">
|
|
<text>如:连续签到20天,得10积分 0表示没有连续签到20天奖励</text>
|
|
</div>
|
|
</div>
|
|
<div class="row cl">
|
|
<label class="form-label col-xs-4 col-sm-4">连续签到30天:</label>
|
|
<div class="formControls col-xs-8 col-sm-4">
|
|
<input type="text" name="continuity_thirty" value="{$continuity_thirty}" class="input-text">
|
|
<text>如:连续签到30天,得20积分 0表示没有连续签到30天奖励</text>
|
|
</div>
|
|
</div>
|
|
<div class="row cl">
|
|
<label class="form-label col-xs-4 col-sm-4">活动过期删除时间:</label>
|
|
<div class="formControls col-xs-8 col-sm-4">
|
|
<input type="text" name="activity_overdue" value="{$activity_overdue}" class="input-text">
|
|
<text>如:活动结束2天后,删除该活动. 0 表示不删除</text>
|
|
</div>
|
|
<label class="form-label col-xs-4 col-sm-0">天</label>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="row cl">
|
|
<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-4">
|
|
<button class="btn btn-primary radius" type="submit" name="Submit"><i class="Hui-iconfont"></i> 保存</button>
|
|
<button class="btn btn-default radius" type="reset"> 重置 </button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div id="outerdiv" style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;"><div id="innerdiv" style="position:absolute;"><img id="bigimg" src="" /></div></div>
|
|
<script type="text/javascript" src="style/js/jquery.js"></script>
|
|
<script type="text/javascript" src="style/lib/jquery/1.9.1/jquery.min.js"></script>
|
|
<script type="text/javascript" src="style/lib/layer/2.1/layer.js"></script>
|
|
<script type="text/javascript" src="style/js/H-ui.js"></script>
|
|
<script type="text/javascript" src="style/js/H-ui.admin.js"></script>
|
|
<!-- 新增编辑器引入文件 -->
|
|
<link rel="stylesheet" href="style/kindeditor/themes/default/default.css" />
|
|
<script src="style/kindeditor/kindeditor-min.js"></script>
|
|
<script src="style/kindeditor/lang/zh_CN.js"></script>
|
|
{literal}
|
|
<script>
|
|
KindEditor.ready(function(K) {
|
|
var editor = K.editor({
|
|
allowFileManager : true,
|
|
uploadJson : "index.php?module=system&action=uploadImg", //上传功能
|
|
fileManagerJson : 'kindeditor/php/file_manager_json.php', //网络空间
|
|
});
|
|
//上传背景图片
|
|
K('#image').click(function() {
|
|
editor.loadPlugin('image', function() {
|
|
editor.plugin.imageDialog({
|
|
//showRemote : false, //网络图片不开启
|
|
//showLocal : false, //不开启本地图片上传
|
|
imageUrl : K('#picurl').val(),
|
|
clickFn : function(url, title, width, height, border, align) {
|
|
K('#picurl').val(url);
|
|
$('#thumb_url').attr("src",url);
|
|
editor.hideDialog();
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
{/literal}
|
|
|
|
</body>
|
|
</html>
|