jufubao-third 1.0.19-beta3 → 1.0.20-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-third",
3
- "version": "1.0.19-beta3",
3
+ "version": "1.0.20-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -184,6 +184,7 @@
184
184
  </view>
185
185
  </view>
186
186
  </view>
187
+ <view v-if="is_can_buy === 'N'" class="alertTip" :style="{bottom: (layoutInfo.bottom + 130)+'rpx'}">{{ alert_text }}</view>
187
188
  <view v-if="isPlusSite" class="bottom_btn plus_btm" :style="{bottom: layoutInfo.bottom+'rpx'}">
188
189
  <view class="flex_l">实付:
189
190
  <xd-unit
@@ -205,6 +206,7 @@
205
206
  width="360rpx"
206
207
  type="primary"
207
208
  radius="50rpx"
209
+ :disabled="is_can_buy==='N'"
208
210
  @click="doAllPay"
209
211
  >确认支付</xd-button>
210
212
  </view>
@@ -387,6 +389,8 @@
387
389
  origin_total_price: "",
388
390
  servicePrice: "",
389
391
  logisticsPrice: "",
392
+ is_can_buy: "",
393
+ alert_text: "",
390
394
 
391
395
  jwxSDK: null,
392
396
  validImageAPIUrl: "",
@@ -600,6 +604,8 @@
600
604
  this.product_total_price = this.$xdUniHelper.multiplyFloatNumber(res.product_total_price, 1);
601
605
  this.plus_saving_money = this.$xdUniHelper.multiplyFloatNumber(res.discount_price, 1);
602
606
  this.show_vip_card = res.show_vip_card;
607
+ this.is_can_buy = res.is_can_buy;
608
+ this.alert_text = res.alert_text;
603
609
  if(res.show_vip_card === 'Y' && !this.vipCardList.length){
604
610
  this.p_getVipList(res.business_code);
605
611
  }
@@ -1101,6 +1107,15 @@
1101
1107
  }
1102
1108
  }
1103
1109
  }
1110
+ .alertTip{
1111
+ position: fixed;
1112
+ width: 100%;
1113
+ background: #FDEEB5;
1114
+ padding: 24rpx;
1115
+ font-size: 24rpx;
1116
+ text-align: center;
1117
+ color: #666666;
1118
+ }
1104
1119
  .bottom_btn{
1105
1120
  position: fixed;
1106
1121
  width: 100%;
@@ -2,16 +2,28 @@
2
2
 
3
3
  module.exports = {
4
4
  getThirdOrderInfo: {
5
- main_order_id: "b517729203734716416",
6
- address: "北京市东城区崇文门外大街18号1幢(F1-1)号商铺",
7
- phone: "13611111111",
8
- total_price: "1680",
9
- show_time: 1684396260,
5
+ main_order_id: "m932583572983936463",
6
+ address: "",
7
+ phone: "13693094224",
8
+ total_price: "0",
9
+ product_total_price: "0",
10
+ service_fee: "0",
11
+ logistics_amount: "0",
12
+ order_time: 0,
10
13
  remark: "",
11
- count_down: 897,
12
- product_total_price: "1680",
13
- logistics_amount: "100",
14
- request_id: "d2002455fa902b94"
14
+ pay_expire_time: 1783306149,
15
+ pay_status: "",
16
+ pay_order_id: "",
17
+ pay_methods: ["wallet", "third", "score", "card", "coupon"],
18
+ show_vip_card: "N",
19
+ discount_price: "0",
20
+ real_pay_price: "0",
21
+ business_code: "cake",
22
+ pay_url: "",
23
+ pay_jump_type: "",
24
+ alert_text: "当前价格异常,请与平台联系",
25
+ is_can_buy: "N",
26
+ request_id: "3469f7564cf070a9"
15
27
  },
16
28
  getThirdListCards: {
17
29
  list: [
@@ -62,5 +74,32 @@ module.exports = {
62
74
  ],
63
75
  request_id: "c9975f7b9bc426a5"
64
76
  },
65
- getVipList:{"total_size":3,"next_page_token":"","list":[{"vip_card_id":3,"product_id":60038520,"product_name":"体验卡","sale_price":10000000,"vip_card_icon":""},{"vip_card_id":2,"product_id":60038519,"product_name":"月卡","sale_price":10000000,"vip_card_icon":""},{"vip_card_id":1,"product_id":60038515,"product_name":"测1","sale_price":10000000,"vip_card_icon":""}],"request_id":"c5cf58415cffdc30"},
77
+ getVipList: {
78
+ total_size: 3,
79
+ next_page_token: "",
80
+ list: [
81
+ {
82
+ vip_card_id: 3,
83
+ product_id: 60038520,
84
+ product_name: "体验卡",
85
+ sale_price: 10000000,
86
+ vip_card_icon: ""
87
+ },
88
+ {
89
+ vip_card_id: 2,
90
+ product_id: 60038519,
91
+ product_name: "月卡",
92
+ sale_price: 10000000,
93
+ vip_card_icon: ""
94
+ },
95
+ {
96
+ vip_card_id: 1,
97
+ product_id: 60038515,
98
+ product_name: "测1",
99
+ sale_price: 10000000,
100
+ vip_card_icon: ""
101
+ }
102
+ ],
103
+ request_id: "c5cf58415cffdc30"
104
+ }
66
105
  };