qzyReal 3 vuotta sitten
vanhempi
commit
e4d0245c33
1 muutettua tiedostoa jossa 64 lisäystä ja 0 poistoa
  1. 64 0
      app/pages/ok/registerSuccess.vue

+ 64 - 0
app/pages/ok/registerSuccess.vue

@@ -0,0 +1,64 @@
+<template>
+	<view class="box">
+		<u-icon name="checkmark-circle-fill" color="#07c160" size="200"></u-icon>
+		<text class="text">您的信息已提交,请等待审核!</text>
+		<view class="count-down-box">
+			<u-count-down :timestamp="timestamp" :show-days="false" :show-hours="false" :show-minutes="false"
+				@end="goback"></u-count-down>
+			<text>秒后自动返回登录页</text>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				timestamp: 3,
+			}
+		},
+		onBackPress() {
+			this.goback();
+			return true;
+		},
+		methods: {
+			goback() {
+				this.$common.to('/pages/index/index');
+			}
+		}
+	}
+</script>
+
+<style lang="scss">
+	page {
+		background-color: #fff;
+	}
+
+	.box {
+		display: flex;
+		flex: 1;
+		align-items: center;
+		justify-content: center;
+		flex-direction: column;
+		padding: 100rpx 0;
+
+		.text {
+			color: #191919;
+			font-size: 36rpx;
+			font-weight: bold;
+			margin-top: 40rpx;
+		}
+
+		.count-down-box {
+			display: flex;
+			flex: 1;
+			align-items: center;
+			justify-content: center;
+			margin-top: 30rpx;
+
+			text {
+				margin-left: 20rpx;
+			}
+		}
+	}
+</style>