|
@@ -87,7 +87,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 其它配件 -->
|
|
|
- <view class="nav-right-title flex align_center justify_between" @click="showOther=!showOther" style="margin-top: 20rpx;">
|
|
|
+ <view class="nav-right-title flex align_center justify_between" @click="showOther=!showOther">
|
|
|
其它配件
|
|
|
<text>{{showOther?'隐藏':'展开'}}</text>
|
|
|
</view>
|
|
@@ -133,7 +133,7 @@
|
|
|
<view v-if="partList&&partList.length==0">
|
|
|
<u-empty v-if="status!='loading'" :src="`/static/nodata.png`" icon-size="180" :text="noDataText" mode="list" :margin-top="150"></u-empty>
|
|
|
</view>
|
|
|
- <view style="padding: 20upx;">
|
|
|
+ <view style="padding: 20upx;" v-if="showOther">
|
|
|
<u-loadmore v-if="total>pageSize || status=='loading'" :status="status" />
|
|
|
</view>
|
|
|
</scroll-view>
|
|
@@ -487,7 +487,7 @@
|
|
|
},
|
|
|
// 加载更多
|
|
|
onreachBottom () {
|
|
|
- if(this.partList.length < this.total ){
|
|
|
+ if(this.partList.length < this.total && this.showOther){
|
|
|
this.pageNo++
|
|
|
this.getShelfProductList()
|
|
|
}else{
|
|
@@ -752,6 +752,7 @@
|
|
|
}
|
|
|
}
|
|
|
.right-list{
|
|
|
+ position: relative;
|
|
|
flex-grow: 1;
|
|
|
background: #fff;
|
|
|
height: 100%;
|
|
@@ -760,7 +761,8 @@
|
|
|
height: 100%;
|
|
|
.nav-right-title{
|
|
|
font-weight: bold;
|
|
|
- padding: 5upx 25upx;
|
|
|
+ padding: 20upx 25upx;
|
|
|
+ border-bottom: 2rpx solid #eee;
|
|
|
> text{
|
|
|
color: #9E9E9E;
|
|
|
font-weight: normal;
|