web/src/components/home/index/CustomerService.vue

53 lines
1.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>