evaSuccessful.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <template>
  2. <view class="payCourteous">
  3. <view class="evaBox">
  4. <view class="imgBox">
  5. <image src="../../static/images/origin/payIcon.png"></image>
  6. </view>
  7. <view class="successful">评价成功</view>
  8. <view class="btnBox fs28 font-color-333">
  9. <view class="orderBtn btn" @click="goToOrder">查看订单</view>
  10. <view class="homeBtn btn" @click="goToHome">返回首页</view>
  11. </view>
  12. </view>
  13. <HotTemplate />
  14. </view>
  15. </template>
  16. <script>
  17. import HotTemplate from '@/components/hoteRecommed/index.vue'
  18. export default {
  19. name: 'EvaSuccessful',
  20. components: {
  21. HotTemplate
  22. },
  23. data() {
  24. return {
  25. orderId: null,
  26. orderPolite: {},
  27. list: []
  28. }
  29. },
  30. methods: {
  31. goToOrder() {
  32. uni.navigateTo({
  33. url: '../orderModule/index?type='
  34. })
  35. },
  36. goToHome() {
  37. this.$switchTab('/pages/tabbar/index/index')
  38. }
  39. }
  40. }
  41. </script>
  42. <style lang="scss" scoped>
  43. page {
  44. background: #F8F8F8;
  45. }
  46. .payCourteous {
  47. border-top: 2rpx solid #F3F4F5;
  48. .evaBox {
  49. padding: 30rpx 30rpx 50rpx 30rpx;
  50. background: #FFFFFF;
  51. .imgBox {
  52. padding-top: 100rpx;
  53. display: flex;
  54. justify-content: center;
  55. image {
  56. width: 166rpx;
  57. height: 121rpx;
  58. }
  59. }
  60. .successful {
  61. text-align: center;
  62. margin-top: 30rpx;
  63. }
  64. .btnBox {
  65. display: flex;
  66. justify-content: center;
  67. margin-top: 30rpx;
  68. .btn {
  69. width: 140rpx;
  70. height: 58rpx;
  71. line-height: 58rpx;
  72. border: 2rpx solid #999999;
  73. text-align: center;
  74. font-size: 24rpx;
  75. color: #999999;
  76. }
  77. .orderBtn {
  78. margin-right: 30rpx;
  79. }
  80. .homeBtn {
  81. background: #333333;
  82. border: none;
  83. color: #FFEBC4;
  84. }
  85. }
  86. }
  87. }
  88. </style>