修改复制

This commit is contained in:
A1300399510
2023-07-25 17:36:09 +08:00
parent 2d20fe1cce
commit b39a23dc70
2 changed files with 10 additions and 14 deletions

View File

@@ -73,7 +73,7 @@ const showPop = () => show.value = !show.value
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: rgba(0, 0, 0, 0.698039215686274); background: rgba(0, 0, 0, 0.698039215686274);
z-index: 1000; z-index: 1002;
} }
.pop { .pop {

View File

@@ -152,8 +152,8 @@
<img class="icon" src="@/assets/img/apartmentDetail/location-icon.png"> <img class="icon" src="@/assets/img/apartmentDetail/location-icon.png">
{{ info.location || '位置' }} {{ info.location || '位置' }}
</div> </div>
<!-- <view-map :latlng="{ longitude: info['coordinate'][0], latitude: info['coordinate'][1] }" <view-map :latlng="{ longitude: info['coordinate'][0], latitude: info['coordinate'][1] }"
:name="info['address']"></view-map> --> :name="info['address']"></view-map>
<!-- 交通 --> <!-- 交通 -->
<div class="traffic-box" v-if="info['traffic']"> <div class="traffic-box" v-if="info['traffic']">
@@ -217,7 +217,7 @@
</div> </div>
<div class="hint-item"></div> <div class="hint-item"></div>
<div class="hint-item flexacenter"> <div class="hint-item flexacenter">
公寓/酒店/中介房源推广合作请联系<a href="mailto:ad@gter.net">ad@gter.net</a> 公寓/酒店/中介房源推广合作请联系<a @click="copy('ad@gter.net')">ad@gter.net</a>
</div> </div>
</div> </div>
</div> </div>
@@ -321,8 +321,6 @@
<div class="hint flexcenter">微信扫码添加备注寄托</div> <div class="hint flexcenter">微信扫码添加备注寄托</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
@@ -339,7 +337,7 @@ import footerpage from '@/components/footer/footer.vue'
import viewMap from '@/components/public/viewMap.vue' import viewMap from '@/components/public/viewMap.vue'
import transmitBtn from '@/components/public/transmitBtn.vue' import transmitBtn from '@/components/public/transmitBtn.vue'
import { transmit } from '@/utils/util.js' import { copyToClipboard } from '@/utils/util.js'
const uniqid = "aWqSz58aKKvn" const uniqid = "aWqSz58aKKvn"
// uniqid=aWqSz58aKKvn // uniqid=aWqSz58aKKvn
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
@@ -482,13 +480,10 @@ const dualBrandData = () => {
} }
// 点击转发 // 点击转发
const handleTransmit = () => { const copy = (value) => {
copyToClipboard(value).then(() => {
// let url = location.href ElMessage.success("复制成功!!!")
// transmit(`${info.value['title']} - ${url}`) })
// copyToClipboard(`${info.value['title']} - ${url}`).then(() => {
// ElMessage.success("复制成功!!!")
// })
} }
let contactReservationState = ref(false) // 联系预订客服的弹窗状态 let contactReservationState = ref(false) // 联系预订客服的弹窗状态
@@ -1144,6 +1139,7 @@ const handleMediaBtn = (type, index) => {
min-height: 24px; min-height: 24px;
a { a {
cursor: pointer;
color: #7F7F7F; color: #7F7F7F;
text-decoration: underline; text-decoration: underline;
} }