jufubao-base 1.0.158 → 1.0.159-beta2

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.
Files changed (84) hide show
  1. package/package.json +1 -1
  2. package/src/common/authorize.js +201 -70
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +7 -6
  4. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +5 -3
  5. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +3 -2
  6. package/src/components/JfbBaseBack/JfbBaseBack.vue +10 -8
  7. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -2
  8. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +3 -2
  9. package/src/components/JfbBaseCard/JfbBaseCard.vue +8 -4
  10. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +57 -26
  11. package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +14 -15
  12. package/src/components/JfbBaseCardDetailEntry/Attr.js +22 -0
  13. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +361 -425
  14. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +4 -4
  15. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +7 -9
  16. package/src/components/JfbBaseCardEntry/Attr.js +22 -1
  17. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +81 -34
  18. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +35 -19
  19. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +8 -4
  20. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +4 -3
  21. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +23 -18
  22. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +4 -11
  23. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +16 -19
  24. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +3 -2
  25. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +34 -18
  26. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +14 -14
  27. package/src/components/JfbBaseCity/JfbBaseCity.vue +3 -2
  28. package/src/components/JfbBaseClear/JfbBaseClear.vue +3 -2
  29. package/src/components/JfbBaseConList/JfbBaseConList.vue +3 -2
  30. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +3 -2
  31. package/src/components/JfbBaseEntry/Attr.js +22 -0
  32. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +80 -16
  33. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +3 -4
  34. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +31 -20
  35. package/src/components/JfbBaseFastLink/XdFastNav.vue +2 -2
  36. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +0 -1
  37. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +3 -2
  38. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +16 -6
  39. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +7 -9
  40. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +6 -6
  41. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +19 -5
  42. package/src/components/JfbBaseMapOverlay/XdMapOverlay.vue +52 -37
  43. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +3 -2
  44. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +28 -27
  45. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +5 -5
  46. package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
  47. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +6 -4
  48. package/src/components/JfbBaseNotice/Attr.js +0 -2
  49. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +36 -14
  50. package/src/components/JfbBaseNotice/XdNoticeBar.vue +17 -1
  51. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +3 -2
  52. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +3 -2
  53. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +5 -4
  54. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +4 -3
  55. package/src/components/JfbBasePay/JfbBasePay.vue +3 -2
  56. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +12 -7
  57. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +13 -7
  58. package/src/components/JfbBasePoster/JfbBasePoster.vue +118 -18
  59. package/src/components/JfbBasePoster/MoreScreen.vue +155 -37
  60. package/src/components/JfbBasePosterBigSmall/Attr.js +1 -4
  61. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +191 -67
  62. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +90 -20
  63. package/src/components/JfbBasePosterType/FourScreen.vue +162 -18
  64. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -35
  65. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +4 -4
  66. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +3 -4
  67. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +4 -7
  68. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -9
  69. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +3 -2
  70. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -1
  71. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +3 -2
  72. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +5 -3
  73. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +4 -3
  74. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +14 -11
  75. package/src/components/JfbBaseVideo/XdVideo.vue +0 -4
  76. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +3 -2
  77. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +5 -8
  78. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +5 -8
  79. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +7 -17
  80. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +13 -21
  81. package/src/components/JfbBaseWebview/JfbBaseWebview.vue +4 -3
  82. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +5 -4
  83. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +3 -4
  84. package/src/mixins/colorCardMixins.js +1 -1
@@ -10,37 +10,10 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-card-detail-entry__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-card-detail-entry__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view class="jfb-base-card-detail-entry__body" v-if="info!==null">
19
- <!-- <view class="card-list" :style="{
20
- background: headerBg['color'],
21
- backgroundSize: '100%'
22
- }">
23
- <view class="card-list-warp" :style="{backgroundImage: `url(${headerBg['image']})`}">
24
- <view class="card-list__title"><view>{{info['card_type_name']}}</view></view>
25
- <div class="card-list__content">
26
- <view>
27
- <text>券号:</text>
28
- <text>{{info.card_number}}</text>
29
- </view>
30
- </div>
31
- <view class="card-list__date">
32
- <text>有效期:</text>
33
- <text>{{info.end_time}}</text>
34
- </view>
35
- <view class="card-list__yue">
36
- <text>余额:</text>
37
- <text>{{info.card_point}} {{ info.unit }}</text>
38
- </view>
39
- <view class="card-list__other" v-if="info.other_card_point && info.card_point_type === 2">
40
- <view><text>购买其他物品可抵:</text><text>{{info.other_card_point}} {{ info.unit }}</text></view>
41
- </view>
42
- </view>
43
- </view> -->
44
17
  <view class="qrcode_card">
45
18
  <view class="jfb-base-card-detail-entry__body-qrcode">
46
19
  <view class="barcode_wrap">
@@ -55,13 +28,13 @@
55
28
  ></image>
56
29
  <image v-if="isBrandLogo" class="logo-icon" :src="brandLogo"></image>
57
30
  </view>
58
- <!-- <view :style="{marginTop: '20rpx'}" v-if="timeStr">消费二维码,有效期为{{ info["card_qrcode_expire"] / 60 }}分钟</view> -->
59
31
  <view v-if="timeStr">{{ timeStr }}后自动刷新</view>
60
32
  <view class="refresh_wrap" @click="handleRefresh">
61
- <xd-font-icon icon="iconshuaxin"
33
+ <xd-font-icon
34
+ icon="iconshuaxin"
62
35
  style="margin-right: 24rpx;"
63
- size="28"></xd-font-icon> 刷新二维码
64
- </view>
36
+ size="28"
37
+ ></xd-font-icon> 刷新二维码</view>
65
38
  </view>
66
39
  <view class="card_info">
67
40
  <view class="card_type">{{ info['card_type_name'] }}</view>
@@ -73,53 +46,47 @@
73
46
  </view>
74
47
  </view>
75
48
  </view>
76
-
77
49
  <view
78
- v-if="info.site_entry_settings&&info.site_entry_settings.length>0"
79
- class="jfb-base-card-detail-entry__body-business"
50
+ v-if="info.site_entry_settings&&info.site_entry_settings.length>0"
51
+ class="jfb-base-card-detail-entry__body-business"
80
52
  >
81
- <view
82
- class="jfb-base-card-detail-entry__body-business-title"
83
- >
84
- 进入业务板块
85
- </view>
86
- <view style="display:flex;align-content:center;justify-content:flex-start">
87
- <view class="jfb-base-card-detail-entry__body-business-content">
88
- <view
89
- class="jfb-base-card-detail-entry__body-business-content-item"
90
- @click="handleBindLogin(item)"
91
- v-for="(item,index) in info.site_entry_settings"
92
- :key="index">
93
- <view><image :src="item.image_url"></image></view>
94
- <view>{{item.entry_name}}</view>
53
+ <view class="jfb-base-card-detail-entry__body-business-title">进入业务板块</view>
54
+ <view style="display:flex;align-content:center;justify-content:flex-start">
55
+ <view class="jfb-base-card-detail-entry__body-business-content">
56
+ <view
57
+ class="jfb-base-card-detail-entry__body-business-content-item"
58
+ @click="handleBindLogin(item)"
59
+ v-for="(item,index) in info.site_entry_settings"
60
+ :key="index"
61
+ >
62
+ <view><image :src="item.image_url"></image></view>
63
+ <view>{{item.entry_name}}</view>
64
+ </view>
65
+ </view>
95
66
  </view>
96
67
  </view>
97
- </view>
98
- </view>
99
- <view :style="{height: '100rpx'}"></view>
100
- <!-- 靠底支付 -->
101
- <view class="fixe_bottom" :style="prod_bottom">
102
- <view v-if="0">
103
- <xd-button size="small" type="primary" width="100%">消费记录</xd-button>
104
- </view>
105
- <view v-if="info.is_exchange==='Y'">
106
- <xd-button
107
- width="100%"
108
- @click="handleToShift"
109
- size="small"
110
- type="primary"
111
- >券转换</xd-button>
112
- </view>
113
- <view v-if="isShowUnbind">
114
- <xd-button
115
- width="100%"
116
- @click="handleUnBindCard"
117
- size="small"
118
- type="primary">
119
- 解除绑定
120
- </xd-button>
121
- </view>
68
+ <view :style="{height: '100rpx'}"></view>
69
+ <!-- 靠底支付 -->
70
+ <view class="fixe_bottom" :style="prod_bottom">
71
+ <view v-if="0">
72
+ <xd-button size="small" type="primary" width="100%">消费记录</xd-button>
73
+ </view>
74
+ <view v-if="info.is_exchange==='Y'">
75
+ <xd-button
76
+ width="100%"
77
+ @click="handleToShift()"
78
+ size="small"
79
+ type="primary"
80
+ >券转换</xd-button>
122
81
  </view>
82
+ <view v-if="isShowUnbind">
83
+ <xd-button
84
+ width="100%"
85
+ @click="handleUnBindCard()"
86
+ size="small"
87
+ type="primary">解除绑定</xd-button>
88
+ </view>
89
+ </view>
123
90
  </view>
124
91
  </view>
125
92
  </template>
@@ -139,6 +106,7 @@ import XdPwPay from "./XdPwPay";
139
106
  import XdEditPwd from "./XdEditPwd";
140
107
  import XdUnit from "@/components/XdUnit/XdUnit";
141
108
  import XdButton from '@/components/XdButton/XdButton'
109
+ import {parsePath} from "@/utils/linkUrl";
142
110
  export default {
143
111
  name: "JfbBaseCardDetailEntry",
144
112
  components: {
@@ -154,6 +122,7 @@ export default {
154
122
  data() {
155
123
  return {
156
124
  userInfo: null, //用户信息(暂时不可用)
125
+ entryGroupId: '',//加载入口数据组别
157
126
 
158
127
  info: null,
159
128
  timeStr: "",
@@ -177,83 +146,66 @@ export default {
177
146
  shift_url: "",
178
147
 
179
148
  //品牌logo
180
- brandLogo:
181
- "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAADe5JREFUaEPdmQl0FFW6x3+3qqvTSxKSzgYkJEHZBEVQQFAWAfFlEBHJqMjiqCOyH/T5xsHRAXTwCTo6TzYFUVkUNxBmUAT1MQiIIJsog4AiEEMW0h0CWXqrundOdQIHfCqEp8ixzsnJOd23bn+/+v+/797vluBXcolfCQcXNEhuWlrDg2VlJWfzsC9IkGY+X2LEENt0TWtmSTmtoDQw4UwwFwxITmpqI6WrW4A+wLW6rsWjQKEISj2+tLS0+sdgfnGQpunpGZaw5uqa1t8O1JLyK2A30N9w6CJqWmsKSgM2nLxgQbIzUvvpmlghlUIq9YgutRdP5ER2Q18bIWl16Ej50jPZyv7+F1PEhnA69BUR0/xnGMeNZ7KOHWxWSkomDukrLD36xXfhfhEQuxoJg2Ip1apDJf7ffDeo3NxclwxW9UHJ9giRIqBMoapAPKXrmsOS6tGCEv/kU+/7RUCyM3zvgLihoDRw2u9nZWW5dTP4NIhRmiawrFhahABD1zQ9ZiEBpiUrC0oDib8oiF2dNKcoskx5R8GRwKITweQ0SrlESXbrmmYn/LNSyZcKj8QspOwx2WnJXdG09Q5dw7wQFMlpmPoHUE8eKgloJ4K0rYZD2VYrEZa44pDfX/x9CX5xRkZ6VERTC0rK7ap22nXerZWdkbLGrrJ1JTUWTHZGyudAi4LSgOtsKtT3jTnvIOkNkosjUTWvoqbiz3ZATjwD0lLcyw4HKi+DyK4LCCTlOlDDUxNFm3iv0O0lQkplF3rb63auXgKUAn6FBko2R+BEiQ2AV2iIiCn1o4GwP6zMdyE8uy7hf5TxJ1YkZVHri7Sh94900LtHHCkpcUjpjP1puhOPJw7D6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M2mGQbwHdB3CkVqgjFTFgD4m+XkmHS61cCeo01/h1D3agF/j9RVOHp9tUFzO3VD28o8VoHNSpF0z31zD0Ib36mQxdaJJ79viWLNVTIOyCZA6PDme0S1yZfMSvxBSIk8mt0KEwhhVNUJ3OCC7sYyBxTSp29XYVguF0YuOaMcOFIm1oE2CIzvPVEXPCeTaK1K2z/mT1b7znToz/mipIbdZYszDTl5eLnYGo2ICuDeDpSUkHBeNEiASdTmkFvEgdLehcTxcZVYXHrdDO+3NwCmxKgENKmF35EwAJ74/J5CMZN9ne5eoywvLJN3ucTA8X6pp4y1xqEjwxvs6u/arYGk55YeKhKu6Rng0ze4n2akES6UeeePw4crA2QZ4tuPOCQRSxuR1FjOXTLUP0RQT5+h8cxjyrlb07KTYultj2RqN7V/iD0bkUqcu3hTuhI0HDx60z2J+luucQHIapTxcVa1P8boleV2gzUWSL/YL3vpQQ0p1IBhmqSl5A/xbf5aov2fSeoPYb1sdmr7LkvK5w361TJpigKZrDeMMudflZFngeOB7D9B+bqB6gdgvKVWwcq2EFd+WBh7/uYOrz/z1AmnSKK2bMi1vYVn5qvr8yPkYWy8Qu2MAzPMRWH1/o74g9Z3/vI3/1YD8GzZW034Elz4yAAAAAElFTkSuQmCC",
149
+ //#ifdef H5
150
+ brandLogo: '//img.jufubao.cn/common/jufubao_logo.png?v=1.0.0',
151
+ //#endif
152
+ //#ifdef MP-WEIXIN
153
+ brandLogo:'https://img.jufubao.cn/common/jufubao_logo.png?v=1.0.0',
154
+ //#endif
182
155
  isBrandLogo: false,
183
-
184
156
  isShowUnbind: false, //是否启动绑定按钮
185
157
  headerBg: {},
186
158
  };
187
159
  },
188
160
  watch: {
189
- container(value) {
190
- this.init(value);
161
+ container(value,oldValue) {
162
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
163
+ if (this.$configProject['isPreview']) this.init(value)
191
164
  },
192
165
  },
193
166
  computed: {
194
- ...mapState(["brandInfo"]),
195
- jfbAuthorize: (state) => state.jfbAuthorize,
167
+ ...mapState(["brandInfo",'jfbAuthorize']),
168
+
196
169
  prod_bottom() {
197
- return this.fixedStyle({height: 0, zIndex: 111});
198
- },
170
+ return this.fixedStyle({height: 0, zIndex: 111});
171
+ },
172
+ },
173
+ created() {
174
+ this.init(this.container)
199
175
  },
200
- created() {},
201
176
  methods: {
202
177
  onJfbLoad(options) {
203
- console.log(options,'optionsoptionsoptionsoptions');
204
178
  if (options["x-params"]) {
205
179
  try {
206
180
  let params = JSON.parse(Base64.decode(options["x-params"]));
207
181
  this.brandLogo = params["qrcode_logo"];
182
+
208
183
  } catch (e) {
209
184
  console.warn(options["x-params"]);
210
185
  }
211
186
  }
212
187
 
213
- this.$nextTick(() => {
214
- this.card_number = options.card_number;
215
- this.init();
216
-
217
- // if (card_number) {
218
- // this.card_number = card_number;
219
- // if (this.brandInfo['is_enable_pay_password'] === 'N') {
220
- // this.init();
221
- // } else if (this.brandInfo['is_enable_pay_password'] === 'Y' && this.userInfo['has_user_set_password'] === 'N') {
222
- // this.editShow = true
223
- // this.pwdTitle = '您还未设置支付密码,请设置您的平台支付密码'
224
- // } else if (this.brandInfo['is_enable_pay_password'] === 'Y' && this.userInfo['has_user_set_password'] === 'Y') {
225
- // this.show = true
226
- // this.textList = [
227
- // {
228
- // label: '查看卡详情',
229
- // },
230
- // {
231
- // label: '请输入支付密码',
232
- // }
233
- // ]
234
- // }
235
- // this.first = true;
236
- // } else {
237
- // setTimeout(() => {
238
- // this.$xdUniHelper.navigateTo({
239
- // url: `/pages/index/index`
240
- // }, false)
241
- // }, 2000)
242
- // }
243
- });
188
+ this.card_number = options.card_number;
189
+ this.dataInit();
244
190
  },
245
- /**
246
- * @description 监听事件变化
247
- * @param container {object} 业务组件对象自己
248
- */
249
- init() {
191
+
192
+ dataInit(){
250
193
  this.detail();
251
194
  this.refrush();
252
195
  if(this.$configProject.isPreview) {
253
196
  this.timeStr = "01分19秒"
254
197
  }
255
- this.backUrl = getContainerPropsValue( this.container, "content.back_url", { value: "" }).value;
256
- this.shift_url = getContainerPropsValue( this.container, "content.shift_url", { value: "" }).value;
198
+ },
199
+
200
+ /**
201
+ * @description 监听事件变化
202
+ * @param container {object} 业务组件对象自己
203
+ */
204
+ init(container) {
205
+ this.backUrl = getContainerPropsValue(container, "content.back_url", { value: "" }).value;
206
+ this.shift_url = getContainerPropsValue(container, "content.shift_url", { value: "" }).value;
207
+ //'wechat_mini_program|default'
208
+ this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
257
209
  },
258
210
  /**
259
211
  * @description 获取卡详情
@@ -264,6 +216,7 @@ export default {
264
216
  data: {
265
217
  card_number: this.card_number,
266
218
  is_show_entry_settings: "Y",
219
+ group_id: this.entryGroupId
267
220
  },
268
221
  })
269
222
  .then((res) => {
@@ -279,6 +232,9 @@ export default {
279
232
  100
280
233
  );
281
234
  }
235
+
236
+ res['site_entry_settings'] = this.filterNotSupportEntry(res['site_entry_settings']);
237
+
282
238
  if(res && res.site_entry_settings && res.site_entry_settings.length>0) {
283
239
  res.site_entry_settings = res.site_entry_settings.filter(item=>{
284
240
  item['image_url'] = getServiceUrl(item['image_url'])
@@ -307,7 +263,6 @@ export default {
307
263
  handleRefresh(){
308
264
  clearInterval(this.timeer);
309
265
  this.detail();
310
- // this.refrush();
311
266
  },
312
267
  refrush() {
313
268
  if (this.stopTimer) return;
@@ -317,8 +272,7 @@ export default {
317
272
  return;
318
273
  }
319
274
  this.time++;
320
- let time =
321
- this.time >= 5 ? 32 * 1000 : Math.pow(this.date, this.time) * 1000;
275
+ let time = this.time >= 5 ? 32 * 1000 : Math.pow(this.date, this.time) * 1000;
322
276
  this.refrushTimeer = setTimeout(() => {
323
277
  jfbRootExec("getCardYueEntry", {
324
278
  vm: this,
@@ -327,9 +281,8 @@ export default {
327
281
  },
328
282
  })
329
283
  .then((res) => {
330
- //res[4]['value'] = this.$xdUniHelper.random(20,30);
331
284
  let refrushInfo = this.$xdUniHelper.cloneDeep(this.info);
332
- if (res && res !== null && Object.keys(res).length > 0) {
285
+ if (res && Object.keys(res).length > 0) {
333
286
  if (res.card_point) {
334
287
  refrushInfo.card_point = this.$xdUniHelper.divisionFloatNumber(
335
288
  res.card_point,
@@ -352,81 +305,92 @@ export default {
352
305
  .catch();
353
306
  }, time);
354
307
  },
355
- /**
308
+ /**
356
309
  * @description 已绑定卡登录
357
- * @param item
310
+ * @param entry
358
311
  */
359
- handleBindLogin(entry) {
312
+ handleBindLogin(entry) {
360
313
  //卡券登录
361
314
  this.$xdShowLoading({});
362
315
  jfbRootExec("detailLoginEntryCardBind", {
363
- vm: this,
364
- data: { card_number: this.info["card_number"] },
365
- })
366
- .then((res) => {
367
- this.$xdHideLoading();
368
- //#ifdef MP-WEIXIN
369
- if (this.jfbAuthorize !== null) {
370
- this.jfbAuthorize.setCardToken(res);
371
- this.handleToApp(entry);
372
- }
373
- //#endif
374
- if (this.$configProject.isPreview) {
375
- console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
376
- }
377
-
378
- else {
379
- this.handleToApp(entry);
380
- }
381
- })
382
- .catch((res) => {
383
- this.$xdHideLoading();
384
- });
385
- },
386
- toApp(url){
387
- this.$xdUniHelper.redirectTo({
388
- url
316
+ vm: this,
317
+ data: { card_number: this.info["card_number"] },
389
318
  })
319
+ .then((res) => {
320
+ this.$xdHideLoading();
321
+
322
+ //#ifdef MP-WEIXIN
323
+ if (this.jfbAuthorize !== null) {
324
+ this.jfbAuthorize.setCardToken(res);
325
+ this.handleClick(entry);
326
+ }
327
+ //#endif
328
+ if (this.$configProject.isPreview) {
329
+ console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
330
+ }
331
+
332
+ else {
333
+ this.handleClick(entry);
334
+ }
335
+ })
336
+ .catch((res) => {
337
+ this.$xdHideLoading();
338
+ });
390
339
  },
391
- handleToApp(entry){
392
- let item, redirectUrl;
393
- try{
394
- item = JSON.parse(entry['redirect_data']);
395
- }catch (e) {
396
- return;
397
- }
398
- const {dir, path, host} = item;
340
+
341
+
342
+ handleClick(entry){
343
+ const {dir, path, host, appType} = entry['redirect_data'];
344
+ let regHttp = /^(\/\/|http:\/\/|https:\/\/).+$/;
345
+ let regSp = /(-apiuri\/v)/;
346
+
347
+ if(appType === undefined) entry.redirect_data.appType = 'h5';
399
348
  let nsp = Base64.encodeURI(JSON.stringify({business_code: entry['business_code']}));
400
349
 
401
350
  //外站配置地址
402
- if (entry.redirect_type === 'URL') {
403
- if (item['path'].indexOf('?') === -1) {
404
- redirectUrl = `${item['path']}?x-common=${nsp}&vs=${new Date().getTime()}`
405
- } else redirectUrl = `${item['path']}&x-common=${nsp}&vs=${new Date().getTime()}`;
406
- this.toApp(redirectUrl);
407
- return;
351
+ if(entry.redirect_type === 'URL') {
352
+ if(regHttp.test(entry.redirect_data['path']) || regSp.test(entry.redirect_data['path'])) {
353
+ this.$xdUniHelper.redirectTo({
354
+ url:`${entry.redirect_data['path']}?x-common=${nsp}&vs=${new Date().getTime()}${cardPathStr}`
355
+ }, false)
356
+ }
357
+ else {
358
+ console.error(`配置错误:${entry.redirect_data['path']}`);
359
+ throw new Error(`配置错误:${entry.redirect_data['path']}`)
360
+ }
361
+ return
408
362
  }
409
363
 
410
- //站内转换
411
- let jumpUrl = item.path;
412
- //#ifdef H5
413
- jumpUrl = `//${host}/${dir}${path}`;
364
+ //站内应用处理
365
+ let jumpUrl = '';
366
+ let jumpUrlObj = parsePath(path);
367
+ let cardPathStr = '';
368
+ if(jumpUrlObj.isSameApp) jumpUrl = jumpUrlObj.url;
369
+ else jumpUrl = `//${host}/${jumpUrlObj.dir}${jumpUrlObj.url}`;
370
+
371
+ //#ifdef MP-WEIXIN
372
+ //获取自定义卡券登录地址(微信小程序跳转到H5平台起作用)
373
+ if(entry.redirect_data.appType === 'h5') {
374
+ const custom_redirect_data = this.$xdUniHelper.checkVarType(entry['custom_redirect_data']) === 'object'?entry['custom_redirect_data']:{};
375
+ const cardPathObject = this.getCardPath(custom_redirect_data);
376
+ if(cardPathObject !== null) {
377
+ const {cardPath, cardSelf} =cardPathObject
378
+ if(cardPath) cardPathStr = `&card-login=${encodeURIComponent(cardPath)}&cardSelf=${cardSelf}`
379
+ }
380
+ }
414
381
  //#endif
415
382
 
416
- if (item['fixed_business_code'] === '') {
417
- redirectUrl = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}`
418
- }
419
- else {
420
- redirectUrl = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}`
421
- }
422
- this.toApp(redirectUrl);
383
+ jumpUrl = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}${cardPathStr}`;
384
+ if(regHttp.test(jumpUrl)) this.$xdUniHelper.redirectTo({url:jumpUrl}, false)
385
+ else this.$xdUniHelper.navigateTo({url:jumpUrl}, false)
423
386
  },
387
+
424
388
  handleOnClose() {
425
389
  this.editShow = false;
426
390
  },
427
391
  handlePwdOnSubmit(val) {
428
392
  this.password = val;
429
- this.init();
393
+ this.dataInit();
430
394
  },
431
395
 
432
396
  handleOnForget() {
@@ -439,13 +403,12 @@ export default {
439
403
  },
440
404
  handleUnBindCard() {
441
405
  this.$xdConfirm({
442
- $vm: this,
406
+ styles: this.styles,
443
407
  content: "您确定要解除绑定票券吗",
444
408
  title: "系统提示",
445
409
  width: "80%",
446
410
  isTitle: true,
447
411
  zIndex: 2000,
448
- vm: this,
449
412
  success: (res) => {
450
413
  if (res.confirm) {
451
414
  this.timeStr = ""
@@ -495,7 +458,7 @@ export default {
495
458
  },
496
459
  handleToShift() {
497
460
  this.$xdUniHelper.navigateTo({
498
- url: `${this.shift_url}?card_number=${this.info["card_number"]}`,
461
+ url: `${this.shift_url}?card_number=${this.info["card_number"]}`,
499
462
  });
500
463
  },
501
464
  onJfbBack(options) {
@@ -507,6 +470,7 @@ export default {
507
470
  }
508
471
  this.$xdUniHelper.navigateBack();
509
472
  },
473
+
510
474
  onJfbUnload() {
511
475
  this.timeStr = ""
512
476
  if (this.timeer) {
@@ -516,39 +480,9 @@ export default {
516
480
  clearTimeout(this.refrushTimeer);
517
481
  }
518
482
  },
519
- onJfbScroll(options) {
520
- console.log("event.onJfbScroll", options);
521
- },
522
- onJfbReachBottom(options) {
523
- console.log("event.onJfbReachBottom", options);
524
- },
483
+
525
484
  onJfbShow(options) {
526
- console.log("event.onJfbShow", options);
527
485
  this.onJfbLoad(options)
528
- // if (this.first) {
529
- // if (this.brandInfo["is_enable_pay_password"] === "N") {
530
- // this.init();
531
- // } else if (
532
- // this.brandInfo["is_enable_pay_password"] === "Y" &&
533
- // this.userInfo["has_user_set_password"] === "N"
534
- // ) {
535
- // this.editShow = true;
536
- // this.pwdTitle = "您还未设置支付密码,请设置您的平台支付密码";
537
- // } else if (
538
- // this.brandInfo["is_enable_pay_password"] === "Y" &&
539
- // this.userInfo["has_user_set_password"] === "Y"
540
- // ) {
541
- // this.show = true;
542
- // this.textList = [
543
- // {
544
- // label: "查看卡详情",
545
- // },
546
- // {
547
- // label: "请输入支付密码",
548
- // },
549
- // ];
550
- // }
551
- // }
552
486
  },
553
487
  onJfbHide(options) {
554
488
  this.timeStr = ""
@@ -610,215 +544,215 @@ export default {
610
544
  }
611
545
  padding: unit(26, rpx);
612
546
  .card-list {
613
- overflow: hidden;
614
- border-radius: unit(16, rpx);
615
- margin-bottom: unit(30, rpx);
616
-
617
- &:last-child {
618
- margin-bottom: 0;
619
- }
620
-
547
+ overflow: hidden;
548
+ border-radius: unit(16, rpx);
549
+ margin-bottom: unit(30, rpx);
621
550
 
622
- &__title {
623
- height: unit(56, rpx);
624
- display: flex;
625
- justify-content: flex-start;
626
- align-items: center;
627
-
628
- & > view {
629
- padding: 0 unit(80, rpx);
630
- font-size: unit(24, rpx);
631
- line-height: unit(56, rpx);
632
- background: rgba(102, 102, 102, 0.4);
633
- color: #fff;
634
- border-radius: 0 0 unit(16, rpx) 0;
635
- }
551
+ &:last-child {
552
+ margin-bottom: 0;
553
+ }
636
554
 
637
- }
638
555
 
639
- &__content {
640
- padding: unit(10, rpx) unit(40, rpx) 0;
641
- height: unit(86, rpx);
642
- display: flex;
643
- justify-content: space-between;
644
- align-items: center;
645
-
646
- & > view:first-child {
647
- font-size: unit(36, rpx);
648
- line-height: unit(86, rpx);
649
- color: #fff;
650
- font-weight: 700;
651
- }
556
+ &__title {
557
+ height: unit(56, rpx);
558
+ display: flex;
559
+ justify-content: flex-start;
560
+ align-items: center;
652
561
 
653
- & > view:nth-child(2) {
654
- font-size: unit(24, rpx);
655
- display: flex;
656
- justify-content: space-between;
657
- align-items: center;
658
- flex-flow: wrap;
659
- flex-direction: column;
660
- color: #fff;
661
- }
662
- }
562
+ & > view {
563
+ padding: 0 unit(80, rpx);
564
+ font-size: unit(24, rpx);
565
+ line-height: unit(56, rpx);
566
+ background: rgba(102, 102, 102, 0.4);
567
+ color: #fff;
568
+ border-radius: 0 0 unit(16, rpx) 0;
569
+ }
663
570
 
664
- &__date {
665
- padding: 0 unit(40, rpx);
666
- font-size: unit(28, rpx);
667
- line-height: unit(32, rpx);
668
- color: #fff;
669
- }
571
+ }
670
572
 
671
- &__yue {
672
- padding: unit(10, rpx) unit(40, rpx) 0;
673
- font-size: unit(28, rpx);
674
- line-height: unit(32, rpx);
675
- color: #fff;
573
+ &__content {
574
+ padding: unit(10, rpx) unit(40, rpx) 0;
575
+ height: unit(86, rpx);
576
+ display: flex;
577
+ justify-content: space-between;
578
+ align-items: center;
676
579
 
677
- & > text:nth-child(2) {
678
- font-weight: 700;
679
- }
680
- }
580
+ & > view:first-child {
581
+ font-size: unit(36, rpx);
582
+ line-height: unit(86, rpx);
583
+ color: #fff;
584
+ font-weight: 700;
585
+ }
681
586
 
682
- &__other {
683
- display: flex;
684
- justify-content: flex-start;
685
- align-items: center;
686
- padding: unit(20, rpx) unit(40, rpx) 0;
687
- margin-top: unit(0, rpx);
688
-
689
- & > view {
690
- border-radius:unit(8, rpx);
691
- background: rgba(255, 255, 255, 0.2);
692
- height: unit(48, rpx);
693
- line-height: unit(48, rpx);
694
- display: flex;
695
- justify-content: flex-start;
696
- align-items: center;
697
- font-weight: 400;
698
- font-size: unit(24, rpx);
699
- padding: 0 unit(20, rpx);
700
- color: #fff;
701
- }
587
+ & > view:nth-child(2) {
588
+ font-size: unit(24, rpx);
589
+ display: flex;
590
+ justify-content: space-between;
591
+ align-items: center;
592
+ flex-flow: wrap;
593
+ flex-direction: column;
594
+ color: #fff;
595
+ }
596
+ }
702
597
 
598
+ &__date {
599
+ padding: 0 unit(40, rpx);
600
+ font-size: unit(28, rpx);
601
+ line-height: unit(32, rpx);
602
+ color: #fff;
603
+ }
703
604
 
704
- }
605
+ &__yue {
606
+ padding: unit(10, rpx) unit(40, rpx) 0;
607
+ font-size: unit(28, rpx);
608
+ line-height: unit(32, rpx);
609
+ color: #fff;
705
610
 
706
- &__nodata {
707
- padding: unit(20, rpx) unit(40, rpx) 0;
708
- margin-top: unit(0, rpx);
709
- color: #fff;
710
- font-size: unit(28, rpx);
711
- }
611
+ & > text:nth-child(2) {
612
+ font-weight: 700;
613
+ }
614
+ }
712
615
 
713
- &__entry {
714
- padding: unit(20, rpx) unit(40, rpx) 0;
715
- & > view {
716
- line-height: unit(64, rpx);
717
- text-align: center;
718
- font-size: unit(26, rpx);
719
- border-radius: unit(32, rpx);
720
- background: rgba(255, 255, 255, 1);
721
- box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
722
- font-weight: 500;
723
- }
724
- }
616
+ &__other {
617
+ display: flex;
618
+ justify-content: flex-start;
619
+ align-items: center;
620
+ padding: unit(20, rpx) unit(40, rpx) 0;
621
+ margin-top: unit(0, rpx);
725
622
 
726
- &__entrys {
727
- margin: unit(20, rpx) unit(20, rpx) 0;
728
- padding: unit(30, rpx);
729
- border-radius: unit(16, rpx);
730
- background: rgba(255, 255, 255, 1);
731
- box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
623
+ & > view {
624
+ border-radius:unit(8, rpx);
625
+ background: rgba(255, 255, 255, 0.2);
626
+ height: unit(48, rpx);
627
+ line-height: unit(48, rpx);
628
+ display: flex;
629
+ justify-content: flex-start;
630
+ align-items: center;
631
+ font-weight: 400;
632
+ font-size: unit(24, rpx);
633
+ padding: 0 unit(20, rpx);
634
+ color: #fff;
635
+ }
732
636
 
733
- &-title {
734
- display: flex;
735
- justify-content: space-between;
736
- align-items: center;
737
637
 
638
+ }
738
639
 
739
- & > view:first-child {
640
+ &__nodata {
641
+ padding: unit(20, rpx) unit(40, rpx) 0;
642
+ margin-top: unit(0, rpx);
643
+ color: #fff;
740
644
  font-size: unit(28, rpx);
741
- font-weight: 500;
742
- flex: 1;
743
645
  }
744
646
 
745
- & > view:nth-child(2) {
746
- display: flex;
747
- justify-content: flex-start;
748
- align-items: center;
749
- flex-shrink: 0;
750
- font-size: unit(20, rpx);
751
- color: #999;
647
+ &__entry {
648
+ padding: unit(20, rpx) unit(40, rpx) 0;
649
+ & > view {
650
+ line-height: unit(64, rpx);
651
+ text-align: center;
652
+ font-size: unit(26, rpx);
653
+ border-radius: unit(32, rpx);
654
+ background: rgba(255, 255, 255, 1);
655
+ box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
656
+ font-weight: 500;
657
+ }
752
658
  }
753
- }
754
-
755
- &-scroll {
756
659
 
757
- }
660
+ &__entrys {
661
+ margin: unit(20, rpx) unit(20, rpx) 0;
662
+ padding: unit(30, rpx);
663
+ border-radius: unit(16, rpx);
664
+ background: rgba(255, 255, 255, 1);
665
+ box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
758
666
 
759
- &-item {
760
- display: flex;
761
- justify-content: flex-start;
762
- align-items: center;
763
- flex-flow: nowrap;
764
- margin-left: unit(-14, rpx);
765
- padding-top: unit(20, rpx);
667
+ &-title {
668
+ display: flex;
669
+ justify-content: space-between;
670
+ align-items: center;
766
671
 
767
- & > view {
768
- width: unit(120, rpx);
769
- margin-right: unit(10, rpx);
770
- flex-shrink: 0;
771
- display: flex;
772
- justify-content: center;
773
- flex-direction: column;
774
- align-items: center;
775
672
 
776
- & > view:first-child {
777
- width: unit(76, rpx);
778
- height: unit(76, rpx);
779
- overflow: hidden;
673
+ & > view:first-child {
674
+ font-size: unit(28, rpx);
675
+ font-weight: 500;
676
+ flex: 1;
677
+ }
780
678
 
781
- & > image {
782
- height: 100%;
783
- width: 100%;
679
+ & > view:nth-child(2) {
680
+ display: flex;
681
+ justify-content: flex-start;
682
+ align-items: center;
683
+ flex-shrink: 0;
684
+ font-size: unit(20, rpx);
685
+ color: #999;
784
686
  }
785
687
  }
786
688
 
787
- & > view:nth-child(2) {
788
- margin-top: unit(10, rpx);
789
- font-size: unit(24, rpx);
790
- line-height: unit(36, rpx);
791
- margin-bottom: unit(10, rpx);
689
+ &-scroll {
690
+
792
691
  }
793
692
 
794
- & > view:nth-child(3) {
693
+ &-item {
795
694
  display: flex;
796
695
  justify-content: flex-start;
797
696
  align-items: center;
798
- flex-shrink: 0;
799
- font-size: unit(20, rpx);
800
- color: #999;
801
- }
697
+ flex-flow: nowrap;
698
+ margin-left: unit(-14, rpx);
699
+ padding-top: unit(20, rpx);
700
+
701
+ & > view {
702
+ width: unit(120, rpx);
703
+ margin-right: unit(10, rpx);
704
+ flex-shrink: 0;
705
+ display: flex;
706
+ justify-content: center;
707
+ flex-direction: column;
708
+ align-items: center;
709
+
710
+ & > view:first-child {
711
+ width: unit(76, rpx);
712
+ height: unit(76, rpx);
713
+ overflow: hidden;
714
+
715
+ & > image {
716
+ height: 100%;
717
+ width: 100%;
718
+ }
719
+ }
802
720
 
803
- &:last-child {
804
- margin-right: 0;
805
- }
721
+ & > view:nth-child(2) {
722
+ margin-top: unit(10, rpx);
723
+ font-size: unit(24, rpx);
724
+ line-height: unit(36, rpx);
725
+ margin-bottom: unit(10, rpx);
726
+ }
806
727
 
807
- }
728
+ & > view:nth-child(3) {
729
+ display: flex;
730
+ justify-content: flex-start;
731
+ align-items: center;
732
+ flex-shrink: 0;
733
+ font-size: unit(20, rpx);
734
+ color: #999;
735
+ }
808
736
 
737
+ &:last-child {
738
+ margin-right: 0;
739
+ }
809
740
 
810
- }
811
- }
741
+ }
812
742
 
813
- &-warp {
814
- width: unit(700, rpx);
815
- // min-height: unit(290, rpx);
816
- position: relative;
817
- border-radius: unit(16, rpx);
818
- background-size: 100%;
819
- padding-bottom: unit(20, rpx);
820
- }
821
- }
743
+
744
+ }
745
+ }
746
+
747
+ &-warp {
748
+ width: unit(700, rpx);
749
+ // min-height: unit(290, rpx);
750
+ position: relative;
751
+ border-radius: unit(16, rpx);
752
+ background-size: 100%;
753
+ padding-bottom: unit(20, rpx);
754
+ }
755
+ }
822
756
 
823
757
  &-qrcode {
824
758
  text-align: center;
@@ -917,54 +851,56 @@ export default {
917
851
  }
918
852
 
919
853
  &-content {
920
- display: flex;
921
- justify-content: flex-start;
922
- align-items: center;
923
- flex-flow: wrap;
924
- padding-left: unit(30, rpx);
925
-
926
- & > view {
927
- width: unit(120, rpx);
928
- margin-right: unit(10, rpx);
929
- flex-shrink: 0;
930
854
  display: flex;
931
- justify-content: center;
932
- flex-direction: column;
855
+ justify-content: flex-start;
933
856
  align-items: center;
857
+ flex-flow: wrap;
858
+ padding-left: unit(30, rpx);
934
859
 
935
- & > view:first-child {
936
- width: unit(76, rpx);
937
- height: unit(76, rpx);
938
- overflow: hidden;
860
+ & > view {
861
+ width: unit(120, rpx);
862
+ margin-right: unit(10, rpx);
863
+ flex-shrink: 0;
864
+ display: flex;
865
+ justify-content: center;
866
+ flex-direction: column;
867
+ align-items: center;
939
868
 
940
- & > image {
941
- height: 100%;
942
- width: 100%;
869
+ & > view:first-child {
870
+ width: unit(76, rpx);
871
+ height: unit(76, rpx);
872
+ overflow: hidden;
873
+
874
+ & > image {
875
+ height: 100%;
876
+ width: 100%;
877
+ }
943
878
  }
944
- }
945
879
 
946
- & > view:nth-child(2) {
947
- margin-top: unit(10, rpx);
948
- font-size: unit(24, rpx);
949
- line-height: unit(36, rpx);
950
- margin-bottom: unit(10, rpx);
951
- }
880
+ & > view:nth-child(2) {
881
+ margin-top: unit(10, rpx);
882
+ font-size: unit(24, rpx);
883
+ line-height: unit(36, rpx);
884
+ height: unit(36, rpx);
885
+ overflow: hidden;
886
+ margin-bottom: unit(10, rpx);
887
+ }
952
888
 
953
- & > view:nth-child(3) {
954
- display: flex;
955
- justify-content: flex-start;
956
- align-items: center;
957
- flex-shrink: 0;
958
- font-size: unit(20, rpx);
959
- color: #999;
960
- }
889
+ & > view:nth-child(3) {
890
+ display: flex;
891
+ justify-content: flex-start;
892
+ align-items: center;
893
+ flex-shrink: 0;
894
+ font-size: unit(20, rpx);
895
+ color: #999;
896
+ }
961
897
 
962
- &:last-child {
963
- margin-right: 0;
898
+ &:last-child {
899
+ margin-right: 0;
900
+ }
964
901
  }
965
902
  }
966
903
  }
967
- }
968
904
 
969
905
  .fixe_bottom{
970
906
  display: flex;