mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-14 19:31:07 +08:00
Compare commits
3 Commits
2b41ad4c7a
...
12c9b79601
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12c9b79601 | ||
|
|
a4abf3ad8c | ||
|
|
f396b2474e |
@ -58,4 +58,5 @@ invoke(function (App $app) {
|
||||
return json(['code' => 0, 'info' => '演示环境禁止修改用户密码!']);
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
@ -42,5 +42,4 @@
|
||||
<button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
|
||||
</div>
|
||||
</form>
|
||||
<script>form.render()</script>
|
||||
</fieldset>
|
||||
@ -92,7 +92,5 @@
|
||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
||||
</div>
|
||||
|
||||
<script>form.render()</script>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
@ -92,7 +92,5 @@
|
||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
||||
</div>
|
||||
|
||||
<script>form.render()</script>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
@ -103,7 +103,6 @@
|
||||
</form>
|
||||
|
||||
<script>
|
||||
layui.form.render();
|
||||
layui.form.on('select(SiteTheme)', function (data) {
|
||||
var alls = '', prox = 'layui-layout-theme-', curt = prox + data.value;
|
||||
$(data.elem.options).map(function () {
|
||||
|
||||
@ -26,7 +26,6 @@
|
||||
</form>
|
||||
|
||||
<script>
|
||||
layui.form.render();
|
||||
$('form#theme input[name=site_theme]').on('click', function () {
|
||||
var alls = '', that = this, prox = 'layui-layout-theme-', curt = prox + that.value;
|
||||
$('form#theme input[name=site_theme]').map(function () {
|
||||
|
||||
@ -78,7 +78,6 @@
|
||||
|
||||
{block name='script'}
|
||||
<script>
|
||||
layui.form.render();
|
||||
require(['jquery.autocompleter'], function () {
|
||||
$('[name="icon"]').on('change', function () {
|
||||
$(this).parent().next().find('i').get(0).className = this.value
|
||||
|
||||
@ -56,5 +56,3 @@
|
||||
</div>
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
<script>form.render()</script>
|
||||
|
||||
@ -62,6 +62,4 @@
|
||||
<button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
|
||||
</div>
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
<script>form.render()</script>
|
||||
</fieldset>
|
||||
@ -49,6 +49,4 @@
|
||||
<button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
|
||||
</div>
|
||||
</form>
|
||||
<script>window.form.render()</script>
|
||||
</fieldset>
|
||||
|
||||
</fieldset>
|
||||
@ -26,8 +26,8 @@
|
||||
{block name='script'}
|
||||
<script>
|
||||
$(function () {
|
||||
window.form.on('radio(wechat_type)', apply);
|
||||
apply({value: '{:sysconf("wechat.type")}' || 'api'});
|
||||
window.form.render(), window.form.on('radio(wechat_type)', apply);
|
||||
|
||||
function apply(data) {
|
||||
this.$active = $("[data-wechat-type='" + data.value + "']").trigger('click');
|
||||
|
||||
@ -80,7 +80,7 @@
|
||||
<script>
|
||||
(new function (type) {
|
||||
type = "{:sysconf('wechat.mch_ssl_type')}" || 'none';
|
||||
layui.form.render(), layui.form.val('payment', {'wechat.mch_ssl_type': type});
|
||||
layui.form.val('payment', {'wechat.mch_ssl_type': type});
|
||||
layui.form.on('radio(data-mch-type)', apply), apply.call(this, {value: type});
|
||||
['wechat.mch_ssl_p12', 'wechat.mch_ssl_key', 'wechat.mch_ssl_cer'].forEach(function (type) {
|
||||
$('input[name="' + type + '"]').on('change', function (that) {
|
||||
|
||||
@ -56,7 +56,6 @@
|
||||
</fieldset>
|
||||
|
||||
<script>
|
||||
window.form.render();
|
||||
require(['excel'], function (excel) {
|
||||
excel.bind(function (data, sexs) {
|
||||
sexs = {1: '男', 2: '女'};
|
||||
|
||||
@ -44,6 +44,4 @@
|
||||
<button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
|
||||
</div>
|
||||
</form>
|
||||
<script>window.form.render()</script>
|
||||
</fieldset>
|
||||
|
||||
</fieldset>
|
||||
@ -46,7 +46,7 @@
|
||||
<button type="button" data-title="上传图片" data-file="btn" data-type="jpg,png,jpeg" data-field="local_url" class="layui-btn layui-btn-sm layui-btn-primary">上传图片</button>
|
||||
<br>
|
||||
<label class="think-checkbox notselect margin-top-15">
|
||||
<input ng-model="item.show_cover_pic" ng-checked="!!item.show_cover_pic" data-auto-none type="checkbox" value="1" name="show_cover_pic"> 在正文顶部显示此图片
|
||||
<input ng-model="item.show_cover_pic" ng-checked="!!item.show_cover_pic" data-auto-none type="checkbox" value="1" name="show_cover_pic" lay-ignore> 在正文顶部显示此图片
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -91,4 +91,15 @@
|
||||
-o-transition: all .2s linear;
|
||||
-moz-transition: all .2s linear;
|
||||
-webkit-transition: all .2s linear;
|
||||
}
|
||||
|
||||
#bodyLayout() {
|
||||
> form.layui-form.layui-card {
|
||||
margin: 0;
|
||||
box-shadow: @ShadowMaxOuter;
|
||||
|
||||
> .layui-card-body {
|
||||
padding: 40px 40px 10px 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -372,7 +372,7 @@ div.layui-textarea.help-images {
|
||||
margin: 0;
|
||||
box-shadow: none !important;
|
||||
|
||||
.layui-card-body {
|
||||
> .layui-card-body {
|
||||
padding: 20px 40px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -317,24 +317,18 @@
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
|
||||
> .layui-card-table {
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
|
||||
> form.layui-form {
|
||||
box-shadow: @ShadowMaxOuter;
|
||||
}
|
||||
}
|
||||
|
||||
> .layui-card-html {
|
||||
padding: 15px;
|
||||
min-width: 100%;
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
#bodyLayout();
|
||||
}
|
||||
|
||||
> form.layui-form {
|
||||
box-shadow: @ShadowMaxOuter;
|
||||
}
|
||||
> .layui-card-table {
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
#bodyLayout();
|
||||
}
|
||||
|
||||
> div > .layui-tab.layui-tab-card {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user