Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
杨延青
2018-12-29 18:06:14 +0800
Commit
f1231c454ab2004915787a6c1d46470835e6fc10
2 parents
7da8bc25
2abc3f2c
Merge branch 'feature/protocol' into 'release/6.8.4'
服务协议链接修改 See merge request
!1650
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/passport/views/action/reg/reg-new.hbs
apps/service/controllers/chatQa.js
apps/service/views/action/chat/qa-detail.hbs
apps/passport/views/action/reg/reg-new.hbs
View file @
f1231c4
...
...
@@ -32,7 +32,7 @@
<button
id=
"regBtn"
class=
"reg-btn"
type=
"button"
>
注册
</button>
<div
class=
"protocol"
>
注册即表示您已阅读并同意
<br>
<a
href=
"/service/qaDetail?
keyword=服务条款&sonId=197
"
title=
"Yoho!Buy有货服务条款"
target=
"_blank"
>
Yoho!Buy有货服务条款
</a>
<a
href=
"/service/qaDetail?
sonId=340&parentId=250
"
title=
"Yoho!Buy有货服务条款"
target=
"_blank"
>
Yoho!Buy有货服务条款
</a>
<a
href=
"/service/qaDetail?sonId=352&parentId=250"
title=
"Yoho!Buy有货隐私政策"
target=
"_blank"
>
Yoho!Buy有货隐私政策
</a>
</div>
</form>
...
...
apps/service/controllers/chatQa.js
View file @
f1231c4
...
...
@@ -77,7 +77,7 @@ exports.qaDetail = (req, res, next) => {
});
let
protocolUrl
=
''
;
if
(
+
req
.
query
.
sonId
===
197
)
{
if
(
+
req
.
query
.
sonId
===
340
)
{
protocolUrl
=
'https://cdn.yoho.cn/yohobuy/pdf/YOHO!BUY有货用户服务协议2.pdf'
;
}
...
...
apps/service/views/action/chat/qa-detail.hbs
View file @
f1231c4
...
...
@@ -2,7 +2,7 @@
<div
class=
"qa-c clearfix"
>
<div
class=
"q-c clearfix"
>
<div
class=
"pic q"
></div>
<div
class=
"text"
>
{{
caption
}}
{{#if
@root
.
protocolUrl
}}
<a
class=
"download-protocol"
href=
"
{{
@root
.
protocolUrl
}}
"
>
下载
</a>
{{/if}}
</div>
<div
class=
"text"
>
{{
caption
}}
{{#if
@root
.
protocolUrl
}}
<a
class=
"download-protocol"
href=
"
{{
@root
.
protocolUrl
}}
"
target=
"_blank"
>
下载
</a>
{{/if}}
</div>
</div>
<div
class=
"a-c clearfix"
>
<div
class=
"pic a"
></div>
...
...
Please
register
or
login
to post a comment