|                                                                                                                                                 |  | <template>	<view class="page__view">
		<navbar title="我的团队" leftClick @leftClick="$utils.navigateBack" bgColor="#FFFFFF" />
		<view class="main">
      <view class="tabs">        <uv-tabs           :list="tabs"           :current="current"          :scrollable="false"           lineColor="#00A9FF"          lineWidth="48rpx"          lineHeight="4rpx"          :activeStyle="{            'font-family': 'PingFang SC',            'font-weight': 500,            'font-size': '32rpx',            'line-height': 1.4,            'color': '#00A9FF',          }"           :inactiveStyle="{            'font-family': 'PingFang SC',            'font-weight': 400,            'font-size': '32rpx',            'line-height': 1.4,            'color': '#181818',          }"           @click="clickTabs"        ></uv-tabs>      </view>
      <view class="list">        <view class="flex list-item" v-for="item in list" :key="item.id">          <view class="avatar">            <image class="img" :src="item.avatar" mode="scaleToFill"></image>          </view>          <view>{{ item.name }}</view>        </view>      </view>
    </view>
  </view>  </template>
<script>	import mixinsList from '@/mixins/list.js'
  export default {		mixins: [mixinsList],    data() {      return {        tabs: [          { name: '直推用户列表' },          { name: '间推用户列表' },        ],        current: 0,      }    },    computed: {      mixinsListApi() {        return this.current == 0 ? 'queryDirectList' : 'queryIndirectList'      }    },    onShow() {      console.log('onShow')    },    onLoad(arg) {      this.clickTabs({ index: arg.index || 0 })    },    methods: {			//点击tab栏
			clickTabs({ index }) {        console.log('clickTabs')        this.current = index				this.getData()			},    },  }</script>
<style scoped lang="scss">  .page__view {		width: 100vw;		min-height: 100vh;		background: $uni-bg-color;		position: relative;
    /deep/ .nav-bar__view {      position: fixed;      top: 0;      left: 0;    }  }
  .main {    padding: calc(var(--status-bar-height) + 244rpx) 32rpx 40rpx 32rpx;
    .tabs {      position: fixed;      top: calc(var(--status-bar-height) + 120rpx);      left: 0;      width: 100%;      height: 84rpx;      background: #FFFFFF;      z-index: 1;
      /deep/ .uv-tabs__wrapper__nav__line {        border-radius: 2rpx;      }
    }	}
  .list {    background: #FFFFFF;    border-radius: 32rpx;    overflow: hidden;
    &-item {      margin-top: 16rpx;      padding: 16rpx 32rpx;      font-size: 28rpx;      color: #333333;      background: #FFFFFF;      border-bottom: 2rpx solid #F1F1F1;      justify-content: flex-start;      column-gap: 24rpx;
      &:last-child {        border: none;      }
      .avatar {        width: 72rpx;        height: 72rpx;        border-radius: 50%;        overflow: hidden;                .img {          width: 100%;          height: 100%;        }      }    }  }</style>
 |