success.vue 639 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="cmain">
  3. <view class="icon">&#xe602;</view>
  4. <view class="desc">你的订单已提交成功,</view>
  5. <view class="desc">正在等待商家确认。</view>
  6. <button class="btn" @click="go()">前往订单</button>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {};
  13. },
  14. methods: {
  15. go() {
  16. uni.redirectTo({
  17. url: '/pages/market/one/leader/order'
  18. });
  19. }
  20. }
  21. };
  22. </script>
  23. <style lang="scss">
  24. .cmain {
  25. text-align: center;
  26. padding: 40px;
  27. color: $font-c;
  28. .icon {
  29. font-size: 150px;
  30. color: $main-color;
  31. }
  32. .desc {
  33. margin-top: 7px;
  34. }
  35. .btn {
  36. margin-top: 50px;
  37. }
  38. }
  39. </style>