This commit is contained in:
GaoHao 2024-10-31 15:51:17 +08:00
commit 69712862d9
2 changed files with 5 additions and 11 deletions

View File

@ -42,7 +42,6 @@ onShow(() => {
const saveImage = () => { const saveImage = () => {
// #ifdef APP-PLUS // #ifdef APP-PLUS
saveQrcodeImg()
uni.downloadFile({ uni.downloadFile({
url: vdata.QrcodeUrl, url: vdata.QrcodeUrl,
success: (res) => { success: (res) => {
@ -92,16 +91,6 @@ function downloadQR() {
} }
//#endif //#endif
const saveQrcodeImg = () => {
saveHeadImgFile(vdata.QrcodeUrl, 80)
.then((success) => {
infoBox.showSuccessToast('保存成功')
})
.catch((err) => {
console.log(err)
infoBox.showErrorToast('保存失败')
})
}
const saveWxQrcodeImg = (data) => { const saveWxQrcodeImg = (data) => {
const fileManager = wx.getFileSystemManager() const fileManager = wx.getFileSystemManager()

View File

@ -140,6 +140,11 @@
// icon: '/static/indexImg/icon-staff.svg', // icon: '/static/indexImg/icon-staff.svg',
// pageUrl: 'PAGES_USER' // pageUrl: 'PAGES_USER'
// }, // },
{
title: '订阅通知',
icon: '/static/indexImg/icon-notification.svg',
pageUrl: 'PAGES_NOTIFICATION_INDEX',
},
{ {
title: '设置中心', title: '设置中心',
icon: '/static/indexImg/icon-cashier.svg', icon: '/static/indexImg/icon-cashier.svg',