| | |
| | | /> |
| | | </div> |
| | | <div class="s-card-left-box" v-else> |
| | | <img :src="data.baseInfo[0] | httpImage" class="cursor-pointer" /> |
| | | <img :src="data.baseInfo[0].targetPicUrl | httpImage" class="cursor-pointer" /> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | type: String, |
| | | default: "search" |
| | | }, |
| | | fromCluster:{ |
| | | type:Boolean, |
| | | default:false |
| | | fromCluster: { |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | searchT:{} |
| | | searchT: {} |
| | | }, |
| | | computed: { |
| | | isId() { |
| | |
| | | } |
| | | }, |
| | | httpImage(url) { |
| | | if (!url.length) { |
| | | return "" |
| | | } |
| | | return '/httpImage/' + url + ((url.indexOf("?") >= 0) ? '&' : '?') + 'width=160' |
| | | } |
| | | }, |
| | |
| | | } |
| | | let message |
| | | if (this.fromCluster) { |
| | | message = 'toCluster?showType=findByPic&targetId=' + captureId + '&picSmUrl=' + imgUrl + '&compType=' + compType + '×tamp=' + new Date().getTime() + '&start=' + this.searchT[0] + '&end=' + this.searchT[1]; |
| | | message = 'toCluster?showType=findByPic&targetId=' + captureId + '&picSmUrl=' + imgUrl + '&compType=' + compType + '×tamp=' + new Date().getTime() + '&start=' + this.searchT[0] + '&end=' + this.searchT[1]; |
| | | } else { |
| | | message = 'toSearch?showType=findByPic&targetId=' + captureId + '&picSmUrl=' + imgUrl + '&compType=' + compType + '×tamp=' + new Date().getTime() + '&start=' + this.searchT[0] + '&end=' + this.searchT[1]; |
| | | message = 'toSearch?showType=findByPic&targetId=' + captureId + '&picSmUrl=' + imgUrl + '&compType=' + compType + '×tamp=' + new Date().getTime() + '&start=' + this.searchT[0] + '&end=' + this.searchT[1]; |
| | | } |
| | | window.parent.postMessage({ |
| | | msg: message |