jufubao-base 1.0.237-beta11 → 1.0.237-beta12

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.237-beta11",
3
+ "version": "1.0.237-beta12",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -120,7 +120,7 @@
120
120
  </view>
121
121
  </view>
122
122
  </view>
123
- <view class="jfb-base-order-detail__body-no-delivery-supplement">
123
+ <view v-if="info.film_show.part&&info.film_show.part.length>0" class="jfb-base-order-detail__body-no-delivery-supplement">
124
124
  <view @click="handleViewSupplement(item)" class="jfb-base-order-detail__body-no-delivery-supplement-item" v-for="(item,index) in info.film_show.part" :key="index">
125
125
  <view class="jfb-base-order-detail__body-no-delivery-supplement-item-info">
126
126
  <view v-if="item.tag_name" :style="{color: mainColor, borderColor: mainColor}" class="jfb-base-order-detail__body-no-delivery-supplement-item-info-tag">{{item.tag_name}}</view>
@@ -9,7 +9,7 @@ export default {
9
9
  content: data=>{
10
10
  return [
11
11
  {
12
- label: "【仍需扣点】文案:",
12
+ label: "仍需扣点文案:",
13
13
  ele: "el-input",
14
14
  valueKey: "text1",
15
15
  value: data.text1 || "仍需扣点",
@@ -18,7 +18,7 @@ export default {
18
18
  className: "input80",
19
19
  },
20
20
  {
21
- label: "【(可使用多张票券点数)】是否展示",
21
+ label: "(可使用多张票券点数)是否展示",
22
22
  ele: 'xd-radio',
23
23
  valueKey: "showText2",
24
24
  value: data.showText2 || 'Y',
@@ -30,7 +30,7 @@ export default {
30
30
  ],
31
31
  },
32
32
  data.showText2 === 'Y' && {
33
- label: "【(可使用多张票券点数)】文案:",
33
+ label: "(可使用多张票券点数)文案:",
34
34
  ele: "el-input",
35
35
  valueKey: "text2",
36
36
  value: data.text2 || '(可使用多张票券点数)',
@@ -40,7 +40,7 @@ export default {
40
40
  className: "input80",
41
41
  },
42
42
  {
43
- label: "【选择以下补差方式】文案:",
43
+ label: "选择以下补差方式文案:",
44
44
  ele: "el-input",
45
45
  valueKey: "text3",
46
46
  value: data.text3 || '选择以下补差方式',
@@ -601,7 +601,8 @@ export default {
601
601
  provider_id,
602
602
  phone_number,
603
603
  verification_code,
604
- user_name
604
+ user_name,
605
+ share_code: this.share_code
605
606
  },
606
607
  })
607
608
  .then((res) => {
@@ -269,7 +269,7 @@
269
269
 
270
270
  series: [
271
271
  {
272
- name: '成绩(分)',
272
+ name: '已省',
273
273
  type: 'line',
274
274
  symbol: 'circle',
275
275
  symbolSize: 10,
@@ -63,7 +63,11 @@
63
63
  <view class="settle-item" v-for="(settle,index) in info.settleInfo" :key="index">
64
64
  <view>{{settle.label}}:</view>
65
65
  <view v-if="settle.type === 'price'">
66
- <xd-unit :price="settle.value" :is-old="false"></xd-unit>
66
+ <xd-unit
67
+ :largeZero="false"
68
+ :isShowIcon="isShowIcon"
69
+ :colorNew="is_plus_site ? '#999':''"
70
+ :price="settle.value" :is-old="false"></xd-unit>
67
71
  </view>
68
72
  <view v-else v-html="settle.value"></view>
69
73
  </view>
@@ -429,6 +433,7 @@ export default {
429
433
  payBgColor:'',
430
434
  bgColor:'',
431
435
  ticket_method_msg:'', //取票提示文案
436
+ is_plus_site: false,
432
437
 
433
438
  //按钮
434
439
  btnTextColor:'',
@@ -456,14 +461,19 @@ export default {
456
461
  },
457
462
  },
458
463
  computed: {
459
- ...mapState(["brandInfo"]),
464
+ ...mapState(["brandInfo", "siteInfo"]),
460
465
  ...styleForm.getComputedItem(),
466
+ isShowIcon() {
467
+ if(this.$configProject['isPreview']) return true;
468
+ return this.siteInfo.mapping.is_show_coin_icon==='Y'
469
+ },
461
470
  },
462
471
  created() {
463
472
  this.isPreview = this.$configProject.isPreview;
464
473
  this.noUserLoding = !this.$root['isLogined']; //判断是否需要已登录
465
474
  if(this.isPreview) this.noUserLoding = false;
466
475
  this.init(this.container);
476
+ this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
467
477
  },
468
478
  destroyed() {
469
479
  if (this.timeer) {
@@ -11,7 +11,7 @@
11
11
  <view>提现金额</view>
12
12
  <view @click="handleAllWithDraw">全部提现</view>
13
13
  </view>
14
- <input :focus="true" @input="handleAmountChange" class="jfb-base-withdraw__body-amount" v-model="amount"></input>
14
+ <input :focus="inputfocus" @input="handleAmountChange" class="jfb-base-withdraw__body-amount" v-model="amount"></input>
15
15
  <view class="jfb-base-withdraw__body-balance">可提现余额¥{{getAmout(balance)}}</view>
16
16
  </view>
17
17
  <view v-if="notice" :style="[bodyStyleComp]">
@@ -59,7 +59,8 @@
59
59
  amount: '',
60
60
  showSuccess: false,
61
61
  method: '',
62
- wallet_type: ''
62
+ wallet_type: '',
63
+ inputfocus: true
63
64
  }
64
65
  },
65
66
  computed: {
@@ -185,12 +186,14 @@
185
186
  },
186
187
  onJfbShow(options) {
187
188
  console.log('event.onJfbShow', options)
189
+ this.inputfocus = true
188
190
  this.method = options.method
189
191
  this.wallet_type = options.wallet_type
190
192
  this.getContent()
191
193
  this.getDetail()
192
194
  },
193
195
  onJfbHide(options) {
196
+ this.inputfocus = false
194
197
  console.log('event.onJfbHide', options)
195
198
  },
196
199
  onJfbBack(options) {