| | |
| | | |
| | | onShareAppMessage((res) => { |
| | | const ticketUuid = res?.target?.dataset?.ticketUuid as string | undefined |
| | | const visitedUserDisplay = res?.target?.dataset?.visitedUserDisplay as string | undefined |
| | | if (!ticketUuid) { |
| | | return { |
| | | title: '红宇精工访客预约', |
| | | path: '/pages/index/index', |
| | | } |
| | | } |
| | | return { |
| | | title: visitedUserDisplay ? `${visitedUserDisplay}的访客码` : '访客码分享', |
| | | title: '访客码的分享', |
| | | path: buildVisitorCodeSharePath(ticketUuid), |
| | | } |
| | | }) |
| | |
| | | <view class="relative z-4" :style="{ paddingTop: `${safeAreaInsets?.top || 44}px` }"> |
| | | <view class="mb-[64rpx] h-[88rpx] flex items-center px-[32rpx]"> |
| | | <text class="text-[36rpx] text-white font-medium"> |
| | | 预约小程序 |
| | | 红宇精工访客预约 |
| | | </text> |
| | | </view> |
| | | |
| | |
| | | <view class="login-page"> |
| | | <view class="login-card"> |
| | | <text class="login-title"> |
| | | 预约小程序 |
| | | 红宇精工访客预约 |
| | | </text> |
| | | <text class="login-subtitle"> |
| | | {{ needPhoneAuthorize ? '首次登录需授权手机号完成身份识别' : '点击下方按钮使用微信授权登录' }} |
| | |
| | | :style="{ top: statusBarHeight + 'px', height: navBarHeight + 'px' }"> |
| | | <view class="relative z-10 flex h-full w-[88rpx] items-center justify-center" /> |
| | | <view class="absolute left-0 z-0 w-full text-center text-[34rpx] font-medium text-white"> |
| | | 预约小程序 |
| | | 红宇精工访客预约 |
| | | </view> |
| | | <view class="w-[88rpx]" /> |
| | | </view> |
| | |
| | | } |
| | | |
| | | onShareAppMessage(() => ({ |
| | | title: detail.value?.visitedUserDisplay ? `${detail.value.visitedUserDisplay}的访客码` : '访客码分享', |
| | | title: '访客码的分享', |
| | | path: buildSharePath(), |
| | | })) |
| | | |
| | |
| | | } |
| | | |
| | | onShareAppMessage(() => ({ |
| | | title: order.value?.visitedUserDisplay ? `${order.value.visitedUserDisplay}的访客码` : '访客码分享', |
| | | title: '访客码的分享', |
| | | path: buildSharePath(), |
| | | })) |
| | | |