bug修复

This commit is contained in:
13405411873 2025-06-09 17:12:21 +08:00
parent d94bc88efc
commit 9fc851abfc
3 changed files with 8 additions and 8 deletions

View File

@ -35,9 +35,9 @@ export function entPay(orderNo) {
}
// 获取urlLink
export function getUrlLink(path, query) {
export function getUrlLink(path, query, type) {
return request({
'url': '/wxApi/getUrlLink?path=' + path + '&query=' + query,
'url': '/wxApi/getUrlLink?path=' + path + '&query=' + query + '&type=' + type,
'method': 'post'
})
}

View File

@ -28,7 +28,7 @@
<image src="@/static/mine/fans.png" mode="aspectFit"></image>
<view class="fans-num">{{userInfo.tfansNum||'0'}}</view>
</view>
<view class="fans-box" style="background-color: #EEF4FE;">
<view v-if="'01'==localUserType" class="fans-box" style="background-color: #EEF4FE;">
<view class="fans-num" style="color: #5597FC;">{{userInfo.identityName||'未认证身份'}}</view>
</view>
</view>

View File

@ -240,7 +240,7 @@
<view style="padding: 8rpx 0;">请复制通告到微信对话框填写信息报名</view>
</view>
<view style="text-align: center;width: 100%;">
<view class="dl-copy-button" @click="goLinkUrl">点击复制</view>
<view class="dl-copy-button" @click="goLinkUrl(1)">点击复制</view>
</view>
</view>
</uni-popup>
@ -587,7 +587,7 @@
console.log(dataObj, 'dataObje')
if ('lj' == dataObj.item.name) {
//
this.goLinkUrl()
this.goLinkUrl(2)
} else if ('wx' == dataObj.item.name) {
} else if ('jb' == dataObj.item.name) {
@ -603,8 +603,8 @@
console.log('点击关闭')
},
goLinkUrl() {
getUrlLink('pages/notice/detail', this.noticeId).then(res => {
goLinkUrl(type) {
getUrlLink('pages/notice/detail', this.noticeId, type).then(res => {
res.data = res.data.replace(/<br>/g, '\n')
uni.setClipboardData({
data: res.data,