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,10 +776,16 @@
margin: 10px 0;
}
.open + dd {
.open {
&:after {
content: '';
}
& + dd {
display: block;
}
}
}
.use-coupons {
.tip-box {
... ... @@ -1429,9 +1434,15 @@
}
}
.on-edit + .area-select {
.on-edit {
&:after {
content: '';
}
& + .area-select {
display: block;
}
}
.area-select .tab-on {
background-color: #fff;
... ...