Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
bc8904a3f909b882e2f3f1271bb55db77da816fd
1 parent
e0fd9780
fix
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
8 deletions
app.js
apps/cart/views/partial/ensure-tpl.hbs
doraemon/middleware/htaccess/index.js
public/scss/cart/_order-ensure2016.css
app.js
View file @
bc8904a
...
...
@@ -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
({
...
...
apps/cart/views/partial/ensure-tpl.hbs
View file @
bc8904a
...
...
@@ -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
>
...
...
doraemon/middleware/htaccess/index.js
View file @
bc8904a
...
...
@@ -43,7 +43,7 @@ files.forEach((file) => {
// 选择模块
const
loadRule
=
(
domain
)
=>
{
return
domainRules
[
domain
]
||
domain
.
default
;
return
domainRules
[
domain
]
||
domain
Rules
.
default
;
};
// 已处理完
...
...
public/scss/cart/_order-ensure2016.css
View file @
bc8904a
...
...
@@ -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
{
...
...
Please
register
or
login
to post a comment