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.
55 lines
741 B
55 lines
741 B
<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> |