feat: 添加支付ID监听并更新UI样式
- 在qrCode组件中添加对payId的监听,触发init方法 - 更新志愿者登录页面的logo引用和字体大小 - 移除核销结果页面中的TODO注释 - 添加新的logo图片资源
Showing
5 changed files
with
16 additions
and
7 deletions
src/assets/images/logo_01.png
0 → 100644
6.5 KB
src/assets/images/logo_02.png
0 → 100644
7.9 KB
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-01-16 10:06:47 | 2 | * @Date: 2024-01-16 10:06:47 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2026-01-13 16:00:44 | 4 | + * @LastEditTime: 2026-01-20 15:48:13 |
| 5 | * @FilePath: /xyxBooking-weapp/src/components/qrCode.vue | 5 | * @FilePath: /xyxBooking-weapp/src/components/qrCode.vue |
| 6 | * @Description: 预约码卡组件 | 6 | * @Description: 预约码卡组件 |
| 7 | --> | 7 | --> |
| ... | @@ -97,6 +97,16 @@ watch( | ... | @@ -97,6 +97,16 @@ watch( |
| 97 | } | 97 | } |
| 98 | ) | 98 | ) |
| 99 | 99 | ||
| 100 | +watch( | ||
| 101 | + () => props.payId, | ||
| 102 | + (val) => { | ||
| 103 | + if (val) { | ||
| 104 | + init(); | ||
| 105 | + } | ||
| 106 | + }, | ||
| 107 | + { immediate: true } | ||
| 108 | +) | ||
| 109 | + | ||
| 100 | function replaceMiddleCharacters(inputString) { | 110 | function replaceMiddleCharacters(inputString) { |
| 101 | if (!inputString || inputString.length < 15) { | 111 | if (!inputString || inputString.length < 15) { |
| 102 | return inputString; | 112 | return inputString; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2026-01-08 13:01:20 | 2 | * @Date: 2026-01-08 13:01:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2026-01-16 16:14:06 | 4 | + * @LastEditTime: 2026-01-20 14:02:24 |
| 5 | * @FilePath: /xyxBooking-weapp/src/pages/verificationResult/index.vue | 5 | * @FilePath: /xyxBooking-weapp/src/pages/verificationResult/index.vue |
| 6 | * @Description: 核销结果页面 | 6 | * @Description: 核销结果页面 |
| 7 | --> | 7 | --> |
| ... | @@ -61,7 +61,6 @@ const msg = ref('请点击下方按钮进行核销') | ... | @@ -61,7 +61,6 @@ const msg = ref('请点击下方按钮进行核销') |
| 61 | const store = mainStore() | 61 | const store = mainStore() |
| 62 | const replace = useReplace() | 62 | const replace = useReplace() |
| 63 | 63 | ||
| 64 | -// TODO: 还没有真实字段信息, 如果有需要修改, 这个页面涉及verify_status的功能都要注意 | ||
| 65 | const status_title = computed(() => { | 64 | const status_title = computed(() => { |
| 66 | if (verify_status.value === 'verifying') return '核销中' | 65 | if (verify_status.value === 'verifying') return '核销中' |
| 67 | if (verify_status.value === 'success') return '核销成功' | 66 | if (verify_status.value === 'success') return '核销成功' | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2026-01-08 13:01:56 | 2 | * @Date: 2026-01-08 13:01:56 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2026-01-20 10:54:19 | 4 | + * @LastEditTime: 2026-01-20 14:00:27 |
| 5 | * @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.vue | 5 | * @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.vue |
| 6 | * @Description: 义工登录页面 | 6 | * @Description: 义工登录页面 |
| 7 | --> | 7 | --> |
| ... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
| 13 | </view> | 13 | </view> |
| 14 | 14 | ||
| 15 | <view class="login-card"> | 15 | <view class="login-card"> |
| 16 | - <view class="title">欢迎回来</view> | 16 | + <!-- <view class="title">欢迎回来</view> --> |
| 17 | 17 | ||
| 18 | <view class="input-group"> | 18 | <view class="input-group"> |
| 19 | <text class="label">账号</text> | 19 | <text class="label">账号</text> |
| ... | @@ -37,7 +37,7 @@ import Taro, { useDidShow } from '@tarojs/taro' | ... | @@ -37,7 +37,7 @@ import Taro, { useDidShow } from '@tarojs/taro' |
| 37 | import { mainStore } from '@/stores/main' | 37 | import { mainStore } from '@/stores/main' |
| 38 | import { volunteerLoginAPI, checkRedeemPermissionAPI } from '@/api/redeem' | 38 | import { volunteerLoginAPI, checkRedeemPermissionAPI } from '@/api/redeem' |
| 39 | import { useReplace } from '@/hooks/useGo' | 39 | import { useReplace } from '@/hooks/useGo' |
| 40 | -import logo from '@/assets/images/logo.png' | 40 | +import logo from '@/assets/images/logo_01.png' |
| 41 | 41 | ||
| 42 | const store = mainStore() | 42 | const store = mainStore() |
| 43 | const replace = useReplace() | 43 | const replace = useReplace() |
| ... | @@ -122,7 +122,7 @@ const handleLogin = async () => { | ... | @@ -122,7 +122,7 @@ const handleLogin = async () => { |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | .app-name { | 124 | .app-name { |
| 125 | - font-size: 36rpx; | 125 | + font-size: 42rpx; |
| 126 | font-weight: 600; | 126 | font-weight: 600; |
| 127 | color: #333; | 127 | color: #333; |
| 128 | letter-spacing: 2rpx; | 128 | letter-spacing: 2rpx; | ... | ... |
-
Please register or login to post a comment