...
|
...
|
@@ -16,13 +16,15 @@ |
|
|
<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>
|
|
|
|
|
|
<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">
|
...
|
...
|
@@ -30,18 +32,19 @@ |
|
|
<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"/>
|
|
|
<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" >
|
|
|
<div class="col-sm-8">
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandLevel" value="KA"/>KA </label>
|
|
|
<label class="radio-inline">
|
...
|
...
|
@@ -53,74 +56,83 @@ |
|
|
</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" >
|
|
|
<div class="col-sm-8">
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="promotionLevel" id="level_1" value="1"/>一星 </label>
|
|
|
<input type="radio" name="promotionLevel" value="1"/>一星 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="promotionLevel" id="level_2" value="2"/>二星 </label>
|
|
|
<input type="radio" name="promotionLevel" value="2"/>二星 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="promotionLevel" id="level_3" value="3"/>三星 </label>
|
|
|
<input type="radio" name="promotionLevel" 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" >
|
|
|
<div class="col-sm-8">
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="mainCategory" id="level_1" value="1"/>男装 </label>
|
|
|
<input type="radio" name="mainCategory" value="1"/>男装 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="mainCategory" id="level_2" value="2"/>女装 </label>
|
|
|
<input type="radio" name="mainCategory" value="2"/>女装 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="mainCategory" id="level_3" value="3"/>混合 </label>
|
|
|
<input type="radio" name="mainCategory" value="3"/>混合 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="mainCategory" id="level_4" value="4"/>童装 </label>
|
|
|
<input type="radio" name="mainCategory" value="4"/>童装 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="mainCategory" id="level_5" value="5"/>创意生活 </label>
|
|
|
<input type="radio" name="mainCategory" 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" >
|
|
|
<div class="col-sm-10">
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="1" />欧洲
|
|
|
<input type="radio" name="brandHeadstream" value="1"/>欧洲
|
|
|
</label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="2" />日本 </label>
|
|
|
<input type="radio" name="brandHeadstream" value="2"/>日本 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="3" />韩国 </label>
|
|
|
<input type="radio" name="brandHeadstream" value="3"/>韩国 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="4" />香港 </label>
|
|
|
<input type="radio" name="brandHeadstream" value="4"/>香港 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="5" />本地 </label>
|
|
|
<input type="radio" name="brandHeadstream" value="5"/>本地 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="6" />澳洲 </label>
|
|
|
<input type="radio" name="brandHeadstream" value="6"/>澳洲 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="7" />台湾 </label>
|
|
|
<input type="radio" name="brandHeadstream" value="7"/>台湾 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="8" />美国 </label>
|
|
|
|
|
|
<input type="radio" name="brandHeadstream" value="8"/>美国 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="9" />泰国
|
|
|
</label>
|
|
|
<input type="radio" name="brandHeadstream" value="9"/>泰国 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="10" />新加坡
|
|
|
</label>
|
|
|
<input type="radio" name="brandHeadstream" value="10"/>新加坡 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="11" />东南亚
|
|
|
</label>
|
|
|
<input type="radio" name="brandHeadstream" value="11"/>东南亚 </label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="brandHeadstream" value="12" />加拿大
|
|
|
</label>
|
|
|
<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">品牌注册证书 <span class="red">*</span></label>
|
|
|
<div class="col-sm-8">
|
|
|
<div><input type="file" id="registerCertUrl" name="registerCertUrl" value="<%data.registerCertUrl%>" required extend="gif,png,jpg,jpeg,pdf" placeholder="品牌注册证书" bucket="brandCertificate"/></div>
|
|
|
<div style="padding-top: 5px; clear: both"><span style="color:#999">注:支持pdf文件上传</span></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">品牌授权书 <span class="red">*</span></label>
|
|
|
<div id="authorizeCerts" class="cover-image-list col-sm-8"></div>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">品牌类型</label>
|
|
|
<div class="col-sm-10" >
|
|
|
<label class="radio-inline">
|
...
|
...
|
@@ -157,7 +169,7 @@ |
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">品牌介绍</label>
|
|
|
<div class="col-sm-6">
|
|
|
<div class="col-sm-8">
|
|
|
<textarea rows="2" id="brandIntro" class="form-control" placeholder="品牌介绍" ><%data.brandIntro%></textarea>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -176,29 +188,29 @@ |
|
|
<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>
|
|
|
<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><br>
|
|
|
<label style="cursor: pointer; margin-left: 0"><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">
|
...
|
...
|
@@ -224,20 +236,18 @@ |
|
|
|
|
|
<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 class="col-sm-3">
|
|
|
<input type="number" id="brandTonality" name="brandTonality" style="width: 180px" 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 delay-btn btn-primary">保存</button>
|
|
|
<button id="save_brand" type="submit" data-loading-text="保存中..." class="btn delay-btn btn-success">保存</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -247,4 +257,34 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!--图片列表-->
|
|
|
<script type="text/template" id="template2">
|
|
|
<ul class="cover-image-list col-sm-10" id="addPic" style="padding: 0;margin: 0;">
|
|
|
[[each pictureBoList as _item _index]]
|
|
|
<li class="cover-image-item image-list" data-index=[[_index]]>
|
|
|
<div class="goods-img" style="margin: 0; margin-bottom: 10px">
|
|
|
[[if _item.type == "pdf"]]
|
|
|
<a class="fileinput-button-icon" href="[[_item.src]]" target="_blank" style="display: block;text-align: center;font-size: 24px;color: #999">
|
|
|
pdf文档
|
|
|
</a>
|
|
|
[[else]]
|
|
|
<a class="fileinput-button-icon" href="javascript:;">
|
|
|
<img src="[[_item.src]]?imageView/2/w/100/h/100">
|
|
|
</a>
|
|
|
[[/if]]
|
|
|
<i class="remove-item-btn glyphicon glyphicon-remove-circle" data-index="[[_index]]"></i>
|
|
|
</div>
|
|
|
</li>
|
|
|
[[/each]]
|
|
|
<li class="cover-image-item fileinput-button">
|
|
|
<div class="goods-img" style="margin: 0; margin-bottom: 10px">
|
|
|
<a class="fileinput-button-icon" href="javascript:;">+</a>
|
|
|
<input type="file" class="goods-img-upload picfile" name="picfile" id="picfile"
|
|
|
placeholder="品牌授权书">
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div style="padding-top: 5px; clear: both"><span style="color:#999">注:支持pdf文件上传,最多上传10张</span></div>
|
|
|
</script>
|
|
|
|
|
|
<%include '../common/__ui/footer'%> |
|
|
\ No newline at end of file |
...
|
...
|
|