Explorar o código

1.列表高度修改
2.搜索框样式优化

tanxue hai 2 meses
pai
achega
c24ca4be45

+ 1 - 4
common/styles/global/components.scss

@@ -165,10 +165,7 @@ view{box-sizing: border-box;}
 	
 /***** 查询框  *****/	
 .phone-search-box{
-	width: 100%;height: 110rpx;background-color:#f4f6fa;
-	padding: calc(12rpx + var(--status-bar-height)) 42rpx 20rpx;box-sizing: border-box;
-	position: relative;
-	
+	width: 100%;padding: 20rpx 42rpx;box-sizing: border-box;background-color:#f4f6fa;position: relative;
 	.search-input {
 		height: 70rpx;line-height: 70rpx;font-size: 28rpx;background-color:#fff;
 		border-radius: 35rpx;padding: 0 70rpx 0 20rpx;

+ 1 - 1
common/styles/global/pages.scss

@@ -177,7 +177,7 @@
 .phone-list-page{
 	box-sizing: border-box;
 	.phone-scroll-view {height: calc(100vh - 182rpx);}
-	// .client-serch-scroll-view{height: calc(100vh - 322rpx);}
+	.admin-phone-scroll-view{height: calc(100vh - 292rpx - var(--status-bar-height));}
 	.admin-list-box{
 		.admin-list-item-box{border-bottom: 20rpx solid #f4f6fa;}
 		.uni-list--border,.uni-list--border-top{display: none;}

+ 1 - 1
pages/admin/Chengji/list.vue

@@ -14,7 +14,7 @@
 		<!-- 课程列表 -->
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view">
+				class="admin-phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>

+ 1 - 1
pages/admin/Kaoshi/list.vue

@@ -14,7 +14,7 @@
 		<!-- 考试列表 -->
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view">
+				class="admin-phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>

+ 1 - 1
pages/admin/Kecheng/list.vue

@@ -14,7 +14,7 @@
 		<!-- 课程列表 -->
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view">
+				class="admin-phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>

+ 1 - 1
pages/admin/Lianxi/list.vue

@@ -14,7 +14,7 @@
 		<!-- 考试列表 -->
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view">
+				class="admin-phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>