jufubao-base 1.0.159-beta8 → 1.0.159

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