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.
84 lines
3.7 KiB
84 lines
3.7 KiB
<?php /*a:2:{s:62:"E:\waibao\ahbcqz\server\app\admin\view\team\setting\index.html";i:1679478874;s:51:"E:\waibao\ahbcqz\server\app\admin\view\layout1.html";i:1679478874;}*/ ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title><?php echo url(); ?></title>
|
|
<meta name="renderer" content="webkit">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
|
<link rel="stylesheet" href="/static/lib/layui/css/layui.css?v=<?php echo htmlentities($front_version); ?>">
|
|
<link rel="stylesheet" href="/static/admin/css/app.css?v=<?php echo htmlentities($front_version); ?>">
|
|
<link rel="stylesheet" href="/static/admin/css/like.css?v=<?php echo htmlentities($front_version); ?>">
|
|
<script src="/static/lib/layui/layui.js?v=<?php echo htmlentities($front_version); ?>"></script>
|
|
<script src="/static/admin/js/app.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<?php echo $js_code; ?>
|
|
<script src="/static/admin/js/jquery.min.js"></script>
|
|
<script src="/static/admin/js/function.js"></script>
|
|
|
|
|
|
|
|
<div class="wrapper">
|
|
<div class="layui-card layui-form">
|
|
<!-- 操作提示 -->
|
|
<div class="layui-card-body">
|
|
<div class="layui-card-body">
|
|
<div class="layui-collapse like-layui-collapse" style="border:1px dashed #c4c4c4">
|
|
<div class="layui-colla-item">
|
|
<h2 class="layui-colla-title like-layui-colla-title" style="background-color: #fff">操作提示</h2>
|
|
<div class="layui-colla-content layui-show">
|
|
<p>*设置参与拼团活动的商品。</p>
|
|
<p>*用户退出拼团,需商家后台审核通过之后,方可原路退回支付金额</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 内容 -->
|
|
<div class="layui-card-body">
|
|
<div class="layui-form-item" style="margin-bottom: 0;">
|
|
<label class="layui-form-label" style="width:110px;"><font color="red">*</font>系统自动成团:</label>
|
|
<div class="layui-input-inline">
|
|
<input type="radio" name="automatic" value="1" title="开始" <?php if($automatic==1): ?>checked<?php endif; ?>>
|
|
<input type="radio" name="automatic" value="0" title="关闭" <?php if($automatic==0): ?>checked<?php endif; ?>>
|
|
<div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">开启系统自动成团后,成团有效期结束后自动成团</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label"></label>
|
|
<div class="layui-input-block">
|
|
<button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit lay-filter="addSubmit">确定</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
layui.use(['form'], function () {
|
|
var form = layui.form;
|
|
|
|
form.on('submit(addSubmit)', function(data){
|
|
like.ajax({
|
|
url:'<?php echo url("team.Setting/set"); ?>',
|
|
data: data.field,
|
|
type: "post",
|
|
success:function(res) {
|
|
if(res.code === 1) {
|
|
layui.layer.msg(res.msg, { offset:'15px', icon:1, time:1000 });
|
|
location.reload();
|
|
} else {
|
|
layui.layer.msg(res.msg, { offset:'15px', icon:2, time:1000 });
|
|
}
|
|
}
|
|
});
|
|
return false;
|
|
});
|
|
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|