jufubao-base 1.0.131 → 1.0.132-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
|
@@ -294,8 +294,9 @@
|
|
|
294
294
|
></image>
|
|
295
295
|
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
296
296
|
</view>
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
|
|
298
|
+
<view v-if="info.codes[0].can_read_password" class="jfb-base-order-detail__body-cashier-password" @click="showPassword = true">
|
|
299
|
+
{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}
|
|
299
300
|
</view>
|
|
300
301
|
<view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">
|
|
301
302
|
{{info.codes[0].refund_tip_text}}
|
|
@@ -414,12 +415,13 @@
|
|
|
414
415
|
v-if="item.show_type === 'qrcode'"
|
|
415
416
|
>
|
|
416
417
|
<view class="jfb-base-order-detail__body-num">
|
|
417
|
-
<view class="jfb-base-order-detail__body-num-info">
|
|
418
|
+
<!-- <view class="jfb-base-order-detail__body-num-info">
|
|
418
419
|
<view>{{ item.can_read_code }}</view>
|
|
419
|
-
</view>
|
|
420
|
+
</view> -->
|
|
420
421
|
<view
|
|
421
422
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
422
|
-
|
|
423
|
+
style="margin-top: 0;"
|
|
424
|
+
@click="handleShowCode(item)">查看二维码和密码</view>
|
|
423
425
|
<view
|
|
424
426
|
v-if="item.code_end_time"
|
|
425
427
|
class="jfb-base-order-detail__body-cashier-code"
|
|
@@ -764,6 +766,9 @@
|
|
|
764
766
|
</image>
|
|
765
767
|
</view>
|
|
766
768
|
</view>
|
|
769
|
+
<view v-if="dialogPassword" class="dialog_password">
|
|
770
|
+
{{ dialogPassword }}
|
|
771
|
+
</view>
|
|
767
772
|
</xd-dailog>
|
|
768
773
|
</view>
|
|
769
774
|
</template>
|
|
@@ -815,6 +820,9 @@ export default {
|
|
|
815
820
|
isPreview: false, //是否预览
|
|
816
821
|
biz_code: "",
|
|
817
822
|
|
|
823
|
+
showPassword: false,
|
|
824
|
+
dialogPassword: "",
|
|
825
|
+
|
|
818
826
|
//基础
|
|
819
827
|
radius: 0,
|
|
820
828
|
backgroundColor: "",
|
|
@@ -1158,6 +1166,7 @@ export default {
|
|
|
1158
1166
|
this.codeSrc = item.code_url;
|
|
1159
1167
|
this.showType = item.show_type;
|
|
1160
1168
|
this.logo = item.logo;
|
|
1169
|
+
this.dialogPassword = item.can_read_code;
|
|
1161
1170
|
console.log(this.codeSrc, "this.codeSrc");
|
|
1162
1171
|
this.showCode = true;
|
|
1163
1172
|
},
|
|
@@ -1664,6 +1673,14 @@ export default {
|
|
|
1664
1673
|
font-size: unit(32, rpx);
|
|
1665
1674
|
font-weight: 500;
|
|
1666
1675
|
}
|
|
1676
|
+
&-password{
|
|
1677
|
+
text-align: center;
|
|
1678
|
+
font-size: unit(32, rpx);
|
|
1679
|
+
font-weight: 500;
|
|
1680
|
+
background: #D3D3D3;
|
|
1681
|
+
border-radius: unit(12, rpx);
|
|
1682
|
+
padding: unit(14, rpx) unit(28, rpx);
|
|
1683
|
+
}
|
|
1667
1684
|
|
|
1668
1685
|
image {
|
|
1669
1686
|
width: unit(272, rpx);
|
|
@@ -1709,6 +1726,15 @@ export default {
|
|
|
1709
1726
|
font-size: @xd-font-size-lg;
|
|
1710
1727
|
}
|
|
1711
1728
|
}
|
|
1729
|
+
|
|
1730
|
+
}
|
|
1731
|
+
.dialog_password{
|
|
1732
|
+
text-align: center;
|
|
1733
|
+
font-size: unit(32, rpx);
|
|
1734
|
+
font-weight: 500;
|
|
1735
|
+
background: #D3D3D3;
|
|
1736
|
+
border-radius: unit(12, rpx);
|
|
1737
|
+
padding: unit(14, rpx) unit(28, rpx);
|
|
1712
1738
|
}
|
|
1713
1739
|
}
|
|
1714
1740
|
</style>
|
|
@@ -105,7 +105,9 @@
|
|
|
105
105
|
></image>
|
|
106
106
|
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
107
107
|
</view>
|
|
108
|
-
<view class="jfb-base-success__body-cashier-
|
|
108
|
+
<view v-if="info.codes[0].can_read_password" class="jfb-base-success__body-cashier-password" @click="showPassword = true">
|
|
109
|
+
{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}
|
|
110
|
+
</view>
|
|
109
111
|
<view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
|
|
110
112
|
<view
|
|
111
113
|
v-if="info.codes[0].code_end_time"
|
|
@@ -202,13 +204,14 @@
|
|
|
202
204
|
v-if="item.show_type === 'qrcode'"
|
|
203
205
|
>
|
|
204
206
|
<view class="jfb-base-success__body-num">
|
|
205
|
-
<view class="jfb-base-success__body-num-info">
|
|
207
|
+
<!-- <view class="jfb-base-success__body-num-info">
|
|
206
208
|
<view>{{ item.can_read_code }}</view>
|
|
207
|
-
</view>
|
|
209
|
+
</view> -->
|
|
208
210
|
<view
|
|
209
211
|
class="jfb-base-success__body-num-info-copy"
|
|
212
|
+
style="margin-top: 0;"
|
|
210
213
|
@click="handleShowCode(item)"
|
|
211
|
-
|
|
214
|
+
>查看二维码和密码</view>
|
|
212
215
|
<view
|
|
213
216
|
v-if="item['code_end_time']"
|
|
214
217
|
class="jfb-base-success__body-cashier-code"
|
|
@@ -329,6 +332,9 @@
|
|
|
329
332
|
</image>
|
|
330
333
|
</view>
|
|
331
334
|
</view>
|
|
335
|
+
<view v-if="dialogPassword" class="jfb-base-success__body-d_password">
|
|
336
|
+
{{ dialogPassword }}
|
|
337
|
+
</view>
|
|
332
338
|
</xd-dailog>
|
|
333
339
|
</view>
|
|
334
340
|
</template>
|
|
@@ -398,6 +404,7 @@ export default {
|
|
|
398
404
|
info: null,
|
|
399
405
|
timeer: null,
|
|
400
406
|
noUserLoding:null,
|
|
407
|
+
showPassword: false,
|
|
401
408
|
|
|
402
409
|
//请求参数
|
|
403
410
|
params: null,
|
|
@@ -405,6 +412,7 @@ export default {
|
|
|
405
412
|
showCode: false,
|
|
406
413
|
codeSrc: "",
|
|
407
414
|
logo: "",
|
|
415
|
+
dialogPassword: "",
|
|
408
416
|
...styleForm.getDataItem(),
|
|
409
417
|
};
|
|
410
418
|
},
|
|
@@ -447,6 +455,7 @@ export default {
|
|
|
447
455
|
this.codeSrc = item.code_url;
|
|
448
456
|
this.showType = item.show_type;
|
|
449
457
|
this.logo = item.logo;
|
|
458
|
+
this.dialogPassword = item.can_read_code;
|
|
450
459
|
this.showCode = true;
|
|
451
460
|
},
|
|
452
461
|
/**
|
|
@@ -790,6 +799,14 @@ export default {
|
|
|
790
799
|
font-size: unit(32, rpx);
|
|
791
800
|
font-weight: 500;
|
|
792
801
|
}
|
|
802
|
+
&-password{
|
|
803
|
+
text-align: center;
|
|
804
|
+
font-size: unit(32, rpx);
|
|
805
|
+
font-weight: 500;
|
|
806
|
+
background: #D3D3D3;
|
|
807
|
+
border-radius: unit(12, rpx);
|
|
808
|
+
padding: unit(14, rpx) unit(28, rpx);
|
|
809
|
+
}
|
|
793
810
|
|
|
794
811
|
image {
|
|
795
812
|
width: unit(272, rpx);
|
|
@@ -841,6 +858,14 @@ export default {
|
|
|
841
858
|
max-width: 100%;
|
|
842
859
|
}
|
|
843
860
|
}
|
|
861
|
+
&-d_password{
|
|
862
|
+
text-align: center;
|
|
863
|
+
font-size: unit(32, rpx);
|
|
864
|
+
font-weight: 500;
|
|
865
|
+
background: #D3D3D3;
|
|
866
|
+
border-radius: unit(12, rpx);
|
|
867
|
+
padding: unit(14, rpx) unit(28, rpx);
|
|
868
|
+
}
|
|
844
869
|
|
|
845
870
|
&-detail {
|
|
846
871
|
&-html {
|