Authored by 梁志锋

商品输入信息的优化

... ... @@ -113,17 +113,17 @@
<div class="col-sm-5">
<div id="tree"></div>
</div>
<label class="col-sm-2 control-label">厂家编号<span class="red">*</span></label>
<div class="col-sm-2">
<input type="text" id="factoryCode" placeholder="厂家编号" value="[[factoryCode]]" class="form-control" required/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">商品名称<span class="red">*</span></label>
<div class="col-sm-3">
<div class="col-sm-10">
<input type="text" id="productName" class="form-control" value="[[productName]]" placeholder="品牌英文名+性别+最小类目" required/>
</div>
<label class="col-sm-1 control-label">厂家编号<span class="red">*</span></label>
<div class="col-sm-1">
<input type="text" id="factoryCode" placeholder="厂家编号" value="[[factoryCode]]" class="form-control" required/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">货品年<span class="red">*</span></label>
... ... @@ -156,7 +156,7 @@
</div>
<div class="form-group">
<label class="col-sm-2 control-label">商品话题</label>
<div class="col-sm-5">
<div class="col-sm-10">
<input type="text" id="productTag" class="form-control" value="[[productTag]]" />
</div>
</div>
... ...
... ... @@ -46,19 +46,19 @@
<div class="col-sm-3">商品类型:[[attribute]]</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<label>商品名称<i class="red">*</i>:</label>
<label class="col-sm-2">商品名称<i class="red">*</i>:</label>
<div class="col-sm-10">
[[if renderType=='edit']]
<input id="productName" style="width: 280px;display:inline-block;" class="form-control" placeholder="基础商品名称" type="text" value="[[productName]]" required maxlength="100">
<input id="productName" class="form-control" placeholder="基础商品名称" type="text" value="[[productName]]" required maxlength="100">
[[else]]
<span>[[productName]]</span>
[[/if]]
</div>
[[if renderType=='edit']]
<div class="col-sm-12" style="color: red;padding: 0 0 0 85px;">建议名称:【品牌英文+性别+图案纹理+版型+风格+三级类目+商家款号+(款型)】,如此可增加商品在搜索页的展示。</div>
[[/if]]
</div>
<div class="form-group">
<div class="col-sm-12">商品话题:[[productTag]]</div>
... ... @@ -95,8 +95,8 @@
<div class="form-group">
<label class="col-sm-1 control-label">商品短评:</label>
[[if renderType=='edit']]
<div class="col-sm-9">
<input id="phrase" style="display:inline-block;width: 280px;" class="form-control" placeholder="商品短评" type="text" value="[[phrase]]">
<div class="col-sm-11">
<input id="phrase" class="form-control" placeholder="商品短评" type="text" value="[[phrase]]">
</div>
[[else]]
<div class="col-sm-9">
... ...
... ... @@ -8,7 +8,7 @@
<h2 class="panel-title">商品描述</h2>
</div>
<div id="descriptionerWrap" class="panel-body nopadding">
<script id="edit-descriptioner" type="text/plain" style="width:100%;height:500px;"></script>
<script id="edit-descriptioner" type="text/plain" style="width:100%;"></script>
<input id="productDesc" type="hidden" required placeholder="商品描述">
</div>
<div class="panel-footer">
... ...
... ... @@ -3714,7 +3714,7 @@ var jQuery = require('jquery');
themePath: me.options.UMEDITOR_HOME_URL + 'themes/',
allHtmlEnabled: false,
autoSyncData: true,
autoHeightEnabled: true,
autoHeightEnabled: false,
excludePlugins: ''
});
me.plugins = {};
... ...