tanxue 1 месяц назад
Родитель
Сommit
c9df85b723

+ 1 - 1
components/chengji/chengji.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false" type="top"
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			<view class="ezy-result-page" :style="{backgroundImage: 'url(' + courseBjFun() + ')'}">
 			<view class="ezy-result-page" :style="{backgroundImage: 'url(' + courseBjFun() + ')'}">
 				<view class="icon-title-navBar-box">
 				<view class="icon-title-navBar-box">

+ 1 - 1
components/dialog/duihuanmaDialog.vue

@@ -1,6 +1,6 @@
 <!-- 小弹窗 一行文字 -->
 <!-- 小弹窗 一行文字 -->
 <template>
 <template>
-	<uni-popup ref="tipSmallPopup" :animation="false" :is-mask-click="false"
+	<uni-popup ref="tipSmallPopup" :animation="false" :is-mask-click="false" type="top"
 	 mask-background-color="rgba(255, 255, 255, 0.6);">
 	 mask-background-color="rgba(255, 255, 255, 0.6);">
 	 <view class="ezy-tip-dialog tip-small-dialog duihuan-dialog">
 	 <view class="ezy-tip-dialog tip-small-dialog duihuan-dialog">
 		<view class="tip-content-box">
 		<view class="tip-content-box">

+ 2 - 2
components/goLogin/goLogin.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-	<uni-popup ref="dlRef" :animation="false" :is-mask-click="false" mask-background-color="rgba(255, 255, 255, 0.6);">
+	<uni-popup ref="dlRef" :animation="false" :is-mask-click="false" type="top" mask-background-color="rgba(255, 255, 255, 0.6);">
 		<view class="ezy-login-page go-login-page">
 		<view class="ezy-login-page go-login-page">
 			<view @click="handleBack" class="ezy-nav-bar-icon yzm-nav-bar-icon"></view>
 			<view @click="handleBack" class="ezy-nav-bar-icon yzm-nav-bar-icon"></view>
 			<icon class="login-img"></icon>
 			<icon class="login-img"></icon>
@@ -101,7 +101,7 @@
 	const sliderData = reactive({})
 	const sliderData = reactive({})
 
 
 	function showDl() {
 	function showDl() {
-		dlRef.value.open('bottom');
+		dlRef.value.open();
 		loginData.buttonText = '获取验证码';
 		loginData.buttonText = '获取验证码';
 		clearInterval(loginData.intervalId);
 		clearInterval(loginData.intervalId);
 		loginData.intervalId = null;
 		loginData.intervalId = null;

+ 1 - 1
components/loginComp/index.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false" type="top"
 		mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 		mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 		<view>
 		<view>
 			<!-- 手机号输入框 -->
 			<!-- 手机号输入框 -->

+ 1 - 1
components/points/uni-points.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
 	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
 	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
-	 mask-background-color="rgba(51, 137, 217, 0.65);">
+	 type="top" mask-background-color="rgba(51, 137, 217, 0.65);">
 		<view class="exam-score-dialog" :class="getDialogClass()">
 		<view class="exam-score-dialog" :class="getDialogClass()">
 			<view class="score-content-box">
 			<view class="score-content-box">
 				<view class="right-error-row">
 				<view class="right-error-row">

+ 2 - 2
components/questionJiexi/questionJiexi.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
 	<view>
 	<view>
-		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false" type="top"
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			<view class="ezy-dajx-page" :style="{backgroundImage: 'url(' + courseBjFun() + ')'}">
 			<view class="ezy-dajx-page" :style="{backgroundImage: 'url(' + courseBjFun() + ')'}">
 				<view class="icon-title-navBar-box">
 				<view class="icon-title-navBar-box">
@@ -29,7 +29,7 @@
 				</view>
 				</view>
 			</view>
 			</view>
 		</uni-popup>
 		</uni-popup>
-		<uni-popup ref="popupRef2" :animation="false" :is-mask-click="false"
+		<uni-popup ref="popupRef2" :animation="false" :is-mask-click="false" type="top"
 			mask-background-color="rgba(51, 137, 217, 0.65);">
 			mask-background-color="rgba(51, 137, 217, 0.65);">
 			<view class="course-finish-dialog">
 			<view class="course-finish-dialog">
 				<view class="text-score">{{credit}}</view>
 				<view class="text-score">{{credit}}</view>

+ 1 - 1
components/questionJiexi/questionJiexiYingyu.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
 	<view>
 	<view>
-		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false" type="top"
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			<view class="ezy-dajx-page"  :style="{backgroundImage: 'url(' + courseBjFun() + ')'}">
 			<view class="ezy-dajx-page"  :style="{backgroundImage: 'url(' + courseBjFun() + ')'}">
 				<view class="icon-title-navBar-box">
 				<view class="icon-title-navBar-box">

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

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view>
 	<view>
-		<uni-popup ref="popupRef" :animation="true" :is-mask-click="false"
-			mask-background-color="rgba(255, 255, 255, 0.1);" type="bottom">
+		<uni-popup ref="popupRef" :animation="false" :is-mask-click="false"
+			mask-background-color="rgba(255, 255, 255, 0.1);" type="top">
 			<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>

+ 3 - 3
pages/xinshuxue/components/questionJiexi.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
 	<view>
 	<view>
-		<uni-popup ref="popupRef" :animation="true" :is-mask-click="false"
+		<uni-popup ref="popupRef" :animation="true" :is-mask-click="false" type="top"
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			<view class="ezy-dajx-page">
 			<view class="ezy-dajx-page">
 				<view class="icon-title-navBar-box">
 				<view class="icon-title-navBar-box">
@@ -73,7 +73,7 @@
 		methods: {
 		methods: {
 			playEnd(data) {
 			playEnd(data) {
 				plus.screen.lockOrientation('portrait-primary');
 				plus.screen.lockOrientation('portrait-primary');
-				this.$refs.popupRef2.open('bottom');
+				this.$refs.popupRef2.open();
 			},
 			},
 			goBack() {
 			goBack() {
 				plus.screen.unlockOrientation();
 				plus.screen.unlockOrientation();
@@ -90,7 +90,7 @@
 				//this.videoId = 'b997f16cb9cb474cb93526cff77d8801'
 				//this.videoId = 'b997f16cb9cb474cb93526cff77d8801'
 				//	this.progressMarkers = item.progressMarkers
 				//	this.progressMarkers = item.progressMarkers
 				this.getLive(); //获取播放凭证
 				this.getLive(); //获取播放凭证
-				this.$refs.popupRef.open('bottom')
+				this.$refs.popupRef.open()
 			},
 			},
 			handleBack(item) {
 			handleBack(item) {
 				this.$refs.popupRef.close()
 				this.$refs.popupRef.close()

+ 2 - 2
pages/xinshuxue/components/unitAnswer.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(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			mask-background-color="rgba(255, 255, 255, 0.6);" class="ezy-popup-width-all">
 			<view class="ezy-result-page">
 			<view class="ezy-result-page">
 				<view class="icon-title-navBar-box">
 				<view class="icon-title-navBar-box">
@@ -140,7 +140,7 @@
 
 
 	// 切换成绩
 	// 切换成绩
 	function showPopup() {
 	function showPopup() {
-		popupRef.value.open('bottom')
+		popupRef.value.open()
 	}
 	}
 
 
 	function closePopup() {
 	function closePopup() {