|
@ -106,7 +106,7 @@ |
|
|
<div style="background-color: #f3f2f7;border-bottom: 0px solid #d7d7d7;background: #ffffff;justify-items: center;text-align: center;display: flex;align-items: center; vertical-align: center;height: 178px;"> |
|
|
<div style="background-color: #f3f2f7;border-bottom: 0px solid #d7d7d7;background: #ffffff;justify-items: center;text-align: center;display: flex;align-items: center; vertical-align: center;height: 178px;"> |
|
|
<div style="width: 171px;" class="contentDiv"> |
|
|
<div style="width: 171px;" class="contentDiv"> |
|
|
<a :href="item.GoodsUrl" target="_black"> |
|
|
<a :href="item.GoodsUrl" target="_black"> |
|
|
<img :src="item.ItemImg" style="width: 151px;height: 151px;" ></a> |
|
|
<img :src="getImgPath(item.ItemImg)" style="width: 151px;height: 151px;" ></a> |
|
|
</div> |
|
|
</div> |
|
|
<div style="width: 177px;flex-direction: column" class="contentDiv"> |
|
|
<div style="width: 177px;flex-direction: column" class="contentDiv"> |
|
|
<div> |
|
|
<div> |
|
@ -212,6 +212,15 @@ export default { |
|
|
//this.getDatas(0) |
|
|
//this.getDatas(0) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
getImgPath(img) { |
|
|
|
|
|
if (!img||img==undefined) return; |
|
|
|
|
|
|
|
|
|
|
|
if (img.indexOf("http") >= 0) { |
|
|
|
|
|
return img; |
|
|
|
|
|
} else { |
|
|
|
|
|
return "http:" + img; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
getTop1Comment(items){ |
|
|
getTop1Comment(items){ |
|
|
if(items&&items.length>0) |
|
|
if(items&&items.length>0) |
|
|
{ |
|
|
{ |
|
@ -346,15 +355,6 @@ export default { |
|
|
} |
|
|
} |
|
|
return task.Count |
|
|
return task.Count |
|
|
}, |
|
|
}, |
|
|
getImgPath(img) { |
|
|
|
|
|
if (!img||img==undefined) return; |
|
|
|
|
|
|
|
|
|
|
|
if (img.indexOf("http") >= 0) { |
|
|
|
|
|
return img; |
|
|
|
|
|
} else { |
|
|
|
|
|
return "http:" + img; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
// 实现select选择框可下拉单选,也可输入赋值 |
|
|
// 实现select选择框可下拉单选,也可输入赋值 |
|
|
handleSearch(value, ext, item) { |
|
|
handleSearch(value, ext, item) { |
|
|
this.handleChange(value, ext, item); |
|
|
this.handleChange(value, ext, item); |
|
|