jufubao-base 1.0.232-beta6 → 1.0.232-beta8

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.
@@ -1,13 +1,22 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
-
5
- getConsumpByIdFilmSquate:{},
6
-
7
- updateConsumpFilmPaiqiDate:{},
8
-
9
- removeConsumpFilmAddress:{},
10
-
11
- addConsumpFilmcart:{},
12
-
4
+
5
+ getConsumpCode: { "payment_code": "h.161.v71913434717194", "expiration_time": 1744971193, "expiration_sec": 60, "temp_order_id": "quickpay-5000358-DBeMnvrvInuINYeTqbCXw", "confirm_notice": false, "notice": "", "cash_order_id": "", "code_url": "\/common\/v1\/image\/qrcode?code_content=h.161.v71913434717194&size=240", "plus_discount": 0, "is_st_flow": "张三", "barcode_url": "\/common\/v1\/image\/barcode?code_content=h.161.v71913434717194", "shop_name": "六九豆浆饺子(石门市场店)", "request_id": "52ebf80c255ebcb5" },
6
+
7
+ getConsumpCodeScanStatus: { "status": "P", "message": "", "order_data": "{\"total_amount\":\"0\",\"pay_expire_time\":\"0\",\"message\":\"\",\"status\":\"P\",\"cash_order_id\":\"\",\"user_id\":\"5000358\",\"channel_order_id\":\"\",\"cart_order_id\":\"\"}", "seconds": 0, "request_id": "a54ac53ad31312d6" },
8
+
9
+ getConsumpListUserPayChannel: { "list": [{ "channel_provider_id": "1rRq74ACKJj5nIx5CgLpb", "channel_provider_name": "微信", "channel_code": "wxpay", "channel_logo": "https:\/\/jfb-public-images.oss-cn-qingdao.aliyuncs.com\/system-paychannel-logo-wxpay.png?x-oss-process=style\/200_200" }], "request_id": "e142d26c3d24c060" },
10
+
11
+ batchConsumpUseCardCreated: { "request_order_id": "quickpay-5000358-DBeMnvrvInuINYeTqbCXw", "request_id": "e17499843ece44b1" },
12
+
13
+ getConsumpAsyncSubmitStatus: { "hand_status": "U", "hand_status_msg": "异步下单中", "order_id": "", "pay_order_id": "", "need_pay_price": "0", "request_id": "fddff0af4216825d" },
14
+
15
+ getConsumpShopList: { "namespaces": [{ "label": "蛋糕(勿改)", "value": "cake" }], "brands": [{ "label": "测试1111", "value": 14, "icon": "\/uploads\/20230324\/3265afeb6a1f2a94f25c968a09275574.png" }, { "label": "品牌jls0519", "value": 100003, "icon": "\/uploads\/20230710\/44f645b06fe4da358f7b0ee06259afcd.jpg" }], "list": [{ "brand_id": 14, "brand_name": "测试1111", "brand_type": "MA", "business_status": "CLOSED", "consume_mode": ["SELL"], "consume_mode_name": "", "distance": "42km", "distance_conversion": "41.9km", "default_consume_type": "CV", "consume_type": ["CV"], "is_support_jhd": true, "address": "顺义区东六环与顺于路交叉口东150米", "province_name": "", "city_name": "", "area_name": "", "street_name": "", "phone": "(010)89430806", "resource_shop_id": 8003489, "exts_params": "eyJyZXNvdXJjZV9zaG9wX2lkIjo4MDAzNDg5LCJzaG9wX2lkIjoxMTUzNTIwLCJ2ZXJzaW9uIjoyfQ", "resource_shop_name": "六九豆浆饺子(石门市场店)", "shop_icon": "\/uploads\/20230324\/3265afeb6a1f2a94f25c968a09275574.png", "shop_id": 1153520, "shop_tags": [], "stars": 0, "time_slot_name": "-", "business_code": "", "longitude": "116.630756", "latitude": "40.134773" }, { "brand_id": 100003, "brand_name": "品牌jls0519", "brand_type": "MA", "business_status": "OPEN_BUSINESS", "consume_mode": ["SELL"], "consume_mode_name": "", "distance": "55km", "distance_conversion": "54.8km", "default_consume_type": "", "consume_type": [""], "is_support_jhd": false, "address": "东城区东直门街道东城区东直门内南大街4号(东直门内第一个十字路口东南角)", "province_name": "", "city_name": "", "area_name": "", "street_name": "", "phone": "64034959", "resource_shop_id": 8000077, "exts_params": "eyJyZXNvdXJjZV9zaG9wX2lkIjo4MDAwMDc3LCJzaG9wX2lkIjoxMDIzNTMwLCJ2ZXJzaW9uIjoyfQ", "resource_shop_name": "东直门[2]", "shop_icon": "\/uploads\/20230710\/44f645b06fe4da358f7b0ee06259afcd.jpg", "shop_id": 1023530, "shop_tags": [], "stars": 0, "time_slot_name": "09:00-18:00", "business_code": "", "longitude": "116.44373384708321", "latitude": "39.94636369444035" }, { "brand_id": 100003, "brand_name": "品牌jls0519", "brand_type": "MA", "business_status": "OPEN_BUSINESS", "consume_mode": ["SELL"], "consume_mode_name": "", "distance": "56km", "distance_conversion": "55.5km", "default_consume_type": "JHD", "consume_type": ["JHD"], "is_support_jhd": true, "address": "东城区建国门街道北京inn", "province_name": "", "city_name": "", "area_name": "", "street_name": "", "phone": "18843854566", "resource_shop_id": 8000078, "exts_params": "eyJyZXNvdXJjZV9zaG9wX2lkIjo4MDAwMDc4LCJzaG9wX2lkIjoxMDM3MjY2LCJ2ZXJzaW9uIjoyfQ", "resource_shop_name": "a加盟商-185", "shop_icon": "\/uploads\/20230710\/44f645b06fe4da358f7b0ee06259afcd.jpg", "shop_id": 1037266, "shop_tags": [], "stars": 0, "time_slot_name": "-", "business_code": "", "longitude": "116.43814998003319", "latitude": "39.9280800962547" }], "total_size": 3, "next_page_token": "", "request_id": "fa91f05cff4b280b" },
16
+
17
+ getConsumpSettleMainInfo: { "shop_id": 1037266, "shop_logo": "\/uploads\/20230710\/44f645b06fe4da358f7b0ee06259afcd.jpg", "shop_name": "a加盟商-185", "shop_brand": 100003, "shop_partner_name": "A加盟商-余额测试", "settle_tag_list": [{ "label": "幸福西饼、goodlike品牌", "value": 262, "price": 0, "price_yuan": "0.00", "is_static_price": false, "icon_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230728\/70f4dd90cdf2681e71ccf41d332d71a0.jpeg" }], "request_id": "a4a6cfe9db905597" },
18
+
19
+ getConsumpBaseUserInfo: { "user_name": "", "user_code": "WuE5Wotf08", "nickname": "张三", "real_name": "", "head_url": "https:\/\/thirdwx.qlogo.cn\/mmopen\/vi_32\/AOqEDeiaxss8GR4jD1GicIgyqWSOZV8xN23Iw3DOzFjVBzTFbdv21X7u9ZASQJYsTNm07XSq6ebzp4K4qu1JT26qGZ0qYFMe1nHdQjFZib83Fg\/132", "province_code": "", "city_code": "", "province_name": "", "city_name": "", "sex": "1", "sex_name": "男", "birthday_date": "2025-04-16", "phone_number": "177****7945", "show_user_name": "张三", "user_level": "VIP", "vip_expire_time": 1776157293, "request_id": "f1dbb1c0bb8da893" },
20
+
21
+ addConsumpCashierTempOrderData: { "cart_order_id": "c08f38347ec8bc5b", "request_id": "779bf62e988587ce" }
13
22
  }
@@ -26,8 +26,8 @@
26
26
  <view v-else class="vip_level">普通用户</view>
27
27
  </view>
28
28
  <view class="u_sub">
29
- <view v-if="isVip">已省xx</view>
30
- <view v-else>{{ uInfo.phone_number }}</view>
29
+ <view v-if="isVip" style="color:#999999;">已省xx</view>
30
+ <view v-else style="color:#333333;">{{ uInfo.phone_number }}</view>
31
31
  </view>
32
32
  </view>
33
33
  <view class="buy_btn" @click="showDrawer=true">立即续费</view>
@@ -67,7 +67,7 @@
67
67
  </view>
68
68
  </view>
69
69
 
70
- <xd-vip-list :list="vipCardList"
70
+ <xd-vip-list v-if="!isVip" :list="vipCardList"
71
71
  @handlePrivacy="handlePrivacy"
72
72
  @toVipDetail="toVipDetail"
73
73
  ></xd-vip-list>
@@ -258,6 +258,7 @@
258
258
  }
259
259
  .u_sub{
260
260
  margin-top: 24rpx;
261
+ font-size: 24rpx;
261
262
  }
262
263
  }
263
264
  .buy_btn{
@@ -157,6 +157,18 @@ export default {
157
157
  },
158
158
  inline: false,
159
159
  },
160
+ {
161
+ label: '积分详情路径:',
162
+ ele: 'xd-select-pages-path',
163
+ valueKey: 'pointsPath',
164
+ groupKey:'advanced',
165
+ placeholder: '请选择积分详情路径',
166
+ value: data['coupointsPathponPath'] || null,
167
+ setting: {
168
+ router: XdBus.getParentApi('getPagesTree'),
169
+ },
170
+ inline: false,
171
+ },
160
172
  {
161
173
  label: '优惠券路径:',
162
174
  ele: 'xd-select-pages-path',
@@ -149,12 +149,13 @@
149
149
  ).fullTime;
150
150
  return item;
151
151
  })
152
- this.hasNext = res.next_page_token !== "";
153
152
  if (this.page_token === 1) {
154
153
  this.recordList = list
155
154
  } else {
156
155
  this.recordList = this.recordList.concat(list);
157
156
  }
157
+ this.next_page_token = res.next_page_token
158
+ this.hasNext = res.next_page_token !== "";
158
159
  })
159
160
  },
160
161
  /**
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
-
5
4
  getPointsWalletDetail:{"wallet_list":[{"sort":1,"wallet_type":"US","show_name":"可用积分","amount":10000,"is_support_withdraw":"N"}],"request_id":"43fa9f773f0c3014"},
6
5
  getPointsWalletTradeList: {"next_page_token":"","total_size":0,"list":[{"trade_nnid":"zd0rYpZgWXE9Yf8e1mtH3","order_id":"111112-2025041517-03-54","amount":10000,"trade_type":"activity_a","trade_type_name":"活动收入","operate_type":"A","operate_type_name":"收入","trade_name":"","comment":"","created_time":1744707836}],"request_id":"eec94260e6f9de53"}
7
6
  }
@@ -15,28 +15,30 @@
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-share__body">
17
17
  <view class="card_wrap">
18
- <swiper class="card_swiper" next-margin="50rpx" previous-margin="50rpx">
19
- <swiper-item class="swiper_item" v-for="i in 3" :key="i">
18
+ <swiper class="card_swiper" next-margin="50rpx" previous-margin="50rpx" :current="shareIndex" @change="handleSwitch">
19
+ <swiper-item class="swiper_item" v-for="(item,i) in shareList" :key="i">
20
20
  <view class="swiper_item-inner">
21
- <view class="swiper_item-logo"></view>
21
+ <image :src="item.share_image_url" mode="aspectFill"></image>
22
+ <!-- <view class="swiper_item-logo"></view>
22
23
  <view class="swiper_item-title">邀请好友领福利</view>
23
24
  <view class="swiper_item-qrcode"></view>
24
- <view class="swiper_item-visit">邀请码<br/>LWNXK7H</view>
25
+ <view class="swiper_item-visit">邀请码<br/>LWNXK7H</view> -->
25
26
  </view>
26
27
  <!-- <image style="width: 600rpx;height: 900rpx;"
27
28
  src="https://sandbox-img.jufubao.cn/uploads/20250410/34559f90dd5a01e7368c02bf33f1b484.png?ver=1744249748881&x-oss-process=style/size5"></image> -->
28
29
  </swiper-item>
29
30
  </swiper>
30
31
  </view>
31
-
32
+ <!-- #ifdef MP-WEIXIN -->
32
33
  <view class="share_wrap">
33
- <view class="share_btn">
34
+ <view class="share_btn" @click="toSendWx">
34
35
  <image src="https://sandbox-img.jufubao.cn/uploads/20250410/57bc093618bc51a85dc8bb68825d2b97.png?x-oss-process=style/size8" mode="widthFix"></image>
35
36
  </view>
36
- <view class="share_btn">
37
+ <view class="share_btn" @click="toSaveImg">
37
38
  <image src="https://sandbox-img1.jufubao.cn/uploads/20250410/faeb136bfd684ab6fa4608208ad26294.png?x-oss-process=style/size8" mode="widthFix"></image>
38
39
  </view>
39
40
  </view>
41
+ <!-- #endif -->
40
42
 
41
43
  <view class="visit_tip">
42
44
  好友使用你的邀请码成功注册后<br/>Ta将成为你的邀请用户
@@ -52,6 +54,8 @@
52
54
  import { getContainerPropsValue } from "@/utils/xd.base";
53
55
  import componentsMixins from "@/mixins/componentsMixins";
54
56
  import extsMixins from "@/mixins/extsMixins";
57
+ import getServiceUrl from "@/common/getServiceUrl";
58
+ import { mapState } from "vuex";
55
59
  export default {
56
60
  name: "JfbBaseShare",
57
61
  components: {
@@ -63,11 +67,14 @@
63
67
  data() {
64
68
  return {
65
69
  closeMask: true,
66
-
70
+ shareIndex: 0,
67
71
  shareList: [],
68
72
  //todo
69
73
  }
70
74
  },
75
+ computed: {
76
+ ...mapState(["shareInfo"]),
77
+ },
71
78
  watch: {
72
79
  container(value, oldValue) {
73
80
  if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
@@ -98,11 +105,45 @@
98
105
  page_token: '1'
99
106
  }
100
107
  }).then(res => {
101
- this.shareList = res.list;
108
+ this.shareList = res.list.map(item => {
109
+ item.share_image_url = getServiceUrl(item.share_image_url);
110
+ return item;
111
+ });
102
112
  })
103
113
  },
114
+ handleSwitch(e){
115
+ this.shareIndex = e.detail.current;
116
+ },
117
+ toSendWx(){
118
+ let shareIndex = this.shareIndex;
119
+ let curShare = this.shareList[shareIndex];
120
+ this.setShareInfo({
121
+ title: "您的好友邀请您使用PLUS会员",
122
+ imageUrl: curShare.share_image_url,
123
+ path: `${curShare.jump_url}`,
124
+ });
125
+ },
126
+ toSaveImg(){
127
+ let shareIndex = this.shareIndex;
128
+ let curShare = this.shareList[shareIndex];
129
+ uni.getImageInfo({
130
+ src: curShare.share_image_url,
131
+ success: (res) => {
132
+ uni.saveImageToPhotosAlbum({
133
+ filePath: res.path,
134
+ success: () => {
135
+ uni.showToast({
136
+ title: '保存成功',
137
+ icon: "success"
138
+ })
139
+ }
140
+ })
141
+ }
142
+ })
143
+
144
+ },
104
145
  onJfbScroll(options) {
105
- console.log('event.onJfbScroll', options)
146
+ // console.log('event.onJfbScroll', options)
106
147
  },
107
148
  onJfbReachBottom(options) {
108
149
  console.log('event.onJfbReachBottom', options)
@@ -146,16 +187,18 @@
146
187
  justify-content: center;
147
188
 
148
189
  &-inner{
149
- width: 630rpx;
150
- height: 960rpx;
151
- background: url('https://sandbox-img.jufubao.cn/uploads/20250410/2d9f5ec31efb5cddece747d8b8da51f0.png?x-oss-process=style/size8') no-repeat;
152
- background-size: auto 100%;
190
+ width: 100%;
191
+ height: 100%;
192
+ // background: url('https://sandbox-img.jufubao.cn/uploads/20250410/2d9f5ec31efb5cddece747d8b8da51f0.png?x-oss-process=style/size8') no-repeat;
193
+ // background-size: auto 100%;
153
194
  box-sizing: border-box;
154
- display: flex;
155
- flex-direction: column;
156
- align-items: center;
157
- padding-top: 60rpx;
158
-
195
+ // display: flex;
196
+ // flex-direction: column;
197
+ // align-items: center;
198
+ image{
199
+ width: 100%;
200
+ height: 100%;
201
+ }
159
202
  }
160
203
  &-logo{
161
204
  height: 96rpx;
@@ -1,13 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
-
5
- getWithByIdFilmSquate:{},
6
-
7
- updateWithFilmPaiqiDate:{},
8
-
9
- removeWithFilmAddress:{},
10
-
11
- addWithFilmcart:{},
12
-
4
+
5
+ getWithdrawOrderDetail: { "detail": { "partner_id": 161, "site_id": "04c78d51890a18b8", "user_id": 5000358, "wallet_type": "UC", "total_amount": 200, "channel_amount": 200, "order_id": "i771668569418104913", "channel_code": "wxpay", "channel_code_name": "微信", "channel_order_id": "", "channel_user_id": "oJM1I6-ns0kM_byNgio_n_ZuTqCk", "channel_app_id": "wxad70f65127f9471c", "wallet_nnid": "", "wallet_trade_nnid": "", "arrival_time": 0, "extras": "", "comment": "", "created_time": 1744940123, "updated_time": 0, "status": "N", "status_name": "提现中", "service_amount": 0, "service_rate": 0 }, "channel_name": "微信", "logo": "https:\/\/jfb-public-images.oss-cn-qingdao.aliyuncs.com\/system-paychannel-logo-wxpay.png?x-oss-process=style\/200_200", "request_id": "473e8bf6986efc25" },
6
+
7
+ getWithdrawThirdPlaceOrderList: { "order_id": "i771668569418104913", "channel_data": "ABBQO+oYAAABAAAAAAAvz7kzb9HMNRWNvawBaBAAAADnGpepZahT9IkJjn90+1qgAYQYW\/LmJL0WH47tlOYOunGem4Trqj+ox5EfmQFESJ76f9lMWaLN2pvCJ5stBUZFIFIjhvk8fybnzYnmaUkvbpln+bc=", "app_id": "wxad70f65127f9471c", "mch_id": "1614921673", "request_id": "48ef7a43d95aa020" },
8
+
9
+ cancelWithdraw: { "request_id": "48ef7a43d95aa020" }
13
10
  }
@@ -57,7 +57,8 @@
57
57
  bodyBorder: {},
58
58
  againWithDrawPath: '',
59
59
  page_token: 1,
60
- orderList: []
60
+ orderList: [],
61
+ hasNext: true
61
62
  }
62
63
  },
63
64
  computed: {
@@ -111,12 +112,13 @@
111
112
  ).fullTime;
112
113
  return item;
113
114
  })
114
- this.hasNext = res.next_page_token !== "";
115
115
  if (this.page_token === 1) {
116
116
  this.orderList = list
117
117
  } else {
118
118
  this.orderList = this.orderList.concat(list);
119
119
  }
120
+ this.next_page_token = res.next_page_token
121
+ this.hasNext = res.next_page_token !== "";
120
122
  })
121
123
  },
122
124
  handleToDetail(item) {
@@ -126,7 +128,10 @@
126
128
  console.log('event.onJfbScroll', options)
127
129
  },
128
130
  onJfbReachBottom(options) {
129
- console.log('event.onJfbReachBottom', options)
131
+ if (this.hasNext) {
132
+ this.page_token = this.next_page_token;
133
+ this.getOrderRecord()
134
+ }
130
135
  },
131
136
  onJfbShow(options) {
132
137
  this.getOrderRecord()
@@ -1,13 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
-
5
- getWithByIdFilmSquate:{},
6
-
7
- updateWithFilmPaiqiDate:{},
8
-
9
- removeWithFilmAddress:{},
10
-
11
- addWithFilmcart:{},
12
-
4
+
5
+ getRecordWithdrawOrderList: { "next_page_token": "2", "total_size": 0, "list": [{ "order_id": "i771668569418104913", "channel_order_id": "1330001353947642504180083243436870", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 200, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744940123 }, { "order_id": "i771066286233878607", "channel_order_id": "1330001353947642504160061966293601", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744796566, "comment": "", "created_time": 1744796528 }, { "order_id": "i771065517556367438", "channel_order_id": "1330001353947642504160093737710292", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744796406, "comment": "", "created_time": 1744796345 }, { "order_id": "i771062549364867149", "channel_order_id": "1330001353947642504160084846150384", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744795686, "comment": "", "created_time": 1744795637 }, { "order_id": "i771061580484837452", "channel_order_id": "1330001353947642504160039106651145", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744795456, "comment": "", "created_time": 1744795406 }, { "order_id": "i771059916772212811", "channel_order_id": "1330001353947642504160031021516401", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744795088, "comment": "", "created_time": 1744795009 }, { "order_id": "i771054224359293002", "channel_order_id": "1330001353947642504160089300449824", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744794894, "comment": "", "created_time": 1744793652 }, { "order_id": "i771037005030096968", "channel_order_id": "1330001353947642504160086581901379", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744789547 }, { "order_id": "i771034877834297415", "channel_order_id": "", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 1000, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744789040 }, { "order_id": "i771034873199591494", "channel_order_id": "", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 1000, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744789038 }], "request_id": "e6f3ea562f8fd9e9" },
6
+
13
7
  }
@@ -2,12 +2,6 @@
2
2
 
3
3
  module.exports = {
4
4
 
5
- getWithdrawByIdFilmSquate:{},
6
-
7
- updateWithdrawFilmPaiqiDate:{},
8
-
9
- removeWithdrawFilmAddress:{},
10
-
11
- addWithdrawFilmcart:{},
12
-
5
+ getWithDrawDetail:{"wallet_list":[{"sort":2,"wallet_type":"UC","show_name":"可用余额","amount":19940,"is_support_withdraw":"Y"},{"sort":0,"wallet_type":"UT","show_name":"待到账余额","amount":0,"is_support_withdraw":"N"}],"request_id":"9de3e66af2da41d4"},
6
+ createWithdraw: {"order_id":"i771668569418104913","request_id":"bf9328f714d693aa"}
13
7
  }