payResult.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <template>
  2. <view class="default_page adffcac" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='支付结果' bgColor="transparent"></cus-header>
  4. <image :src="imgBase+'pay_success.png'"></image>
  5. <view class="title">支付成功</view>
  6. <view class="tip">可以在个人中心“我的订单“中查看</view>
  7. <view class="btn" @click="reviewOrder">查看订单</view>
  8. <view class="btn back" @click="returnHome">返回首页</view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data(){
  14. return {
  15. }
  16. },
  17. methods:{
  18. reviewOrder(){
  19. uni.redirectTo({
  20. url:'/pagesMy/order'
  21. })
  22. },
  23. returnHome(){
  24. uni.reLaunch({
  25. url:'/pages/home'
  26. })
  27. },
  28. }
  29. }
  30. </script>
  31. <style scoped lang="scss">
  32. .default_page{
  33. padding: 0 120rpx;
  34. image{
  35. width: 226rpx;
  36. height: 142rpx;
  37. margin-top: 196rpx;
  38. }
  39. .title{
  40. font-family: PingFangSC, PingFang SC;
  41. font-weight: 600;
  42. font-size: 40rpx;
  43. color: #002846;
  44. line-height: 51rpx;
  45. margin-top: 42rpx;
  46. }
  47. .tip{
  48. font-family: PingFangSC, PingFang SC;
  49. font-weight: 400;
  50. font-size: 28rpx;
  51. color: #95A5B1;
  52. line-height: 51rpx;
  53. margin-top: 8rpx;
  54. }
  55. .btn{
  56. width: 100%;
  57. height: 88rpx;
  58. border: 1rpx solid #33A7A7;
  59. background: linear-gradient( 90deg, #33A7A7 0%, #64BBBB 100%);;
  60. border-radius: 44rpx;
  61. font-family: PingFang-SC, PingFang-SC;
  62. font-weight: bold;
  63. font-size: 32rpx;
  64. color: #FFFFFF;
  65. line-height: 88rpx;
  66. text-align: center;
  67. letter-spacing: 2rpx;
  68. margin-top: 197rpx;
  69. &.back{
  70. background: #FFFFFF;
  71. border: 1rpx solid #E0E4E7;
  72. color: #667E90;
  73. margin-top: 40rpx;
  74. }
  75. }
  76. }
  77. </style>