Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
ShopXO
提交
5e73292d
ShopXO
项目概览
纵之格
/
ShopXO
通知
394
Star
16
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
5e73292d
编写于
11月 29, 2020
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
商品参数模板
上级
0e0f8ac9
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
4 deletion
+5
-4
application/admin/view/default/goods/save_info.html
application/admin/view/default/goods/save_info.html
+2
-2
changelog.txt
changelog.txt
+1
-0
public/static/admin/default/js/goods.js
public/static/admin/default/js/goods.js
+2
-2
未找到文件。
application/admin/view/default/goods/save_info.html
浏览文件 @
5e73292d
...
@@ -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}}
...
...
changelog.txt
浏览文件 @
5e73292d
...
@@ -11,6 +11,7 @@ web端
...
@@ -11,6 +11,7 @@ web端
1. 后台管理小程序列表新增主题管理
1. 后台管理小程序列表新增主题管理
2. 分类管理组件优化、支持异步无刷新操作
2. 分类管理组件优化、支持异步无刷新操作
3. 顶部小导航/logo位置新增钩
3. 顶部小导航/logo位置新增钩
4. 新增商品参数模板管理、配置商品直接选择模板载入
小程序
小程序
1. 支付订单0金额错误修复
1. 支付订单0金额错误修复
...
...
public/static/admin/default/js/goods.js
浏览文件 @
5e73292d
...
@@ -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
+
'
">×</i>
'
;
html
+=
'
<i class="am-close title-nav-remove" data-index="
'
+
index
+
'
">×</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
+
'
">×</i>
'
;
html
+=
'
<i class="am-close title-nav-remove" data-index="
'
+
index
+
'
">×</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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录