appointment_system/pages/me/contact-us-page.vue
2025-12-11 22:50:18 +08:00

91 lines
1.6 KiB
Vue

<template>
<view class="page">
<!-- 自定义导航栏 -->
<view class="navbar">
<view class="nav-back" @click="goBack">
<image src="/static/ic_back.png" class="back-icon" mode="aspectFit"></image>
</view>
<text class="nav-title">{{ $t('me.contactUs') }}</text>
</view>
<!-- 二维码容器 -->
<view class="qr-container">
<view class="qr-box">
<image src="/static/contact_qr.png" class="qr-image" mode="aspectFit"></image>
</view>
</view>
</view>
</template>
<script>
export default {
methods: {
goBack() {
uni.navigateBack()
}
}
}
</script>
<style lang="scss" scoped>
.page {
min-height: 100vh;
background-color: #F3F4F8;
}
.navbar {
width: 100%;
padding-top: 100rpx;
padding-bottom: 20rpx;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
position: relative;
.nav-back {
position: absolute;
left: 32rpx;
width: 80rpx;
height: 50rpx;
display: flex;
align-items: center;
justify-content: center;
.back-icon {
width: 48rpx;
height: 48rpx;
}
}
.nav-title {
font-size: 30rpx;
font-weight: 500;
color: #333;
}
}
.qr-container {
display: flex;
justify-content: center;
padding: 60rpx 30rpx;
.qr-box {
width: 600rpx;
height: 600rpx;
background-color: #fff;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
padding: 40rpx;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
.qr-image {
width: 100%;
height: 100%;
}
}
}
</style>