<!--
 * @Author: wally
 * @email: 18603454788@163.com
 * @Date: 2021-01-13 16:33:32
 * @LastEditors: wally
 * @LastEditTime: 2021-01-13 17:15:37
-->
<!--
  Copyright (c) 2020.
  author: song
  email: 15235360226@163.com
  -->

<template>
  <div>
    <div class="d-flex flex-nowrap" style="padding: 80px 0; background: rgb(248, 248, 248)">
      <div class="flex-1 align-center flex-wrap flex-column">
        <a-icon type="user" class="user" />
        <br />
        <span class="concat-us-tips">张三三</span>
      </div>
      <div class="flex-1 align-center flex-wrap flex-column">
        <a-icon type="phone" class="user" />
        <br />
        <span class="concat-us-tips">15500000000</span>
      </div>
      <div class="flex-1 align-center flex-wrap flex-column">
        <a-icon type="mail" class="user" />
        <br />
        <span class="concat-us-tips">123456.com</span>
      </div>
      <div class="flex-1 align-center flex-wrap flex-column">
        <a-icon type="environment" class="user" />
        <br />
        <span class="concat-us-tips">山西省太原市</span>
      </div>
    </div>
    <div class="contact d-flex flex-nowrap">
      <contact-map class="flex-1" />
    </div>
  </div>
</template>

<script>
import ContactMap from './ContactMap.vue';

export default {
  name: 'RichText',
  components: { ContactMap },
  data() {
    return {
      sort: [
        { id: 1, component: 'title' },
        { id: 2, component: 'content' },
        { id: 3, component: 'picture' },
      ],
      str: '联系我们组件',
      img: 'https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=1641353646,126669045&fm=26&gp=0.jpg',
    };
  },
  methods: {},
};
</script>

<style lang="stylus" scoped>
.user {
  font-size: 100px;
  padding: 20px;
  border: 1px solid rgba(112, 112, 112, 0.4);
  color: #007cc1;
  border-radius: 50%;
}

.concat-us-tips {
  font-size: 30px;
  font-weight: bold;
  color: #000;
}

.contact {
  height: 394px;
  position: relative;
  border: 1px solid rgba(112, 112, 112, 0.14901960784313725);
  background: #fff;
}

.contact-img {
  width: 790px;
  height: 100%;
}

.contact-right {
  height: 100%;
  width: 360px;
  padding: 0 24px;

  div {
    margin-top: 24px;
    height: 24px;
    line-height: 24px;
    position: relative;

    p {
      position: absolute;
      left: 40px;
      top: 0;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      line-height: 24px;
      color: rgba(0, 0, 0, 0.65);
      opacity: 1;
    }
  }
}

.code-box {
  margin-top: 44px !important;

  img {
    position: absolute;
    width: 120px;
    height: 120px;
    left: 40px;
  }
}
</style>
