jufubao-base 1.0.159-beta1 → 1.0.159-beta10

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.
Files changed (70) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -2
  3. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +3 -2
  4. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +3 -2
  5. package/src/components/JfbBaseBack/JfbBaseBack.vue +3 -2
  6. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -2
  7. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +3 -2
  8. package/src/components/JfbBaseCard/JfbBaseCard.vue +6 -5
  9. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +3 -2
  10. package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +0 -1
  11. package/src/components/JfbBaseCardDetailEntry/Attr.js +22 -0
  12. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +85 -35
  13. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
  14. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +3 -4
  15. package/src/components/JfbBaseCardEntry/Attr.js +22 -1
  16. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +89 -35
  17. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +25 -4
  18. package/src/components/JfbBaseCardInfoEntry/Attr.js +22 -0
  19. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +283 -262
  20. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +3 -2
  21. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +3 -2
  22. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +3 -10
  23. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +15 -18
  24. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +3 -2
  25. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +14 -14
  26. package/src/components/JfbBaseCity/JfbBaseCity.vue +3 -2
  27. package/src/components/JfbBaseClear/JfbBaseClear.vue +3 -2
  28. package/src/components/JfbBaseConList/JfbBaseConList.vue +4 -5
  29. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +3 -2
  30. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +4 -3
  31. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +3 -4
  32. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +17 -15
  33. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +0 -1
  34. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +3 -2
  35. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +26 -9
  36. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +6 -8
  37. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +6 -3
  38. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +6 -5
  39. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +3 -2
  40. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +28 -27
  41. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +3 -4
  42. package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
  43. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +6 -4
  44. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +6 -4
  45. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +3 -2
  46. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +3 -2
  47. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -29
  48. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +8 -3
  49. package/src/components/JfbBasePay/JfbBasePay.vue +3 -2
  50. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +22 -7
  51. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +23 -7
  52. package/src/components/JfbBasePosterType/FourScreen.vue +12 -6
  53. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +4 -4
  54. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +3 -4
  55. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +4 -7
  56. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -9
  57. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +3 -2
  58. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -3
  59. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +3 -2
  60. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +3 -2
  61. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +4 -3
  62. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +6 -4
  63. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +3 -2
  64. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +5 -8
  65. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +5 -8
  66. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +3 -4
  67. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +8 -17
  68. package/src/components/JfbBaseWebview/JfbBaseWebview.vue +4 -3
  69. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +3 -2
  70. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +3 -4
@@ -135,8 +135,9 @@ export default {
135
135
  }),
136
136
  },
137
137
  watch: {
138
- container(value) {
139
- this.init(value);
138
+ container(value,oldValue) {
139
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
140
+ if (this.$configProject['isPreview']) this.init(value)
140
141
  },
141
142
  },
142
143
  created() {
@@ -190,8 +190,9 @@ export default {
190
190
  },
191
191
  },
192
192
  watch: {
193
- container(value) {
194
- this.init(value);
193
+ container(value,oldValue) {
194
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
195
+ if (this.$configProject['isPreview']) this.init(value)
195
196
  },
196
197
  },
197
198
  created() {
@@ -44,9 +44,7 @@
44
44
  <xd-radio size="small" v-model="isCheck"></xd-radio>
45
45
  <view>我已经阅读和同意积分转换规则</view>
46
46
  </view>
47
- <xd-button type="primary" width="360rpx" @click="handleChange"
48
- >立即转换</xd-button
49
- >
47
+ <xd-button type="primary" width="360rpx" @click="handleChange">立即转换</xd-button>
50
48
  </view>
51
49
  <xd-dailog
52
50
  class="dialog"
@@ -63,13 +61,8 @@
63
61
  icon="icondui-01"
64
62
  ></xd-font-icon>
65
63
  <view class="jfb-base-card-shift__body-success-title">转换成功</view>
66
- <view class="jfb-base-card-shift__body-success-content">
67
- 您已成功将 {{ card_number }} 转换为
68
- {{ changeNumber }}已自动帮您绑定成功,可在卡列表查询
69
- </view>
70
- <xd-button type="primarys" width="360rpx" @click="handleToLink"
71
- >返回列表</xd-button
72
- >
64
+ <view class="jfb-base-card-shift__body-success-content">您已成功将{{ card_number }} 转换为{{ changeNumber }}已自动帮您绑定成功,可在卡列表查询</view>
65
+ <xd-button type="primarys" width="360rpx" @click="handleToLink">返回列表</xd-button>
73
66
  </view>
74
67
  </xd-dailog>
75
68
  </view>
@@ -24,7 +24,7 @@
24
24
  <view
25
25
  class="card-list"
26
26
  :style="{
27
- background: headerBg['color'],
27
+ background: headerBg['color'],
28
28
  backgroundSize: '100%'
29
29
  }">
30
30
  <view class="card-list-warp" :style="{backgroundImage: `url(${headerBg['image']})`}">
@@ -74,21 +74,17 @@
74
74
  <view>转换后预估票券额度</view>
75
75
  </view>
76
76
  <view
77
- :class="
78
- item.key === 'other_card_point'
79
- ? 'jfb-base-card-shift-entry__body-content-special'
80
- : 'jfb-base-card-shift-entry__body-content-item'
81
- "
77
+ :class=" item.key === 'other_card_point'? 'jfb-base-card-shift-entry__body-content-special': 'jfb-base-card-shift-entry__body-content-item'"
82
78
  v-for="(item, index) in changeValueKey"
83
79
  :key="index"
84
80
  >
85
81
  <view> {{ item.label }}: </view>
86
82
  <view :style="{color:mainColor,fontWeight:500}" v-if="item.type === 'price'">
87
- {{ info[item.key] }}
83
+ <text>{{ info[item.key] }}</text>
88
84
  <text>点</text>
89
85
  </view>
90
86
  <view style="color: #333; font-weight: 500" v-else>
91
- {{ info[item.key] }}
87
+ <text>{{ info[item.key] }}</text>
92
88
  <text v-if="item.type === 'type'">券</text>
93
89
  </view>
94
90
  </view>
@@ -109,9 +105,8 @@
109
105
  <xd-button
110
106
  @click="handleChange"
111
107
  width="500rpx"
112
- type="primary">
113
- 转换
114
- </xd-button>
108
+ type="primary"
109
+ >立即转换</xd-button>
115
110
  </view>
116
111
  <xd-dailog
117
112
  class="dialog"
@@ -132,12 +127,13 @@
132
127
  <text :style="{color:mainColor,marginLeft:'20rpx'}">转换成功</text>
133
128
  </view>
134
129
  <view class="jfb-base-card-shift-entry__body-success-content">
135
- 已成功将 <text style="color:#333;padding: 0 16rpx">{{ card_number }}</text> 转换成为
136
- <text style="color:#333;padding: 0 16rpx">{{ changeNumber }}</text>可在券包中查看
130
+ <text>已成功将</text>
131
+ <text style="color:#333;padding: 0 16rpx">{{ card_number }}</text>
132
+ <text>转换成为</text>
133
+ <text style="color:#333;padding: 0 16rpx">{{ changeNumber }}</text>
134
+ <text>可在券包中查看</text>
137
135
  </view>
138
- <xd-button type="primarys" width="360rpx" @click="handleToLink"
139
- >返回列表</xd-button
140
- >
136
+ <xd-button type="primarys" width="360rpx" @click="handleToLink">返回列表</xd-button>
141
137
  </view>
142
138
  </xd-dailog>
143
139
  </view>
@@ -196,7 +192,8 @@ export default {
196
192
  //页面跳转地址
197
193
  backUrl: "",
198
194
  bottomHeight: 120,
199
- changeBg: ''
195
+ changeBg: '',
196
+ headerBg:'',
200
197
  };
201
198
  },
202
199
  computed: {
@@ -591,7 +588,7 @@ export default {
591
588
  .fixe_bottom{
592
589
  display: flex;
593
590
  align-items: center;
594
- justify-content: space-between;
591
+ justify-content: center;
595
592
  height: unit(100, rpx);
596
593
  padding: 0 unit(40, rpx);
597
594
  background: #FFF;
@@ -114,8 +114,9 @@ export default {
114
114
  };
115
115
  },
116
116
  watch: {
117
- container(value) {
118
- this.init(value);
117
+ container(value,oldValue) {
118
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
119
+ if (this.$configProject['isPreview']) this.init(value)
119
120
  },
120
121
  },
121
122
  computed: {
@@ -51,6 +51,8 @@
51
51
  import componentsMixins from "@/mixins/componentsMixins";
52
52
  import extsMixins from "@/mixins/extsMixins";
53
53
  import {Base64} from "js-base64";
54
+ import {mapState} from "vuex";
55
+
54
56
  export default {
55
57
  name: "JfbBaseCardV3",
56
58
  components: {
@@ -77,11 +79,13 @@
77
79
  }
78
80
  },
79
81
  watch: {
80
- container(value) {
81
- this.init(value)
82
- }
82
+ container(value,oldValue) {
83
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
84
+ if (this.$configProject['isPreview']) this.init(value)
85
+ },
83
86
  },
84
87
  computed: {
88
+ ...mapState(['jfbAuthorize']),
85
89
  button_bottom() {
86
90
  return this.fixedStyle({paddingBottom: 24, zIndex: 111})
87
91
  },
@@ -140,12 +144,7 @@
140
144
  })
141
145
  },
142
146
  toDetail(item) {
143
- this.$xdUniHelper.navigateTo(
144
- {
145
- url: `${this.detailUrl}?card_number=${item["card_number"]}`,
146
- },
147
- false
148
- );
147
+ this.$xdUniHelper.navigateTo({url: `${this.detailUrl}?card_number=${item["card_number"]}`,}, false);
149
148
  },
150
149
  /**
151
150
  * @description 已绑定卡登录
@@ -175,10 +174,11 @@
175
174
  this.$xdHideLoading();
176
175
  //#ifdef MP-WEIXIN
177
176
  if (this.jfbAuthorize !== null) {
178
- this.jfbAuthorize.setCardToken(res);
177
+ this.jfbAuthorize.setCardToken(res, null);
179
178
  }
180
179
  //#endif
181
-
180
+ console.log(this.inCallback);
181
+ debugger
182
182
  if (this.$configProject.isPreview) {
183
183
  console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
184
184
  } else {
@@ -190,9 +190,9 @@
190
190
  .catch((res) => {
191
191
  this.$xdHideLoading();
192
192
  });
193
- } else {
194
- this.$xdUniHelper.navigateTo(
195
- {
193
+ }
194
+ else {
195
+ this.$xdUniHelper.navigateTo({
196
196
  url: `${this.changeUrl}?card_number=${item["card_number"]}`,
197
197
  },
198
198
  false
@@ -44,8 +44,9 @@ export default {
44
44
  }
45
45
  },
46
46
  watch: {
47
- container(value) {
48
- this.init(value)
47
+ container(value,oldValue) {
48
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
49
+ if (this.$configProject['isPreview']) this.init(value)
49
50
  }
50
51
  },
51
52
  created() {
@@ -54,8 +54,9 @@
54
54
  ...mapState(['jfbAuthorize']),
55
55
  },
56
56
  watch: {
57
- container(value) {
58
- this.init(value)
57
+ container(value,oldValue) {
58
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
59
+ if (this.$configProject['isPreview']) this.init(value)
59
60
  }
60
61
  },
61
62
  created() {
@@ -100,9 +100,7 @@
100
100
  v-else
101
101
  class="empty_data"
102
102
  >
103
- <image :src="emptyBg"></image>
104
- {{ message }}
105
- </view>
103
+ <image :src="emptyBg"></image>{{ message }}</view>
106
104
  <xd-dailog
107
105
  :cancel="false"
108
106
  :confirm="false"
@@ -203,8 +201,9 @@ export default {
203
201
  },
204
202
  },
205
203
  watch: {
206
- container(value) {
207
- this.init(value);
204
+ container(value,oldValue) {
205
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
206
+ if (this.$configProject['isPreview']) this.init(value)
208
207
  },
209
208
  },
210
209
  created() {
@@ -194,8 +194,9 @@ export default {
194
194
  };
195
195
  },
196
196
  watch: {
197
- container(value) {
198
- this.init(value);
197
+ container(value,oldValue) {
198
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
199
+ if (this.$configProject['isPreview']) this.init(value)
199
200
  },
200
201
  },
201
202
  created() {
@@ -93,9 +93,10 @@
93
93
  }
94
94
  },
95
95
  watch: {
96
- container(value) {
97
- this.init(value)
98
- }
96
+ container(value,oldValue) {
97
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
98
+ if (this.$configProject['isPreview']) this.init(value)
99
+ },
99
100
  },
100
101
  created() {
101
102
  this.init(this.container);
@@ -50,14 +50,13 @@ export default {
50
50
  };
51
51
  },
52
52
  watch: {
53
- container(value) {
54
- this.init(value);
53
+ container(value,oldValue) {
54
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
55
+ if (this.$configProject['isPreview']) this.init(value)
55
56
  },
56
57
  },
57
58
  created() {
58
59
  this.init(this.container);
59
-
60
- //todo
61
60
  },
62
61
  methods: {
63
62
  onJfbLoad(options) {
@@ -67,6 +67,7 @@
67
67
  import componentsMixins from "@/mixins/componentsMixins";
68
68
  import extsMixins from "@/mixins/extsMixins"
69
69
  import { getContainerPropsValue } from "@/utils/xd.base";
70
+ import {parsePath} from '@/utils/linkUrl'
70
71
  import XdFastNav from "./XdFastNav.vue";
71
72
  import Color from "color";
72
73
  const color = require('color');
@@ -113,8 +114,9 @@
113
114
  }
114
115
  },
115
116
  watch: {
116
- container(value) {
117
- this.init(value)
117
+ container(value,oldValue) {
118
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
119
+ if (this.$configProject['isPreview']) this.init(value)
118
120
  }
119
121
  },
120
122
 
@@ -187,30 +189,30 @@
187
189
  this.fontSubSize = getContainerPropsValue(container, 'content.fontSubSize', 24);
188
190
  if(this.is_layout === 'fixed') {
189
191
  this.listNave = this.list.map(item=>{
190
- debugger
191
- const {appValue,path,host} = item.path
192
- if(appValue === undefined && path === undefined) {
192
+ let {appValue,path} = item.path
193
+ if(appValue === '0') {
193
194
  return { name: item.name, path: item.path.value, icon: item.icon, size: item.size}
194
195
  }
195
196
  else{
196
197
  const {dir,fixed_business_code} = item.path;
197
198
  let bus = fixed_business_code? Base64.encodeURI(JSON.stringify({business_code: fixed_business_code})):'';
198
199
  if(bus) bus = `?x-common=${bus}`;
200
+ let jumpUrl = '';
201
+ //#ifdef H5
202
+ if(dir) jumpUrl = `//${window.location.host}/${dir}${path}`;
203
+ else jumpUrl = path;
204
+ //#endif
199
205
 
200
- let jumpUrl = path;
206
+ //#ifdef MP-WEIXIN
207
+ const pathObj = parsePath(path);
208
+ if(pathObj.isSameApp) jumpUrl = pathObj.url;
209
+ else jumpUrl = `https://${this.projectAttr.host}/${pathObj.dir}${pathObj.url}`;
210
+ //#endif
201
211
 
202
- //域名相同并且应用路径不相同时候处理
203
- if(this.projectAttr['deploy_dir'] !== dir){
204
- jumpUrl = `//${host}/${dir}${path}`;
205
- //#ifdef MP-WEIXIN
206
- jumpUrl = `https:${jumpUrl}`;
207
- //#endif
208
- }
212
+ jumpUrl = `${jumpUrl}${bus}`;
209
213
  return { name: item.name, path: jumpUrl, icon: item.icon, size: item.size }
210
214
  }
211
215
  });
212
- console.log(this.listNave,this.list);
213
- debugger
214
216
  }
215
217
 
216
218
  },
@@ -64,7 +64,6 @@
64
64
  container(value,oloValue) {
65
65
  if(JSON.stringify(value) === JSON.stringify(oloValue)) return;
66
66
  if (this.$configProject['isPreview']){
67
- debugger
68
67
  this.init(value);
69
68
  this.getNumber();
70
69
  this.footerBarKey = this.$xdUniHelper.randomChar(20);
@@ -144,8 +144,9 @@
144
144
  }
145
145
  },
146
146
  watch: {
147
- container(value) {
148
- this.init(value)
147
+ container(value,oldValue) {
148
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
149
+ if (this.$configProject['isPreview']) this.init(value)
149
150
  }
150
151
  },
151
152
  created() {
@@ -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"
@@ -61,7 +59,7 @@
61
59
  :localdata="[{ value: 1, text: '请阅读并同意《隐私政策》《用户服务协议》' },]"
62
60
  >
63
61
  <template slot="a1">
64
- <view>
62
+ <view class="text-content">
65
63
  <text>请阅读并同意</text>
66
64
  <text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
67
65
  <text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
@@ -145,7 +143,7 @@
145
143
  :localdata="[{ value: 1, text: '登录即同意《隐私政策》《用户服务协议》' },]"
146
144
  >
147
145
  <template slot="a1">
148
- <view>
146
+ <view class="text-content">
149
147
  <text>请阅读并同意</text>
150
148
  <text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
151
149
  <text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
@@ -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,
@@ -305,8 +306,9 @@ export default {
305
306
  },
306
307
  },
307
308
  watch: {
308
- container(value) {
309
- this.init(value);
309
+ container(value,oldValue) {
310
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
311
+ if (this.$configProject['isPreview']) this.init(value)
310
312
  },
311
313
  "accountForm.verification_code"(value){
312
314
  if (value && value.length >= 8 && value.length % 2 === 0) {
@@ -1011,5 +1013,20 @@ export default {
1011
1013
  }
1012
1014
  }
1013
1015
 
1016
+ /* #ifdef MP-WEIXIN */
1017
+ /deep/ .xd-form-checkbox .checklist-group {
1018
+ justify-content: center;
1019
+ display: flex;
1020
+ align-items: center;
1021
+ }
1022
+ .text-content {
1023
+ width: 100%;
1024
+ & > text {
1025
+ font-size: 26rpx;
1026
+ }
1027
+ }
1028
+ /* #endif */
1029
+
1030
+
1014
1031
 
1015
1032
  </style>
@@ -13,18 +13,14 @@
13
13
  :class="{ editx: isEditx && active }"
14
14
  v-if="isEditx && active && !noBorder"
15
15
  >
16
- <view class="jfb-base-login-forget-pwd__edit-icon" @click="delEdit"
17
- >删除</view
18
- >
16
+ <view class="jfb-base-login-forget-pwd__edit-icon" @click="delEdit">删除</view>
19
17
  </view>
20
18
  <!-- #endif -->
21
19
  <view class="jfb-base-login-forget-pwd__body">
22
20
  <view class="panel-forget-password">
23
21
  <view class="form-group" style="padding-top: 60rpx;padding-bottom: 40rpx;">
24
22
  <view style="font-size: 36rpx;color: #333;">请输入手机号</view>
25
- <view style="font-size: 26rpx; color: #999; margin-top: 20rpx"
26
- >为了您的账号安全,请先验证手机号</view
27
- >
23
+ <view style="font-size: 26rpx; color: #999; margin-top: 20rpx">为了您的账号安全,请先验证手机号</view>
28
24
  </view>
29
25
  <xd-form
30
26
  label-width="170"
@@ -117,8 +113,9 @@ export default {
117
113
  };
118
114
  },
119
115
  watch: {
120
- container(value) {
121
- this.init(value);
116
+ container(value,oldValue) {
117
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
118
+ if (this.$configProject['isPreview']) this.init(value)
122
119
  },
123
120
  "resetForm.verification_code"(value) {
124
121
  if (value && value.length >= 8 && value.length % 2 === 0) {
@@ -231,6 +228,7 @@ export default {
231
228
  color: @xd-base-color;
232
229
  font-size: 24rpx;
233
230
  margin-right: unit(20,rpx);
231
+ flex-shrink: 0;
234
232
  }
235
233
  .panel-forget-password {
236
234
  /deep/ .uni-forms-item__label {
@@ -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,
@@ -99,7 +102,6 @@
99
102
  },
100
103
  success_url: "",
101
104
  pwd_type: "", //设置密码 1, 重设密码 2
102
- //todo
103
105
  }
104
106
  },
105
107
  computed: {
@@ -108,8 +110,9 @@
108
110
  }
109
111
  },
110
112
  watch: {
111
- container(value) {
112
- this.init(value)
113
+ container(value,oldValue) {
114
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
115
+ if (this.$configProject['isPreview']) this.init(value)
113
116
  }
114
117
  },
115
118
  created() {
@@ -20,7 +20,7 @@
20
20
  <iframe frameborder="0" v-if="iframe" :src="iframe" class="jfb-base-map-overlay__body-iframe"></iframe>
21
21
  <xd-baidu-overlay v-else :defaultOverlays="overlays" :level="11"></xd-baidu-overlay>
22
22
  </template>
23
-
23
+
24
24
  <!-- #endif -->
25
25
  <!-- #ifdef MP -->
26
26
  <xd-map-overlay :defaultOverlays="overlays" :level="11"></xd-map-overlay>
@@ -76,8 +76,9 @@
76
76
  })
77
77
  },
78
78
  watch: {
79
- container(value) {
80
- this.init(value)
79
+ container(value,oldValue) {
80
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
81
+ if (this.$configProject['isPreview']) this.init(value)
81
82
  }
82
83
  },
83
84
  created() {
@@ -216,7 +217,7 @@
216
217
  onJfbBack(options) {
217
218
  this.$xdUniHelper.navigateBack()
218
219
  },
219
-
220
+
220
221
  }
221
222
  }
222
223
 
@@ -228,7 +229,7 @@
228
229
  .jfb-base-map-overlay {
229
230
  &__body{
230
231
  width: 750rpx;
231
-
232
+
232
233
  &-iframe {
233
234
  height: 100%;
234
235
  width: 100%;
@@ -58,8 +58,9 @@
58
58
  }
59
59
  },
60
60
  watch: {
61
- container(value) {
62
- this.init(value)
61
+ container(value,oldValue) {
62
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
63
+ if (this.$configProject['isPreview']) this.init(value)
63
64
  }
64
65
  },
65
66
  created() {