Blame view

src/components/index/index-property.vue 2.06 KB
b25b036d   wuxw   v1.9 优化日期
1
  <template>
6d9d3e27   wuxw   完成物业首页功能
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
    <div class="property-index-container">
      <div class="vc-index-nav">
        <span><i class="el-icon-s-home margin-right-sm"></i>{{ $t('propertyIndex.home') }}</span>
        <span class="margin-left-sm margin-right-sm">/</span>
        <span>{{ $t('propertyIndex.dashboard') }}</span>
      </div>
  
      <el-row class="vc-index-1" :gutter="20">
        <el-col :span="15">
          <index-community ref="indexCommunity" />
        </el-col>
        <el-col :span="9">
          <index-notice ref="indexNotice" />
        </el-col>
      </el-row>
  
      <el-row class="vc-index-1" :gutter="20">
        <el-col :span="15">
          <index-repair-complaint ref="indexRepairComplaint" />
        </el-col>
        <el-col :span="9">
          <index-owner-room ref="indexOwnerRoom" />
        </el-col>
      </el-row>
    </div>
  </template>
  
  <script>
  import IndexCommunity from '@/components/index/indexCommunity'
  import IndexNotice from '@/components/index/indexNotice'
  import IndexRepairComplaint from '@/components/index/indexRepairComplaint'
  import IndexOwnerRoom from '@/components/index/indexOwnerRoom'
  
  export default {
    name: 'PropertyIndexList',
    components: {
      IndexCommunity,
      IndexNotice,
      IndexRepairComplaint,
      IndexOwnerRoom
    },
    mounted() {
      this.initData()
    },
    methods: {
      initData() {
        this.$refs.indexCommunity._loadPropertyIndexAssets()
        this.$refs.indexNotice._loadPropertyIndexNotices()
        this.$refs.indexRepairComplaint.initData()
        this.$refs.indexOwnerRoom._loadIndexOwnerRegisterData()
      }
    }
  }
  </script>
  
  <style lang="scss" scoped>
  .property-index-container {
  
1a0bdbe0   wuxw   优化缴费页面
60
    padding: 0 10px; // 添加左右内边距
6d9d3e27   wuxw   完成物业首页功能
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
  
    .vc-index-nav {
      padding: 10px;
      font-size: 16px;
      text-align: left;
    }
  
    .margin-right-sm {
      margin-right: 5px;
    }
  
    .margin-left-sm {
      margin-left: 5px;
    }
  
    .margin-top-lg {
      margin-top: 15px;
    }
  
    .margin-bottom {
      margin-bottom: 20px;
    }
  
    .vc-index-1 {
      margin-bottom: 20px;
1a0bdbe0   wuxw   优化缴费页面
86
87
      // 修复 Element UI 栅格系统的 gutter 问题
    
6d9d3e27   wuxw   完成物业首页功能
88
89
90
91
92
93
94
95
  
      .index-1-left,
      .index-1-right {
        height: 100%;
      }
    }
  }
  </style>