success.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <view class="s-pages">
  3. <vew class="heads">
  4. <view><u-icon name="checkmark-circle-fill" size="200" color="red"></u-icon></view>
  5. <view>洗车机归位成功</view>
  6. <view class="s-butoon">
  7. <u-button @click="toWork" type="error">重新扫码洗车</u-button>
  8. <u-button @click="toHome">返回首页</u-button>
  9. </view>
  10. </vew>
  11. <view class="infos">
  12. <view>操作说明:</view>
  13. <view>【重新扫码洗车】需要再次支付洗车费用,如果遇到非个人原因导致洗车机中途归位,客服会在7个工作日内核实情况后,将已付费用按原支付渠道退款给付款账户。带来不便,敬请谅解。</view>
  14. <view @click="callPhone">如有疑问,请联系客服:<text>400-xxx-xxx</text> </view>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. };
  23. },
  24. methods:{
  25. // 电话客服
  26. callPhone () {
  27. uni.makePhoneCall({
  28. phoneNumber: '114'
  29. })
  30. },
  31. // 返回首页
  32. toHome () {
  33. uni.redirectTo({
  34. url: "/pages/index/index"
  35. })
  36. },
  37. // 再次洗车
  38. toWork(){
  39. uni.redirectTo({
  40. url: "/pages/getOrder/getOrder"
  41. })
  42. }
  43. }
  44. }
  45. </script>
  46. <style lang="scss">
  47. .s-pages{
  48. width: 100%;
  49. .heads{
  50. text-align: center;
  51. display: flex;
  52. justify-content: center;
  53. flex-direction: column;
  54. padding: 50rpx 50rpx 20rpx;
  55. .s-butoon{
  56. padding: 50rpx 0 0 0;
  57. .u-btn{
  58. margin-bottom: 35rpx;
  59. }
  60. }
  61. }
  62. .infos{
  63. padding:0 50rpx;
  64. > view{
  65. padding: 10rpx 0;
  66. text-indent: 24px;
  67. line-height: 22px;
  68. &:first-child{
  69. text-indent: 0;
  70. }
  71. text{
  72. color: red;
  73. }
  74. }
  75. }
  76. }
  77. </style>