wkw 6 месяцев назад
Родитель
Сommit
37f42c7192
3 измененных файлов с 32 добавлено и 2 удалено
  1. 32 2
      pages/my/index.vue
  2. BIN
      static/images/hxr.jpg
  3. BIN
      static/images/qy.jpg

+ 32 - 2
pages/my/index.vue

@@ -781,6 +781,17 @@
 				<view class="report-btn" @click="showReportModal = false">确认</view>
 			</view>
 		</u-popup>
+		<u-popup v-model="showNotice" mode="center">
+			<view class="flex flex-direction" style="background-color: rgba(0, 0, 0, 0.6);height: 85vh;">
+				<view class="pop-image" v-if="userType == 1">
+					<image src="/static/images/hxr.jpg"></image>
+				</view>
+				<view class="pop-image" v-if="userType == 2">
+					<image src="/static/images/qy.jpg"></image>
+				</view>
+				<u-button @click="showNotice = false" class="pop-btn">确认</u-button>
+			</view>
+		</u-popup>
 	</view>
 </template>
 
@@ -856,7 +867,8 @@ export default {
 			companyInfo: "",
 			companyStatus: "", //企业认证状态(1:审核中 2:已通过 3:已拒绝 空:未认证)
 			isAndroid: false,
-			iosAudit: 1
+			iosAudit: 1,
+			showNotice:false
 		};
 	},
 	onLoad(e) {
@@ -897,7 +909,12 @@ export default {
 			that.companyInfo = '';
 		})
 		console.log(uni.getStorageSync("userType"))
-		this.$queue.changeTabbar(uni.getStorageSync("userType") || 1)
+		this.$queue.changeTabbar(uni.getStorageSync("userType") || 1);
+		setTimeout(()=>{
+			if(this.userType){
+				this.showNotice = true;
+			}
+		},1500)
 	},
 	onUnload() {
 		uni.$off('changeRole')
@@ -2391,4 +2408,17 @@ page {
 		margin-bottom: 8rpx;
 	}
 }
+.pop-image{
+	flex: 1;
+	width: 85vw;
+	image{
+		width: 100%;
+		height: 100%;
+	}
+}
+.pop-btn{
+	width: 100%;
+	margin-top: 20rpx;
+	border-radius: 40rpx;
+}
 </style>

BIN
static/images/hxr.jpg


BIN
static/images/qy.jpg