| | |
| | | <div class="resize-bar"></div> |
| | | <div class="resize-line"></div> |
| | | <div class="resize-save"> |
| | | <left-nav :appName="'Video'" :height="screenHeight - 40"></left-nav> |
| | | <left-nav :appName="'Search'" :height="screenHeight - 40"></left-nav> |
| | | </div> |
| | | </div> |
| | | <div class="column-right" :style="`height:${screenHeight}px;`"> |
| | | <right-side /> |
| | | </div> |
| | | |
| | | <card-window></card-window> |
| | | |
| | | <card-window></card-window> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import LeftNav from "@/components/LeftNav"; |
| | | // import CameraVideo from "./components/Video.vue"; |
| | | import RightSide from "./Searching" |
| | | import CardWindow from "../components/cardWindow"; |
| | | import CardWindow from "@/components/cardWindow"; |
| | | |
| | | export default { |
| | | name: "SearchPage", |
| | |
| | | this.screenHeight = document.documentElement.clientHeight - 20; |
| | | })(); |
| | | }; |
| | | |
| | | this.parseUrl(); |
| | | }, |
| | | methods: { |
| | | parseUrl() { |
| | | 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(); // 查找此人 |
| | | } |
| | | }, |
| | | getUrlKey(name) { |
| | | return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | box-sizing: border-box; |
| | | overflow: hidden; |
| | | } |
| | | .heigher-index{ |
| | | position:absolute; |
| | | .heigher-index { |
| | | position: absolute; |
| | | top: 0; |
| | | z-index: 10; |
| | | width: 100%; |