<script setup lang="ts">
import {defineModel} from 'vue'
import Panel from "@/components/common/Panel.vue";

const proxyMessage = defineModel<any>()
</script>

<template>
  <Panel title="客服支持" class="service">
    <div class="service-content">
      <img class="image" src="/static/images/home/qr-code.png" alt="">
      <div class="service-text">
        <div class="message-name" style="margin-bottom: 20px">服务名称：{{ proxyMessage.name }}</div>
        <div>服务热线：{{ proxyMessage.phone }}</div>
      </div>
    </div>
  </Panel>
</template>

<style scoped lang="scss">
.service {
  width: 100%;
  height: 170px;
  margin: 24px 0;

  .service-content {
    padding: 0 24px 24px;
    display: flex;
    .image {
      width: 88px;
      height: 88px;
      margin-right:24px;
    }

    .service-text {
      flex: 1;
      min-width: 0;
      font-weight: 500;
      font-size: 16px;
      color: #333333;
      font-style: normal;
      display: flex;
      flex-direction: column;
      justify-content: center;
      .message-name{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}
</style>