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.
34 lines
415 B
34 lines
415 B
2 months ago
|
<template>
|
||
2 months ago
|
<view class="content">
|
||
2 months ago
|
|
||
2 months ago
|
</view>
|
||
2 months ago
|
</template>
|
||
|
|
||
|
<script>
|
||
2 months ago
|
export default {
|
||
|
data () {
|
||
|
return {
|
||
|
tabValue: 1,
|
||
|
}
|
||
|
},
|
||
|
onLoad () {
|
||
2 months ago
|
|
||
2 months ago
|
},
|
||
|
methods: {
|
||
|
onChange (name) {
|
||
|
this.tabValue = name;
|
||
|
console.log(name);
|
||
|
},
|
||
|
}
|
||
|
}
|
||
2 months ago
|
</script>
|
||
|
|
||
2 months ago
|
<style lang="scss" scoped>
|
||
|
.content {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
2 months ago
|
</style>
|