瀏覽代碼

样式优化

tanxue 2 月之前
父節點
當前提交
1e81d30fc2
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      common/styles/global/pages.scss
  2. 1 1
      pages/admin/Chengji/list.vue

+ 3 - 0
common/styles/global/pages.scss

@@ -179,8 +179,11 @@
 /*** 考试页面***/
 .phone-list-page{
 	box-sizing: border-box;
+	// 只有tabbar的
 	.phone-scroll-view {height: calc(100vh - 182rpx - var(--status-bar-height));}
+	// 带筛选的
 	.phone-scroll-saixuan-view {height: calc(100vh - 270rpx - var(--status-bar-height));}
+	// 带搜索的
 	.admin-phone-scroll-view{height: calc(100vh - 312rpx - var(--status-bar-height));}
 	.admin-list-box{
 		.admin-list-item-box{border-bottom: 20rpx solid #f4f6fa;}

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

@@ -25,7 +25,7 @@
 		<!-- 课程列表 -->
 		<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="jz-scroll-view">
+				class="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>