unknown
1 year ago
7 changed files with 152 additions and 47 deletions
-
33components/UserTab/UserTab.vue
-
1components/cardNav/cardNav.vue
-
4pages/login/login.vue
-
25pages/tabbar/mine/index.vue
-
12pages/tabbar/statistics/comp/tabDate.vue
-
55pages/tabbar/statistics/comp/topUserInfo.vue
-
61pages/tabbar/student/index.vue
@ -0,0 +1,55 @@ |
|||||
|
<template> |
||||
|
<view class="userInfo"> |
||||
|
<view class="tit">Hi,大乔教练</view> |
||||
|
<view class="flex userRow"> |
||||
|
<view class="schoolIcon"> |
||||
|
<image src="@/static/images/index/ic_jiaxiao.png" mode=""></image> |
||||
|
</view> |
||||
|
<view class="schoolName oneRowText">翔力驾校</view> |
||||
|
<view class="tag">合作教练</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.userInfo { |
||||
|
|
||||
|
.tit { |
||||
|
font-size: 48rpx; |
||||
|
color: #fff; |
||||
|
font-weight: 500; |
||||
|
} |
||||
|
|
||||
|
.userRow { |
||||
|
align-items: center; |
||||
|
margin-bottom: 20rpx; |
||||
|
.schoolIcon { |
||||
|
width: 28rpx; |
||||
|
height: 28rpx; |
||||
|
} |
||||
|
|
||||
|
.schoolName { |
||||
|
font-size: 28rpx; |
||||
|
padding: 20rpx; |
||||
|
max-width: 220rpx; |
||||
|
color: #fff; |
||||
|
} |
||||
|
|
||||
|
.tag { |
||||
|
min-width: 112rpx; |
||||
|
height: 44rpx; |
||||
|
background: #82AFDD; |
||||
|
border-radius: 22rpx; |
||||
|
font-size: 20rpx; |
||||
|
color: #fff; |
||||
|
line-height: 44rpx; |
||||
|
text-align: center; |
||||
|
white-space: nowrap; |
||||
|
width: fit-content; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue