index.vue
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<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>