jufubao-base 1.0.34 → 1.0.36

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.34",
3
+ "version": "1.0.36",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -78,6 +78,9 @@ import XdUnit from "@/components/XdUnit/XdUnit";
78
78
  import { getContainerPropsValue } from "@/utils/xd.base";
79
79
  import componentsMixins from "@/mixins/componentsMixins";
80
80
  import extsMixins from "@/mixins/extsMixins";
81
+ import {mapState} from "vuex";
82
+
83
+
81
84
  export default {
82
85
  name: "JfbBaseCardSweepInfo",
83
86
  components: {
@@ -119,12 +122,14 @@ export default {
119
122
  },
120
123
  },
121
124
  computed: {
125
+ ...mapState(["jfbAuthorize"]),
122
126
  prod_bottom() {
123
127
  return this.fixedStyle({ height: 0, zIndex: 111 });
124
128
  },
125
129
  },
126
130
  created() {
127
131
  this.init(this.container);
132
+
128
133
  },
129
134
  methods: {
130
135
  handleToLink(path) {
@@ -139,9 +144,22 @@ export default {
139
144
  this.$xdAlert({
140
145
  content: "绑定成功",
141
146
  close: () => {
147
+ //#ifdef H5
148
+ let base = this.jfbAuthorize.getBasePath(this);
149
+ let url = `${location.origin}${base}${this.backUrl}`;
150
+ this.$xdLog.setARMSInfo({url}, 'static_qr_card_bind');
151
+ setTimeout(()=>{
152
+ window.location.href = url;
153
+ },50);
154
+ // #endif
155
+
156
+ //#ifndef H5
142
157
  this.$xdUniHelper.redirectTo({
143
158
  url: this.backUrl,
144
159
  });
160
+ // #endif
161
+
162
+
145
163
  },
146
164
  });
147
165
  })
@@ -199,8 +199,8 @@
199
199
  let name,logo, platform_logo;
200
200
  if (this.projectAttr['site_name'])name = this.projectAttr['site_name'];
201
201
  if (this['siteInfo'] && this['siteInfo']['mapping'] && this['siteInfo']['mapping']['site_name']) name = this['siteInfo']['mapping']['site_name'];
202
- if (this.projectAttr['site_logo']) logo = getServiceUrl(this.projectAttr['site_logo'], 'size1');
203
- if (this.projectAttr['platform_logo']) platform_logo = getServiceUrl(this.projectAttr['platform_logo'], 'size1');
202
+ if (this.projectAttr['site_logo']) logo = getServiceUrl(this.projectAttr['site_logo'], 'size3');
203
+ if (this.projectAttr['platform_logo']) platform_logo = getServiceUrl(this.projectAttr['platform_logo'], 'size3');
204
204
  this.logo = platform_logo || logo || '//dummyimage.com/100x100';
205
205
  this.partnerName = name || '聚福宝福利';
206
206
 
@@ -249,7 +249,7 @@
249
249
  if (res.confirm) {
250
250
  this.setCityInfo(cityInfo);
251
251
  }else{
252
-
252
+
253
253
  }
254
254
  }
255
255
  })
@@ -332,7 +332,7 @@ export default {
332
332
  )
333
333
  name = this["siteInfo"]["mapping"]["site_name"];
334
334
  if (this.projectAttr["site_logo"])
335
- logo = getServiceUrl(this.projectAttr["site_logo"], "size1");
335
+ logo = getServiceUrl(this.projectAttr["site_logo"], "size3");
336
336
  this.logo = logo || "//dummyimage.com/100x100";
337
337
  this.partnerName = name || "聚福宝福利";
338
338
  this.logoTextColor = getContainerPropsValue(value, "content.logoTextColor", "#333");
@@ -600,20 +600,12 @@
600
600
  </view>
601
601
  <view
602
602
  style="height: 100rpx"
603
- v-if="
604
- info.status.status_type !== 'success' &&
605
- info.buttons &&
606
- info.buttons.length > 0
607
- "
603
+ v-if="info.buttons &&info.buttons.length > 0"
608
604
  ></view>
609
605
  <view
610
606
  class="jfb-base-order-detail__body-btn"
611
607
  :style="prod_bottom"
612
- v-if="
613
- info.status.status_type !== 'success' &&
614
- info.buttons &&
615
- info.buttons.length > 0
616
- "
608
+ v-if="info.buttons && info.buttons.length > 0"
617
609
  >
618
610
  <view v-for="(item, index) in info.buttons" :key="index">
619
611
  <view