Browse Source

修复竞品分析出错图

master
feng 2 years ago
parent
commit
196b3c932c
  1. 20
      客户端/齐越慧眼/齐越慧眼/vuepage/client/src/views/competing/Index.vue
  2. 2
      客户端/齐越慧眼/齐越慧眼/vuepage/dist/js/app.js
  3. 2
      客户端/齐越慧眼/齐越慧眼/vuepage/dist/js/app.js.map

20
客户端/齐越慧眼/齐越慧眼/vuepage/client/src/views/competing/Index.vue

@ -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);

2
客户端/齐越慧眼/齐越慧眼/vuepage/dist/js/app.js

File diff suppressed because one or more lines are too long

2
客户端/齐越慧眼/齐越慧眼/vuepage/dist/js/app.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save