jufubao-movie 1.0.55 → 1.0.56-beta101

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-movie",
3
- "version": "1.0.55",
3
+ "version": "1.0.56-beta101",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -288,9 +288,6 @@
288
288
  import {getContainerPropsValue, baseJsDateToTime,getParentsStyle} from "@/utils/xd.base";
289
289
  import {mapState} from 'vuex';
290
290
 
291
- // #ifdef H5
292
- import cookie from "@/common/cookie";
293
- //#endif
294
291
  import {Base64} from "js-base64";
295
292
 
296
293
  export default {
@@ -371,9 +368,8 @@
371
368
  },
372
369
  },
373
370
  computed: {
374
- ...mapState({
375
- brandInfo: state => state.brandInfo
376
- }),
371
+ ...mapState(['jfbAuthorize','brandInfo']),
372
+
377
373
  bottomFixedStyle(){
378
374
  return this.fixedStyle({paddingBottom: 10, zIndex: 100});
379
375
  },
@@ -852,7 +848,7 @@
852
848
  let payPath = '';
853
849
  let isMp = false;
854
850
  // #ifdef H5
855
- payPath = cookie.get(`jfb-pay-path-${this.brandInfo.site_id}`);
851
+ payPath = this.jfbAuthorize.getMpKey('paySetting');
856
852
  if(navigator.userAgent.match(/miniprogram/i)) isMp = true;
857
853
  //#endif
858
854
  if(payPath && isMp) {