jufubao-base 1.0.255 → 1.0.256-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.255",
3
+ "version": "1.0.256-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -16,11 +16,12 @@
16
16
  <view class="xd-address__body-item-label">收货人</view>
17
17
  <view class="xd-address__body-item-input">
18
18
  <input
19
+ :cursor-spacing="10"
19
20
  class="xd-address__body-item-input-el"
20
21
  placeholder-class="xd-address__body-item-input-placeholder"
21
22
  @confirm="doneInput"
22
23
  placeholder="收货人"
23
- :adjust-position="false"
24
+ :adjust-position="true"
24
25
  @blur="handleUsername"
25
26
  maxlength="25"
26
27
  v-model="receipt_username"
@@ -35,11 +36,12 @@
35
36
  <view class="xd-address__body-item-label">手机号码</view>
36
37
  <view class="xd-address__body-item-input">
37
38
  <input
39
+ :cursor-spacing="10"
38
40
  class="xd-address__body-item-input-el"
39
41
  placeholder-class="xd-address__body-item-input-placeholder"
40
42
  @confirm="doneInput"
41
43
  placeholder="手机号码"
42
- :adjust-position="false"
44
+ :adjust-position="true"
43
45
  maxlength="11"
44
46
  v-model="receipt_phone"
45
47
  @blur="handlePhone"
@@ -93,7 +95,8 @@
93
95
  placeholder-class="xd-address__body-item-input-placeholder"
94
96
  @confirm="doneInput"
95
97
  placeholder="详细地址"
96
- :adjust-position="false"
98
+ :adjust-position="true"
99
+ :cursor-spacing="10"
97
100
  :focus="focus"
98
101
  auto-height
99
102
  maxlength="50"
@@ -12,7 +12,8 @@
12
12
  }">
13
13
  <view class="content-box">
14
14
  <view class="logo-box">
15
- <image :src="userInfo['head_url']" class="logo"></image>
15
+ <image v-if="userInfo['head_url']" :src="userInfo['head_url']" class="logo"></image>
16
+ <image v-else class="logo" src="https://img1-b.jufubao.cn/uploads/20250528/e88bb70d4ccdcdd01a277bdf6b66c488.jpg"></image>
16
17
  </view>
17
18
  <view v-if="isFlow">
18
19
  <view @click="handleToShop" class="shop">
@@ -69,7 +70,10 @@
69
70
  <image mode="aspectFit" class="bar-code" :src="barcode_url">
70
71
  </image>
71
72
  <view class="bar-code-text">{{barCode}}</view>
72
- <image mode="aspectFit" class="qrcode" :src="code_url">
73
+ <view style="position: relative">
74
+ <image mode="aspectFit" class="qrcode" :src="code_url">
75
+ <image v-if="qrcode_icon" class="logo-icon" :src="qrcode_icon"></image>
76
+ </view>
73
77
  </image>
74
78
  <view class="code-refresh">{{expiration_sec_str}}后自动更新</view>
75
79
  <view v-if="plusDiscount">
@@ -196,7 +200,8 @@
196
200
  refresh: true, //onshow是否刷新数据
197
201
  showLocationDialog: false,
198
202
  cityPath: '',
199
- resource_shop_id: ''
203
+ resource_shop_id: '',
204
+ qrcode_icon: '',
200
205
  }
201
206
  },
202
207
  watch: {
@@ -399,12 +404,15 @@
399
404
  this.temp_order_id = res.temp_order_id;
400
405
  let code_url = this.brandInfo['api_host'] + res.code_url;
401
406
  let barcode_url = this.brandInfo['api_host'] + res.barcode_url;
407
+ let qrcode_icon = res.qrcode_icon;
402
408
  if (this.isPreview) {
403
409
  code_url = 'https://sandbox-apis.jufubao.cn/common/v1/image/qrcode?code_content=h.161.v91654768653746&size=240'
404
410
  barcode_url = 'https://sandbox-apis.jufubao.cn/common/v1/image/barcode?code_content=h.161.v91654768653746'
411
+ qrcode_icon = 'https://img1-b.jufubao.cn/uploads/20250528/e88bb70d4ccdcdd01a277bdf6b66c488.jpg'
405
412
  }
406
413
  this.code_url = code_url;
407
414
  this.barcode_url = barcode_url;
415
+ this.qrcode_icon = qrcode_icon;
408
416
  this.barCode = res.payment_code
409
417
  this.expiration_sec = res.expiration_sec;
410
418
  this.showMask = false;
@@ -1114,5 +1122,15 @@
1114
1122
  height: auto;
1115
1123
  line-height: inherit;
1116
1124
  }
1125
+
1126
+ .logo-icon {
1127
+ width: unit(80, rpx) !important;
1128
+ height: unit(80, rpx) !important;
1129
+ position: absolute;
1130
+ top: 50%;
1131
+ left: 50%;
1132
+ transform: translate(-40rpx, -40rpx);
1133
+ margin-top: 0;
1134
+ }
1117
1135
  }
1118
1136
  </style>
@@ -74,11 +74,13 @@
74
74
  </view>
75
75
  </view> -->
76
76
  </view>
77
-
78
- <xd-vip-list v-if="!isVip" :list="showVipCardList"
79
- @handlePrivacy="handlePrivacy"
80
- @toVipDetail="toVipDetail"
81
- ></xd-vip-list>
77
+ <view :style="{height: '342rpx'}"></view>
78
+ <view :style="prod_bottom">
79
+ <xd-vip-list v-if="!isVip" :list="showVipCardList"
80
+ @handlePrivacy="handlePrivacy"
81
+ @toVipDetail="toVipDetail"
82
+ ></xd-vip-list>
83
+ </view>
82
84
 
83
85
  <xd-down-drawer :show.sync="showDrawer" height="480rpx">
84
86
  <view class="drawer_title">立即续费</view>
@@ -152,7 +154,10 @@
152
154
  },
153
155
  showVipCardList(){
154
156
  return this.showExchangeCode === 'Y' ? [this.exchangeCodeVip, ...this.vipCardList] : [...this.vipCardList]
155
- }
157
+ },
158
+ prod_bottom() {
159
+ return this.fixedStyle({height: 0, zIndex: 111});
160
+ },
156
161
  },
157
162
  watch: {
158
163
  container(value, oldValue) {
@@ -9,7 +9,8 @@
9
9
  <view class="jfb-base-personal-data__body-item">
10
10
  <view class="jfb-base-personal-data__body-item-label">头像</view>
11
11
  <view class="profile">
12
- <image :src="info.head_url"></image>
12
+ <image v-if="info.head_url" :src="info.head_url"></image>
13
+ <image v-else src="https://img1-b.jufubao.cn/uploads/20250528/e88bb70d4ccdcdd01a277bdf6b66c488.jpg"></image>
13
14
  <!--#ifdef MP-->
14
15
  <button type="default" open-type="chooseAvatar" @chooseavatar="handleChooseAvatar"></button>
15
16
  <!-- #endif -->
@@ -203,7 +204,6 @@
203
204
  if(!this.$xdUniHelper.isEmpty(ext)) {
204
205
  params = Object.assign({},params,ext);
205
206
  }
206
- debugger
207
207
  jfbRootExec("setBasePersonInfo", {
208
208
  vm: this,
209
209
  data: params,
@@ -15,13 +15,9 @@
15
15
  <template v-if="logined">
16
16
  <image @click="handleToPersonal" :style="{border: `1px solid ${imageColor}`, borderRadius:imageRadius}"
17
17
  v-if="userInfo['head_url']" :src="userInfo['head_url']"></image>
18
- <view @click="handleToPersonal" :style="{borderColor: imageColor, borderRadius:imageRadius}" class="no-image" v-else>
19
- <xd-font-icon :color="imageColor" icon="iconwode_mian" size="100"></xd-font-icon>
20
- </view>
18
+ <image v-else @click="handleToPersonal" :style="{border: `1px solid ${imageColor}`, borderRadius:imageRadius}" src="https://img1-b.jufubao.cn/uploads/20250528/e88bb70d4ccdcdd01a277bdf6b66c488.jpg"></image>
21
19
  </template>
22
- <view @click="handleToPersonal" :style="{borderColor: imageColor, borderRadius:imageRadius}" v-else class="no-image">
23
- <xd-font-icon :color="imageColor" icon="iconwode_mian" size="90"></xd-font-icon>
24
- </view>
20
+ <image v-else @click="handleToPersonal" :style="{border: `1px solid ${imageColor}`, borderRadius:imageRadius}" src="https://img1-b.jufubao.cn/uploads/20250528/e88bb70d4ccdcdd01a277bdf6b66c488.jpg"></image>
25
21
  <view class="jfb-base-user-info__body-plus-header-top-left-info">
26
22
  <view class="jfb-base-user-info__body-plus-header-top-left-info-name" v-if="logined">
27
23
  <view :style="is_vip==='Y'?[plusNickNameStyle]:[normalNickNameStyle]">{{userInfo|getName}} </view>