@@ -17,16 +17,29 @@
</div>
<!--预约日期-->
<!--座位类型列表-->
+ <van-tabs>
+ <van-tab
+ v-for="(item, index) in placeList"
+ :title="'标签 ' + index"
+ :key="index">
+ 内容 {{ index }}
+ </van-tab>
+ </van-tabs>
</template>
<script>
+import { Tabs, Tab } from 'vant'
+
export default {
name: 'index',
- components: {},
+ components: {
+ 'van-tabs': Tabs,
+ 'van-tab': Tab
+ },
data () {
return {
- Matchs: [
+ placeList: [
{
id: 1,
week: '今日',