[更新]标准化模板规则

This commit is contained in:
Anyon 2017-05-10 15:18:36 +08:00
parent 4cb553ccde
commit 7204b1c8df
10 changed files with 20 additions and 32 deletions

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="__SELF__" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">权限名称</label>

View File

@ -8,7 +8,7 @@
{/block}
{block name="content"}
<form onsubmit="return false;" data-auto="" method="POST">
<form onsubmit="return false;" data-auto="true" method="post">
<input type="hidden" value="resort" name="action"/>
<table class="table table-hover">
<thead>

View File

@ -1,20 +1,19 @@
{extend name="extra@admin/content"}
{block name="content"}
<form onsubmit="return false;" action="__SELF__" data-auto="true" method="post"
class='form-horizontal' style='padding-top:20px'>
<form onsubmit="return false;" action="__SELF__" data-auto="true" method="post" class='form-horizontal' style='padding-top:20px'>
<div class="form-group">
<label class="col-sm-2 control-label">Storage <span class="nowrap">(存储引擎)</span></label>
<div class='col-sm-8'>
<select class="layui-input" name="storage_type" required="required">
{if sysconf('storage_type')!=='qiniu'}
<!--{if sysconf('storage_type')!=='qiniu'}-->
<option selected value='local'>本地服务器</option>
<option value='qiniu'>七牛云存储</option>
{else}
<!--{else}-->
<option value='local'>本地服务器</option>
<option selected value='qiniu'>七牛云存储</option>
{/if}
<!--{/if}-->
</select>
<div class="help-block" data-storage-type="qiniu">
若还没有七牛云帐号,请点击

View File

@ -9,7 +9,7 @@
{block name="content"}
<form onsubmit="return false;" data-auto="" method="POST">
<form onsubmit="return false;" data-auto="true" method="post">
<input type="hidden" value="resort" name="action"/>
<table class="table table-hover">
<thead>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="__SELF__" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">用户账号</label>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="__SELF__" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">用户账号</label>

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="__SELF__" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">用户账号</label>

View File

@ -2,20 +2,13 @@
{block name="style"}
<style>
.pay-qrc-test {
height: 248px;
width: 248px;
background: url('__PUBLIC__/static/plugs/layui/css/modules/layer/default/loading-2.gif') no-repeat center center}
.pay-qrc-test {height: 248px;width: 248px;background: url('__PUBLIC__/static/plugs/layui/css/modules/layer/default/loading-2.gif') no-repeat center center}
.refund-qrc-test{text-align: center;padding: 8px}
</style>
{/block}
.refund-qrc-test {
text-align: center;
padding: 8px}
</style>
{/block}
{block name="content"}
<form onsubmit="return false;" action="__SELF__" data-auto="true" method="post"
class='form-horizontal' style='padding-top:20px'>
{block name="content"}
<form onsubmit="return false;" action="__SELF__" data-auto="true" method="post" class='form-horizontal' style='padding-top:20px'>
<div class="form-group">
<label class="col-sm-2 control-label">MCH_ID <span class="nowrap">(商户ID)</span></label>
@ -27,7 +20,6 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">PartnerKey <span class="nowrap">(商户密钥)</span></label>
<div class='col-sm-8'>
@ -38,7 +30,6 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Apiclient <span class="nowrap">(双向证书)</span></label>
<div class="col-sm-8">

View File

@ -3,14 +3,12 @@
{block name="button"}
<div class="nowrap pull-right" style="margin-top:10px">
<button data-open="{:url('add')}" class='layui-btn layui-btn-small'>添加规则</button>
<button data-update data-field='delete' data-action='{:url("$classuri/del")}'
class='layui-btn layui-btn-small layui-btn-danger'>删除规则
</button>
<button data-update data-field='delete' data-action='{:url("$classuri/del")}' class='layui-btn layui-btn-small layui-btn-danger'>删除规则</button>
</div>
{/block}
{block name='content'}
<form onsubmit="return false;" data-auto="true" action="__SELF__" method="POST">
<form onsubmit="return false;" data-auto="true" action="__SELF__" method="post">
<input type="hidden" value="resort" name="action"/>
<table class="table table-hover">
<thead>
@ -128,7 +126,7 @@
return $('[name="music_url"]').trigger('change');
case 'voice':
return $('[name="voice_url"]').trigger('change');
}
}
});
function showReview(params) {

View File

@ -1,4 +1,4 @@
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="__SELF__" data-auto="true" method="post">
<div class="layui-form-item">
<label class="layui-form-label">标签名称</label>