<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>Terms & Conditions</el-breadcrumb-item>
    </el-breadcrumb>
    <p class="title">Terms & Conditions</p>
    <div class="line"></div>
    <div
      class="item"
      v-html="termsConditionsInfo"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      termsConditionsInfo: '',
    }
  },
  async created() {
    await this.getInfoList()
  },
  methods: {
    getInfoList() {
      this.$axios.get('/uk-api/others/clause').then(res => {
        if (res.code == 1) {
          this.termsConditionsInfo = res.result.content
        }
      })
    },
  },
}
</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>