Authored by lijing

修改图片链接,雪花图

... ... @@ -59,8 +59,8 @@ const qaDetail = (params) => {
// 根据子id,父id,关键字,匹配问题详情
if (params.keyword) {
// 从搜索列表进入,有关键字
if (result && result[1] && result[1].data && result[1].data.data) {
let keyList = result[1].data.data.helper_list;
if (result && result[1] && result[1].data) {
let keyList = result[1].data.helper_list;
_.forEach(keyList, function(val) {
if (val.id == params.sonId) {
... ...
<div class="chat-qa-c">
<div class="search-c">
<a href="./qaSearch">
<a href="//m.yohobuy.com/service/qaSearch">
<i class="search-icon iconfont">&#xe60f;</i>
<input type="text" placeholder="有问题?点我搜搜看吧" readonly="readonly" / >
</a>
... ... @@ -10,7 +10,7 @@
{{# categorys}}
<div class="list clearfix open-down">
<div class="ico-pic">
<img src="{{categoryIco}}" />
<img src="{{image categoryIco 60 60}}" />
</div>
<div>
<p class="title">{{categoryName}}</p>
... ... @@ -20,7 +20,7 @@
</div>
<div class="down-item">
{{# contentItems}}
<a href="./qaDetail?sonId={{id}}&parentId={{parentId}}">
<a href="//m.yohobuy.com/service/qaDetail?sonId={{id}}&parentId={{parentId}}">
<p>{{caption}}</p>
<i class="arr-ico iconfont">&#xe604;</i>
</a>
... ... @@ -31,7 +31,7 @@
<div class="list-title">常见问题</div>
<div class="list-group">
{{# faqs}}
<a class="common-item" href="./qaDetail?sonId={{id}}">
<a class="common-item" href="//m.yohobuy.com/service/qaDetail?sonId={{id}}">
<p>{{caption}}</p>
<i class="arr-ico iconfont">&#xe604;</i>
</a>
... ...
... ... @@ -8,7 +8,7 @@
</div>
<div class="list-group hot-group">
{{# hotSearch}}
<a class="common-item" href="./qaDetail?sonId={{id}}">
<a class="common-item" href="//m.yohobuy.com/service/qaDetail?sonId={{id}}">
<p>{{caption}}</p>
<i class="arr-ico iconfont">&#xe604;</i>
</a>
... ...
... ... @@ -53,7 +53,7 @@ $('.get-qa').on('keyup focus',
$searchGroup.show();
$noResult.hide();
$hotGroup.hide();
var keyList = result.data.data.helper_list;
var keyList = result.data.helper_list;
if (keyList == '') {
$searchGroup.empty();
... ...
... ... @@ -104,15 +104,24 @@
}
.gm-ico {
background-image: resolve("service/chat/gm-ico.png");
background-image: url("/service/chat/gm-ico.png");
width: 60px;
height: 60px;
margin: 30px 20px;
}
.advice-ico {
background-image: resolve("service/chat/advice-ico.png");
background-image: url("/service/chat/advice-ico.png");
width: 60px;
height: 60px;
margin: 30px 20px;
}
.tel-ico {
background-image: resolve("service/chat/tel-ico.png");
background-image: url("/service/chat/tel-ico.png");
width: 60px;
height: 60px;
margin: 30px 20px;
}
.arr-ico {
... ... @@ -420,15 +429,24 @@
}
.gm-ico {
background-image: resolve("service/chat/gm-ico.png");
background-image: url("/service/chat/gm-ico.png");
width: 60px;
height: 60px;
margin: 30px 20px;
}
.advice-ico {
background-image: resolve("service/chat/advice-ico.png");
background-image: url("/service/chat/advice-ico.png");
width: 60px;
height: 60px;
margin: 30px 20px;
}
.tel-ico {
background-image: resolve("service/chat/tel-ico.png");
background-image: url("/service/chat/tel-ico.png");
width: 60px;
height: 60px;
margin: 30px 20px;
}
.arr-ico {
... ...