<template>
  <div class="footer">
    <div class="modelWidth" style="height: 100%; padding-top: 30px">
      <div class="top flex">
        <div class="left">
          <div class="type" v-for="(item, index) in footArray" :key="index">
            <div class="line"></div>
            <div class="font" v-for="(items, indexs) in item" :key="indexs">
              {{ items.name }}
            </div>
          </div>
        </div>
        <div class="right">
          <div class="need">
            <div class="flex_btw">
              <input
                id="input1"
                type="text"
                v-model="formInline.name"
                placeholder="姓名"
              />
              <input
                id="input2"
                type="text"
                v-model="formInline.phone"
                placeholder="手机"
              />
            </div>
            <div style="margin-top: 6px; flex: 2">
              <input
                id="input3"
                type="text"
                v-model="formInline.need"
                placeholder="您的需求"
              />
            </div>
            <div class="submit">提交申请</div>
          </div>
        </div>
      </div>

      <div class="bottom flex">
        <div class="address">
          <div class="address-top flex">
            <div>全国服务电话：17610200130</div>
            <div>总部电话：17610200139</div>
            <div>客服微信：17610200139</div>
          </div>
          <div class="address-bottom">
            地址：山东省济南市历下区千佛山路1号建邦创意星空广场A座10楼A1002室
          </div>
          <div class="address-bottom">
            运营中心：山东省济南市历下区千佛山路1号建邦创意星空广场A座10楼A1002室
          </div>
          <div class="address-bottom">ICP备案号：京ICP备13008577号-1</div>
        </div>
        <div class="qr flex">
          <div>
            <img
              style="width: 80px; height: 80px"
              :src="require('@/assets/img/home/qr.png')"
            />
            <div class="wx">微信公众号</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      footArray: [
        [
          {
            name: "工业SAAS平台",
          },
          {
            name: "硬件设备",
          },
          {
            name: "工业互联网",
          },
          {
            name: "数促中心",
          },
        ],
        [
          {
            name: "公司资讯",
          },
          {
            name: "行业动态",
          },
          {
            name: "工业互联网",
          },
          {
            name: "技术分享",
          },
        ],
        [
          {
            name: "商业合作",
          },
        ],
        [
          {
            name: "企业介绍",
          },
          {
            name: "发展历程",
          },
          {
            name: "愿景使命",
          },
        ],
      ],
      formInline: {
        name: "",
        phone: "",
        need: "",
      },
    };
  },
};
</script>

<style lang="less" scoped>
.footer {
  background: #323443;
  padding-bottom: 50px;
  width: 100%;
  .top {
    height: 50%;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #fff;
    .left {
      flex: 1.5;
      display: flex;
      align-items: start;
      justify-content: space-between;
      padding-right: 100px;
      position: relative;
      .type {
        .line {
          width: 32px;
          height: 3px;
          background: #0069eb;
          border-radius: 2px;
          margin-bottom: 10px;
        }
        .font {
          font-size: 12px;
          font-family: PingFang SC;
          font-weight: 400;
          color: #ffffff;
          padding-top: 12px;
          cursor: pointer;
        }
      }
    }
    .left::after {
      content: "";
      display: inline-block;
      width: 1px;
      height: 140px;
      background: #999999;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
    .right {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      .submit {
        cursor: pointer;
        margin-top: 14px;
        width: 90px;
        height: 27px;
        border: 1px solid #ffffff;
        text-align: center;
        line-height: 27px;
        font-size: 13px;
        color: #fff;
      }
      .need {
        #input1 {
          width: 49%;
          box-sizing: border-box;
          padding-left: 10px;
          font-size: 15px;
          background: #999999;
          height: 25px;
          color: #fff;
          -web-kit-appearance: none;
          display: block;
          outline: 0;

          border: 0;
          text-decoration: none;
        }
        #input2 {
          width: 49%;
          box-sizing: border-box;
          font-size: 15px;
          padding-left: 10px;
          height: 25px;
          color: #fff;
          background: #999999;
          -web-kit-appearance: none;
          display: block;
          outline: 0;
          border: 0;
          text-decoration: none;
        }
        #input3 {
          width: 100%;
          box-sizing: border-box;
          font-size: 15px;
          color: #fff;
          height: 25px;
          padding-left: 10px;
          background: #999999;
          -web-kit-appearance: none;
          display: block;
          outline: 0;
          border: 0;
          text-decoration: none;
        }
      }
    }
  }

  .bottom {
    .address {
      flex: 1.5;
      font-size: 14px;
      font-family: PingFang SC;
      font-weight: 400;
      color: #ffffff;
      line-height: 28px;
      padding-top: 30px;

      .address-top {
        justify-content: space-between;
      }
      .address-bottom {
        padding-top: 10px;
      }
    }
    .qr {
      flex: 1;
      justify-content: end;
      padding-right: 100px;
      .wx {
        color: #fff;
      }
    }
  }
}
input::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #fae5e5;
}

input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #fae5e5;
}

input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #fae5e5;
}

input:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #fae5e5;
}
</style>