|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="relative -translate-y-2/4" style="margin-top: 10px;color: black;"> |
|
|
|
|
<div class="relative -translate-y-2/4" style="margin-top: 10px;color: black;" id="checkPhoto"> |
|
|
|
|
<!-- <div class="bg-gray-400" @click="closeIt">关闭</div> --> |
|
|
|
|
<img class="absolute cursor-pointer hover:bg-red-700" src="@/assets/svg/close.svg" alt="" @click="closeIt" style="right: 50px; top: 30px;" /> |
|
|
|
|
|
|
|
|
@ -31,7 +31,7 @@ |
|
|
|
|
<h3 class="subpixel-antialiased text-xs text-center absolute" style="left: 820px;top: 123px;">12802851701099</h3> |
|
|
|
|
<h3 class="subpixel-antialiased text-xs text-center absolute" style="left: 357px;top: 123px;">袋鼠互联网科技有限公司</h3> |
|
|
|
|
|
|
|
|
|
<img :src="imgSrc" class="imgPop imgIndex min-w-full " style="min-width: 1000px;" :alt="imgSrcName" :title="imgSrcName"> |
|
|
|
|
<img :src="imgSrc" class="imgPop imgIndex min-w-full " style="min-width: 1000px;" :alt="imgSrcName" :title="imgSrcName" > |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<slot /> |
|
|
|
@ -74,13 +74,16 @@ export default { |
|
|
|
|
mounted() { |
|
|
|
|
// console.log('---showImg') |
|
|
|
|
// console.log(this.showImg) |
|
|
|
|
// const allH3 = document.querySelectorAll('h3'); |
|
|
|
|
// for(let i=0; i<allH3.length; i++) { |
|
|
|
|
// allH3[i].addEventListener('click', (e) => { |
|
|
|
|
// e.stopPropagation(); |
|
|
|
|
const allH3 = document.querySelectorAll('h3'); |
|
|
|
|
for(let i=0; i<allH3.length; i++) { |
|
|
|
|
allH3[i].addEventListener('click', (e) => { |
|
|
|
|
console.log(e) |
|
|
|
|
e.stopPropagation(); |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
// document.getElementById('checkPhoto').addEventListener('click',(e) => { |
|
|
|
|
// console.log(e) |
|
|
|
|
// }) |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
showImg: { |
|
|
|
@ -142,8 +145,9 @@ export default { |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
h3 { |
|
|
|
|
z-index: 9999; |
|
|
|
|
&:hover{ |
|
|
|
|
cursor: text!important;; |
|
|
|
|
cursor: text!important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |