<template>
  <div class="model-left">
    <introduceTitle title="社区概况" />
    <div class="community-table">
      <div class="table-row">
        <div class="row-lable">地名</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.diming }}</div>
      </div>
      <div class="table-row">
        <div class="row-lable">隶属</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.lishu }}</div>
      </div>
      <div class="table-row">
        <div class="row-lable">行政代码</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.xzdaima }}</div>
      </div>
      <div class="table-row">
        <div class="row-lable">身份证前6位</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.id6 }}</div>
      </div>
      <div class="table-row">
        <div class="row-lable">长途区号</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.ctquhao }}</div>
      </div>
      <div class="table-row">
        <div class="row-lable">邮政编码</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.youzheng }}</div>
      </div>
      <div class="table-row">
        <div class="row-lable">车牌号码</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.chep }}</div>
      </div>
      <div class="table-row">
        <div class="row-lable">行政级别</div>
        <div class="row-value">{{ xiaoquIntroduce.intro.shequ.jibie }}</div>
      </div>
    </div>
    <div class="introduce-content">
      <div>{{ xiaoquIntroduce.intro.kaiguo.text || "暂无数据" }}</div>
    </div>
  </div>
</template>

<script>
import introduceTitle from "@/views/components/introduceTitle/subTtile.vue";
import { mapGetters } from "vuex";
export default {
  components: { introduceTitle },

  data() {
    return {};
  },
  mounted() {},
  computed: {
    ...mapGetters(["xiaoquIntroduce"]),
  },
};
</script>

<style lang="scss" scoped>
.model-left {
  flex: 1;
  padding: 15px 0;
  display: flex;
  flex-direction: column;

  overflow: hidden;

  .community-table {
    margin-top: 20px;
    border: 1px solid #1b4296;
    border-radius: 6px;
    .table-row {
      display: flex;
      align-items: center;
      font-family: "Alibaba-PuHuiTi-Regular.otf";
      border-bottom: 1px solid #1b4296;
      .row-lable {
        padding: 5px 0;
        width: 30%;
        text-align: center;
        font-size: 14px;
        color: #00ff9c;
        border-right: 1px solid #1b4296;
        overflow: hidden;
      }
      .row-value {
        padding: 5px;
        flex: 1;
        font-size: 14px;
        color: #d3e9ff;
      }
    }
    & .table-row:last-child {
      border-bottom: 0px;
    }
  }
  .introduce-content {
    flex: 1;
    box-sizing: border-box;
    margin-top: 15px;
    padding: 30px 15px;
    padding-right: 0;
    background: url("~@/assets/images/ui/introduce-text.png");
    background-size: 100% 100%;
    overflow: hidden;
    & > div {
      padding-right: 8px;
      height: 100%;
      line-height: 25px;
      font-size: 15px;
      color: #d3e9ff;
      overflow-y: auto;
    }
  }
}
/*全局滚动条样式*/
::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  height: 10px;
  width: 1px;
  background: rgba(255, 255, 255, 0.5);
}
::-webkit-scrollbar-track {
  background: transparent;
}
</style>
