tanxue 7 місяців тому
батько
коміт
00dcacca04

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

@@ -39,6 +39,11 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
 @mixin ezy-no-repeat-contain($position: center) {
   background-position: $position;background-size: contain;background-repeat: no-repeat;
 }
+// 全屏的popup弹窗
+.ezy-popup-width-all{
+	width: 100%;
+	.uni-popup__wrapper{width: 100%;}
+	}
 
 /***** tabbar  *****/
 .ezy-custom-tabbar{

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

@@ -157,7 +157,7 @@
 	.grades-body{
 		width: 752rpx;max-width: 100%;height: 1212rpx;display: flex;flex-direction: column;margin: 0 auto;
 		background-image: url("@/static/images/grade/grades-border.png");@include ezy-no-repeat-cover(top);
-		position: absolute;bottom: 2%;left: 50%;transform: translateX(-50%);
+		position: absolute;left: 50%;transform: translateX(-50%);top: 24%;
 	}
 	.grades-change-title{
 		width: 577rpx;height: 92rpx;margin: 10% auto 0;
@@ -185,16 +185,16 @@
 	.grade-confirm-btn:after{display: none;}
 	/* 针对小屏幕设备 */
 	@media (max-height: 800px) {
-		min-height: 1500rpx;
-		.grades-body{bottom: unset;top:26%;zoom:0.9;}
+		min-height: 1300rpx;
+		.grades-body{zoom:0.9;bottom: 1%;top: unset;}
 	}
 	@media (max-height: 700px) {
-		min-height: 1400rpx;
-		.grades-body{top:23%;zoom:0.84;}
+		min-height: 1200rpx;
+		.grades-body{zoom:0.8;}
 	}
 	@media (max-height: 480px) {
-		min-height: 1500rpx;
-		.grades-body{top:25%;zoom:0.92;}
+		min-height: 1200rpx;
+		.grades-body{zoom:0.75;}
 	}
 	
 }

+ 2 - 9
components/chengji/chengji.vue

@@ -1,5 +1,6 @@
 <template>
-	<uni-popup ref="popupRef" background-color="#fff" type="left" class="popup-container">
+	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+	 mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 		<view class="ezy-result-page">
 			<view class="icon-title-navBar-box">
 				<view @click="handleBack" class="nav-bar-icon"></view>
@@ -134,11 +135,3 @@
 		showPopup
 	})
 </script>
-
-<style lang="scss">
-	.popup-container {
-		::v-deep .uni-popup__wrapper.left {
-			width: 100vw;
-		}
-	}
-</style>

+ 2 - 7
components/questionJiexi/questionJiexi.vue

@@ -1,5 +1,6 @@
 <template>
-	<uni-popup ref="popupRef" background-color="#fff" type="left" class="popup-container">
+	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+	 mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 		<view class="ezy-dajx-page">
 			<view class="icon-title-navBar-box">
 				<view @click="handleBack" class="nav-bar-icon"></view>
@@ -43,9 +44,3 @@
 	
 	defineExpose({showPopup})
 </script>
-
-<style lang="scss">
-	.popup-content {
-		width: 100vw;
-	}
-</style>