zhifuchenggong.vue 935 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <view class="content">
  3. <view class="text-area">
  4. <text class="top-line"></text>
  5. <view class="item">
  6. <image src="../../static/success.png" class="success-img"></image>
  7. <text class="success-text">支付成功</text>
  8. <view class="success">
  9. <button form-type="submit" type="primary" @click="success">我知道了</button>
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {
  19. orderId:'',//订单id
  20. }
  21. },
  22. onLoad(option) {
  23. this.orderId=option.orderId
  24. },
  25. methods: {
  26. success() {
  27. // uni.reLaunch({
  28. // // url:'../order_mark/order_mark?orderId='+this.orderId
  29. // url:'/pages/my_orderlist/my_orderlist?Inv=3'
  30. // })
  31. uni.switchTab({
  32. // url:'../order_mark/order_mark?orderId='+this.orderId
  33. url:'/pages/index/index'
  34. })
  35. },
  36. }
  37. }
  38. </script>
  39. <style>
  40. @import url("./css/zhifuchenggong.css");
  41. </style>