Authored by xuhongyun

build portal server

... ... @@ -112,7 +112,7 @@ if(process.env.NODE_ENV==="gray"){
}
/*线上环境*/
if(process.env.NODE_ENV==="production"){
apiCofig.EnvConst.domain="http://127.0.0.1:8088/platform";
apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform";
apiCofig.EnvConst.yohoSearch="http://search.yohoops.org/yohosearch";
}
module.exports = require('./libs/App')(apiCofig);
\ No newline at end of file
... ...
... ... @@ -170,7 +170,7 @@
[[layout action_template]]
</select>
<input type="text" placeholder="url" value="[[item.url.url]]" data-field="[[index]].url.url" class="observe"/>
<a type="button" class="btn btn-danger btn-xs delBtn" data-event="textNav.data" data-index="[[index]]">删除</a>
<a type="button" class="btn btn-danger btn-xs delBtn" data-event="categoryNavigation.data" data-index="[[index]]">删除</a>
</div>
</li>
[[/each]]
... ...
... ... @@ -43,6 +43,7 @@
aria-describedby="basic-addon2" required>
<span class="input-group-addon" id="basic-addon2">.yohobuy.com</span>
</div>
<p style="margin-top: 10px"><span class="red">注:1. 1-32个字符;2. 只能填英文和破折号-,不区分大小写,不能以破折号开头或者结尾</span></p>
</div>
</div>
<div class="form-group">
... ... @@ -85,6 +86,7 @@
</div>
<div class="col-sm-8">
<input type="file" id="shopLogo" name="shopLogo" value="<%data.shopLogo%>">
<p><span class="red" style="position: absolute; bottom: 0">提示: 请上传像素为150*150的图片,大小小于500KB</span></p>
</div>
</div>
<div class="form-group">
... ...