success.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <template>
  2. <view class="content">
  3. <image src="../../static/img/success.png" mode="" class="okimg"></image>
  4. <text class="tit">{{$t('hea.tjcg')}}</text>
  5. <text class="tit1">{{$t('hea.qdd')}}</text>
  6. <view class="btn-wrapper" >
  7. <navigator url="/pages/index/index" open-type="switchTab" class="bank">{{$t('hea.backhome')}}</navigator>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. orderId:'',
  16. money: '',
  17. }
  18. },
  19. onLoad() {
  20. },
  21. methods: {
  22. }
  23. }
  24. </script>
  25. <style lang='scss'>
  26. .content{
  27. display: flex;
  28. flex-direction: column;
  29. justify-content: center;
  30. align-items: center;
  31. padding-top: 277rpx;
  32. }
  33. .success-icon{
  34. font-size: 160upx;
  35. color: #5dbc7c;
  36. margin-top: 100upx;
  37. }
  38. .tit{
  39. margin-top: -50rpx;
  40. font-size: 40rpx;
  41. font-family: PingFang SC;
  42. font-weight: 500;
  43. color: #FFFFFF;
  44. line-height: 1.5;
  45. }
  46. .tit1 {
  47. font-size: 28rpx;
  48. font-family: PingFang SC;
  49. font-weight: 500;
  50. color: #B3B3B3;
  51. }
  52. .btn-group{
  53. padding-top: 100upx;
  54. }
  55. .mix-btn {
  56. margin-top: 30upx;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. width: 600upx;
  61. height: 80upx;
  62. font-size: $font-lg;
  63. color: #fff;
  64. background-color: $base-color;
  65. border-radius: 10upx;
  66. &.hollow{
  67. background: #fff;
  68. color: #303133;
  69. border: 1px solid #ccc;
  70. }
  71. }
  72. .okimg {
  73. width: 362rpx;
  74. height: 267rpx;
  75. }
  76. .btn-wrapper {
  77. margin-top: 46rpx;
  78. display: flex;
  79. .look-btn {
  80. width: 301rpx;
  81. height: 78rpx;
  82. background: #901b21;
  83. text-align: center;
  84. line-height: 78rpx;
  85. border-radius: 10rpx;
  86. color: #fff;
  87. margin-right: 37rpx;
  88. }
  89. .bank {
  90. /* width: 301rpx;
  91. height: 78rpx;
  92. text-align: center;
  93. line-height: 78rpx;
  94. background: #FFFFFF;
  95. border: 2px solid #901B21;
  96. border-radius: 10rpx;
  97. color: #901b21; */
  98. width: 350rpx;
  99. line-height: 80rpx;
  100. text-align: center;
  101. background: linear-gradient(-74deg, #CE9C6D, #FFECD6);
  102. box-shadow: 3rpx 4rpx 5rpx 0px rgba(151, 118, 74, 0.5);
  103. border-radius: 40rpx;
  104. font-size: 34rpx;
  105. font-family: PingFang SC;
  106. font-weight: 500;
  107. color: #874B19;
  108. }
  109. }
  110. </style>