【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.

128 lines
2.5 KiB

  1. <!-- 侧边栏 -->
  2. <template>
  3. <view class="broadside">
  4. <uv-popup ref="popup" :overlayStyle="{background: 'rgba(255,255,255,.2sss)'}" bgColor="#4199EA">
  5. <view class="content">
  6. <!-- 用户信息 -->
  7. <view class="user-info">
  8. <image src="@/static/logo.png" mode="widthFix"></image>
  9. <view class="base">
  10. <view class="name">李知意</view>
  11. <view class="project">高新区项目一队</view>
  12. </view>
  13. </view>
  14. <!-- 团队项目列表 -->
  15. <view class="team-list">
  16. <view v-for="(item,index) in 100" :class="{ 'active-team' : index == 0}" class="team-item">
  17. <view class="team-item-left">
  18. <image src="@/static/image/broadside/project.png" mode="widthFix"></image>
  19. <view class="team-name">高新区项目一队</view>
  20. </view>
  21. <view class="team-item-right">
  22. <uni-icons v-if="index == 0" type="checkmarkempty" size="30" color="#fff"></uni-icons>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </uv-popup>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. name: "broadSide",
  33. data() {
  34. return {
  35. }
  36. },
  37. methods: {
  38. open() {
  39. this.$refs.popup.open('left');
  40. }
  41. }
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .broadside {
  46. .content {
  47. padding-top: var(--status-bar-height);
  48. width: 650rpx;
  49. // 用户信息
  50. .user-info {
  51. width: 85%;
  52. margin: 70rpx auto 0rpx auto;
  53. display: flex;
  54. flex-wrap: wrap;
  55. image {
  56. width: 150rpx;
  57. border-radius: 20rpx;
  58. }
  59. .base {
  60. display: flex;
  61. flex-direction: column;
  62. justify-content: space-around;
  63. width: calc(100% - 150rpx);
  64. color: white;
  65. box-sizing: border-box;
  66. padding: 10rpx 0rpx 0rpx 15rpx;
  67. .name {
  68. font-size: 40rpx;
  69. }
  70. .project {
  71. font-size: 28rpx;
  72. }
  73. }
  74. }
  75. // 团队项目列表
  76. .team-list {
  77. margin-top: 30rpx;
  78. height: 80vh;
  79. overflow-y: scroll;
  80. .team-item {
  81. display: flex;
  82. flex-wrap: wrap;
  83. color: white;
  84. height: 10%;
  85. box-sizing: border-box;
  86. padding: 0rpx 15rpx;
  87. margin: 5rpx 0rpx;
  88. .team-item-left {
  89. width: 90%;
  90. display: flex;
  91. align-items: center;
  92. image {
  93. width: 70rpx;
  94. }
  95. .team-name {
  96. font-size: 34rpx;
  97. margin-left: 15rpx;
  98. }
  99. }
  100. .team-item-right {
  101. display: flex;
  102. align-items: center;
  103. justify-content: center;
  104. }
  105. }
  106. .active-team {
  107. background: #8CBDE9;
  108. }
  109. }
  110. }
  111. }
  112. </style>