happly.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <template>
  2. <view class="page">
  3. <view class="topBannerBox">
  4. <view class="titlename">
  5. 战舰已航行
  6. </view>
  7. <view class="time">
  8. 208天21:22:32
  9. </view>
  10. <view class="titleTip">
  11. 目的地 未来世界
  12. </view>
  13. </view>
  14. <view class="conetntNumBox">
  15. <view class="conentP">
  16. 123123123位居民已登陆飞船
  17. </view>
  18. <view class="conentP">
  19. 在浩瀚宇宙中寻找新世界
  20. </view>
  21. </view>
  22. <view class="navModel">
  23. <view class="bg">
  24. <view class="bgBox " v-for="item in 23">
  25. <view class="line1 flex">
  26. <view class="minImg" v-for="item in 30">
  27. </view>
  28. </view>
  29. <view class="line2 flex">
  30. <view class="minImg" v-for="item in 30">
  31. </view>
  32. </view>
  33. </view>
  34. <view class="bgO">
  35. </view>
  36. </view>
  37. <view class="navModelContent">
  38. <view class="conetntText">
  39. 航行中发现星球
  40. </view>
  41. <view class="modelBox flex">
  42. <navigator url="/pages/game/index">
  43. <view class="model">
  44. <image class="modelImg1" src="../../static/index/happly/model1.png" mode="scaleToFill"></image>
  45. </view>
  46. </navigator>
  47. <view class="model">
  48. <image class="modelImg2" src="../../static/index/happly/model2.png" mode="scaleToFill"></image>
  49. </view>
  50. <view class="model">
  51. <image class="modelImg3" src="../../static/index/happly/model3.png" mode="scaleToFill"></image>
  52. </view>
  53. <view class="model">
  54. <image class="modelImg4" src="../../static/index/happly/model4.png" mode="scaleToFill"></image>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. export default {
  63. data() {
  64. return {
  65. };
  66. },
  67. onLoad(options) {
  68. },
  69. onShow() {},
  70. methods: {
  71. }
  72. };
  73. </script>
  74. <style lang="scss">
  75. .page {
  76. min-height: calc(100vh - var(--window-bottom));
  77. background-image: url("../../static/index/happly/happlyTop.png");
  78. background-repeat: no-repeat;
  79. background-size: 100% auto;
  80. background-color: rgb(16, 16, 16);
  81. }
  82. .conetntNumBox {
  83. color: rgb(72, 72, 72);
  84. padding: 570rpx 0 110rpx 110rpx;
  85. font-weight: bold;
  86. }
  87. .topBannerBox {
  88. padding-top: 140rpx;
  89. color: rgb(109, 99, 149);
  90. text-align: center;
  91. font-weight: bold;
  92. line-height: 1;
  93. .titlename {
  94. font-size: 40rpx;
  95. letter-spacing: .5em;
  96. }
  97. .time {
  98. padding: 20rpx;
  99. font-size: 60rpx;
  100. letter-spacing: .1em;
  101. }
  102. .titleTip {
  103. font-size: 32rpx;
  104. letter-spacing: .1em;
  105. }
  106. }
  107. .navModel {
  108. background-color: rgb(16, 16, 16);
  109. padding: 30rpx 10rpx 50rpx 25rpx;
  110. position: relative;
  111. .bg{
  112. position: relative;
  113. .bgO{
  114. position: relative;
  115. margin-top: -630rpx;
  116. height: 610rpx;
  117. width: 700rpx;
  118. border-radius: 100%;
  119. background-color:rgb(20, 20, 20) ;
  120. }
  121. .bgBox {
  122. padding-right: 20rpx;
  123. .line1 {
  124. padding-right: 12rpx;
  125. padding-bottom: 6rpx;
  126. }
  127. .line2 {
  128. padding-left: 12rpx;
  129. padding-bottom: 6rpx;
  130. }
  131. .minImg {
  132. width: 4px;
  133. height: 4px;
  134. transform: rotate(45deg);
  135. background-color: rgba(36, 36, 36, 1);
  136. }
  137. }
  138. }
  139. .navModelContent {
  140. position: absolute;
  141. top: 50rpx;
  142. left: 25rpx;
  143. right: 10rpx;
  144. bottom: 50rpx;
  145. .conetntText {
  146. text-align: center;
  147. font-weight: bold;
  148. font-size: 36rpx;
  149. color: #5A5A5A;
  150. padding-bottom: 50rpx;
  151. padding-top: 15rpx;
  152. }
  153. .modelBox {
  154. flex-wrap: wrap;
  155. align-items: flex-end;
  156. .model {
  157. &:nth-child(2) {
  158. padding-right: 10rpx;
  159. }
  160. .modelImg1 {
  161. width: 337rpx;
  162. height: 229rpx;
  163. }
  164. .modelImg2 {
  165. width: 351rpx;
  166. height: 205rpx;
  167. }
  168. .modelImg3 {
  169. width: 358rpx;
  170. height: 202rpx;
  171. }
  172. .modelImg4 {
  173. width: 356rpx;
  174. height: 201rpx;
  175. }
  176. }
  177. }
  178. }
  179. }
  180. </style>