payResult.vue 1.6 KB

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