information.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <template>
  2. <view class="content">
  3. <view class="list flex" @click="nav('/pages/introduce/introduce')">
  4. <image class="img" src="../../static/img/zixun1.png" mode="scaleToFill"></image>
  5. <view class="text">
  6. {{$t('homeinformation.m1')}}
  7. </view>
  8. </view>
  9. <view class="list flex" @click="nav('/pages/introduce/promotion')">
  10. <image class="img" src="../../static/img/zixun2.png" mode="scaleToFill"></image>
  11. <view class="text">
  12. {{$t('homeinformation.m0')}}
  13. </view>
  14. </view>
  15. <view class="list flex" @click="nav('/pages/introduce/game')">
  16. <image class="img" src="../../static/img/zixun3.png" mode="scaleToFill"></image>
  17. <view class="text">
  18. {{$t('homeinformation.m2')}}
  19. </view>
  20. </view>
  21. <view class="list flex" @click="navigatorH">
  22. <image class="img" src="../../static/img/zixun4.png" mode="scaleToFill"></image>
  23. <view class="text">
  24. {{$t('login.a0')}}
  25. </view>
  26. </view>
  27. <view class="tit padding-t-30 margin-t-20">
  28. {{$t('homeinformation.m4')}}
  29. </view>
  30. <view class="pro flex">
  31. <view class="im">
  32. <image class="image" src="../../static/img/zixun7.png" mode="heightFix"></image>
  33. <view class="wen flex">{{$t('homeinformation.m5')}}</view>
  34. </view>
  35. <view class="im">
  36. <image class="image" src="../../static/img/zixun8.png" mode="heightFix"></image>
  37. <view class="wen flex">{{$t('homeinformation.m6')}}</view>
  38. </view>
  39. </view>
  40. <view class="infor flex">
  41. <view class="im">
  42. <image class="image" src="../../static/img/zixun10.png" mode="heightFix"></image>
  43. <view class="wen flex">{{$t('homeinformation.m7')}}</view>
  44. </view>
  45. <view class="im">
  46. <image class="image" src="../../static/img/zixun6.png" mode="heightFix"></image>
  47. <view class="wen flex">{{$t('homeinformation.m8')}}</view>
  48. </view>
  49. <view class="im">
  50. <image class="image" src="../../static/img/zixun9.png" mode="heightFix"></image>
  51. <view class="wen flex">{{$t('homeinformation.m9')}}</view>
  52. </view>
  53. </view>
  54. <taber tab='information'></taber>
  55. </view>
  56. </template>
  57. <script>
  58. import taber from "@/components/footer/footer.vue";
  59. export default {
  60. components: {
  61. taber
  62. },
  63. data() {
  64. return {};
  65. },
  66. methods: {
  67. nav(url) {
  68. uni.navigateTo({
  69. url
  70. })
  71. },
  72. navigatorH() {
  73. uni.switchTab({
  74. url: '/pages/index/entertainment'
  75. })
  76. },
  77. }
  78. };
  79. </script>
  80. <style lang="scss">
  81. .content {
  82. width: 750rpx;
  83. background-color: $page-color-base;
  84. padding-top: var(--status-bar-height);
  85. padding-bottom: 30rpx;
  86. }
  87. .list {
  88. margin: 0 30rpx;
  89. align-items: flex-start;
  90. padding: 30rpx 0;
  91. border-bottom: 1px solid rgba(255,255,255,0.3);
  92. .img {
  93. width: 200rpx;
  94. height: 160rpx;
  95. }
  96. .text {
  97. padding: 10rpx 0;
  98. padding-left: 20rpx;
  99. font-size: 30rpx;
  100. font-weight: bold;
  101. color: #FFFFFF;
  102. flex-grow: 1;
  103. }
  104. }
  105. .infor {
  106. margin-top: 30rpx;
  107. justify-content: space-around;
  108. padding: 0 20rpx;
  109. }
  110. .pro {
  111. padding: 0 155rpx;
  112. padding-top: 50rpx;
  113. }
  114. .im {
  115. width: 200rpx;
  116. background-color: #191a1f;
  117. text-align: center;
  118. padding: 0 10rpx;
  119. padding-top: 30rpx;
  120. font-weight: bold;
  121. border-radius: 20rpx;
  122. .image {
  123. height: 100rpx;
  124. }
  125. .wen {
  126. justify-content: center;
  127. height: 100rpx;
  128. color: #FFFFFF;
  129. font-size: 20rpx;
  130. text-align: center;
  131. }
  132. }
  133. .tit {
  134. text-align: center;
  135. font-size: 49rpx;
  136. font-weight: 500;
  137. color: #FFFFFF;
  138. }
  139. </style>