5 changed files with 116 additions and 8 deletions
-
12src/components/tab_bar.vue
-
12src/pages.json
-
93src/pages/member/index.vue
-
7src/pages/order/list.vue
-
BINsrc/static/images/certification.png
@ -0,0 +1,93 @@ |
|||
<script setup> |
|||
import { onLoad } from '@dcloudio/uni-app'; |
|||
import { reactive, ref } from 'vue'; |
|||
|
|||
onLoad(() => { |
|||
|
|||
}); |
|||
|
|||
</script> |
|||
|
|||
<template> |
|||
<view class="member-index"> |
|||
<view class="mi-header"> |
|||
<image class="mh-avatar"></image> |
|||
<view class="mh-info"> |
|||
<view class="mi-name">抖音用户</view> |
|||
<view class="mi-num">17688184874</view> |
|||
</view> |
|||
</view> |
|||
<view class="mi-section"> |
|||
<view class="ms-tool"> |
|||
<view class="mt-tit">我的工具</view> |
|||
<view class="mt-ls"> |
|||
<view class="ml-item"> |
|||
<image class="mi-icon" mode="aspectFit" src="/static/images/certification.png"></image> |
|||
<view class="mi-txt">服务资质</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<style lang="scss" scoped> |
|||
.member-index{ |
|||
|
|||
} |
|||
.mi-header{ |
|||
padding: 40upx 48upx 48upx; |
|||
background: $mColor; |
|||
@include ctf; |
|||
.mh-avatar{ |
|||
flex-shrink: 0; |
|||
flex-grow: 0; |
|||
margin-right: 24upx; |
|||
width: 128upx; |
|||
height: 128upx; |
|||
border-radius: 50%; |
|||
background-color: #fff; |
|||
} |
|||
.mh-info{ |
|||
padding-top: 8upx; |
|||
.mi-name{ |
|||
@include flcw(36upx, 50upx, #fff, 500); |
|||
@include tHide; |
|||
} |
|||
.mi-num{ |
|||
margin-top: 24upx; |
|||
@include flcw(28upx, 40upx, #fff); |
|||
@include tHide; |
|||
} |
|||
} |
|||
} |
|||
.mi-section{ |
|||
margin-top: 24upx; |
|||
} |
|||
.ms-tool{ |
|||
padding: 30upx; |
|||
background-color: #fff; |
|||
.mt-tit{ |
|||
@include flcw(36upx, 50upx, #333, 500); |
|||
} |
|||
.mt-ls{ |
|||
margin-top: 40upx; |
|||
padding: 0 30upx; |
|||
.ml-item{ |
|||
display: inline-block; |
|||
font-size: 0; |
|||
.mi-icon{ |
|||
display: block; |
|||
margin: 0 auto; |
|||
width: 50upx; |
|||
height: 50upx; |
|||
} |
|||
.mi-txt{ |
|||
margin-top: 20upx; |
|||
text-align: center; |
|||
@include flcw(28upx, 40upx, #1a1a1a); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
After Width: 52 | Height: 50 | Size: 773 B |
Write
Preview
Loading…
Cancel
Save
Reference in new issue