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
  | <template> 
 |    <div :class="['content-view-wrapper', { paddingH }]"> 
 |      <slot /> 
 |    </div> 
 |  </template> 
 |    
 |  <script setup lang="ts"> 
 |  defineOptions({ 
 |    name: 'ContentView', 
 |  }); 
 |    
 |  type Props = { 
 |    paddingH?: boolean; 
 |  }; 
 |    
 |  const props = withDefaults(defineProps<Props>(), { 
 |    paddingH: true, 
 |  }); 
 |  </script> 
 |    
 |  <style lang="scss"> 
 |  @import '@/styles/common.scss'; 
 |    
 |  .content-view-wrapper { 
 |    &.paddingH { 
 |      padding: 0 boleGetCssVar('size', 'body-padding-h'); 
 |    } 
 |  } 
 |  </style> 
 |  
  |