소스 검색

样式修改

tanxue 2 달 전
부모
커밋
ab3aba6c5e
3개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 1
      common/styles/global/components.scss
  2. 1 1
      common/styles/global/pages.scss
  3. 1 1
      pages/admin/Kaoshi/list.vue

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

@@ -29,7 +29,7 @@ view{box-sizing: border-box;}
 
 /***** tabbar  *****/
 .phone-custom-tabbar{
-	width: 100%;height: 150rpx;background-color: #fff;border-top: 1rpx solid #e5e4e4;z-index: 9;
+	width: 100%;height: 130rpx;background-color: #fff;border-top: 1rpx solid #e5e4e4;z-index: 9;
 	position: fixed;left: var(-window-left);right: var(-window right);bottom: var(--window-bottom);
 	box-sizing: border-box;padding-bottom: env(safe-area-inset-bottom);display: flex;justify-content: space-around;align-items: center;
 	.tabbar-item{text-align: center;width: 160rpx;}
@@ -37,6 +37,10 @@ view{box-sizing: border-box;}
 	.tabbar-item-text{font-size: 28rpx;color: #333;}
 }
 
+/***** list列表滚动  *****/
+.phone-scroll-view{
+	.uni-load-more{margin-bottom:var(--status-bar-height);}
+}
 
 /***** 富文本处理  *****/
 @mixin ezy-rich-text() {

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

@@ -30,7 +30,7 @@
 /*** 考试页面***/
 .admin-kaoshi-page {
 	box-sizing: border-box;
-	.kaoshi-scroll-view {height: calc(100vh - 166px);}
+	.kaoshi-scroll-view {height: calc(100vh - 322rpx);}
 	.admin-list-box{
 		background-color: #f4f6fa!important;
 		.admin-list-item-box{margin-bottom: 20rpx;}

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

@@ -15,7 +15,7 @@
 		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="kaoshi-scroll-view">
+				class="kaoshi-scroll-view 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>