【PT.SCC实名制管理系统】24.10.01 -30天,考勤打卡小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

129 lines
2.5 KiB

<!-- 侧边栏 -->
<template>
<view class="broadside">
<uv-popup ref="popup" :overlayStyle="{background: 'rgba(255,255,255,.2sss)'}" bgColor="#4199EA">
<view class="content">
<!-- 用户信息 -->
<view class="user-info">
<image src="@/static/logo.png" mode="widthFix"></image>
<view class="base">
<view class="name">李知意</view>
<view class="project">高新区项目一队</view>
</view>
</view>
<!-- 团队项目列表 -->
<view class="team-list">
<view v-for="(item,index) in 100" :class="{ 'active-team' : index == 0}" class="team-item">
<view class="team-item-left">
<image src="@/static/image/broadside/project.png" mode="widthFix"></image>
<view class="team-name">高新区项目一队</view>
</view>
<view class="team-item-right">
<uni-icons v-if="index == 0" type="checkmarkempty" size="30" color="#fff"></uni-icons>
</view>
</view>
</view>
</view>
</uv-popup>
</view>
</template>
<script>
export default {
name: "broadSide",
data() {
return {
}
},
methods: {
open() {
this.$refs.popup.open('left');
}
}
}
</script>
<style lang="scss" scoped>
.broadside {
.content {
padding-top: var(--status-bar-height);
width: 650rpx;
// 用户信息
.user-info {
width: 85%;
margin: 70rpx auto 0rpx auto;
display: flex;
flex-wrap: wrap;
image {
width: 150rpx;
border-radius: 20rpx;
}
.base {
display: flex;
flex-direction: column;
justify-content: space-around;
width: calc(100% - 150rpx);
color: white;
box-sizing: border-box;
padding: 10rpx 0rpx 0rpx 15rpx;
.name {
font-size: 40rpx;
}
.project {
font-size: 28rpx;
}
}
}
// 团队项目列表
.team-list {
margin-top: 30rpx;
height: 80vh;
overflow-y: scroll;
.team-item {
display: flex;
flex-wrap: wrap;
color: white;
height: 10%;
box-sizing: border-box;
padding: 0rpx 15rpx;
margin: 5rpx 0rpx;
.team-item-left {
width: 90%;
display: flex;
align-items: center;
image {
width: 70rpx;
}
.team-name {
font-size: 34rpx;
margin-left: 15rpx;
}
}
.team-item-right {
display: flex;
align-items: center;
justify-content: center;
}
}
.active-team {
background: #8CBDE9;
}
}
}
}
</style>