success.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <view class="receive">
  3. <view class="info-box">
  4. <view class="lqcg-img">
  5. 兑换成功
  6. <!-- <image src="../../static/zu7.png" mode=""></image> -->
  7. </view>
  8. <view class="info">
  9. <view class="title">您的礼品已经兑换成功</view>
  10. <view class="jkfh">我们会尽快为您发货</view>
  11. <view class="ckxx" @click="chanKan">查看物流信息</view>
  12. <view class="lpk">礼品卡兑换成功后,卡号即刻失效</view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. }
  22. },
  23. methods: {
  24. chanKan() {
  25. uni.navigateTo({
  26. url: "/pages/logistics/logistics"
  27. })
  28. }
  29. }
  30. }
  31. </script>
  32. <style>
  33. .receive {
  34. line-height: 1;
  35. background: linear-gradient(to top ,#FDC2B9 ,#FCC295);
  36. padding-bottom: 30rpx;
  37. padding-top: 30rpx;
  38. min-height: 91vh;
  39. }
  40. .info-box {
  41. width: 710rpx;
  42. margin: 0 auto;
  43. border-radius: 24rpx;
  44. overflow: hidden;
  45. }
  46. .lqcg-img {
  47. width: 100%;
  48. height: 310rpx;
  49. line-height: 310rpx;
  50. font-size: 60rpx;
  51. text-align: center;
  52. color: #ffffff;
  53. background-color: #ff5555;
  54. }
  55. .lqcg-img image {
  56. width: 100%;
  57. height: 100%;
  58. }
  59. .info {
  60. width: 100%;
  61. text-align: center;
  62. color: #666666;
  63. font-weight: bold;
  64. font-size: 24rpx;
  65. background: #FFFFFF;
  66. padding-bottom: 100rpx;
  67. }
  68. .title {
  69. color: #1A1A1A;
  70. font-size: 34rpx;
  71. padding-top: 90rpx;
  72. }
  73. .jkfh {
  74. font-size: 28rpx;
  75. margin: 32rpx 0 96rpx;
  76. }
  77. .ckxx {
  78. width: 500rpx;
  79. height: 94rpx;
  80. border-radius:6rpx;
  81. line-height: 94rpx;
  82. text-align: center;
  83. margin: 92rpx auto 40rpx;
  84. background: linear-gradient(to top, #ff5555, #ff3333);
  85. font-size: 36rpx;
  86. color: #fff;
  87. font-weight: 500;
  88. }
  89. </style>