lyuis 7 ay önce
ebeveyn
işleme
74b0859725
4 değiştirilmiş dosya ile 99 ekleme ve 6 silme
  1. 88 0
      components/nomore.vue
  2. 8 4
      pages/index/index.vue
  3. 3 2
      pages/my/index.vue
  4. 0 0
      static/images/nomore.svg

+ 88 - 0
components/nomore.vue

@@ -0,0 +1,88 @@
+<template>
+	<view class="page-box">
+		<view class="centre">
+			<image :class="size" src="../static/images/nomore.svg" mode="widthFix"></image>
+			<view class="tips">
+				{{content}}
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		props: {
+			content: {
+				type: String,
+				default: '因你看见,才有底线'
+			},
+			size:{
+				type: String,
+				default: 'medium'
+			},
+			isShow:{
+				type:Boolean,
+				default:true
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.page-box {
+		position: relative;
+		left: 0;
+		// height: 50vh;
+		
+	}
+
+	.centre {
+		padding: 80rpx 0;
+		display: flex;
+		flex-flow: column nowrap;
+		justify-content: space-around;
+		align-items: center;
+		image {
+			// width: 387rpx;
+			// height: 341rpx;
+			display: block;
+			width:200rpx;
+			height: auto;
+			// margin-bottom: 20rpx;
+			// border: 1px dotted #000000;
+		}
+		.large{
+			width:200rpx;
+			height: auto;
+		}
+		.medium{
+			width:100rpx;
+			height: auto;
+		}
+		.mini{
+			width:50rpx;
+			height: auto;
+		}
+
+		.tips {
+			margin-top: 30rpx;
+			color: rgba(200, 201, 204, 1);
+			font-family: DM Sans;
+			font-size: 28rpx;
+			font-weight: 400;
+			line-height: 20px;
+			letter-spacing: 0px;
+			text-align: center;
+		}
+
+		.btn {
+			margin: 80rpx auto;
+			width: 600rpx;
+			border-radius: 32rpx;
+			line-height: 90rpx;
+			color: #ffffff;
+			font-size: 34rpx;
+			background: #5074FF;
+		}
+	}
+</style>

+ 8 - 4
pages/index/index.vue

@@ -226,6 +226,7 @@
 										</view>
 									</view>
 								</view>
+								<nomore v-if="page <= totlo"></nomore>
 							</scroll-view>
 						</view>
 					</view>
@@ -467,12 +468,14 @@
 
 <script>
 import empty from '../../components/empty.vue'
+import nomore from '../../components/nomore.vue'
 import permision from '@/js_sdk/wa-permission/permission.js'
 import companyListIndex from '@/components/companyListIndex/companyListIndex.vue'
 export default {
 	components: {
 		empty,
-		companyListIndex
+		companyListIndex,
+		nomore
 	},
 	data() {
 		return {
@@ -1822,7 +1825,10 @@ export default {
 .page-container {
 	display: flex;
 	flex-direction: column;
-	height: calc(100vh - 50px);
+	height:100vh;
+	//#ifdef H5
+	height: calc(100vh - var(--window-bottom));
+	//#endif
 	// margin-bottom: 60px;
 }
 
@@ -2395,8 +2401,6 @@ page {
 	width: 100%;
 	flex: 1;
 	overflow: auto;
-	margin-bottom: 10rpx;
-
 	.gwList-box {
 		width: 710rpx;
 		height: 100%;

+ 3 - 2
pages/my/index.vue

@@ -2032,8 +2032,9 @@ page {
 	box-sizing: border-box;
 
 	image {
-		width: 32rpx;
-		height: 32rpx;
+		width: 50rpx;
+		height: 50rpx;
+		padding:9rpx;
 	}
 }
 

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
static/images/nomore.svg


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor