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.
23 lines
476 B
23 lines
476 B
<template>
|
|
<view class="myTab">
|
|
<u-tabs :list="tabList" @click="tabClick" lineHeight="4rpx" lineWidth="40rpx" itemStyle="height: 66rpx;" inactiveStyle="fontSize:28rpx" :current="current" :activeStyle="{
|
|
color: '#3195fa',
|
|
fontWeight: '600',
|
|
fontSize:'28rpx'
|
|
}"></u-tabs>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: ['tabList', 'current'],
|
|
methods: {
|
|
tabClick(item) {
|
|
this.$emit('tabClick',item)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|