Authored by 王水玲

服务协议链接修改

@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <button id="regBtn" class="reg-btn" type="button">注册</button> 32 <button id="regBtn" class="reg-btn" type="button">注册</button>
33 <div class="protocol"> 33 <div class="protocol">
34 注册即表示您已阅读并同意<br> 34 注册即表示您已阅读并同意<br>
35 - <a href="/service/qaDetail?keyword=服务条款&sonId=197" title="Yoho!Buy有货服务条款" target="_blank">Yoho!Buy有货服务条款</a> 35 + <a href="/service/qaDetail?sonId=340&parentId=250" title="Yoho!Buy有货服务条款" target="_blank">Yoho!Buy有货服务条款</a>
36 <a href="/service/qaDetail?sonId=352&parentId=250" title="Yoho!Buy有货隐私政策" target="_blank">Yoho!Buy有货隐私政策</a> 36 <a href="/service/qaDetail?sonId=352&parentId=250" title="Yoho!Buy有货隐私政策" target="_blank">Yoho!Buy有货隐私政策</a>
37 </div> 37 </div>
38 </form> 38 </form>
@@ -77,7 +77,7 @@ exports.qaDetail = (req, res, next) => { @@ -77,7 +77,7 @@ exports.qaDetail = (req, res, next) => {
77 }); 77 });
78 let protocolUrl = ''; 78 let protocolUrl = '';
79 79
80 - if (+req.query.sonId === 197) { 80 + if (+req.query.sonId === 340) {
81 protocolUrl = 'https://cdn.yoho.cn/yohobuy/pdf/YOHO!BUY有货用户服务协议2.pdf'; 81 protocolUrl = 'https://cdn.yoho.cn/yohobuy/pdf/YOHO!BUY有货用户服务协议2.pdf';
82 } 82 }
83 83
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <div class="qa-c clearfix"> 2 <div class="qa-c clearfix">
3 <div class="q-c clearfix"> 3 <div class="q-c clearfix">
4 <div class="pic q"></div> 4 <div class="pic q"></div>
5 - <div class="text">{{caption}} {{#if @root.protocolUrl}}<a class="download-protocol" href="{{@root.protocolUrl}}">下载</a>{{/if}}</div> 5 + <div class="text">{{caption}} {{#if @root.protocolUrl}}<a class="download-protocol" href="{{@root.protocolUrl}}" target="_blank">下载</a>{{/if}}</div>
6 </div> 6 </div>
7 <div class="a-c clearfix"> 7 <div class="a-c clearfix">
8 <div class="pic a"></div> 8 <div class="pic a"></div>