hookehuyr

style(offlineQrCode): 限制文本显示为单行并添加省略号

fix(submit): 添加支付循环的初始化标志
style(offlineBookingDetail): 调整提示图标间距和按钮内边距
...@@ -168,6 +168,12 @@ watch(() => props.list, (newVal) => { ...@@ -168,6 +168,12 @@ watch(() => props.list, (newVal) => {
168 font-size: 37rpx; 168 font-size: 37rpx;
169 margin-top: 16rpx; 169 margin-top: 16rpx;
170 margin-bottom: 16rpx; 170 margin-bottom: 16rpx;
171 + // 只显示一行
172 + overflow: hidden;
173 + text-overflow: ellipsis;
174 + white-space: nowrap;
175 + // 不能超过容器宽度
176 + max-width: 600rpx;
171 } 177 }
172 .user-qrcode { 178 .user-qrcode {
173 display: flex; 179 display: flex;
......
1 <template> 1 <template>
2 <view class="offline-booking-detail-page"> 2 <view class="offline-booking-detail-page">
3 <view class="header-tip"> 3 <view class="header-tip">
4 - <IconFont name="tips" size="15" color="#A67939" /> 4 + <IconFont name="tips" size="15" color="#A67939" />&nbsp;
5 <text>您当前处于离线模式,仅展示本地缓存的数据</text> 5 <text>您当前处于离线模式,仅展示本地缓存的数据</text>
6 </view> 6 </view>
7 7
...@@ -165,7 +165,7 @@ useDidShow(() => { ...@@ -165,7 +165,7 @@ useDidShow(() => {
165 color: #FFF; 165 color: #FFF;
166 border-radius: 16rpx; 166 border-radius: 16rpx;
167 font-size: 32rpx; 167 font-size: 32rpx;
168 - padding: 22rpx 0; 168 + padding: 12rpx 0;
169 } 169 }
170 } 170 }
171 } 171 }
......
1 <!-- 1 <!--
2 * @Date: 2024-01-15 16:25:51 2 * @Date: 2024-01-15 16:25:51
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2026-01-16 19:47:01 4 + * @LastEditTime: 2026-01-16 20:09:30
5 * @FilePath: /xyxBooking-weapp/src/pages/submit/index.vue 5 * @FilePath: /xyxBooking-weapp/src/pages/submit/index.vue
6 * @Description: 预约人员信息 6 * @Description: 预约人员信息
7 --> 7 -->
...@@ -208,6 +208,7 @@ const submitBtn = async () => { ...@@ -208,6 +208,7 @@ const submitBtn = async () => {
208 208
209 // 以接口返回的 need_pay 为准:1=需要支付,0=不需要支付 209 // 以接口返回的 need_pay 为准:1=需要支付,0=不需要支付
210 if (Number(need_pay) === 1 || need_pay === true) { 210 if (Number(need_pay) === 1 || need_pay === true) {
211 + // 初始化循环
211 let should_continue = true; 212 let should_continue = true;
212 // 循环支付直到支付成功或用户取消支付 213 // 循环支付直到支付成功或用户取消支付
213 while (should_continue) { 214 while (should_continue) {
......