You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
2.5 KiB

1 week ago
  1. <template>
  2. <view class="successful-page">
  3. <view class="successful-content">
  4. <img src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/details/pic_product.png" alt=""
  5. style="width:100%;" mode="widthFix">
  6. <view class="successful-tips">
  7. <img src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/details/cmdf.png" alt="" style="width: 80px; height:80px">
  8. <view class="successful-tips-text">预约成功</view>
  9. </view>
  10. <view class="successful-small-page">
  11. <view class="successful-add-wechat">
  12. <view>请您耐心等待,</view>
  13. <view>我们将会在5小时内与您取得联系,</view>
  14. <view>您也可主动添加下方微信哦</view>
  15. <image src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/details/QR_Code.png" alt="" :show-menu-by-longpress="true"
  16. style="width: 99px; height:99px; margin-top:23px" />
  17. </view>
  18. </view>
  19. </view>
  20. <view class="back-home">
  21. <button class="details-btn" @click="goHome">返回首页</button>
  22. </view>
  23. <Kefu></Kefu>
  24. </view>
  25. </template>
  26. <script>
  27. import Kefu from '../common/kefu.vue'
  28. export default {
  29. data() {
  30. return {
  31. };
  32. },
  33. components:{
  34. Kefu
  35. },
  36. methods: {
  37. goHome() {
  38. this.$globalData.itemPrice=[]
  39. this.$globalData.submitData = {}
  40. this.$globalData.newOrderData={
  41. currentAddress:{},
  42. currentPets:[],
  43. totalPrice:0,
  44. needPreFamiliarize:[]
  45. }
  46. // 清空页面栈
  47. uni.reLaunch({
  48. url: "/pages/index"
  49. });
  50. },
  51. }
  52. }
  53. </script>
  54. <style lang="scss">
  55. .successful-page{
  56. position: relative;
  57. height: 100vh;
  58. padding-bottom: 58px;
  59. background-color: #ffffff;
  60. .successful-tips {
  61. width: 100%;
  62. padding: 10px;
  63. text-align: center;
  64. margin-top: 10%;
  65. .successful-tips-text {
  66. color: #333;
  67. font-size: 20px;
  68. font-weight: bold;
  69. }
  70. }
  71. .successful-content{
  72. width: 100%;
  73. display: flex;
  74. flex-wrap: wrap;
  75. justify-content: center;
  76. padding: 10px;
  77. .successful-small-page {
  78. width: 258px;
  79. background-color: #f7f7f7;
  80. margin-top: 20px;
  81. padding: 32px 10px;
  82. .successful-add-wechat {
  83. color: #6A6A6A;
  84. text-align: center;
  85. font-size: 14px;
  86. width: 100%;
  87. }
  88. }
  89. }
  90. .back-home{
  91. height: 58px;
  92. position: fixed;
  93. bottom: 0;
  94. width: 100%;
  95. background-color: #FFFFFF;
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. .details-btn {
  100. width: 90%;
  101. border-radius: 6px;
  102. background: #FFB13F;
  103. font-size: 16px;
  104. color: #FFFFFF;
  105. }
  106. }
  107. }
  108. </style>