Authored by yyq

fix

... ... @@ -57,7 +57,9 @@ if (config.zookeeperServer) {
app.enable('trust proxy');
// 请求限制中间件
app.use(require('./doraemon/middleware/limiter'));
if (!app.locals.devEnv) {
app.use(require('./doraemon/middleware/limiter'));
}
app.set('subdomain offset', 2);
app.use(global.yoho.hbs({
... ...
... ... @@ -51,7 +51,7 @@
<p class="caveat-tip"></p>
</li>
<li>
<span class="left-rd \{{#if info.default}} on\{{/if}}"></span>
<span class="left-rd"></span>
<label class="radio-btn">设置为默认收货地址</label>
</li>
</ul>
... ...
... ... @@ -43,7 +43,7 @@ files.forEach((file) => {
// 选择模块
const loadRule = (domain) => {
return domainRules[domain] || domain.default;
return domainRules[domain] || domainRules.default;
};
// 已处理完
... ...
... ... @@ -369,7 +369,6 @@
display: inline;
}
&.open > .more-addr-btn {
display: none;
}
... ... @@ -777,8 +776,14 @@
margin: 10px 0;
}
.open + dd {
display: block;
.open {
&:after {
content: '';
}
& + dd {
display: block;
}
}
}
... ... @@ -1429,8 +1434,14 @@
}
}
.on-edit + .area-select {
display: block;
.on-edit {
&:after {
content: '';
}
& + .area-select {
display: block;
}
}
.area-select .tab-on {
... ...