Browse Source

弹窗修改

tanxue 1 month ago
parent
commit
3dc5e75c87
2 changed files with 3 additions and 3 deletions
  1. 1 1
      common/styles/global/pages.scss
  2. 2 2
      pages/xinshuxue/components/danyuanInfo.vue

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

@@ -340,7 +340,7 @@
 
 
 // 学习大纲
 // 学习大纲
 .xuexi-dagang-page{
 .xuexi-dagang-page{
-	width: 100%;height: 92vh;border-radius: 16rpx 16rpx 0 0;z-index: 10;position: relative;
+	width: 100%;height: calc(90vh - var(--status-bar-height));border-radius: 16rpx 16rpx 0 0;z-index: 10;position: relative;
 	background-color: #fff;box-shadow: 0 0rpx 4rpx rgba(100, 159, 241, 0.2);
 	background-color: #fff;box-shadow: 0 0rpx 4rpx rgba(100, 159, 241, 0.2);
 	display: flex;flex-direction: column;
 	display: flex;flex-direction: column;
 	box-sizing: border-box;padding: 36rpx 0 120rpx;
 	box-sizing: border-box;padding: 36rpx 0 120rpx;

+ 2 - 2
pages/xinshuxue/components/danyuanInfo.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view>
 	<view>
-		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
-			mask-background-color="rgba(255, 255, 255, 0.1);" type="top">
+		<uni-popup ref="popupRef" :animation="true" :is-mask-click="false"
+			mask-background-color="rgba(255, 255, 255, 0.1);" type="bottom">
 			<view class="xuexi-dagang-page">
 			<view class="xuexi-dagang-page">
 				<view class="dagang-title">
 				<view class="dagang-title">
 					<text>{{danyuanInfo.danyuanIntro}}</text>
 					<text>{{danyuanInfo.danyuanIntro}}</text>