finsh.vue 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <view style="padding: 0 36upx;">
  3. <view style="text-align: center;margin: 0 auto;padding: 10upx 0;">
  4. <van-icon color="#eee;" size="88px" name="passed" />
  5. </view>
  6. <view style="text-align: center;padding: 10upx 0;">订单支付成功</view>
  7. <view class="submitRemin" @click="lookfor" style="background-color: #fff;color:#303133;border: 1px solid #D9332E;">查看订单详情</view>
  8. <view class="submitRemin" @click="submitRemin">继续购物</view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return{
  15. order_id:''
  16. }
  17. },
  18. onLoad(e) {
  19. this.order_id = e.order_id;
  20. },
  21. methods:{
  22. // ji xu gou wu
  23. submitRemin() {
  24. uni.navigateBack({
  25. delta: 2
  26. });
  27. },
  28. // cha kan ding dan xiang qing
  29. lookfor() {
  30. let order_id = this.order_id ;
  31. uni.navigateTo({
  32. url: `/pages/myOrder/order?id=${order_id}`
  33. });
  34. }
  35. }
  36. }
  37. </script>
  38. <style>
  39. </style>