jufubao-base 1.0.159-beta9 → 1.0.160-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.159-beta9",
3
+ "version": "1.0.160-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -470,9 +470,9 @@ export default {
470
470
  this.init(this.container);
471
471
  this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
472
472
  this.isPreview = this.$configProject.isPreview;
473
+ this.isQrCode = isQrCode(this);
473
474
 
474
475
  //#ifdef H5
475
- this.isQrCode = isQrCode(this);
476
476
  if (!this.$configProject.isPreview) {
477
477
  jfbRootExec("getH5WxAuthorize", {
478
478
  vm: this,
@@ -559,7 +559,7 @@ export default {
559
559
  uni.scanCode({
560
560
  scanType: ["qrCode"],
561
561
  success: (res) => {
562
- let path = this.getUrlCallback(`${this.confirmUrl}?qrcode=${encodeURIComponent(res.resultStr)}`)
562
+ let path = this.getUrlCallback(`${this.confirmUrl}?qrcode=${encodeURIComponent(res.result)}`)
563
563
  this.$xdUniHelper.navigateTo({
564
564
  url:path,
565
565
  });
@@ -31,6 +31,7 @@
31
31
  <view class="jfb-base-card-info__body-form">
32
32
  <view class="jfb-base-card-info__body-form-label">票券密码</view>
33
33
  <input
34
+ class="mp"
34
35
  max="18"
35
36
  :password="isPassword"
36
37
  v-model="card_password"
@@ -70,9 +71,7 @@
70
71
  <view v-if="isShowBalance" class="jfb-base-card-info__body-residue">
71
72
  <view class="jfb-base-card-info__body-residue-wrap">
72
73
  <view class="jfb-base-card-info__body-residue-label">
73
- <view :style="{ color: '#242424', fontSize: '28rpx' }"
74
- >剩余元宝</view
75
- >
74
+ <view :style="{ color: '#242424', fontSize: '28rpx' }">剩余元宝</view>
76
75
  </view>
77
76
  <view class="jfb-base-card-info__body-residue-value">
78
77
  <xd-unit
@@ -227,7 +226,6 @@ export default {
227
226
  }
228
227
 
229
228
  let path = this.getUrlCallback(this.my_card_url || this.backUrl);
230
-
231
229
  //有优惠券处理
232
230
  if(this.hasCon){
233
231
  this.toShowCouponDialog();
@@ -292,13 +290,15 @@ export default {
292
290
  },
293
291
  onJfbLoad(options) {
294
292
  this.init();
293
+
295
294
  this.qrcode = options.qrcode;
295
+
296
296
  //#ifdef MP-WEIXIN
297
297
  if(options.qrcode) {
298
298
  this.qrcode = decodeURIComponent(options.qrcode);
299
299
  }
300
-
301
300
  //#endif
301
+
302
302
  if(options.inCallback) {
303
303
  this.inCallbackUrlOrg = options.inCallback;
304
304
  }
@@ -421,7 +421,6 @@ export default {
421
421
  display: flex;
422
422
  justify-content: center;
423
423
  align-items: center;
424
- width: 72rpx;
425
424
  height: 72rpx
426
425
  }
427
426
 
@@ -4,6 +4,28 @@ export default {
4
4
  style: [],
5
5
  advanced: [],
6
6
  content: [
7
+ {
8
+ label: '选择综合入口类型:',
9
+ ele: 'xd-site-select-list',
10
+ valueKey: 'entryGroupId',
11
+ value: 'default',
12
+ placeholder: '请选择综合入口类型',
13
+ multiple: false,
14
+ groupKey:'content',
15
+ className: 'input50',
16
+ rules: [
17
+ {required: true, message: '请选择综合入口类型', trigger: ['blur', 'change']}
18
+ ],
19
+ handleCustom({action, data}) {
20
+ XdBus.getParentApi('getEntryGroupOption')({key: Date.now()})
21
+ .then(res => {
22
+ data.cb(res.list)
23
+ })
24
+ .catch(error => {
25
+ console.error(error);
26
+ });
27
+ },
28
+ },
7
29
  {
8
30
  label: '票券绑定成功回跳地址:',
9
31
  ele: 'xd-select-pages-path',