jufubao-base 1.0.282-beta1 → 1.0.283-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -281,7 +281,9 @@
|
|
|
281
281
|
}"
|
|
282
282
|
>{{ticket_method_msg}}</view>
|
|
283
283
|
<!--取票码提示文案-->
|
|
284
|
+
<!--codes-->
|
|
284
285
|
<view v-if="info.codes && info.codes.length > 0">
|
|
286
|
+
<!--单条条形码或者二维码-->
|
|
285
287
|
<view
|
|
286
288
|
:style="{
|
|
287
289
|
background: backgroundColor,
|
|
@@ -290,11 +292,7 @@
|
|
|
290
292
|
boxShadow: shadowBox,
|
|
291
293
|
marginBottom: padding + 'rpx',
|
|
292
294
|
}"
|
|
293
|
-
v-if="
|
|
294
|
-
info.codes.length === 1 &&
|
|
295
|
-
(info.codes[0].show_type === 'qrcode' ||
|
|
296
|
-
info.codes[0].show_type === 'barcode')
|
|
297
|
-
"
|
|
295
|
+
v-if="info.codes.length === 1 && (info.codes[0].show_type === 'qrcode' || info.codes[0].show_type === 'barcode')"
|
|
298
296
|
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-cashier"
|
|
299
297
|
>
|
|
300
298
|
<view class="jfb-base-order-detail__body-cashier-text">{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
@@ -328,6 +326,8 @@
|
|
|
328
326
|
}"
|
|
329
327
|
>{{ info.codes[0].code_end_time }}</view>
|
|
330
328
|
</view>
|
|
329
|
+
<!--单条条形码或者二维码-->
|
|
330
|
+
<!--其他情况显示-->
|
|
331
331
|
<view v-else>
|
|
332
332
|
<view
|
|
333
333
|
:style="{
|
|
@@ -340,25 +340,19 @@
|
|
|
340
340
|
v-for="(item, index) in info.codes"
|
|
341
341
|
:key="index"
|
|
342
342
|
>
|
|
343
|
-
<view
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
width: 80rpx;
|
|
348
|
-
text-align: center;
|
|
349
|
-
vertical-align: middle;
|
|
350
|
-
font-size: 24rpx;
|
|
351
|
-
padding: 10rpx 0;
|
|
352
|
-
margin: 32rpx 0 32rpx 32rpx;
|
|
353
|
-
">{{info.codes.length > 10 ? index + 1 : `0${index + 1}` }}</view>
|
|
343
|
+
<view
|
|
344
|
+
class="code-index"
|
|
345
|
+
v-if="info.codes.length > 1"
|
|
346
|
+
>{{info.codes.length > 10 ? index + 1 : `0${index + 1}` }}</view>
|
|
354
347
|
<view
|
|
355
348
|
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-num"
|
|
356
349
|
v-if="item.show_type === 'text' && !item.password"
|
|
357
350
|
>
|
|
358
351
|
<view class="jfb-base-order-detail__body-num-info">
|
|
359
|
-
<view>{{ item.can_read_code }}</view>
|
|
352
|
+
<view :class="{food_code:['top'].includes(code_location)}">{{ item.can_read_code }}</view>
|
|
360
353
|
</view>
|
|
361
354
|
<view
|
|
355
|
+
v-if="!['top'].includes(code_location)"
|
|
362
356
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
363
357
|
:style="{fontSize: btnTextSize+'rpx'}"
|
|
364
358
|
@click="copy(item.code)"
|
|
@@ -495,7 +489,9 @@
|
|
|
495
489
|
</view>
|
|
496
490
|
</view>
|
|
497
491
|
</view>
|
|
492
|
+
<!--其他情况显示-->
|
|
498
493
|
</view>
|
|
494
|
+
<!--codes end-->
|
|
499
495
|
<!--shop-->
|
|
500
496
|
<view v-if="info.support_shops && is_show_support_shop === 'Y'">
|
|
501
497
|
<view
|
|
@@ -1665,6 +1661,26 @@ export default {
|
|
|
1665
1661
|
margin-left: unit(30, rpx);
|
|
1666
1662
|
}
|
|
1667
1663
|
}
|
|
1664
|
+
.code-index {
|
|
1665
|
+
color: #999;
|
|
1666
|
+
background: #eee;
|
|
1667
|
+
border-radius: 20rpx;
|
|
1668
|
+
width: 80rpx;
|
|
1669
|
+
text-align: center;
|
|
1670
|
+
vertical-align: middle;
|
|
1671
|
+
font-size: 24rpx;
|
|
1672
|
+
padding: 10rpx 0;
|
|
1673
|
+
margin: 32rpx 0 32rpx 32rpx;
|
|
1674
|
+
}
|
|
1675
|
+
.food_code {
|
|
1676
|
+
color: #333;
|
|
1677
|
+
font-size: 28rpx;
|
|
1678
|
+
text-align: center;
|
|
1679
|
+
font-weight: 400;
|
|
1680
|
+
width: 100%;
|
|
1681
|
+
flex-shrink: 0;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1668
1684
|
|
|
1669
1685
|
.jfb-base-order-detail {
|
|
1670
1686
|
&__body {
|