success.vue 787 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <view class="cmain">
  3. <view class="icon">&#xe602;</view>
  4. <view class="desc">购买成功。</view>
  5. <button class="btn" @click="goBuy()" type="warn">继续购买</button>
  6. <button class="btn" @click="go()" style="margin-top: 20px;">订单列表</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/two/purchaser/order/list'
  18. });
  19. },
  20. goBuy() {
  21. uni.redirectTo({
  22. url: '/pages/market/two/list'
  23. });
  24. }
  25. }
  26. };
  27. </script>
  28. <style lang="scss">
  29. .cmain {
  30. text-align: center;
  31. padding: 40px;
  32. color: $font-c;
  33. .icon {
  34. font-size: 150px;
  35. color: $main-color;
  36. }
  37. .desc {
  38. margin-top: 7px;
  39. }
  40. .btn {
  41. margin-top: 50px;
  42. }
  43. }
  44. </style>