jufubao-base 1.0.159-beta1 → 1.0.159-beta2

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 (68) 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 +4 -3
  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 +52 -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 +80 -34
  17. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +20 -0
  18. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +3 -2
  19. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +3 -2
  20. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +3 -2
  21. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +3 -10
  22. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +15 -18
  23. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +3 -2
  24. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +14 -14
  25. package/src/components/JfbBaseCity/JfbBaseCity.vue +3 -2
  26. package/src/components/JfbBaseClear/JfbBaseClear.vue +3 -2
  27. package/src/components/JfbBaseConList/JfbBaseConList.vue +3 -2
  28. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +3 -2
  29. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +4 -3
  30. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +3 -4
  31. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +17 -15
  32. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +0 -1
  33. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +3 -2
  34. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +14 -4
  35. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +6 -8
  36. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +3 -3
  37. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +6 -5
  38. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +3 -2
  39. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +28 -27
  40. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +3 -4
  41. package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
  42. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +6 -4
  43. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +6 -4
  44. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +3 -2
  45. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +3 -2
  46. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -2
  47. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -2
  48. package/src/components/JfbBasePay/JfbBasePay.vue +3 -2
  49. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +12 -7
  50. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +13 -7
  51. package/src/components/JfbBasePosterType/FourScreen.vue +12 -6
  52. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +4 -4
  53. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +3 -4
  54. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +4 -7
  55. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -9
  56. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +3 -2
  57. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +3 -2
  58. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +3 -2
  59. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +4 -3
  60. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +6 -4
  61. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +3 -2
  62. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +5 -8
  63. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +5 -8
  64. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +3 -4
  65. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +8 -17
  66. package/src/components/JfbBaseWebview/JfbBaseWebview.vue +4 -3
  67. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +3 -2
  68. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +3 -4
@@ -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() {
@@ -203,8 +203,9 @@ export default {
203
203
  },
204
204
  },
205
205
  watch: {
206
- container(value) {
207
- this.init(value);
206
+ container(value,oldValue) {
207
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
208
+ if (this.$configProject['isPreview']) this.init(value)
208
209
  },
209
210
  },
210
211
  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() {
@@ -61,7 +61,7 @@
61
61
  :localdata="[{ value: 1, text: '请阅读并同意《隐私政策》《用户服务协议》' },]"
62
62
  >
63
63
  <template slot="a1">
64
- <view>
64
+ <view class="text-content">
65
65
  <text>请阅读并同意</text>
66
66
  <text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
67
67
  <text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
@@ -145,7 +145,7 @@
145
145
  :localdata="[{ value: 1, text: '登录即同意《隐私政策》《用户服务协议》' },]"
146
146
  >
147
147
  <template slot="a1">
148
- <view>
148
+ <view class="text-content">
149
149
  <text>请阅读并同意</text>
150
150
  <text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
151
151
  <text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
@@ -305,8 +305,9 @@ export default {
305
305
  },
306
306
  },
307
307
  watch: {
308
- container(value) {
309
- this.init(value);
308
+ container(value,oldValue) {
309
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
310
+ if (this.$configProject['isPreview']) this.init(value)
310
311
  },
311
312
  "accountForm.verification_code"(value){
312
313
  if (value && value.length >= 8 && value.length % 2 === 0) {
@@ -1011,5 +1012,14 @@ export default {
1011
1012
  }
1012
1013
  }
1013
1014
 
1015
+ /* #ifdef MP-WEIXIN */
1016
+ .text-content {
1017
+ & > text {
1018
+ font-size: 26rpx;
1019
+ }
1020
+ }
1021
+ /* #endif */
1022
+
1023
+
1014
1024
 
1015
1025
  </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 {
@@ -99,7 +99,6 @@
99
99
  },
100
100
  success_url: "",
101
101
  pwd_type: "", //设置密码 1, 重设密码 2
102
- //todo
103
102
  }
104
103
  },
105
104
  computed: {
@@ -108,8 +107,9 @@
108
107
  }
109
108
  },
110
109
  watch: {
111
- container(value) {
112
- this.init(value)
110
+ container(value,oldValue) {
111
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
112
+ if (this.$configProject['isPreview']) this.init(value)
113
113
  }
114
114
  },
115
115
  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() {