admin-user.vue
1.9 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
<template>
<view class="content">
<view class="imgBox">
<image src="../../static/ic_my_bg@2x.png" mode="" class="topImg"></image>
</view>
<view class="userInfo">
<image src="../../static/ic_28@2x.png" mode=""></image>
<view class="userName">
桃花岛岛主
</view>
</view>
<view class="outLogin">
退出登录
</view>
<view class="bottomTab">
<view class="bottomIcon" @click="goOrder">
<image src="../../static/ic_12@2x.png" mode=""></image>
<view class="">
订单管理
</view>
</view>
<view class="bottomIcon">
<image src="../../static/ic_13@2x.png" mode=""></image>
<view class="">
我的
</view>
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
}
},methods:{
goOrder(){
uni.redirectTo({
url:'/pages/admin-order/all-order'
})
}
}
}
</script>
<style>
.content {
min-height: 100vh;
background-color: #F7F8FA;
}
.imgBox {
width: 100%;
height: 462rpx;
position: relative;
}
.topImg {
width: 100%;
height: 100%;
}
.userInfo {
width: 92%;
margin-left: 4%;
background-color: #fff;
border-radius: 16rpx;
height: 186rpx;
margin-top: -50rpx;
z-index: 2;
position: relative;
text-align: center;
}
.userInfo image {
width: 116rpx;
height: 116rpx;
border-radius: 50%;
margin-top: -56rpx;
}
.userName {
color: #323233;
font-size: 36rpx;
margin-top: 20rpx;
font-weight: 600;
}
.outLogin{
width: 92%;
margin-left: 4%;
height: 80rpx;
line-height: 80rpx;
font-size: 32rpx;
color: #fff;
text-align: center;
margin-top: 200rpx ;
background: #ff2f2f;
}
.bottomTab {
position: fixed;
bottom: 0;
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
height: 120rpx;
font-size: 20rpx;
background-color: #fff;
}
.bottomIcon image {
width: 48rpx;
height: 48rpx;
}
</style>