| | |
| | | <div class="left-selection" v-if="VideoPhotoData.uploadDiaplay"> |
| | | <upload-img ref="uploadImg" @labelDisabled="disabled"></upload-img> |
| | | </div> |
| | | <div id="searchMid" class="mid" :style="{width: VideoPhotoData.uploadDiaplay ? 'calc(100% - 315px)' : '100%'}"> |
| | | |
| | | <div |
| | | class="right-section" |
| | | |
| | | ref="scrollContain" |
| | | |
| | | id="searchMid" |
| | | class="mid" |
| | | :style="{width: VideoPhotoData.uploadDiaplay ? 'calc(100% - 315px)' : '100%'}" |
| | | > |
| | | <div class="right-section" ref="scrollContain"> |
| | | <Card |
| | | v-for="(item, index) in VideoPhotoData.cards" |
| | | :class="item.activeObject.id === VideoPhotoData.activeCard ? 'my-active-card' : ''" |
| | |
| | | ></el-pagination> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <!-- <div class="foot"> |
| | | <el-pagination |
| | |
| | | |
| | | // 暂时关闭跳转 20200730 |
| | | // if (this.$route.query.showType === "findByPic") { |
| | | if (this.VideoPhotoData.uploadDiaplay) { |
| | | // this.$nextTick(() => { |
| | | // this.$refs.uploadImg.rightSectionDisplay = true; |
| | | // }); |
| | | if (this.getUrlKey("showType")) { |
| | | this.VideoPhotoData.uploadDiaplay = true; |
| | | // console.log("别处跳过来的以图搜图"); |
| | | this.VideoPhotoData.picUrl = this.getUrlKey("picSmUrl"); |
| | | this.VideoPhotoData.uploadImg = this.getUrlKey("picSmUrl"); |
| | | this.VideoPhotoData.uploadType = true |
| | | this.VideoPhotoData.compTargetId = this.getUrlKey("targetId") |
| | | this.VideoPhotoData.compTargetType = this.getUrlKey("compType") |
| | | this.VideoPhotoData.size = 30 |
| | | this.VideoPhotoData.compareTabs = ["esData"]; |
| | | this.VideoPhotoData.findPerson2(); // 查找此人 |
| | | } else { |
| | | this.searchTime = this.getDateInit(); |
| | | this.VideoPhotoData.searchTime = this.getDateInit(); |
| | |
| | | fn.then(_ => { |
| | | this.AuthData.closeLoad(); |
| | | }) |
| | | }, |
| | | getUrlKey(name) { |
| | | return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null |
| | | } |
| | | } |
| | | }; |