index.vue 2.5 KB
<template>
	<view class="content">
		<view class="TextRow" @click="GoZX">
			<view style="display: flex;flex-direction: column;">
				<text class="title">报名中心</text>
				<text class="detail">查看报名详情</text>
			</view>
			<view>
				<image src="../../static/ic_15@2x.png" style="width: 40rpx;height: 40rpx;" mode=""></image>
			</view>
		</view>
		<view class="TextRow" @click="GoKS">
			<view style="display: flex;flex-direction: column;">
				<text class="title">培训考试</text>
				<text class="detail">查看培训考试详情</text>
			</view>
			<view>
				<image src="../../static/ic_15@2x.png" style="width: 40rpx;height: 40rpx;" mode=""></image>
			</view>
		</view>
		<view class="TextRow" @click="GoJG">
			<view style="display: flex;flex-direction: column;">
				<text class="title">培训结果</text>
				<text class="detail">查看培训结果详情</text>
			</view>
			<view>
				<image src="../../static/ic_15@2x.png" style="width: 40rpx;height: 40rpx;" mode=""></image>
			</view>
		</view>
		<view class="Btn">
			<view class="Onb">
				<image src="../../static/ic_6@2x.png" style="width: 44rpx;height: 44rpx;" mode=""></image>
				<text class="pei">培训</text>
			</view>
			<view class="Onb" @click="GoMe">
				<image src="../../static/ic_7@2x.png" style="width: 44rpx;height: 44rpx;" mode=""></image>
				<text class="me">我的</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			//报名中心
			GoZX() {
				uni.navigateTo({
					url: './Information'
				})
			},
			//培训考试
			GoKS() {
				uni.navigateTo({
					url: './examination'
				})
			},
			//培训结果
			GoJG() {
				uni.navigateTo({
					url: './consequence'
				})
			},
			GoMe() {
				uni.navigateTo({
					url: './me'
				})
			}
		}
	}
</script>

<style>
	.TextRow {
		height: 140rpx;
		display: flex;
		align-items: center;
		background: #ffffff;
		justify-content: space-between;
		padding: 0 16px;
		margin-bottom: 10px;
	}

	.title {
		color: #323233;
		font-size: 32rpx;
	}

	.detail {
		color: #C8C9CC;
		font-size: 26rpx;
	}

	.me {
		color: #969799;
		font-size: 20rpx;
	}

	.pei {
		color: #2E7FF9;
		font-size: 20rpx;
	}

	.Onb {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.Btn {
		background-color: #FFFFFF;
		display: flex;
		width: 100%;
		justify-content: space-around;
		height: 50px;
		align-items: center;
		position: fixed;
		bottom: 0;
	}

	.content {
		background-color: #F2F3F5;
		height: 100vh;
	}
</style>