me.vue
2.7 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
134
135
136
137
138
139
140
141
142
143
<template>
<view>
<view class="ding">
<image src="../../static/ic_12@2x.png" style="width: 116rpx;height: 116rpx;" mode=""></image>
<text class="userName">张小鱼</text>
</view>
<view class="topBack">
<view class="top">
<view class="one" @click="GoUpPass">
<view style="display: flex;">
<image src="../../static/ic_13@2x.png" style="width: 32rpx;height: 36rpx;" mode=""></image>
<text class="updateMi">更改密码</text>
</view>
<view>
<image src="../../static/ic_15@2x.png" style="width: 28rpx;height: 28rpx;" mode=""></image>
</view>
</view>
<view class="one" @click="outLogin">
<view style="display: flex;">
<image src="../../static/ic_14@2x.png" style="width: 32rpx;height: 36rpx;" mode=""></image>
<text class="out">退出登录</text>
</view>
<view>
<image src="../../static/ic_15@2x.png" style="width: 28rpx;height: 28rpx;" mode=""></image>
</view>
</view>
</view>
</view>
<view class="Btn">
<view class="Onb" @click="GoIndex">
<image src="../../static/ic_6@2x.png" style="width: 44rpx;height: 44rpx;" mode=""></image>
<text class="pei">培训</text>
</view>
<view class="Onb">
<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 {}
},
methods: {
onClose() {},
//退出登录
outLogin() {},
GoIndex() {
uni.navigateTo({
url: './index'
})
},
//修改密码
GoUpPass() {
uni.navigateTo({
url: './updatePass'
})
}
}
}
</script>
<style>
.ding {
position: absolute;
top: 35px;
width: 100%;
display: flex;
align-items: center;
margin-left: 24px;
}
.userName {
color: #FFFFFF;
font-size: 40rpx;
margin-left: 15px;
}
.one {
display: flex;
align-items: center;
height: 50px;
margin: 0 16px;
justify-content: space-between;
border-bottom: 1px solid #EBEDF0;
}
.top {
background: #ffffff;
border-radius: 12px 12px 0 0;
position: fixed;
width: 100%;
top: 140px;
}
.out {
color: #323233;
font-size: 30rpx;
margin-left: 10px;
}
.updateMi {
color: #323233;
font-size: 30rpx;
margin-left: 10px;
}
.topBack {
height: 320rpx;
width: 100%;
background-color: #007AFF;
}
.me {
color: #2E7FF9;
font-size: 20rpx;
}
.pei {
color: #969799;
font-size: 20rpx;
}
.Onb {
display: flex;
flex-direction: column;
align-items: center;
}
.Btn {
display: flex;
width: 100%;
justify-content: space-around;
height: 50px;
align-items: center;
position: fixed;
bottom: 0;
}
</style>