fix:修改图标和其他
This commit is contained in:
@@ -10,8 +10,13 @@
|
||||
const qrcodeRef = ref(null)
|
||||
|
||||
const BASE_URL = computed(() => {
|
||||
// #ifdef H5
|
||||
const { origin } = window.location
|
||||
return `${origin}/pages/mall/detail?productId=${productId.value}&groupId=${groupId.value}`
|
||||
// #endif
|
||||
// #ifdef APP-PLUS
|
||||
return `yxdim://pages/mall/detail?productId=${productId.value}&groupId=${groupId.value}`
|
||||
// #endif
|
||||
})
|
||||
|
||||
// 复制文本通用函数
|
||||
@@ -52,6 +57,13 @@
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- #ifdef APP-PLUS -->
|
||||
<view class="copy-box">
|
||||
<text class="link">拼单链接:{{ BASE_URL }}</text>
|
||||
<button @click="copyText">复制</button>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
|
||||
<!-- 复制连接 -->
|
||||
<!-- #ifdef H5 -->
|
||||
|
||||
Reference in New Issue
Block a user