Authored by 王水玲

服务协议链接修改

... ... @@ -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>
... ...
... ... @@ -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';
}
... ...
... ... @@ -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>
... ...