Blame view

member-miniapp/packageBooking/success/success.vue 3.7 KB
5c34676a   “wangming”   对会员端进行了设计
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <template>
    <view class="page-shell booking-success-page">
      <view class="page-blur"></view>
      <view class="page-blur-secondary"></view>
      <view class="page-blur-tertiary"></view>
  
      <view class="page-content subpage-content">
        <view class="subpage-nav">
          <view class="subpage-back" @tap="goHome">‹</view>
          <view class="subpage-title-wrap">
            <text class="subpage-title">预约提交成功</text>
            <text class="subpage-subtitle">门店已收到你的预约,稍后会电话联系你确认到店安排</text>
          </view>
        </view>
  
        <view class="subpage-hero glass-card success-hero">
d8035736   “wangming”   Refactor project ...
17
18
19
20
          <view class="success-mark">
            <view class="success-mark-ring"></view>
            <text class="success-mark-check">✓</text>
          </view>
5c34676a   “wangming”   对会员端进行了设计
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
          <text class="hero-kicker">BOOKING SUBMITTED</text>
          <text class="hero-title">预约需求已进入门店确认流程</text>
          <text class="hero-desc">{{ summary.date }} · {{ summary.time }} · {{ summary.store }}</text>
        </view>
  
        <view class="subpage-card">
          <view class="info-list">
            <view class="info-row">
              <text class="info-label">到店日期</text>
              <text class="info-value">{{ summary.date }}</text>
            </view>
            <view class="info-row">
              <text class="info-label">到店时间</text>
              <text class="info-value">{{ summary.time }}</text>
            </view>
            <view class="info-row">
              <text class="info-label">预约门店</text>
              <text class="info-value">{{ summary.store }}</text>
            </view>
            <view class="info-row">
              <text class="info-label">当前状态</text>
              <text class="info-value">待门店电话确认</text>
            </view>
            <view class="info-row">
              <text class="info-label">后续流程</text>
              <text class="info-value">确认后会补充本次护理安排,房间与健康师也会按沟通结果为你留好</text>
            </view>
          </view>
        </view>
  
        <view class="cta-row">
          <view class="secondary-button" @tap="viewProgress">查看确认进度</view>
          <view class="primary-button" @tap="goHome">返回首页</view>
        </view>
      </view>
    </view>
  </template>
  
  <script>
  export default {
    data() {
      return {
        summary: {
          date: '今天 03/19',
          time: '14:00',
          store: '绿纤大源店'
        }
      }
    },
    onLoad(options) {
      this.summary.date = options.date ? decodeURIComponent(options.date) : this.summary.date
      this.summary.time = options.time ? decodeURIComponent(options.time) : this.summary.time
      this.summary.store = options.store ? decodeURIComponent(options.store) : this.summary.store
    },
    methods: {
      goHome() {
        uni.reLaunch({ url: '/pages/home/home' })
      },
      viewProgress() {
e1dcb3a0   “wangming”   1
80
81
        uni.redirectTo({
          url: '/packageBooking/my-appointments/my-appointments'
5c34676a   “wangming”   对会员端进行了设计
82
83
84
85
86
87
88
89
90
91
92
93
        })
      }
    }
  }
  </script>
  
  <style lang="scss" scoped>
  @import '@/styles/mixins.scss';
  @import '@/styles/subpage.scss';
  
  .success-hero {
    min-height: 260rpx;
d8035736   “wangming”   Refactor project ...
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
    padding-right: 180rpx;
  }
  
  .success-mark {
    position: absolute;
    right: 40rpx;
    top: 34rpx;
    width: 112rpx;
    height: 112rpx;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 18rpx 40rpx rgba(54, 77, 64, 0.08);
  }
  
  .success-mark-ring {
    position: absolute;
    inset: 10rpx;
    border-radius: 50%;
    border: 2rpx solid rgba(100, 140, 118, 0.2);
    animation: lfPulseSoft 4.8s ease-in-out infinite;
  }
  
  .success-mark-check {
    position: relative;
    z-index: 2;
    font-size: 42rpx;
    font-weight: 700;
    color: $brand-primary-deep;
5c34676a   “wangming”   对会员端进行了设计
125
126
  }
  </style>