tapd相关修改更新

This commit is contained in:
GaoHao
2025-03-19 18:19:34 +08:00
parent 994cf8bf2b
commit f01bc839f7
53 changed files with 1084 additions and 1032 deletions

View File

@@ -19,8 +19,8 @@ import { reactive, ref, onMounted } from 'vue';
import { onLoad, onShow } from '@dcloudio/uni-app';
import infoBox from '@/commons/utils/infoBox.js'
import qrCode from '@/commons/utils/qrCode.js'
import { getSubQrCode } from '@/http/yskApi/pageNotification.js'
import { saveHeadImgFile } from '@/commons/utils/saveImg.js'
import { getShopMsgPushCode } from '@/http/api/index.js'
const vdata = reactive({
size: 20,
QrcodeUrl: "",
@@ -31,14 +31,12 @@ onLoad((options) => {
})
onShow(() => {
getSubQrCode().then((res) => {
getShopMsgPushCode().then((res) => {
vdata.QrcodeUrl = res;
})
})
const saveImage = () => {
uni.downloadFile({
url: vdata.QrcodeUrl,
@@ -63,10 +61,8 @@ const saveImage = () => {
infoBox.showErrorToast('保存失败')
}
})
}
</script>
<style lang="scss" scoped>
.page-wrapper {