Edit.html
21 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<%include '../../common/views/__ui/header'%>
<div class="contentpanel">
<div class="row">
<div class="col-md-12">
<form id="basicForm" role="form" class="form-horizontal form-bordered" method="post" action="<%action%>" novalidate="novalidate">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">添加品牌</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">品牌名称 <span class="red">*</span></label>
<div class="col-sm-8">
<input type="text" id="brandName" name="brandName" class="form-control" placeholder="品牌名称" required value="<%data.brandName%>">
<label for='brandName' class='error' style="display: none;"></label>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">英文名称 <span class="red">*</span></label>
<div class="col-sm-8">
<input type="text" id="brandNameEn" name="brandNameEn" class="form-control" placeholder="英文名称" required value="<%data.brandNameEn%>">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">二级域名 <span class="red">*</span></label>
<div class="col-sm-8">
<div class="input-group col-sm-6">
<input type="text" id="brandDomain" name="brandDomain" onkeyup="value=value.replace(/[^\w\.\/]/ig,'')" class="form-control" placeholder="二级域名" value="<%data.brandDomain%>" required>
<span class="input-group-addon">.yohobuy.com</span>
</div>
<label for='brand_name' class='error' style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌logo <span class="red">*</span></label>
<div class="col-sm-8">
<input type="file" id="brandIco" name="brandIco" value="<%data.brandIco%>" required placeholder="品牌logo"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌级别 <span class="red">*</span></label>
<div class="col-sm-8" >
<label class="radio-inline">
<input type="radio" name="brandLevel" value="KA"/>KA </label>
<label class="radio-inline">
<input type="radio" name="brandLevel" value="A"/>A </label>
<label class="radio-inline">
<input type="radio" name="brandLevel" value="B"/>B </label>
<label class="radio-inline">
<input type="radio" name="brandLevel" value="C"/>C </label>
</div>
<input type="hidden" id="brandLevel" value="<%data.brandLevel%>" for="radio" required>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌推广星级 <span class="red">*</span></label>
<div class="col-sm-8" >
<label class="radio-inline">
<input type="radio" name="promotionLevel" id="level_1" value="1"/>一星 </label>
<label class="radio-inline">
<input type="radio" name="promotionLevel" id="level_2" value="2"/>二星 </label>
<label class="radio-inline">
<input type="radio" name="promotionLevel" id="level_3" value="3"/>三星 </label>
</div>
<input type="hidden" id="promotionLevel" value="<%data.promotionLevel%>" for="radio" required>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">主营类目 <span class="red">*</span></label>
<div class="col-sm-8" >
<label class="radio-inline">
<input type="radio" name="mainCategory" id="level_1" value="1"/>男装 </label>
<label class="radio-inline">
<input type="radio" name="mainCategory" id="level_2" value="2"/>女装 </label>
<label class="radio-inline">
<input type="radio" name="mainCategory" id="level_3" value="3"/>混合 </label>
<label class="radio-inline">
<input type="radio" name="mainCategory" id="level_4" value="4"/>童装 </label>
<label class="radio-inline">
<input type="radio" name="mainCategory" id="level_5" value="5"/>创意生活 </label>
</div>
<input type="hidden" id="mainCategory" value="<%data.mainCategory%>" for="radio" required>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">发源地 <span class="red">*</span></label>
<div class="col-sm-8" >
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="1" />欧洲
</label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="2" />日本 </label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="3" />韩国 </label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="4" />香港 </label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="5" />本地 </label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="6" />澳洲 </label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="7" />台湾 </label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="8" />美国 </label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="9" />泰国
</label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="10" />新加坡
</label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="11" />东南亚
</label>
<label class="radio-inline">
<input type="radio" name="brandHeadstream" value="12" />加拿大
</label>
</div>
<input type="hidden" id="brandHeadstream" value="<%data.brandHeadstream%>" required for="radio">
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌类型</label>
<div class="col-sm-10" >
<label class="radio-inline">
<input type="radio" name="brandTypes" value="6">羊头
</label>
<label class="radio-inline">
<input type="radio" name="brandTypes" value="7">明星
</label>
<label class="radio-inline">
<input type="radio" name="brandTypes" value="8">自主
</label>
</div>
<input type="hidden" id="brandTypes" value="<%data.brandTypes%>" for="radio">
</div>
<!-- <div class="form-group">
<label class="col-sm-2 control-label">合作模式</label>
<div class="col-sm-10" >
<label class="radio-inline">
<input type="radio" name="saleType" value="0">经销
</label>
<label class="radio-inline">
<input type="radio" name="saleType" value="1">代销
</label>
</div>
<input type="hidden" id="saleType" value="<%data.saleType%>" for="radio">
</div> -->
<div class="form-group">
<label class="col-sm-2 control-label">品牌网址</label>
<div class="col-sm-8">
<input type="text" id="brandUrl" class="form-control" placeholder="品牌网址" value="<%data.brandUrl%>">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌介绍</label>
<div class="col-sm-6">
<textarea rows="2" id="brandIntro" class="form-control" placeholder="品牌介绍" ><%data.brandIntro%></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌简述</label>
<div class="col-sm-8">
<input type="text" id="brandOutline" class="form-control" placeholder="品牌简述" value="<%data.brandOutline%>">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌主理人</label>
<div class="col-sm-8">
<input type="text" id="brandFounder" name="brandFounder" class="form-control" placeholder="品牌主理人" value="<%data.brandFounder%>">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌风格</label>
<div class="col-sm-8">
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="运动"> 运动</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="户外"> 户外</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="街头"> 街头</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="暗黑"> 暗黑</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="军事"> 军事</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="英伦"> 英伦</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="趣味"> 趣味</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="美式"> 美式</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="韩系"> 韩系</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="日系"> 日系</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="性感"> 性感</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="时尚"> 时尚</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="甜美"> 甜美</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="可爱"> 可爱</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="原创"> 原创</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="工装"> 工装</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="机车"> 机车</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="民族"> 民族</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="学院"> 学院</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="欧美"> 欧美</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="港台"> 港台</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="中性"> 中性</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="简约"> 简约</label>
<label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="高街"> 高街</label>
</div>
<input type="hidden" id="brandStyle" value="<%data.brandStyle%>" for="checkbox">
</div>
<div class="form-group">
<label class="col-sm-2 control-label">品牌性质</label>
<div class="col-sm-8" >
<label class="radio-inline">
<input type="radio" id="nature_1" name="brandNature" value="1" /> 知名
</label>
<label class="radio-inline">
<input type="radio" id="nature_2" name="brandNature" value="2" /> 原创
</label>
<label class="radio-inline">
<input type="radio" id="nature_3" name="brandNature" value="3" /> 潮流
</label>
<label class="radio-inline">
<input type="radio" id="nature_4" name="brandNature" value="4" /> 自主
</label>
</div>
<input type="hidden" id="brandNature" value="<%data.brandNature%>" for="radio">
</div>
<div class="form-group">
<label class="col-sm-2 control-label">调性指数</label>
<div class="col-sm-2">
<input type="number" id="brandTonality" name="brandTonality" class="form-control" placeholder="调性指数(范围:1-100)" value="<%data.brandTonality%>">
</div>
</div>
<input type="hidden" id="id" value="<%data.id%>">
</div>
</div>
<div class="panel-footer">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a>
<button id="save_brand" type="submit" data-loading-text="保存中..." class="btn btn-primary">保存</button>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<%include '../../common/views/__ui/footer'%>