wangxy 1 месяц назад
Родитель
Сommit
81389700c8

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

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+		<uni-popup ref="popupRef" :animation="true" :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">
@@ -140,7 +140,7 @@
 
 	// 切换成绩
 	function showPopup() {
-		popupRef.value.open()
+		popupRef.value.open('bottom')
 	}
 
 	function closePopup() {

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

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

+ 1 - 1
pages/xinshuxue/unitTest.vue

@@ -157,7 +157,7 @@
 
 	function handleBack() {
 		// uni.navigateBack()
-		uni.redirectTo({
+		uni.reLaunch({
 			url: "/pages/chanpinneirong/index"
 		})
 	}