<template>
  <view class="container">
    <view class="top-img-box">
      <img class="top-img" src="@/static/logo.png" alt="">
      <view class="top-name"> My Team </view>
    </view>

    <view class="group-item-box">
      <view class="item-top">
        <view class="top-l">团队成员</view>
        <view class="top-r">></view>
      </view>
      <view class="item-content">
        <img class="item-img" src="@/static/logo.png" alt="" v-for="item of 3">
      </view>
    </view>

    <view class="group-item-box ">
      <view class="item-top">
        <view class="top-l">最近动态</view>
        <view class="top-r">></view>
      </view>
      <view class="item-content dynamic-img-box">
        <img class="dynamic-img" src="@/static/logo.png" alt="">
      </view>
    </view>

    <view class="group-item-box">
      <view class="item-top">
        <view class="top-l">团队任务</view>
        <view class="top-r">></view>
      </view>
      <view class="item-content">
        <img class="item-img" src="@/static/logo.png" alt="" v-for="item of 3">
      </view>
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {

      }
    }
  }
</script>

<style lang="scss" scoped>
  .container {
    padding: 20rpx 10rpx 50rpx;

    .top-img-box {
      text-align: center;

      .top-img {
        width: 160rpx;
        height: 160rpx;
        border-radius: 100rpx;
      }

      .top-name {
        color: #6B7280;
        font-weight: bold;
        font-size: 32rpx;
        margin-top: 20rpx;
      }
    }

    .group-item-box {
      padding: 0 20rpx;
      margin-top: 60rpx;

      .item-top {
        display: flex;
        justify-content: space-between;

        .top-l,
        .top-r {
          color: #6B7280;
          font-weight: bold;
          font-size: 32rpx;
          margin-top: 20rpx;
        }
      }

      .item-content {
        display: flex;

        .item-img {
          width: 160rpx;
          height: 160rpx;
          border-radius: 100rpx;
          margin: 60rpx 20rpx 0 0;
        }

        .dynamic-img{
          width: 100%;
          height: 500rpx;
          margin-top: 60rpx;
        }
      }
    }
  }
</style>
