jufubao-third 1.0.6-beta1 → 1.0.6-beta3

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-third",
3
- "version": "1.0.6-beta1",
3
+ "version": "1.0.6-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -14,7 +14,6 @@
14
14
  //start
15
15
  .jfb-third-block {
16
16
  box-sizing: border-box;
17
- min-height: unit(100, rpx);
18
17
 
19
18
  &__body{
20
19
  position: relative;
@@ -22,10 +21,11 @@
22
21
  z-index: 2
23
22
  }
24
23
 
25
- &.editx,&:hover {
24
+ &.editx,&.editx:hover {
26
25
  position: relative;
26
+ min-height: unit(100, rpx);
27
27
  z-index: 3;
28
- &::after{
28
+ &::after {
29
29
  border: 2rpx dashed blue;
30
30
  content: " ";
31
31
  position: absolute;
@@ -36,6 +36,7 @@
36
36
  z-index: 4;
37
37
  cursor: pointer;
38
38
  }
39
+
39
40
  }
40
41
 
41
42
 
@@ -9,6 +9,7 @@ export default {
9
9
  ele: "xd-choose-namespace",
10
10
  valueKey: "xnamespace",
11
11
  value: "",
12
+ groupKey: "advanced",
12
13
  handleCustom: (cb) => {
13
14
  XdBus.getParentApi('getOptionsNamespaces')()
14
15
  .then(res => {
@@ -23,6 +24,7 @@ export default {
23
24
  valueKey: 'orderSuccessPath', //form[valueKey]
24
25
  placeholder: '请选择核销成功路径',
25
26
  value: null,
27
+ groupKey: "advanced",
26
28
  setting: {
27
29
  router: XdBus.getParentApi('getPagesTree'),
28
30
 
@@ -35,6 +37,7 @@ export default {
35
37
  valueKey: 'thirdPayPath', //form[valueKey]
36
38
  placeholder: '请选择支付路径',
37
39
  value: null,
40
+ groupKey: "advanced",
38
41
  setting: {
39
42
  router: XdBus.getParentApi('getPagesTree'),
40
43
 
@@ -166,6 +166,7 @@
166
166
  :getUserWalletList="getUserWalletList"
167
167
  :useBindedWallet="p_useBindedWallet"
168
168
  @onChose="handleWalletChose"
169
+ @onAlert="() => hasAlertCardChose = true"
169
170
  ></xd-wallet-chose>
170
171
  </template>
171
172
 
@@ -564,7 +565,7 @@
564
565
  vm: this,
565
566
  data: {
566
567
  ...cardForm,
567
- selected_card_list: submitCardList,
568
+ selected_card_list_json: JSON.stringify(submitCardList),
568
569
  total_price,
569
570
  namespace: this.xnamespace,
570
571
  ...options,
@@ -676,7 +677,7 @@
676
677
  data: {
677
678
  total_price,
678
679
  card_number: ticket.card_number,
679
- selected_card_list: submitCardList,
680
+ selected_card_list_json: JSON.stringify(submitCardList),
680
681
  namespace: this.xnamespace,
681
682
  ...options,
682
683
  ...this.options,
@@ -14,7 +14,6 @@
14
14
  //start
15
15
  .jfb-third-pay {
16
16
  box-sizing: border-box;
17
- min-height: unit(100, rpx);
18
17
 
19
18
  &__body{
20
19
  position: relative;
@@ -22,10 +21,11 @@
22
21
  z-index: 2
23
22
  }
24
23
 
25
- &.editx,&:hover {
24
+ &.editx,&.editx:hover {
26
25
  position: relative;
26
+ min-height: unit(100, rpx);
27
27
  z-index: 3;
28
- &::after{
28
+ &::after {
29
29
  border: 2rpx dashed blue;
30
30
  content: " ";
31
31
  position: absolute;
@@ -36,6 +36,7 @@
36
36
  z-index: 4;
37
37
  cursor: pointer;
38
38
  }
39
+
39
40
  }
40
41
 
41
42
 
@@ -23,7 +23,8 @@ export default {
23
23
  },
24
24
  //是否支持三方支付、补差
25
25
  payThird(){
26
- return this.otherPayMethod.find(item => item.method === 'third')
26
+ return true;
27
+ // return this.otherPayMethod.find(item => item.method === 'third')
27
28
  },
28
29
  orderNeedPayPrice(){
29
30
  let choseCardPay = this.choseCard ? this.choseCard.cardPayPrice : 0;
@@ -178,7 +179,11 @@ export default {
178
179
  //票券跟钱包都未选择,给用户提示
179
180
  if(selected_card_list.length == 0 && selected_wallet_list.length == 0){
180
181
  if(!this.hasAlertCardChose){
181
- this.showCardPayChose = true;
182
+ if(this.payCard){
183
+ this.showCardPayChose = true;
184
+ }else{
185
+ this.showWalletChose = true;
186
+ }
182
187
  return false;
183
188
  }else{
184
189
  //支持补差, 提示是否使用补差