24 lines
1.1 KiB
HTML
24 lines
1.1 KiB
HTML
{{if !empty($parameters) and is_array($parameters)}}
|
|
<div class="am-scrollable-vertical am-scrollable-horizontal">
|
|
<table class="am-table am-table-bordered am-table-striped am-text-nowrap">
|
|
<thead>
|
|
<tr>
|
|
<th>{{:MyLang('common.form_goods_params_thead_type_title')}}</th>
|
|
<th>{{:MyLang('common.form_goods_params_thead_name_title')}}</th>
|
|
<th>{{:MyLang('common.form_goods_params_thead_value_title')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{foreach $parameters as $v}}
|
|
<tr>
|
|
<td class="am-text-middle">{{if isset($common_goods_parameters_type_list[$v['type']])}}{{$common_goods_parameters_type_list[$v['type']]['name']}}{{/if}}</td>
|
|
<td class="am-text-middle">{{$v.name}}</td>
|
|
<td class="am-text-middle">{{$v.value}}</td>
|
|
</tr>
|
|
{{/foreach}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{else /}}
|
|
{{:ModuleInclude('public/not_data')}}
|
|
{{/if}} |