细节优化
parent
cc8997640b
commit
c5ec7a5cb3
|
|
@ -2,7 +2,7 @@
|
|||
<div class="am-form-group">
|
||||
<label>性别</label>
|
||||
<div>
|
||||
{{foreach $common_gender_list as $v}}
|
||||
{{foreach :lang('common_gender_list') as $v}}
|
||||
<label class="am-radio-inline am-margin-right-sm">
|
||||
<input type="radio" name="gender" value="{{$v.id}}" {{if isset($data['gender']) and $data['gender'] eq $v['id']}} checked="checked"{{else /}} {{if !isset($data['gender']) and isset($v['checked']) and $v['checked'] eq true}}checked="checked"{{/if}}{{/if}} data-am-ucheck /> {{$v.name}}
|
||||
</label>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<!-- 是否新窗口打开 开始 -->
|
||||
<div class="am-form-group">
|
||||
<label>{{:L('common_view_is_new_window_open_title')}}</label>
|
||||
<div>
|
||||
<foreach name="common_is_text_list" item="v">
|
||||
<label class="am-radio-inline am-margin-right-sm">
|
||||
<input type="radio" name="is_new_window_open" value="{{$v.id}}" <if condition="isset($data['is_new_window_open']) and $data['is_new_window_open'] eq $v['id']">checked="checked"<else /><if condition="!isset($data['is_new_window_open']) and isset($v['checked']) and $v['checked'] eq true">checked="checked"</if></if> data-am-ucheck /> {{$v.name}}
|
||||
</label>
|
||||
</foreach>
|
||||
</div>
|
||||
<label>是否新窗口打开</label>
|
||||
<div>
|
||||
{{foreach :lang('common_is_text_list') as $v}}
|
||||
<label class="am-radio-inline am-margin-right-sm">
|
||||
<input type="radio" name="is_new_window_open" value="{{$v.id}}" {{if isset($data['is_new_window_open']) and $data['is_new_window_open'] eq $v['id']}}checked="checked"{{else /}}{{if !isset($data['is_new_window_open']) and isset($v['checked']) and $v['checked'] eq true}}checked="checked"{{/if}}{{/if}} data-am-ucheck /> {{$v.name}}
|
||||
</label>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- 是否新窗口打开 结束 -->
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
<!-- 是否显示 开始 -->
|
||||
<div class="am-form-group">
|
||||
<label>{{:L('common_view_is_show_title')}}</label>
|
||||
<div>
|
||||
<foreach name="common_is_show_list" item="v">
|
||||
<label class="am-radio-inline am-margin-right-sm">
|
||||
<input type="radio" name="is_show" value="{{$v.id}}" <if condition="isset($data['is_show']) and $data['is_show'] eq $v['id']">checked="checked"<else /><if condition="!isset($data['is_show']) and isset($v['checked']) and $v['checked'] eq true">checked="checked"</if></if> data-am-ucheck /> {{$v.name}}
|
||||
</label>
|
||||
</foreach>
|
||||
</div>
|
||||
<label>是否显示</label>
|
||||
<div>
|
||||
{{foreach :lang('common_is_show_list') as $v}}
|
||||
<label class="am-radio-inline am-margin-right-sm">
|
||||
<input type="radio" name="is_show" value="{{$v.id}}" {{if isset($data['is_show']) and $data['is_show'] eq $v['id']}}checked="checked"{{else /}}{{if !isset($data['is_show']) and isset($v['checked']) and $v['checked'] eq true}}checked="checked"{{/if}}{{/if}} data-am-ucheck /> {{$v.name}}
|
||||
</label>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- 是否显示 结束 -->
|
||||
|
|
@ -333,19 +333,19 @@ class NavigationService
|
|||
'key_name' => 'is_new_window_open',
|
||||
'checked_data' => [0,1],
|
||||
'error_msg' => '是否新窗口打开范围值有误',
|
||||
]
|
||||
],
|
||||
[
|
||||
'checked_type' => 'in',
|
||||
'key_name' => 'nav_type',
|
||||
'checked_data' => ['header', 'footer'],
|
||||
'error_msg' => '数据类型有误',
|
||||
],
|
||||
];
|
||||
switch($params['data_type'])
|
||||
{
|
||||
// 自定义导航
|
||||
case 'custom':
|
||||
$p = [
|
||||
[
|
||||
'checked_type' => 'in',
|
||||
'key_name' => 'nav_type',
|
||||
'checked_data' => ['header', 'footer'],
|
||||
'error_msg' => '数据类型有误',
|
||||
],
|
||||
[
|
||||
'checked_type' => 'length',
|
||||
'key_name' => 'name',
|
||||
|
|
|
|||
|
|
@ -444,17 +444,19 @@ ul {margin-top:0;}
|
|||
.table-nav li a { border-top-left-radius: 2px; border-top-right-radius: 2px; }
|
||||
|
||||
/**
|
||||
* PC
|
||||
* 公共
|
||||
*/
|
||||
.am-container {padding-left:0px;padding-right:0px ;}
|
||||
@media only screen and (min-width: 641px) {
|
||||
/* 树 */
|
||||
.submit { display: none; }
|
||||
#tree tr:hover .submit { display: block !important; }
|
||||
.submit { display: none; }
|
||||
#tree tr:hover .submit { display: block !important; }
|
||||
}
|
||||
@media only screen and (min-width: 1025px) {
|
||||
.am-container { max-width: 1000px;}
|
||||
}
|
||||
@media only screen and (min-width: 1260px) {
|
||||
.am-container {max-width: 1200px;}
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
@media only screen and (max-width: 641px) {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue