<template>
  <view class="sp-subsection">
    <u-tabs
      :list="list"
      :is-scroll="false"
      :current="current"
      @change="change"
      bg-color="rgba(248, 248, 248, 1)"
    ></u-tabs>
  </view>
</template>

<script>
export default {
  name: "spTabs",
  model: {
    prop: "bs",
    event: "changeBs",
  },
  props: {
    current:{
      type:Number,
      default:0
    },
    list:{
      type:Array,
      default:[]
    }
  },
  created() {},
  data() {
    return {
      // active: this.bs,
    };
  },
  methods: {
    change(){

    },
  },
};
</script>

<style lang="scss" scoped>
.sp-subsection::v-deep {
  flex: 1;
  &.pt,
  &.ja,
  &.es {
    .u-item-text {
      font-size: 24rpx !important;
    }
  }
}
</style>