<template>
  <div class="com-main com-width-1400 com-margin-auto">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/' }">Home</el-breadcrumb-item>
      <el-breadcrumb-item>About Us</el-breadcrumb-item>
    </el-breadcrumb>
    <p class="title">About Us</p>
    <div class="line"></div>
    <div
      class="item"
      v-html="info"></div>
    <div></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      info: '',
    }
  },
  async created() {
    await this.$store.dispatch('getShopInfo').then(res => {
      this.info = res.aboutus
    })
  },
}
</script>

<style lang="scss" scoped>
.title {
  height: 50px;
  font-size: 35px;
  font-family: Proxima Nova;
  font-weight: bold;
  color: #00213b;
  text-align: center;
  line-height: 50px;
}
.line {
  width: 99px;
  height: 4px;
  background: #e90000;
  margin: 15px auto;
}
:deep(.item) {
  width: 1400px;
  font-size: 18px;
  font-family: Proxima Nova;
  font-weight: 400;
  color: #333333;
  line-height: 24px;
  p {
    word-wrap: break-word;
  }
  ul {
    list-style-type: unset;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 40px;
  }
  ol {
    list-style-type: decimal;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 40px;
  }
}
</style>
