jufubao-base 1.0.61-beta1004 → 1.0.61-beta1006
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
|
@@ -89,15 +89,20 @@
|
|
|
89
89
|
</xd-notice-bar>
|
|
90
90
|
</view>
|
|
91
91
|
<view
|
|
92
|
-
v-if="noticeStatus && isPreview && notice === ''"
|
|
93
92
|
class="jfb-base-card-entry__body-notice"
|
|
94
|
-
|
|
93
|
+
v-if="noticeStatus && isPreview && notice === ''"
|
|
94
|
+
>
|
|
95
|
+
<view
|
|
96
|
+
class="jfb-base-card-entry__body-notice-in"
|
|
97
|
+
:style="{
|
|
95
98
|
background: noticeBackgroundColor,
|
|
96
99
|
textAlign: 'center',
|
|
97
100
|
color: dangerColor,
|
|
98
101
|
fontSize: 26 + 'rpx',
|
|
99
102
|
}"
|
|
100
|
-
|
|
103
|
+
>该组件未配置数据,因此改模块在正式环境将不显示</view>
|
|
104
|
+
</view>
|
|
105
|
+
|
|
101
106
|
<view class="jfb-base-card-entry__body-tab">
|
|
102
107
|
<view
|
|
103
108
|
@click="tabIndex = 1"
|
|
@@ -794,10 +799,14 @@ export default {
|
|
|
794
799
|
}
|
|
795
800
|
|
|
796
801
|
&-notice {
|
|
797
|
-
|
|
802
|
+
overflow: hidden;
|
|
803
|
+
width: 100%;
|
|
804
|
+
&-in {
|
|
805
|
+
margin: unit(30, rpx) unit(-35, rpx) 0 unit(-35, rpx);
|
|
806
|
+
padding: unit(22, rpx) unit(35, rpx);
|
|
807
|
+
line-height: unit(70, rpx);
|
|
808
|
+
}
|
|
798
809
|
|
|
799
|
-
padding: unit(22, rpx) unit(35, rpx);
|
|
800
|
-
line-height: unit(70, rpx);
|
|
801
810
|
}
|
|
802
811
|
|
|
803
812
|
&-tab {
|
|
@@ -69,7 +69,7 @@ export default {
|
|
|
69
69
|
|
|
70
70
|
},
|
|
71
71
|
|
|
72
|
-
async handleCardComputed(){
|
|
72
|
+
async handleCardComputed(paddingBottom){
|
|
73
73
|
this.$xdShowLoading({});
|
|
74
74
|
if(this.contentStatus === false) await this.getBoxTop();
|
|
75
75
|
this.$nextTick(()=>{
|
|
@@ -79,7 +79,7 @@ export default {
|
|
|
79
79
|
let card = this.cardComputedList.filter(it=>{
|
|
80
80
|
return item.dataset.card === it.card_number;
|
|
81
81
|
})[0];
|
|
82
|
-
card['height'] = item.height +
|
|
82
|
+
card['height'] = item.height + (paddingBottom * this.$rpxNum);
|
|
83
83
|
card['top'] = this.cardNextTop;
|
|
84
84
|
this.cardNextTop = this.cardNextTop + card['height']
|
|
85
85
|
return card
|
|
@@ -95,7 +95,7 @@ export default {
|
|
|
95
95
|
})
|
|
96
96
|
},
|
|
97
97
|
|
|
98
|
-
handleCardInit(cardList,isChange = false){
|
|
98
|
+
handleCardInit(cardList,isChange = false, paddingBottom = 30){
|
|
99
99
|
let newCardList = this.$xdUniHelper.cloneDeep(cardList);
|
|
100
100
|
let validCardList = this.getCardGroupItem(newCardList.list.filter((item) => {
|
|
101
101
|
if(isChange === true) return item["is_valid"] === "Y";
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
});
|
|
107
107
|
this.cardOrgList = this.$xdUniHelper.cloneDeep(validCardList);
|
|
108
108
|
this.cardComputedList = this.cardOrgList.slice(this.cardPageNum,this.cardPageLen);
|
|
109
|
-
this.handleCardComputed().then().catch();
|
|
109
|
+
this.handleCardComputed(paddingBottom).then().catch();
|
|
110
110
|
},
|
|
111
111
|
|
|
112
112
|
onJfbReachBottom(){
|