jufubao-base 1.0.159-beta2 → 1.0.159-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-base",
3
- "version": "1.0.159-beta2",
3
+ "version": "1.0.159-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -255,7 +255,7 @@ export default {
255
255
  if(this.login_text_color) style['color'] = this.login_text_color;
256
256
  if(this.login_text_bg_color) style['backgroundColor'] = this.login_text_bg_color;
257
257
  if(this.login_text_radius) style['borderRadius'] = this.login_text_radius + 'rpx'
258
- return style;
258
+ return this.styleObjectToString(style);
259
259
  },
260
260
  lookStyle(){
261
261
  let style = { backgroundColor: this.cardLayout === '2'? '' : this.mainColor};
@@ -263,7 +263,7 @@ export default {
263
263
  if(this.look_text_color) style['color'] = this.look_text_color;
264
264
  if(this.look_text_bg_color) style['backgroundColor'] = this.look_text_bg_color;
265
265
  if(this.look_text_radius) style['borderRadius'] = this.look_text_radius + 'rpx';
266
- return style;
266
+ return this.styleObjectToString(style);
267
267
  }
268
268
  },
269
269
  watch: {
@@ -323,12 +323,13 @@ export default {
323
323
  if (this.jfbAuthorize !== null) {
324
324
  this.jfbAuthorize.setCardToken(res);
325
325
  this.handleClick(entry);
326
+ return
326
327
  }
327
328
  //#endif
329
+
328
330
  if (this.$configProject.isPreview) {
329
331
  console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
330
332
  }
331
-
332
333
  else {
333
334
  this.handleClick(entry);
334
335
  }
@@ -599,10 +599,12 @@ export default {
599
599
  })
600
600
  .then((res) => {
601
601
  this.$xdHideLoading();
602
+
602
603
  //#ifdef MP-WEIXIN
603
604
  if (this.jfbAuthorize !== null) {
604
605
  this.jfbAuthorize.setCardToken(res);
605
606
  this.handleClick(entry);
607
+ return
606
608
  }
607
609
  //#endif
608
610
  if (this.$configProject.isPreview) {
@@ -39,8 +39,7 @@
39
39
  type="primary"
40
40
  radius="20rpx"
41
41
  @click="doWxMpLogin"
42
- >快捷登录</xd-button
43
- >
42
+ >快捷登录</xd-button>
44
43
  <!-- #endif -->
45
44
  <view class="login-pub">
46
45
  <xd-button
@@ -51,7 +50,6 @@
51
50
  @click="doLoginAccount"
52
51
  >账号登录</xd-button>
53
52
  </view>
54
-
55
53
  <view class="protocol">
56
54
  <xd-form-checkbox
57
55
  class="xd-form-checkbox"
@@ -167,8 +165,7 @@
167
165
  v-if="accountLoginType === 'pwd'"
168
166
  class="forget_password"
169
167
  @click="toValidPhone"
170
- >忘记密码</view
171
- >
168
+ >忘记密码</view>
172
169
  </view>
173
170
  <view class="bottom_btn" :style="prod_bottom" v-if="isPreview === 'Y' || isDebugPreview">
174
171
  <view
@@ -225,6 +222,10 @@ import {
225
222
  } from "@/utils/xd.base";
226
223
 
227
224
  export default {
225
+ // #ifdef MP-WEIXIN
226
+ options: { styleIsolation: 'shared' },
227
+ // #endif
228
+
228
229
  name: "JfbBaseLogin",
229
230
  components: {
230
231
  XdFontIcon,
@@ -1013,7 +1014,13 @@ export default {
1013
1014
  }
1014
1015
 
1015
1016
  /* #ifdef MP-WEIXIN */
1017
+ /deep/ .xd-form-checkbox .checklist-group {
1018
+ justify-content: center;
1019
+ display: flex;
1020
+ align-items: center;
1021
+ }
1016
1022
  .text-content {
1023
+ width: 100%;
1017
1024
  & > text {
1018
1025
  font-size: 26rpx;
1019
1026
  }
@@ -81,6 +81,9 @@
81
81
 
82
82
  export default {
83
83
  name: "JfbBaseLoginSetPwd",
84
+ //#ifdef MP-WEIXIN
85
+ options: { styleIsolation: 'shared' },
86
+ //#endif
84
87
  components: {
85
88
  XdFontIcon,
86
89
  XdFormItem,
@@ -136,7 +136,7 @@
136
136
  class="order-list-icon"
137
137
  :style="{ bottom: item['isOpen'] ? '-30rpx' : '-54rpx' }"
138
138
  v-if="item.products.length > showLen"
139
- @click.stop="item['isOpen'] = !item['isOpen']"
139
+ @click.stop="switchOpen(item)"
140
140
  >
141
141
  <view :style="{ background: backgroundColor }">
142
142
  <xd-font-icon
@@ -388,6 +388,10 @@ export default {
388
388
  console.log("this.tabList", this.tabList);
389
389
  },
390
390
 
391
+ switchOpen(item){
392
+ item['isOpen'] = !item['isOpen']
393
+ },
394
+
391
395
  cancelUnPayOrder(main_order_id) {
392
396
  this.$xdConfirm({
393
397
  styles: this.styles,
@@ -102,6 +102,10 @@ import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox";
102
102
  import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
103
103
 
104
104
  export default {
105
+ // #ifdef MP-WEIXIN
106
+ options: { styleIsolation: 'shared' },
107
+ // #endif
108
+
105
109
  name: "JfbBasePhoneCollect",
106
110
  components: {
107
111
  XdFontIcon,
@@ -329,7 +333,13 @@ export default {
329
333
  align-items: center;
330
334
  }
331
335
  /* #ifdef MP-WEIXIN */
336
+ /deep/ .xd-form-checkbox .checklist-group {
337
+ justify-content: center;
338
+ display: flex;
339
+ align-items: center;
340
+ }
332
341
  .text-content {
342
+ width: 100%;
333
343
  & > text {
334
344
  font-size: 26rpx;
335
345
  }
@@ -100,6 +100,10 @@
100
100
  import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox"
101
101
 
102
102
  export default {
103
+ // #ifdef MP-WEIXIN
104
+ options: { styleIsolation: 'shared' },
105
+ // #endif
106
+
103
107
  name: "JfbBasePhoneLogin",
104
108
  components: {
105
109
  XdFontIcon,
@@ -362,7 +366,13 @@
362
366
  align-items: center;
363
367
  }
364
368
  /* #ifdef MP-WEIXIN */
369
+ /deep/ .xd-form-checkbox .checklist-group {
370
+ justify-content: center;
371
+ display: flex;
372
+ align-items: center;
373
+ }
365
374
  .text-content {
375
+ width: 100%;
366
376
  & > text {
367
377
  font-size: 26rpx;
368
378
  }
@@ -65,7 +65,7 @@
65
65
  <view class="settle-item" v-for="(settle,index) in info.settleInfo" :key="index">
66
66
  <view>{{settle.label}}:</view>
67
67
  <view v-if="settle.type === 'price'">
68
- <xd-unit :price="settle.value" unit="" :is-old="false"></xd-unit>
68
+ <xd-unit :price="settle.value" :is-old="false"></xd-unit>
69
69
  </view>
70
70
  <view v-else v-html="settle.value"></view>
71
71
  </view>