浏览代码

调整样式

zhengnaiwen_citu 7 月之前
父节点
当前提交
f9cf69f39d
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      pages/index/communicate.vue

+ 8 - 2
pages/index/communicate.vue

@@ -1,6 +1,6 @@
 <template>
-  <layout-page class="ss-m-x-15">
-		<view class="height">
+  <layout-page>
+		<view class="height defaultBgc">
 			<scroll-view class="scrollBox" scroll-y="true" >
 				<view class="box" v-for="item in items" :key="item.id" @tap="handleTo(item)">
 					<view class="box-header">
@@ -32,6 +32,7 @@
 						<view class="box-content-text">{{ timesTampChange(+item.timestamp.padEnd(13, '0')) }}</view>
 					</view>
 				</view>
+				<uni-load-more status="noMore" />
 				<image
 					v-if=" items.length===0 "
 					src="https://minio.citupro.com/dev/static/nodata.png"
@@ -140,7 +141,12 @@ async function init () {
 </script>
 
 <style scoped lang="scss">
+.scrollBox {
+	padding-bottom: 24rpx;
+  box-sizing: border-box;
+}
 .box {
+	background: #FFF;
 	height: 130rpx;
 	padding: 20rpx;
 	box-sizing: border-box;