wupengfei
6 天以前 3c7cbba6d64ca8bf7b1307023072b505414f7d5d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
  <ProTabs
    v-model="businessCardType"
    name="home-tab"
    class="home-tabs"
    isTransparent
    title-gutter="12"
    title-scroll
  >
    <ProTabPane :title="`我的名片`" pane-key="1">
      <BusinessCardView></BusinessCardView>
    </ProTabPane>
    <ProTabPane :title="`我的名片夹`" pane-key="2">
      <BusinessCardHolderView></BusinessCardHolderView>
    </ProTabPane>
  </ProTabs>
</template>
 
<script setup lang="ts">
import { ProTabs, ProTabPane } from '@12333/components';
import BusinessCardView from '../components/BusinessCardView.vue';
import BusinessCardHolderView from '../components/BusinessCardHolderView.vue';
 
defineOptions({
  name: 'InnerPage',
});
 
const businessCardType = ref('1');
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.businessCard-page-wrapper {
  .nut-tab-pane {
    background-color: transparent;
  }
}
</style>