jufubao-mall 2.0.32-beta6 → 2.0.32-beta8
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
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
<!-- #endif -->
|
|
18
18
|
<view class="jfb-mall-network-media__body" :style="[gCompStyle]">
|
|
19
19
|
<view class="media-tab" v-if="cateOneList.length > 0">
|
|
20
|
-
<view class="media-tab-hold" :style="holdTabStyleComp" v-if="!isPreview"></view>
|
|
21
|
-
<view class="media-tab-cont" :style="tabStyleComp" :class="{isPreview:isPreview}">
|
|
20
|
+
<view class="media-tab-hold" :style="[holdTabStyleComp]" v-if="!isPreview"></view>
|
|
21
|
+
<view class="media-tab-cont" :style="[tabStyleComp]" :class="{isPreview:isPreview}">
|
|
22
22
|
<cus-tab
|
|
23
23
|
class="xd-tab"
|
|
24
24
|
item-padding="0 16rpx"
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
else this.parentId = categoryParent;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
this.xnamespace =
|
|
422
|
+
this.xnamespace = gCPVal(container, 'xnamespace', this.projectAttr.business_code||this.xnamespace);
|
|
423
423
|
this.showIndex = gCPVal(container, 'showIndex', 'Y');
|
|
424
424
|
this.nowBuyText = gCPVal(container, 'nowBuyText', '立即充值');
|
|
425
425
|
let showIndexIcon = 'iconshouye1';
|
|
@@ -639,8 +639,10 @@
|
|
|
639
639
|
|
|
640
640
|
},
|
|
641
641
|
getProductInfo(item = null){
|
|
642
|
-
|
|
643
|
-
|
|
642
|
+
if(item === null) {
|
|
643
|
+
this.prodcutInfo = '';
|
|
644
|
+
this.hasProducts = 'N';
|
|
645
|
+
}
|
|
644
646
|
else {
|
|
645
647
|
this.hasProducts = 'Y';
|
|
646
648
|
this.getList(item);
|
|
@@ -707,9 +709,6 @@
|
|
|
707
709
|
|
|
708
710
|
getProductContent(product_id){
|
|
709
711
|
return new Promise((resolve)=>{
|
|
710
|
-
this.prodcutInfo = '';
|
|
711
|
-
this.prodcutContKey = Date.now();
|
|
712
|
-
|
|
713
712
|
jfbRootExec("getMallMediaProductContent", {
|
|
714
713
|
vm: this,
|
|
715
714
|
data: {
|
|
@@ -771,11 +770,13 @@
|
|
|
771
770
|
else {
|
|
772
771
|
this.$xdHideLoading();
|
|
773
772
|
this.blessingData = [];
|
|
773
|
+
this.prodcutInfo = '';
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
}).catch(err=>{
|
|
777
777
|
this.$xdHideLoading();
|
|
778
778
|
this.productList = [ ]
|
|
779
|
+
this.prodcutInfo = '';
|
|
779
780
|
})
|
|
780
781
|
},
|
|
781
782
|
//==商品相关操作=======
|
|
@@ -950,6 +951,8 @@
|
|
|
950
951
|
|
|
951
952
|
.media-content {
|
|
952
953
|
margin: 0 16rpx 16rpx;
|
|
954
|
+
position: relative;
|
|
955
|
+
z-index: 0;
|
|
953
956
|
}
|
|
954
957
|
|
|
955
958
|
.media-no-data {
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
import {dataVal, isObject, statusDataVal, statusShow} from "@/utils/AttrTools";
|
|
4
4
|
|
|
5
5
|
export default (data, gValue, gColor, oldData)=>{
|
|
6
|
-
|
|
6
|
+
let navStyle = 'line-6-8-s';
|
|
7
|
+
if(data['navStyle']) navStyle = data['navStyle'];
|
|
7
8
|
return [
|
|
8
9
|
{
|
|
9
10
|
ele: 'title',
|
|
@@ -92,7 +93,7 @@ export default (data, gValue, gColor, oldData)=>{
|
|
|
92
93
|
setting: {
|
|
93
94
|
fontSize: true,
|
|
94
95
|
weight:true,
|
|
95
|
-
bgColor:
|
|
96
|
+
bgColor: navStyle === 'tags',
|
|
96
97
|
selected:true,
|
|
97
98
|
default:{
|
|
98
99
|
color: '#333',
|