finsh.vue 966 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.$emit('finshlist')
  25. uni.navigateBack({
  26. delta: 2
  27. });
  28. },
  29. // cha kan ding dan xiang qing
  30. lookfor() {
  31. let order_id = this.order_id ;
  32. uni.navigateTo({
  33. url: `/pages/myOrder/order?id=${order_id}`
  34. });
  35. }
  36. }
  37. }
  38. </script>
  39. <style>
  40. </style>