我的团队添加
This commit is contained in:
56
pages/my-index/my-team.vue
Normal file
56
pages/my-index/my-team.vue
Normal file
@@ -0,0 +1,56 @@
|
||||
<script setup></script>
|
||||
|
||||
<template>
|
||||
<view class="team-index">
|
||||
<!-- 顶部卡片 -->
|
||||
<view class="top-card">
|
||||
<view class="num-box">
|
||||
<text>我的团队(人)</text>
|
||||
<text>2933</text>
|
||||
</view>
|
||||
<image
|
||||
src="/static/images/my-index/team-bg.png"
|
||||
mode="heightFix"
|
||||
class="img"
|
||||
></image>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './styles/index.scss';
|
||||
|
||||
.team-index {
|
||||
padding: 32rpx 24rpx;
|
||||
|
||||
.top-card {
|
||||
padding: 26rpx 36rpx;
|
||||
background: linear-gradient(0deg, #00d993 0%, #00d9c5 100%);
|
||||
border-radius: 32rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.num-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
text {
|
||||
font-weight: 500;
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
&:last-child {
|
||||
margin-top: 8rpx;
|
||||
font-weight: bold;
|
||||
font-size: 64rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
.img {
|
||||
height: 144rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user