jufubao-base 1.0.284 → 1.0.286

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.
@@ -8,11 +8,11 @@
8
8
  */
9
9
  const getPackagePath = (threePackagePath, packname = 'gxd-commands-bussiness')=>{
10
10
  if(packname === 'gxd-commands-bussiness') {
11
- return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-commands-bussiness/${threePackagePath}`;
11
+ return `/Users/shiyonggao/home/root/Base-Jufubao/xd-commands-bussiness/${threePackagePath}`;
12
12
  }
13
13
 
14
14
  if (packname === 'gxd-uni-library-editx') {
15
- return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-uni-library-editx/${threePackagePath}`;
15
+ return `/Users/shiyonggao/home/root/Base-Jufubao/xd-uni-library-editx/${threePackagePath}`;
16
16
  }
17
17
 
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.284",
3
+ "version": "1.0.286",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -915,26 +915,19 @@
915
915
  :cancel="false"
916
916
  :confirm="false"
917
917
  title="提示"
918
+ :class="{'cus-barcode-box': showType==='barcode'}"
918
919
  >
919
- <view
920
- :style="{
921
- display: 'flex',
922
- justifyContent: 'center',
923
- alignItems: 'center',
924
- paddingTop: '40rpx',
925
- height: showType === 'qrcode' ? '70vw' : '35vw',
926
- }"
927
- >
928
- <view style="position: relative">
929
- <image :src="codeSrc" mode="aspectFit"></image>
930
- <image v-if="logo&&showType === 'qrcode'" :src="logo" style="
920
+ <view :class="{'cus-qrcode':showType==='qrcode','cus-barcode': showType==='barcode'}">
921
+ <view style="position: relative;">
922
+ <image v-if="showType === 'qrcode'" :src="codeSrc" mode="aspectFit"></image>
923
+ <image v-else :src="codeSrc" mode="widthFix"></image>
924
+ <image v-if="logo && showType === 'qrcode'" :src="logo" style="
931
925
  width: 100rpx;
932
926
  height: 100rpx;
933
927
  position: absolute;
934
928
  top: 50%;
935
929
  left: 50%;
936
- transform: translate(-50rpx, -50rpx);">
937
- </image>
930
+ transform: translate(-50rpx, -50rpx);"></image>
938
931
  </view>
939
932
  </view>
940
933
  <view v-if="dialogCode && dialogCode.tips" class="dialog_password"> {{ dialogCode.tips}}</view>
@@ -990,6 +983,7 @@ export default {
990
983
  mixins: [componentsMixins, extsMixins, JfbBaseOrderDetailMixin],
991
984
  data() {
992
985
  return {
986
+ closeMask: true,
993
987
  info: null,
994
988
  brandPath: "", //查看品牌路径
995
989
  showPayCard: false,
@@ -1681,6 +1675,44 @@ export default {
1681
1675
  flex-shrink: 0;
1682
1676
  }
1683
1677
 
1678
+ .cus-qrcode {
1679
+ display: flex;
1680
+ justify-content: center;
1681
+ align-items: center;
1682
+ padding-top: 40rpx;
1683
+ height: 70vw;
1684
+ }
1685
+
1686
+ .cus-barcode {
1687
+ height: 100rpx;
1688
+ width: 100%;
1689
+ margin-bottom: 30rpx;
1690
+
1691
+ & > view {
1692
+ height: 100rpx;
1693
+ width: 100%;
1694
+ display: flex;
1695
+ justify-content: center;
1696
+ align-items: center;
1697
+
1698
+ & >image {
1699
+ max-height: 100%;
1700
+ }
1701
+ }
1702
+ }
1703
+
1704
+ .cus-barcode-box {
1705
+ /deep/ .xd-dailog__body-content {
1706
+ padding-left: 30rpx;
1707
+ padding-right: 30rpx;
1708
+ padding-bottom: 30rpx;
1709
+ }
1710
+
1711
+ /deep/ .xd-dailog__body-content-box{
1712
+ padding: 0;
1713
+ }
1714
+ }
1715
+
1684
1716
 
1685
1717
  .jfb-base-order-detail {
1686
1718
  &__body {
@@ -35,7 +35,7 @@ module.exports = {
35
35
  {
36
36
  "code": "A1121|1234",
37
37
  "can_read_code": "取票码:A1121|验证码:1234",
38
- "code_url": "\/xxx?text=A1121|1234",
38
+ "code_url": "\/common\/v1\/image\/qrcode?code_content=h.161.hmfrqwdfzd0b1eny&size=240",
39
39
  "password": "",
40
40
  "can_read_password": "",
41
41
  "show_type": "qrcode"
@@ -43,7 +43,7 @@ module.exports = {
43
43
  {
44
44
  "code": "A2222|2222",
45
45
  "can_read_code": "取票码:A2222|验证码:2222",
46
- "code_url": "\/xxx?text=A2222|2222",
46
+ "code_url": "\/common\/v1\/image\/qrcode?code_content=h.161.hmfrqwdfzd0b1eny&size=240",
47
47
  "password": "",
48
48
  "can_read_password": "",
49
49
  "show_type": "qrcode"