From 1e40a94e41a811a30b49150b5feabe9b7797948a Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期二, 14 五月 2024 08:23:06 +0800 Subject: [PATCH] # --- pages/pakin/pakin.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue index cc5ef78..1035979 100644 --- a/pages/pakin/pakin.vue +++ b/pages/pakin/pakin.vue @@ -237,9 +237,9 @@ }, }, }); - } else if (res.code == 403) { + } else if (result.code == 403) { uni.showToast({ - title: res.msg, + title: result.msg, icon: "none", position: 'top' }) @@ -250,7 +250,7 @@ }, 1000); } else { uni.showToast({ - title: res.msg, + title: result.msg, icon: "none", position: 'top' }) @@ -404,6 +404,9 @@ that.resst(); that.messageText = "缁勬墭鎴愬姛" that.messageToggle('success') + const innerAudioContext = uni.createInnerAudioContext(); + innerAudioContext.src = '/static/music/pakinOk.mp3'; + innerAudioContext.play() } else if (res.code == 403) { that.messageText = res.msg that.messageToggle('error') @@ -495,6 +498,6 @@ z-index: 9; /* border-top: 1px solid #DCDFE6; */ text-align: center; - box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5); + box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); } </style> -- Gitblit v1.9.1