提交 5e73292d 编写于 作者: D Devil

商品参数模板

上级 0e0f8ac9
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
{{foreach $spec_base.value as $value}} {{foreach $spec_base.value as $value}}
<div class="am-fl am-margin-xs value-item"> <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="规格值" /> <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> </div>
{{/foreach}} {{/foreach}}
{{/if}} {{/if}}
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
{{if !empty($specifications['type'])}} {{if !empty($specifications['type'])}}
{{foreach $specifications.type as $type_v}} {{foreach $specifications.type as $type_v}}
<th class="table-title table-title-{{$type_v.id}}"> <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 /> <input type="text" name="specifications_name_{{$type_v.id}}" placeholder="规格名" value="{{$type_v.name}}" data-validation-message="请填写规格名" required />
</th> </th>
{{/foreach}} {{/foreach}}
......
...@@ -11,6 +11,7 @@ web端 ...@@ -11,6 +11,7 @@ web端
1. 后台管理小程序列表新增主题管理 1. 后台管理小程序列表新增主题管理
2. 分类管理组件优化、支持异步无刷新操作 2. 分类管理组件优化、支持异步无刷新操作
3. 顶部小导航/logo位置新增钩 3. 顶部小导航/logo位置新增钩
4. 新增商品参数模板管理、配置商品直接选择模板载入
小程序 小程序
1. 支付订单0金额错误修复 1. 支付订单0金额错误修复
......
...@@ -98,7 +98,7 @@ $(function() ...@@ -98,7 +98,7 @@ $(function()
// title // title
var index = parseInt(Math.random()*1000001); var index = parseInt(Math.random()*1000001);
html = '<th class="table-title table-title-'+index+'">'; 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 += '<input type="text" name="specifications_name_'+index+'" placeholder="规格名" class="am-radius" data-validation-message="请填写规格名" required />';
html += '</th>'; html += '</th>';
$('.title-start').before(html); $('.title-start').before(html);
...@@ -631,7 +631,7 @@ $(function() ...@@ -631,7 +631,7 @@ $(function()
var index = parseInt(Math.random()*1000001); var index = parseInt(Math.random()*1000001);
// title // title
html = '<th class="table-title table-title-'+index+'">'; 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 += '<input type="text" name="specifications_name_'+index+'" value="'+spec[i]['title']+'" placeholder="规格名" class="am-radius" data-validation-message="请填写规格名" required />';
html += '</th>'; html += '</th>';
$('.title-start').before(html); $('.title-start').before(html);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册