2025-08-14 17:06:05 +08:00
|
|
|
|
<template>
|
2025-08-15 09:02:09 +08:00
|
|
|
|
<view class="page">
|
2025-08-15 12:03:09 +08:00
|
|
|
|
<custom-navbar ref="customNavbar" title="预约成功" />
|
|
|
|
|
|
|
|
|
|
|
|
<image :src="CommonEnum.SUCCESS_APPOINTMENT"></image>
|
|
|
|
|
|
<view class="container">
|
|
|
|
|
|
<view class="info">
|
|
|
|
|
|
<text class="success">您提交的预约已成功!</text>
|
2025-08-15 15:18:53 +08:00
|
|
|
|
|
2025-08-15 12:03:09 +08:00
|
|
|
|
<text class="date">预约日期:{{ date }}</text>
|
|
|
|
|
|
<text class="time">预约时段:{{ time }}</text>
|
|
|
|
|
|
</view>
|
2025-08-15 09:02:09 +08:00
|
|
|
|
</view>
|
2025-08-15 12:03:09 +08:00
|
|
|
|
<view class="back" @click="back">返回首页</view>
|
2025-08-15 09:02:09 +08:00
|
|
|
|
</view>
|
2025-08-14 17:06:05 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
|
2025-08-15 09:02:09 +08:00
|
|
|
|
<script>
|
|
|
|
|
|
import CommonEnum from "../../enum/common";
|
2025-08-15 12:03:09 +08:00
|
|
|
|
import BottomButton from "../../components/bottom-button/bottom-button.vue";
|
2025-08-15 09:02:09 +08:00
|
|
|
|
|
|
|
|
|
|
export default {
|
2025-08-15 12:03:09 +08:00
|
|
|
|
components: { BottomButton },
|
2025-08-15 09:02:09 +08:00
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
CommonEnum,
|
|
|
|
|
|
loading: false,
|
2025-08-15 12:03:09 +08:00
|
|
|
|
time: "",
|
|
|
|
|
|
date: "",
|
|
|
|
|
|
number: "",
|
|
|
|
|
|
activityName: "",
|
2025-08-15 09:02:09 +08:00
|
|
|
|
};
|
|
|
|
|
|
},
|
2025-08-15 12:03:09 +08:00
|
|
|
|
onLoad(options) {
|
|
|
|
|
|
// 接收传递的参数
|
|
|
|
|
|
this.time = decodeURIComponent(options.time || "");
|
|
|
|
|
|
this.date = decodeURIComponent(options.date || "");
|
|
|
|
|
|
this.number = decodeURIComponent(options.number || "");
|
2025-08-15 09:02:09 +08:00
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2025-08-15 12:03:09 +08:00
|
|
|
|
// 返回首页
|
|
|
|
|
|
back() {
|
2025-08-15 15:18:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: `/pages/nearbystores/index`,
|
2025-08-15 12:03:09 +08:00
|
|
|
|
});
|
2025-08-15 09:02:09 +08:00
|
|
|
|
},
|
|
|
|
|
|
},
|
|
|
|
|
|
};
|
2025-08-14 17:06:05 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2025-08-15 09:02:09 +08:00
|
|
|
|
.page {
|
2025-08-15 12:03:09 +08:00
|
|
|
|
background: #faf8f3;
|
2025-08-15 09:02:09 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2025-08-15 12:03:09 +08:00
|
|
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
//border: 1rpx solid #250404;
|
|
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
|
margin-top: 24rpx;
|
|
|
|
|
|
width: 564rpx;
|
|
|
|
|
|
height: 564rpx;
|
|
|
|
|
|
//border: 1rpx solid #250404;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
top: -46rpx;
|
|
|
|
|
|
margin-bottom: 150rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.info {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
//border: 1rpx solid #250404;
|
|
|
|
|
|
|
|
|
|
|
|
text {
|
|
|
|
|
|
color: #695347;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
//border: 1rpx solid #250404;
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
line-height: 216.5%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.success {
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.back {
|
|
|
|
|
|
width: 552rpx;
|
|
|
|
|
|
height: 100rpx;
|
|
|
|
|
|
border-radius: 50rpx;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
border: 2rpx solid #c7a26d;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
line-height: 100rpx;
|
|
|
|
|
|
color: #c7a26d;
|
|
|
|
|
|
}
|
2025-08-15 09:02:09 +08:00
|
|
|
|
}
|
2025-08-14 17:06:05 +08:00
|
|
|
|
</style>
|