Commit c0d04b41 authored by tangfh's avatar tangfh

+

parent acb05240
......@@ -12,10 +12,10 @@
:item="item" @onItemClick="onItemClick"></view>
</view>
<c-status-view @onStatusClick="onStatusClick" v-if="contentStatus.value"></c-status-view>
<uni-load-more :status="loadMoreViewStatus" :icon-size="16" v-if="items.length > 0"
<uni-load-more :status="loadMoreStatus" :icon-size="16" v-if="items.length > 0"
:content-text="loadMoreViewContentText" />
</scroll-view>
<text class="text-bottom-btn" @click="onBottomBtnClick">我要报修</text>
<text class="text-bottom-btn" @click="onBottomBtnClick">底部按钮</text>
</view>
</template>
......@@ -33,7 +33,7 @@
loadMoreViewContentText: {
contentnomore: "到底啦~"
},
loadMoreViewStatus: 'noMore',
loadMoreStatus: 'noMore',
page: 1,
total_page: 1,
loadMoreStatus: null,
......@@ -48,7 +48,7 @@
//scroll-view的高度 = 屏幕高度 -(顶部状态栏高度 + 导航栏高度) -(底部tabBar高度 + 底部安全区域高度)
this.scrollViewHeight = systemInfo.screenHeight - (uni.getSystemInfoSync()
.statusBarHeight + this.$refs.navBar.height) - (systemInfo.safeAreaInsets.bottom) -
90 / getApp().globalData.pxToRpxScale;
84 / getApp().globalData.pxToRpxScale;
this.init(option);
},
onShow() {
......@@ -121,7 +121,7 @@
let list = data.list;
try {
this.page++;
this.total_page = data.total_list;
this.total_page = data.total_list / 10 + (data.total_list % 10 > 0 ? 1 : 0);
} catch (e) {
this.total_page = 1;
console.log(e);
......
......@@ -195,8 +195,8 @@ input {
border-radius: 10rpx;
margin-left: 32rpx;
margin-right: 32rpx;
height: 90rpx;
width: 90%;
height: 84rpx;
width: 92%;
font-size: $uni-font-size-base;
}
......@@ -304,6 +304,10 @@ input {
font-size: $uni-font-size-sm;
color: $com-text-color-666;
}
.text-normal-666 {
font-size: $uni-font-size-sm;
color: $com-text-color-666;
}
.text-small-grey {
font-size: $uni-font-size-sm;
color: $com-text-color-grey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment