|
|
@ -115,7 +115,7 @@
|
|
|
|
getItemImgSrc: function (item) {
|
|
|
|
getItemImgSrc: function (item) {
|
|
|
|
let thumbnail = item.thumbnail;
|
|
|
|
let thumbnail = item.thumbnail;
|
|
|
|
let src = "";
|
|
|
|
let src = "";
|
|
|
|
if (thumbnail && thumbnail.length > 0) {
|
|
|
|
if (thumbnail && thumbnail.length > 0 && thumbnail !== '0') {
|
|
|
|
src = StaticParams.getThumbUrl(JSON.parse(thumbnail)[0].file_id + "." + JSON.parse(thumbnail)[0].resource_format, 100, 100, 100);
|
|
|
|
src = StaticParams.getThumbUrl(JSON.parse(thumbnail)[0].file_id + "." + JSON.parse(thumbnail)[0].resource_format, 100, 100, 100);
|
|
|
|
if(this.BaseConfig.pt_type + "" === "1"){
|
|
|
|
if(this.BaseConfig.pt_type + "" === "1"){
|
|
|
|
src = src.substring(0, src.indexOf("?"))
|
|
|
|
src = src.substring(0, src.indexOf("?"))
|
|
|
|