result1.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <template>
  2. <view class="result">
  3. <view class="bless">
  4. <image src="../../static/bless.png" mode="aspectFit"></image>
  5. <!-- <view>以梦为马</view>
  6. <view>不负韶华</view> -->
  7. </view>
  8. <view class="link">
  9. <view class="type">
  10. <image class="dn" src="../../static/diannao.png" mode="aspectFit"></image>
  11. <image class="copy" src="../../static/copy.png" mode="aspectFit" @click="copy"></image>
  12. </view>
  13. <view class="address">
  14. <image src="../../static/address.png" mode="aspectFit"></image>
  15. </view>
  16. </view>
  17. <view class="prompt">
  18. <view>努力,是最好的答案!</view>
  19. <view>德立信志愿祝您金榜题名!</view>
  20. </view>
  21. </view>
  22. </template>
  23. <script lang="ts" setup>
  24. const copy = () => {
  25. uni.setClipboardData({
  26. data: 'https://www.dlxgk.com',
  27. success: () => {
  28. uni.showToast({
  29. title: '复制成功',
  30. icon: 'none'
  31. });
  32. }
  33. });
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. @media screen and (min-width: 500px) {
  38. .bless {
  39. padding-top: 20rpx !important;
  40. }
  41. .prompt {
  42. bottom: 20rpx !important;
  43. }
  44. }
  45. @media screen and (max-width: 430px) {
  46. .bless {
  47. padding-top: 30% !important;
  48. }
  49. }
  50. @media screen and (max-width: 375px) {
  51. .bless {
  52. padding-top: 26% !important;
  53. }
  54. }
  55. @media screen and (max-width: 360px) {
  56. .bless {
  57. padding-top: 30% !important;
  58. }
  59. }
  60. .result {
  61. width: 100vw;
  62. height: auto;
  63. min-height: 100vh;
  64. background: url('../../static/beijing.png') no-repeat;
  65. background-size: 100% 100%;
  66. .bless {
  67. display: flex;
  68. align-items: center;
  69. flex-direction: column;
  70. padding-top: 30%;
  71. image {
  72. width: 448rpx;
  73. height: 268rpx;
  74. }
  75. }
  76. .link {
  77. width: 356rpx;
  78. margin: 32rpx auto;
  79. padding-bottom: 140rpx;
  80. .type {
  81. display: flex;
  82. align-items: center;
  83. justify-content: space-between;
  84. .dn {
  85. width: 130rpx;
  86. height: 34rpx;
  87. }
  88. .copy {
  89. width: 130rpx;
  90. height: 34rpx;
  91. }
  92. }
  93. .address {
  94. margin: 16rpx auto;
  95. width: 356rpx;
  96. image {
  97. width: 356rpx;
  98. height: 96rpx;
  99. }
  100. }
  101. .desc {
  102. font-family: Alimama ShuHeiTi, Alimama ShuHeiTi;
  103. font-weight: bold;
  104. font-size: 24rpx;
  105. color: #FFFFFF;
  106. line-height: 28rpx;
  107. text-stroke: 2px #35A5FF;
  108. text-align: left;
  109. font-style: normal;
  110. text-transform: none;
  111. -webkit-text-stroke: .5px #35A5FF;
  112. text-align: center;
  113. }
  114. }
  115. .prompt {
  116. width: 100%;
  117. display: flex;
  118. flex-direction: column;
  119. align-items: center;
  120. justify-content: center;
  121. position: fixed;
  122. bottom: 104rpx;
  123. left: 50%;
  124. transform: translateX(-50%);
  125. view {
  126. font-family: Alimama ShuHeiTi, Alimama ShuHeiTi;
  127. font-weight: bold;
  128. font-size: 32rpx;
  129. color: #FFFFFF;
  130. line-height: 38rpx;
  131. letter-spacing: 3px;
  132. text-align: left;
  133. font-style: normal;
  134. text-transform: none;
  135. margin-bottom: 20rpx;
  136. }
  137. }
  138. }
  139. </style>