jufubao-mall 2.0.32-beta2 → 2.0.32-beta6
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
|
@@ -80,7 +80,12 @@
|
|
|
80
80
|
v-for="item in blessingData"
|
|
81
81
|
:key="item.id"
|
|
82
82
|
>
|
|
83
|
-
<input
|
|
83
|
+
<input
|
|
84
|
+
:maxlength="item.struct.maxlength||16"
|
|
85
|
+
:minlength="item.struct.minlength||0"
|
|
86
|
+
v-model="item.data"
|
|
87
|
+
placeholder-style="color: #ccc"
|
|
88
|
+
:placeholder="item.value || item.struct.placeholder" />
|
|
84
89
|
<view
|
|
85
90
|
class="media-input-tip"
|
|
86
91
|
v-if="item.struct && item.struct.explain"
|
|
@@ -124,6 +129,13 @@
|
|
|
124
129
|
<view v-if="item.product_id === productId"></view>
|
|
125
130
|
</view>
|
|
126
131
|
</view>
|
|
132
|
+
<view class="media-product-nodata" v-if="productList && productList.length === 0">
|
|
133
|
+
<xd-no-data
|
|
134
|
+
icon-type="product"
|
|
135
|
+
:scale-size="2"
|
|
136
|
+
height="100%"
|
|
137
|
+
>当前暂无商品</xd-no-data>
|
|
138
|
+
</view>
|
|
127
139
|
<view class="media-detail" v-if="prodcutInfo">
|
|
128
140
|
<view>商品详情</view>
|
|
129
141
|
<view>
|
|
@@ -209,7 +221,8 @@
|
|
|
209
221
|
if(this.cateTwoList.length > 0) other += 190 //二级分类高度
|
|
210
222
|
other += 80 //底部缝隙高度
|
|
211
223
|
other += 120 //底部高度
|
|
212
|
-
other += 32
|
|
224
|
+
other += 32;
|
|
225
|
+
if(this.cateThreeList.length === 0) other -= 80
|
|
213
226
|
return {
|
|
214
227
|
height: `calc(${this.layoutInfo.bodyMinHeightPx}px - ${other* this.$rpxNum}px)`
|
|
215
228
|
}
|
|
@@ -389,7 +402,6 @@
|
|
|
389
402
|
if(this.$configProject['isPreview']) {
|
|
390
403
|
this.addressPid = 157696
|
|
391
404
|
}
|
|
392
|
-
|
|
393
405
|
await this.getCategoryList();
|
|
394
406
|
},
|
|
395
407
|
|
|
@@ -407,7 +419,7 @@
|
|
|
407
419
|
else this.parentId = categoryParent;
|
|
408
420
|
}
|
|
409
421
|
|
|
410
|
-
this.xnamespace = gCPVal(container, 'xnamespace', this.projectAttr.business_code||this.xnamespace);
|
|
422
|
+
this.xnamespace = 'ad5cb47e'//gCPVal(container, 'xnamespace', this.projectAttr.business_code||this.xnamespace);
|
|
411
423
|
this.showIndex = gCPVal(container, 'showIndex', 'Y');
|
|
412
424
|
this.nowBuyText = gCPVal(container, 'nowBuyText', '立即充值');
|
|
413
425
|
let showIndexIcon = 'iconshouye1';
|
|
@@ -736,7 +748,7 @@
|
|
|
736
748
|
page_token: this.page_token,
|
|
737
749
|
page_size: this.page_size,
|
|
738
750
|
custom_category_id: cate.category_id,
|
|
739
|
-
|
|
751
|
+
is_remove_same_prefix_name: 'Y'
|
|
740
752
|
}
|
|
741
753
|
|
|
742
754
|
//设置是否展示划线价格
|
|
@@ -758,6 +770,7 @@
|
|
|
758
770
|
}
|
|
759
771
|
else {
|
|
760
772
|
this.$xdHideLoading();
|
|
773
|
+
this.blessingData = [];
|
|
761
774
|
}
|
|
762
775
|
|
|
763
776
|
}).catch(err=>{
|
|
@@ -861,7 +874,7 @@
|
|
|
861
874
|
display: flex;
|
|
862
875
|
justify-content: flex-start;
|
|
863
876
|
white-space: nowrap;
|
|
864
|
-
padding: 16rpx
|
|
877
|
+
padding: 16rpx 0 30rpx 32rpx;
|
|
865
878
|
}
|
|
866
879
|
&-item {
|
|
867
880
|
margin-right: 16rpx;
|
|
@@ -943,7 +956,6 @@
|
|
|
943
956
|
margin: 0 16rpx 16rpx;
|
|
944
957
|
background-color: #fff;
|
|
945
958
|
border-radius: 16rpx;
|
|
946
|
-
min-height: var(--g-comp-min-height);
|
|
947
959
|
}
|
|
948
960
|
|
|
949
961
|
.media-input {
|
|
@@ -965,7 +977,8 @@
|
|
|
965
977
|
|
|
966
978
|
& > input {
|
|
967
979
|
padding: 20rpx;
|
|
968
|
-
background-color: #
|
|
980
|
+
background-color: #fff;
|
|
981
|
+
border: 1px solid #ccc;
|
|
969
982
|
height: 40rpx;
|
|
970
983
|
line-height: 40rpx;
|
|
971
984
|
border-radius: 16rpx;
|
|
@@ -1022,7 +1035,14 @@
|
|
|
1022
1035
|
|
|
1023
1036
|
}
|
|
1024
1037
|
}
|
|
1025
|
-
|
|
1038
|
+
.media-product-nodata {
|
|
1039
|
+
padding: 24rpx;
|
|
1040
|
+
border-radius: var(--g-comp-radius);
|
|
1041
|
+
overflow: hidden;
|
|
1042
|
+
background: rgba(255, 255, 255, 1);
|
|
1043
|
+
margin-bottom: 24rpx;
|
|
1044
|
+
height: 700rpx;
|
|
1045
|
+
}
|
|
1026
1046
|
.media-product {
|
|
1027
1047
|
padding: 24rpx;
|
|
1028
1048
|
border-radius: var(--g-comp-radius);
|
|
@@ -1035,6 +1055,8 @@
|
|
|
1035
1055
|
align-items: center;
|
|
1036
1056
|
flex-flow: wrap;
|
|
1037
1057
|
|
|
1058
|
+
|
|
1059
|
+
|
|
1038
1060
|
&-item {
|
|
1039
1061
|
width: calc((100% - 48rpx)/3);
|
|
1040
1062
|
flex-shrink: 0;
|