add-info.html
4.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-btns" style="display: none;">
<a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
</div>
<h2 class="panel-title">补全信息</h2>
</div>
<div id="addinfo-wrap" class="panel-body addinfo-wrap">
</div>
<div class="panel-footer">
<a id="saveAddInfo" href="javascript:;" class="btn btn-primary">保存</a>
</div>
</div>
<script type="text/template" id="addInfoTemp">
<div id="productStyleWrap" class="form-group">
<div class="col-sm-1">商品风格:</div>
<div class="col-sm-11">
[[each productStyle as a index]]
[[if index=="data"]]
[[each a as b index]]
<label style="cursor: pointer;"><input type="checkbox" name="style" value="[[b.text]]">[[b.text]]</label>
[[/each]]
[[/if]]
[[/each]]
<input id="style" type="hidden" for="checkbox" value="[[style]]">
</div>
</div>
<div id="productElementsWrap" class="form-group">
<div class="col-sm-1">图案纹理:</div>
<div class="col-sm-11">
[[each productElements as a index]]
[[if index=="data"]]
[[each a as b index]]
<label style="cursor: pointer;"><input type="checkbox" name="pattern" value="[[b.text]]">[[b.text]]</label>
[[/each]]
[[/if]]
[[/each]]
<input id="pattern" type="hidden" for="checkbox" value="[[pattern]]">
</div>
</div>
<div id="brandModelWrap" class="form-group">
<div class="col-sm-1">品牌款型:</div>
<div class="col-sm-2">
<select name="brandModelSelect" id="brandModelSelect" tabindex="-1" title="" class="form-control">
[[if brandModelText]]
<option value="[[brandModel]]">[[brandModelText]]</option>
[[else]]
<option value="">请选择品牌款型</option>
[[/if]]
</select>
<input type="hidden" id="brandModel" value="[[brandModel]]">
</div>
</div>
<div id="brandSeriesWrap" class="form-group">
<div class="col-sm-1">品牌系列:</div>
<div class="col-sm-2">
<select name="brandSeriesSelect" id="brandSeriesSelect" tabindex="-1" title="" class="form-control">
[[if brandSeriesText]]
<option value="[[brandSeries]]">[[brandSeriesText]]</option>
[[else]]
<option value="">请选择品牌系列</option>
[[/if]]
</select>
<input type="hidden" id="brandSeries" value="[[brandSeries]]">
</div>
</div>
<div class="making-process-wrap form-group">
<div class="col-sm-1">制作工艺:</div>
<div class="col-sm-11">
[[each makingProcess as a index]]
[[each a.items as b index]]
<label style="cursor: pointer;"><input type="checkbox" name="makeCrafts" value="[[b]]">[[b]]</label>
[[/each]]
[[/each]]
<input id="makeCrafts" type="hidden" for="checkbox" value="[[makeCrafts]]">
</div>
</div>
<div id="wearSenseWrap" class="form-group">
<div class="col-sm-1">舒适度:</div>
<div class="col-sm-11">
[[each productComfort as a index]]
[[if index=="data"]]
[[each a as b index]]
<div class="col-sm-2">
<label>[[b.text]]</label>
<select name="[[b.id]]" class="form-control">
<option value="">请选择</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<input type="hidden" value="[[b.value]]">
</div>
[[/each]]
[[/if]]
[[/each]]
</div>
</div>
<div class="form-group">
<div class="col-sm-1">促销短语:</div>
<div class="col-sm-11">
<input id="salesPhrase" class="form-control" type="text" value="[[salesPhrase]]">
</div>
</div>
<div class="form-group">
<div class="col-sm-1">是否促销:</div>
<div class="col-sm-11">
<label class="radio-inline"><input type="radio" name="isHostsell" value="Y">是</label>
<label class="radio-inline"><input type="radio" name="isHostsell" value="N">否</label>
<input id="isHostsell" type="hidden" for="radio" value="[[isHostsell]]">
</div>
</div>
</script>