hookehuyr

feat: 添加支付ID监听并更新UI样式

- 在qrCode组件中添加对payId的监听,触发init方法
- 更新志愿者登录页面的logo引用和字体大小
- 移除核销结果页面中的TODO注释
- 添加新的logo图片资源
<!--
* @Date: 2024-01-16 10:06:47
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-13 16:00:44
* @LastEditTime: 2026-01-20 15:48:13
* @FilePath: /xyxBooking-weapp/src/components/qrCode.vue
* @Description: 预约码卡组件
-->
......@@ -97,6 +97,16 @@ watch(
}
)
watch(
() => props.payId,
(val) => {
if (val) {
init();
}
},
{ immediate: true }
)
function replaceMiddleCharacters(inputString) {
if (!inputString || inputString.length < 15) {
return inputString;
......
<!--
* @Date: 2026-01-08 13:01:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-16 16:14:06
* @LastEditTime: 2026-01-20 14:02:24
* @FilePath: /xyxBooking-weapp/src/pages/verificationResult/index.vue
* @Description: 核销结果页面
-->
......@@ -61,7 +61,6 @@ const msg = ref('请点击下方按钮进行核销')
const store = mainStore()
const replace = useReplace()
// TODO: 还没有真实字段信息, 如果有需要修改, 这个页面涉及verify_status的功能都要注意
const status_title = computed(() => {
if (verify_status.value === 'verifying') return '核销中'
if (verify_status.value === 'success') return '核销成功'
......
<!--
* @Date: 2026-01-08 13:01:56
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-20 10:54:19
* @LastEditTime: 2026-01-20 14:00:27
* @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.vue
* @Description: 义工登录页面
-->
......@@ -13,7 +13,7 @@
</view>
<view class="login-card">
<view class="title">欢迎回来</view>
<!-- <view class="title">欢迎回来</view> -->
<view class="input-group">
<text class="label">账号</text>
......@@ -37,7 +37,7 @@ import Taro, { useDidShow } from '@tarojs/taro'
import { mainStore } from '@/stores/main'
import { volunteerLoginAPI, checkRedeemPermissionAPI } from '@/api/redeem'
import { useReplace } from '@/hooks/useGo'
import logo from '@/assets/images/logo.png'
import logo from '@/assets/images/logo_01.png'
const store = mainStore()
const replace = useReplace()
......@@ -122,7 +122,7 @@ const handleLogin = async () => {
}
.app-name {
font-size: 36rpx;
font-size: 42rpx;
font-weight: 600;
color: #333;
letter-spacing: 2rpx;
......