Skip to content

Commit 183ba02

Browse files
committed
修复图虫文章类封面展示
1 parent 2203de0 commit 183ba02

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontEnd/single-page/js/page/photographyList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var getData = function(callback){
3131
function filterData(list){
3232
list.forEach(function (item) {
3333
item.url += '?from=bh-lay';
34-
item.thumb = (item.images && item.images.length) ? item.images[0].source.g : '';
34+
item.thumb = (item.images && item.images.length) ? item.images[0].source.g : (item.title_image ? item.title_image.url : '');
3535
item.desc = item.excerpt;
3636
item.like = item.favorites;
3737
});

frontEnd/single-page/yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -3517,9 +3517,9 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0:
35173517
version "0.14.5"
35183518
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
35193519

3520-
"uglify-es@git://github.com/mishoo/UglifyJS2#harmony":
3520+
"uglify-es@git://github.com/mishoo/UglifyJS2.git#harmony":
35213521
version "3.0.28"
3522-
resolved "git://github.com/mishoo/UglifyJS2#067d52b6bac67378cccbc8fdea2320676aafc47e"
3522+
resolved "git://github.com/mishoo/UglifyJS2.git#067d52b6bac67378cccbc8fdea2320676aafc47e"
35233523
dependencies:
35243524
commander "~2.11.0"
35253525
source-map "~0.5.1"

0 commit comments

Comments
 (0)