商品参数模板

feat/task1-c-wallet
Devil 2020-11-29 09:47:00 +08:00
parent 0e0f8ac90a
commit 5e73292d88
3 changed files with 5 additions and 4 deletions

View File

@ -211,7 +211,7 @@
{{foreach $spec_base.value as $value}}
<div class="am-fl am-margin-xs value-item">
<input type="text" class="am-fl" name="spec_base_value_{{$spec_base_key}}[]" value="{{$value}}" placeholder="规格值" />
<i class="am-close am-close-spin quick-value-remove">×</i>
<i class="am-close quick-value-remove">×</i>
</div>
{{/foreach}}
{{/if}}
@ -291,7 +291,7 @@
{{if !empty($specifications['type'])}}
{{foreach $specifications.type as $type_v}}
<th class="table-title table-title-{{$type_v.id}}">
<i class="am-close am-close-spin title-nav-remove" data-index="{{$type_v.id}}">×</i>
<i class="am-close title-nav-remove" data-index="{{$type_v.id}}">×</i>
<input type="text" name="specifications_name_{{$type_v.id}}" placeholder="规格名" value="{{$type_v.name}}" data-validation-message="请填写规格名" required />
</th>
{{/foreach}}

View File

@ -11,6 +11,7 @@ web端
1. 后台管理小程序列表新增主题管理
2. 分类管理组件优化、支持异步无刷新操作
3. 顶部小导航/logo位置新增钩
4. 新增商品参数模板管理、配置商品直接选择模板载入
小程序
1. 支付订单0金额错误修复

View File

@ -98,7 +98,7 @@ $(function()
// title
var index = parseInt(Math.random()*1000001);
html = '<th class="table-title table-title-'+index+'">';
html += '<i class="am-close am-close-spin title-nav-remove" data-index="'+index+'">&times;</i>';
html += '<i class="am-close title-nav-remove" data-index="'+index+'">&times;</i>';
html += '<input type="text" name="specifications_name_'+index+'" placeholder="规格名" class="am-radius" data-validation-message="请填写规格名" required />';
html += '</th>';
$('.title-start').before(html);
@ -631,7 +631,7 @@ $(function()
var index = parseInt(Math.random()*1000001);
// title
html = '<th class="table-title table-title-'+index+'">';
html += '<i class="am-close am-close-spin title-nav-remove" data-index="'+index+'">&times;</i>';
html += '<i class="am-close title-nav-remove" data-index="'+index+'">&times;</i>';
html += '<input type="text" name="specifications_name_'+index+'" value="'+spec[i]['title']+'" placeholder="规格名" class="am-radius" data-validation-message="请填写规格名" required />';
html += '</th>';
$('.title-start').before(html);