8 changed files with 123 additions and 2 deletions
@ -0,0 +1,109 @@ |
|||
<template> |
|||
<view class="page-usercenter"> |
|||
<img :src="cssUrl+'user_grey.svg'" class="avator"> |
|||
<view class="ucode PfScMedium over2">UID998777</view> |
|||
<view class="menu"> |
|||
<view class="item"> |
|||
<img :src="cssUrl+'user_icon.svg'" alt=""> |
|||
<view>就诊人</view> |
|||
</view> |
|||
|
|||
<view class="item"> |
|||
<img :src="cssUrl+'message.svg'" alt=""> |
|||
<view>预约列表</view> |
|||
</view> |
|||
</view> |
|||
|
|||
<tabbar current="2"></tabbar> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import tabbar from '@/components/tabbar.vue'; |
|||
export default { |
|||
data() { |
|||
return { |
|||
cssUrl:this.cssUrl |
|||
} |
|||
}, |
|||
components:{ |
|||
tabbar:tabbar |
|||
}, |
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.page-usercenter{ |
|||
width: 100%; |
|||
height: 100vh; |
|||
background: #F8F8F8; |
|||
.avator{ |
|||
display: block; |
|||
width: 160rpx; |
|||
height: 160rpx; |
|||
border-radius: 100%; |
|||
margin: 17rpx auto 24rpx; |
|||
} |
|||
.ucode{ |
|||
width: 80%; |
|||
text-align: center; |
|||
margin: 0 auto; |
|||
min-height: 56rpx; |
|||
line-height: 56rpx; |
|||
font-size: 40rpx; |
|||
color: #000000; |
|||
letter-spacing: 1rpx; |
|||
word-break: break-all; |
|||
} |
|||
.menu{ |
|||
width: 714rpx; |
|||
margin: 35rpx auto 0; |
|||
height: 206rpx; |
|||
background: #FFFFFF; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
box-shadow: 0rpx 2rpx 24rpx 0rpx rgba(0,0,0,0.03); |
|||
border-radius: 0rpx 0rpx 8rpx 8rpx; |
|||
padding: 0 130rpx; |
|||
box-sizing: border-box; |
|||
.item{ |
|||
width: 116rpx; |
|||
img{ |
|||
width: 70rpx; |
|||
height: 70rpx; |
|||
margin: 0 auto; |
|||
display: block; |
|||
margin-bottom: 30rpx; |
|||
} |
|||
view{ |
|||
width: 100%; |
|||
text-align: center; |
|||
height: 40rpx; |
|||
line-height: 40rpx; |
|||
font-size: 28rpx; |
|||
color: #666666; |
|||
} |
|||
} |
|||
} |
|||
|
|||
// <view class="avator"> |
|||
// <img :src="cssUrl+'default_avator.svg'" alt=""> |
|||
// </view> |
|||
// <view class="ucode">UID998777</view> |
|||
// <view class="menu"> |
|||
// <view class="item"> |
|||
// <img :src="cssUrl+'default_avator.svg'" alt=""> |
|||
// 就诊人 |
|||
// </view> |
|||
|
|||
// <view class="item"> |
|||
// <img :src="cssUrl+'default_avator.svg'" alt=""> |
|||
// 预约列表 |
|||
// </view> |
|||
// </view> |
|||
} |
|||
</style> |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in new issue