helpService.vue 1.66 KB
<template>
  <div class="help-service">
    <div class="service-code">
      <img class="service-img" src="../../image/code.png" />
      <p class="title">定损及核赔服务咨询</p>
      <!-- <p>在线客服随时咨询</p> -->
      <p class="service-phone">189 3890 7441</p>
    </div>
    <div class="service-hotline">
      <img class="service-img" src="../../image/icon-phone.png" />
      <p>服 务 热 线</p>
    </div>
  </div>
</template>
<script type="text/ecmascript-6">
export default {
  name: 'helpService',
  data() {
    return {
        open: false
    }
  },
  props: {
  },
  mounted() {},
  methods:{
  }
}
</script>
<style lang="scss" scoped>
.help-service {
  position: fixed;
  z-index: 9999;
  font-size: 14px;
  color: #333333;
  top: 10%;
  right: 10px;
  justify-content: space-between;
  width: 200px;
  display: flex;
  height: 200px;
  background: #f3f3f4;
  text-align: center;
  border: 1px solid rgba(220, 223, 230, 0.5);
  box-shadow: 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}
.service-code {
  width: 144px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px 0 0 4px;
  .service-img {
    width: 124px;
    height: 124px;
    margin: 10px;
  }
  p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #333333;
  }
}
.help-service .service-hotline {
  border-radius: 0 4px 4px 0;
  height: 200px;
  background: #00a77b;
  width: 50px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  img {
    width: 24px;
    height: 24px;
  }
  p {
    writing-mode: vertical-lr;
    margin-top: 8px;
  }
}
</style>