success.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <view class="container">
  3. <view class="con-box">
  4. <view class="box-img"><image src="../../static/img/img27.png"></image></view>
  5. <view class="box-txt">预约成功</view>
  6. <view class="sub-bottom" @click="ToMyorder">查看预约</view>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. import { mapState, mapMutations } from 'vuex';
  12. export default {
  13. components: {},
  14. data() {
  15. return {};
  16. },
  17. onLoad(options) {},
  18. onShow() {},
  19. methods: {
  20. // 页面跳转
  21. ToMyorder() {
  22. uni.navigateTo({
  23. url: '/pages/order/myorder'
  24. });
  25. }
  26. }
  27. };
  28. </script>
  29. <style lang="scss">
  30. page{
  31. height: 100%;
  32. }
  33. .container {
  34. padding-top: 20rpx;
  35. background: #F5F5F5;
  36. height: 100%;
  37. .con-box {
  38. height: 100%;
  39. background-color: #FFFFFF;
  40. width: 750rpx;
  41. padding-top: 170rpx;
  42. .box-img {
  43. width: 142rpx;
  44. height: 163rpx;
  45. margin: 0 auto 40rpx;
  46. image {
  47. width: 100%;
  48. height: 100%;
  49. }
  50. }
  51. .box-txt {
  52. font-size: $font-lg;
  53. font-weight: 500;
  54. color: rgba(44, 44, 44, 1);
  55. text-align: center;
  56. }
  57. .sub-bottom {
  58. width: 465rpx;
  59. line-height: 77rpx;
  60. background: $background-color;
  61. box-shadow: 0px 0px 13rpx 3rpx rgba(209, 212, 217, 0.31);
  62. border-radius: 38rpx;
  63. font-size: $font-lg + 2rpx;
  64. font-weight: 500;
  65. color: rgba(255, 255, 255, 1);
  66. text-align: center;
  67. margin: 70rpx auto 0;
  68. }
  69. }
  70. }
  71. </style>