合并代码

This commit is contained in:
szz
2025-08-05 09:59:37 +08:00
parent 9df95358d2
commit 3dce118ec0
3 changed files with 91 additions and 0 deletions

BIN
public/imgs/login-agent.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -0,0 +1,91 @@
<template>
<div class="customer-service-page">
<!-- 返回箭头 -->
<div class="back-arrow" @click="goBack">
<el-icon><ArrowLeft /></el-icon>
</div>
<!-- 客服二维码图片 -->
<div class="customer-service-container">
<img src="/imgs/mainpage/客服码.jpg" alt="客服码" class="customer-service-img">
<div class="customer-service-text">扫码联系客服</div>
</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;
}
/* 响应式设计 */
@media (max-width: 768px) {
.customer-service-img {
width: 200px;
height: 200px;
}
.customer-service-container {
padding: 20px;
}
}
</style>