paySuccess.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <view class="login-main">
  3. <image
  4. src="../../static/images/success.png"
  5. mode=""
  6. style="width: 300px; margin-left: 25px"
  7. ></image>
  8. <span style="font-weight: 600; font-size: 44rpx; color: #333333">支付成功</span>
  9. <view style="margin-top: 20px">
  10. 已返
  11. <span style="color: red">{{ requestConfig.pay }}元</span>
  12. 红包,可进入农商网小程序查看
  13. </view>
  14. <view style="margin-top: 20px">
  15. <button class="btn">查看红包</button>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. import { requestConfig } from "@/app.config.js";
  21. export default {
  22. data() {
  23. return {
  24. requestConfig: requestConfig,
  25. // 基本案列数据
  26. radiovalue: 0,
  27. };
  28. },
  29. onLoad() {},
  30. methods: {},
  31. };
  32. </script>
  33. <style scoped lang="scss">
  34. .u-radio-group--row {
  35. justify-content: center;
  36. }
  37. .btn {
  38. margin-top: 20px;
  39. width: 400px;
  40. height: 90rpx;
  41. background: linear-gradient(275deg, #01cf6c 0%, #07e278 100%);
  42. border-radius: 44rpx;
  43. color: #fff;
  44. }
  45. .radioText {
  46. font-weight: 500;
  47. font-size: 24rpx;
  48. color: #999999;
  49. line-height: 34rpx;
  50. text-align: left;
  51. font-style: normal;
  52. }
  53. .login-main {
  54. background: url("../../static/images/back.png") no-repeat;
  55. background-size: 100% 100%;
  56. width: 100%;
  57. display: flex;
  58. flex-direction: column;
  59. align-items: center;
  60. height: 100vh;
  61. }
  62. .login-contont-button {
  63. .btn {
  64. margin-top: 20px;
  65. width: 90%;
  66. height: 90rpx;
  67. background: linear-gradient(275deg, #01cf6c 0%, #07e278 100%);
  68. border-radius: 44rpx;
  69. color: #fff;
  70. }
  71. }
  72. .login-contont {
  73. width: 100%;
  74. height: 50%;
  75. .login-contont-info {
  76. text-align: center;
  77. .text {
  78. margin-top: 10px;
  79. font-weight: 500;
  80. font-size: 28rpx;
  81. color: #999999;
  82. line-height: 40rpx;
  83. font-style: normal;
  84. }
  85. }
  86. }
  87. .radio {
  88. text-align: center;
  89. margin-top: 10px;
  90. }
  91. .login-main-content {
  92. text-align: center;
  93. padding-top: 100px;
  94. width: 100%;
  95. height: 50%;
  96. .img {
  97. width: 100px;
  98. height: 130px;
  99. }
  100. }
  101. </style>