Browse Source

岛弹窗修改

tanxue 6 months ago
parent
commit
94d87967f9

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

@@ -506,6 +506,11 @@
 	@include ezy-no-repeat-cover;
 	background-image: url("@/static/images/study/dao-box-bj.png");
 	box-sizing: border-box;padding: 64rpx 36rpx 0;
+	.dao-popup-img{width: 481rpx;height: 615rpx;@include ezy-no-repeat-cover;margin: 0 auto;}
+	.dao-popup-btn{
+		width: 644rpx;height: 106rpx;@include ezy-no-repeat-cover;margin-top: 32rpx;
+		background-image: url("@/static/images/study/dao-box-btn.png");
+	}
 }
 
 //目录页

+ 4 - 5
pages/study/daoTipDialog.vue

@@ -1,9 +1,8 @@
 <template>
-	<uni-popup ref="daoTipPopup" type="bottom">
-		<view class="game-popup-box">
-			{{productTip}}
-			<view style="background-color: #fff;" :style="{backgroundImage: 'url(' + productTip + ')'}">123123</view>
-			<view @click="handleClose">我知道了</view>
+	<uni-popup ref="daoTipPopup" type="bottom" :is-mask-click="false">
+		<view class="dao-popup-box">
+			<view class="dao-popup-img" :style="{backgroundImage: 'url(' + productTip + ')'}"></view>
+			<view class="dao-popup-btn" @click="handleClose"></view>
 		</view>
 	</uni-popup>
 </template>

+ 3 - 3
pages/study/index.vue

@@ -103,16 +103,15 @@
 		
 	onLoad((options) => {
 		init(options);
-		// getProjectImg();
 	})
 	function getProjectImg(){
 		if(currentProduct.value ==1){
 			// 数学
-			productTipImg.value = 'static/images/study/shuxue/study-wrap-bj.png';
+			productTipImg.value = 'static/images/study/shuxue/shuxue-tip.gif';
 			getBj('shuxue')
 		}else if(currentProduct.value ==2){
 			// 英语
-			productTipImg.value = 'static/images/study/yingyu/test-item-active.png'
+			productTipImg.value = 'static/images/study/yingyu/yingyu-tip.gif'
 			getBj('yingyu');
 		}
 	}
@@ -344,6 +343,7 @@
 
 	function eggBtn() {
 		console.log('点击:开启提分之旅');
+		getProjectImg();
 		cacheManager.updateObject('auth', {
 			firstLogin: false
 		})

BIN
static/images/study/shuxue/shuxue-tip.gif


BIN
static/images/study/yingyu/yingyu-tip.gif