waitSuccess.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <template>
  2. <view class="container">
  3. <view class="content">
  4. <view class="main_box">
  5. <view class="make_msg_box" :class="{ topBorderRadius: pageType == 'yygh' }">
  6. <image class="success_icon" :src="iconUrl.icon_circleActive"></image>
  7. <text class="title">候补已提交!</text>
  8. </view>
  9. <view class="con">
  10. <view class="tips">
  11. <view class="tips_name">1、您已完成候补登记,进入预约候补队列!当出现预约成功患者退号时,系统将根据您的候补队列次序,自动为您预约挂号,并短信通知您如期就诊;</view>
  12. <view class="tips_name">2、如您需要取消候补登记,可通过“我的”-“候补记录”进行取消操作。</view>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="btn_list">
  17. <view class="btn_item btn_item_width100 backgroundCustom" @click="backHome">返回首页</view>
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script setup lang="ts">
  23. import { ref } from 'vue';
  24. import { common } from '@/utils';
  25. import icon from '@/utils/icon';
  26. const iconUrl = ref(icon);
  27. const pageType = ref(''); // Assuming pageType might be passed or used, initializing it. Original code used pageType in template but didn't initialize in data, maybe from options?
  28. // Original JS: onLoad: function(options) {} - empty.
  29. // Template: {{pageType == 'yygh' && 'topBorderRadius'}}
  30. // It seems pageType wasn't used in JS but used in WXML. It might be safe to default to empty or check options if intended.
  31. // Since onLoad was empty in JS, I'll leave it empty here or just init ref.
  32. const backHome = () => {
  33. common.goToUrl('/pages/st1/business/tabbar/homePage/homePage', { skipWay: "reLaunch" });
  34. };
  35. </script>
  36. <style scoped>
  37. .main_box {
  38. width: 100%;
  39. height: 100%;
  40. padding: 30upx;
  41. box-sizing: border-box;
  42. padding-bottom: 210upx;
  43. overflow: auto;
  44. }
  45. .make_msg_box {
  46. width: 100%;
  47. padding: 30upx 0upx 40upx 0upx;
  48. box-sizing: border-box;
  49. background: white;
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: center;
  53. align-items: center;
  54. border-radius: 24upx;
  55. }
  56. .make_msg_box .success_icon {
  57. width: 120upx;
  58. height: 120upx;
  59. margin-bottom: 30upx;
  60. }
  61. .make_msg_box .title {
  62. text-align: center;
  63. font-size: 36upx;
  64. font-family: PingFang SC;
  65. font-weight: bold;
  66. color: #333;
  67. text-align: left;
  68. }
  69. .tips {
  70. padding: 40upx 30upx;
  71. box-shadow: 0px 0px 40upx 0px rgba(0, 0, 0, 0.06);
  72. border-radius: 24upx;
  73. margin-top: 30upx;
  74. background-color: #fff;
  75. }
  76. .tips_name {
  77. font-size: 30upx;
  78. color: rgba(85, 85, 85, 1);
  79. line-height: 44upx;
  80. text-align: justify;
  81. }
  82. .btn_list {
  83. height: 100upx;
  84. display: flex;
  85. position: fixed;
  86. width: 100%;
  87. left: 0;
  88. bottom: 0;
  89. }
  90. .btn_item {
  91. display: flex;
  92. align-items: center;
  93. justify-content: center;
  94. font-size: 36upx;
  95. font-weight: 500;
  96. color: rgba(166, 166, 166, 1);
  97. background-color: #fff;
  98. width: 50%;
  99. }
  100. .btn_item_width100 {
  101. width: 100%;
  102. }
  103. </style>