2025-08-05 09:59:37 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="customer-service-page">
|
|
|
|
|
|
<!-- 返回箭头 -->
|
|
|
|
|
|
<div class="back-arrow" @click="goBack">
|
|
|
|
|
|
<el-icon><ArrowLeft /></el-icon>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 客服二维码图片 -->
|
|
|
|
|
|
<div class="customer-service-container">
|
2025-09-03 11:00:08 +08:00
|
|
|
|
<img src="/imgs/mainpage/kefuma.jpg" alt="客服码" class="customer-service-img">
|
2025-08-05 15:25:28 +08:00
|
|
|
|
<div class="customer-service-text">扫码联系客服(长按识别)</div>
|
2025-08-05 09:59:37 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
|
import { ArrowLeft } from '@element-plus/icons-vue'
|
|
|
|
|
|
import { useRouter } from 'vue-router'
|
|
|
|
|
|
|
|
|
|
|
|
const router = useRouter()
|
|
|
|
|
|
|
|
|
|
|
|
const goBack = () => {
|
|
|
|
|
|
router.go(-1) // 返回上一页
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
.customer-service-page {
|
|
|
|
|
|
background: linear-gradient(to bottom, #72c9ffae, #f3f3f3);
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
height: 100vh;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.back-arrow {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 20px;
|
|
|
|
|
|
left: 20px;
|
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.back-arrow:hover {
|
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
|
|
|
|
transform: scale(1.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.customer-service-container {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
background-color: white;
|
|
|
|
|
|
padding: 30px;
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.customer-service-img {
|
|
|
|
|
|
width: 250px;
|
|
|
|
|
|
height: 250px;
|
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.customer-service-text {
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
font-weight: 500;
|
2025-08-05 14:16:35 +08:00
|
|
|
|
font-weight: bold;
|
2025-08-05 09:59:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 响应式设计 */
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.customer-service-img {
|
|
|
|
|
|
width: 200px;
|
|
|
|
|
|
height: 200px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.customer-service-container {
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|