运费插件+细节优化
parent
c73b204f34
commit
7ead9573c0
|
|
@ -2,7 +2,7 @@
|
|||
{{if !empty($module_data)}}
|
||||
<div class="am-nbfc">
|
||||
<a href="{{$module_data.goods_url}}" target="_blank" title="{{$module_data.title}}">
|
||||
<img src="{{$module_data['images']}}" class="am-img-thumbnail am-radius am-margin-right-xs am-fl" width="60" height="60" />
|
||||
<img src="{{$module_data.images}}" class="am-img-thumbnail am-radius am-margin-right-xs am-fl" width="60" height="60" />
|
||||
</a>
|
||||
<a href="{{$module_data.goods_url}}" target="_blank" title="{{$module_data.title}}" {{if !empty($module_data['title_color'])}} style="color:{{$module_data.title_color}};" {{/if}} class="am-nowrap-initial">{{$module_data.title}}</a>
|
||||
{{if !empty($module_data['simple_desc'])}}
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@
|
|||
{{/case}}
|
||||
{{case status}}
|
||||
<!-- 数据状态操作按钮组件 -->
|
||||
{{if !empty($t['key_field']) and !empty($t['post_url'])}}
|
||||
{{if !empty($t['key_field']) and !empty($t['post_url']) and !empty($data_list[$i][$t['key_field']])}}
|
||||
<a href="javascript:;"
|
||||
class="am-icon-btn am-icon-check submit-state {{if $data_list[$i][$t['view_key']] eq 1}}am-success{{else /}}am-default{{/if}}"
|
||||
data-url="{{$t.post_url}}"
|
||||
|
|
@ -245,6 +245,15 @@
|
|||
}
|
||||
{{/php}}
|
||||
{{/case}}
|
||||
{{case radio}}
|
||||
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
|
||||
<div class="form-table-operate-radio">
|
||||
<label class="am-radio am-secondary am-radio-inline">
|
||||
<input type="radio" name="{{$t.view_key}}" value="{{$data_list[$i][$form_table['base']['key_field']]}}" {{if isset($t['is_checked']) and $t['is_checked'] eq 1}}checked{{/if}} data-am-ucheck />
|
||||
</label>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/case}}
|
||||
{{case checkbox}}
|
||||
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
|
||||
<!-- 是否配置指定数据不显示控件 -->
|
||||
|
|
@ -257,15 +266,6 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
{{/case}}
|
||||
{{case radio}}
|
||||
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
|
||||
<div class="form-table-operate-radio">
|
||||
<label class="am-radio am-secondary am-radio-inline">
|
||||
<input type="radio" name="{{$t.view_key}}" value="{{$data_list[$i][$form_table['base']['key_field']]}}" {{if isset($t['is_checked']) and $t['is_checked'] eq 1}}checked{{/if}} data-am-ucheck />
|
||||
</label>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/case}}
|
||||
{{/switch}}
|
||||
{{/if}}
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@
|
|||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{else /}}
|
||||
<!-- 非数组则直接取值 -->
|
||||
<!-- 是否存在数据 key -->
|
||||
{{if isset($data_list[$i][$t['view_key']])}}
|
||||
<!-- 是否指定数据转换 -->
|
||||
{{if !empty($t['view_data']) and is_array($t['view_data'])}}
|
||||
|
|
@ -204,7 +204,7 @@
|
|||
{{/case}}
|
||||
{{case status}}
|
||||
<!-- 数据状态操作按钮组件 -->
|
||||
{{if !empty($t['key_field']) and !empty($t['post_url'])}}
|
||||
{{if !empty($t['key_field']) and !empty($t['post_url']) and !empty($data_list[$i][$t['key_field']])}}
|
||||
<a href="javascript:;"
|
||||
class="am-icon-btn am-icon-check submit-state {{if $data_list[$i][$t['view_key']] eq 1}}am-success{{else /}}am-default{{/if}}"
|
||||
data-url="{{$t.post_url}}"
|
||||
|
|
@ -245,6 +245,15 @@
|
|||
}
|
||||
{{/php}}
|
||||
{{/case}}
|
||||
{{case radio}}
|
||||
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
|
||||
<div class="form-table-operate-radio">
|
||||
<label class="am-radio am-secondary am-radio-inline">
|
||||
<input type="radio" name="{{$t.view_key}}" value="{{$data_list[$i][$form_table['base']['key_field']]}}" {{if isset($t['is_checked']) and $t['is_checked'] eq 1}}checked{{/if}} data-am-ucheck />
|
||||
</label>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/case}}
|
||||
{{case checkbox}}
|
||||
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
|
||||
<!-- 是否配置指定数据不显示控件 -->
|
||||
|
|
@ -257,15 +266,6 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
{{/case}}
|
||||
{{case radio}}
|
||||
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
|
||||
<div class="form-table-operate-radio">
|
||||
<label class="am-radio am-secondary am-radio-inline">
|
||||
<input type="radio" name="{{$t.view_key}}" value="{{$data_list[$i][$form_table['base']['key_field']]}}" {{if isset($t['is_checked']) and $t['is_checked'] eq 1}}checked{{/if}} data-am-ucheck />
|
||||
</label>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/case}}
|
||||
{{/switch}}
|
||||
{{/if}}
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -32,5 +32,17 @@ return array (
|
|||
'log_write' =>
|
||||
array (
|
||||
),
|
||||
'plugins_css' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\freightfee\\Hook',
|
||||
),
|
||||
'plugins_service_buy_handle' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\freightfee\\Hook',
|
||||
),
|
||||
'plugins_view_goods_detail_title' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\freightfee\\Hook',
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
|
@ -14,6 +14,7 @@ ul { list-style: none; }
|
|||
.dl-content dd { padding-left: 120px; }
|
||||
.dl-content dd:not(:last-child) { border-bottom: 1px solid #efefef; }
|
||||
.dl-content dt, .dl-content dd { font-weight: normal !important; text-align: left; margin-top: 0px; line-height: 20px; min-height: 40px; padding-top: 10px; padding-bottom: 10px; }
|
||||
.dl-content-dd-only dd { padding-left: 0; }
|
||||
|
||||
/**
|
||||
* 表单优化
|
||||
|
|
|
|||
Loading…
Reference in New Issue