Browse Source

弹窗修改

tanxue 1 month ago
parent
commit
e460c72d65

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

@@ -340,7 +340,7 @@
 
 
 // 学习大纲
 // 学习大纲
 .xuexi-dagang-page{
 .xuexi-dagang-page{
-	width: 100%;height: 95vh;border-radius: 16rpx 16rpx 0 0;
+	width: 100%;height: 92vh;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;

+ 3 - 3
pages/login/agreeContentDialog.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
-	  <uni-popup ref="agreeContentPopup" :animation="false" :is-mask-click="false"
-	  mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
+	  <uni-popup ref="agreeContentPopup" :animation="false" :is-mask-click="false" type="top"
+	  mask-background-color="rgba(255, 255, 255, 0.6);">
 	  <view class="agree-content-dialog">
 	  <view class="agree-content-dialog">
 		<view class="icon-title-navBar-box">
 		<view class="icon-title-navBar-box">
 			<view @click="handleClose" class="nav-bar-icon"></view>
 			<view @click="handleClose" class="nav-bar-icon"></view>
@@ -497,7 +497,7 @@ function formatText(text) {
 }
 }
 // 打开弹窗
 // 打开弹窗
 function handleShow() {
 function handleShow() {
-	agreeContentPopup.value.open('bottom');
+	agreeContentPopup.value.open();
 }
 }
 // 关闭弹窗
 // 关闭弹窗
 function handleClose() {
 function handleClose() {

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

@@ -1,6 +1,6 @@
 <template>
 <template>
 	<view>
 	<view>
-	<uni-popup ref="popupRef" :animation="true" :is-mask-click="false"
+	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false" type="top"
 		mask-background-color="rgba(0,0,0, 0.76);" class="ezy-popup-width-all">
 		mask-background-color="rgba(0,0,0, 0.76);" class="ezy-popup-width-all">
 		<view class="dycs-dialog">
 		<view class="dycs-dialog">
 			<!-- 返回区域 -->
 			<!-- 返回区域 -->
@@ -60,7 +60,7 @@
 		data.right = options.right;
 		data.right = options.right;
 		data.wrong = options.wrong;
 		data.wrong = options.wrong;
 
 
-		popupRef.value.open('bottom');
+		popupRef.value.open();
 	}
 	}
 
 
 	function closePopup() {
 	function closePopup() {