jufubao-mall 2.0.41 → 2.0.42

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-mall",
3
- "version": "2.0.41",
3
+ "version": "2.0.42",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -18,7 +18,7 @@
18
18
  <view class="jfb-mall-market-one__body">
19
19
  <view class="jfb-mall-market-one__body-line"></view>
20
20
  <view
21
- v-if="productCategory || marketType"
21
+ v-if="productCategory || marketType.length > 0 || isPlatformTags.length > 0"
22
22
  class="jfb-mall-market-one__body-box"
23
23
  :style="{
24
24
  margin: outMargin,
@@ -30,7 +30,7 @@
30
30
  padding: outPadding,
31
31
  boxShadow: mainShadow
32
32
  }"
33
- >
33
+ >
34
34
  <view
35
35
  v-if="checkImageEmpty"
36
36
  class="jfb-mall-market-one__body-title"
@@ -406,7 +406,7 @@
406
406
  bgColor: '',
407
407
  bgImage: '',
408
408
  height: 280,
409
- marketType: '',
409
+ marketType: [],
410
410
  pagesNum: 3,
411
411
  margin: {},
412
412
  padding: {},
@@ -545,7 +545,7 @@
545
545
  */
546
546
  init(container) {
547
547
  console.log(JSON.stringify(container),'containercontainercontainer');
548
-
548
+
549
549
  this.xnamespace = getContainerPropsValue(container, "content.xnamespace", this.projectAttr.business_code);
550
550
  this.productCategory = getContainerPropsValue(container, "content.productCategory", '');
551
551
 
@@ -569,7 +569,7 @@
569
569
  this.isMainRadius = getContainerPropsValue(container, 'content.isMainRadius', 0);
570
570
  this.customSubMarketName = getContainerPropsValue(container, 'content.customSubMarketName', '');
571
571
  this.customMarketName = getContainerPropsValue(container, 'content.customMarketName', '特别推荐');
572
- this.marketType = getContainerPropsValue(container, 'content.marketType', '');
572
+ this.marketType = getContainerPropsValue(container, 'content.marketType', []);
573
573
  this.isMainShadow = getContainerPropsValue(container, 'content.isMainShadow', 'N');
574
574
  this.isMainShadowBg = getContainerPropsValue(container, 'content.isMainShadowBg', '#fff');
575
575
  this.isMainShadowWidth = getContainerPropsValue(container, 'content.isMainShadowWidth', 0);
@@ -589,7 +589,7 @@
589
589
  this.contentMargin = getContainerPropsValue(container, 'content.contentMargin', {top: 0, left: 0, right: 0, bottom: 0});
590
590
  this.contentPadding = getContainerPropsValue(container, 'content.contentPadding', { top: 0, left: 0, right: 0, bottom: 0 });
591
591
  this.isPlatformTags = getContainerPropsValue(container, 'content.isPlatformTags', [[],['flashsale']], {isNoStatus: true,isBackStrictValue: true});
592
-
592
+
593
593
  //title
594
594
  this.fontSize = getContainerPropsValue(container, 'content.fontSize', '24');
595
595
  this.isTitle = getContainerPropsValue(container, 'content.isTitle', 'N');