game.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <template>
  2. <view class="background1">
  3. <view class="background2">
  4. <view class="title"> {{$t('game.a1')}} </view>
  5. <view class="juli">
  6. {{$t('game.a2')}}
  7. </view>
  8. <view class="neirong">
  9. <view class="nr1">
  10. {{$t('game.a3')}}
  11. </view>
  12. <view class="nr2">
  13. {{$t('game.a4')}}
  14. </view>
  15. </view>
  16. <view class="ls">
  17. {{$t('game.a5')}}
  18. </view>
  19. <view class="liushui">
  20. <view class="">
  21. {{$t('game.a6')}}
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. };
  32. },
  33. onLoad() {
  34. uni.setNavigationBarTitle({
  35. title: this.$t("tab.a6"),
  36. });
  37. uni.setNavigationBarColor({
  38. frontColor: '#ffffff',
  39. backgroundColor: '#000000',
  40. });
  41. }
  42. }
  43. </script>
  44. <style lang="scss">
  45. .background1 {
  46. position: relative;
  47. // width: 100vw;
  48. height: calc(100vh - var(--status-bar-height));
  49. background: url("/index/static/img/youxi1.png");
  50. background-size: 100% 100%;
  51. background-position: 50% 50%;
  52. background-repeat: no-repeat;
  53. }
  54. .background2 {
  55. background-image: url("/index/static/img/youxi2.png");
  56. position: absolute;
  57. background-size: 100% 100%;
  58. width: 650rpx;
  59. height: 930rpx;
  60. top: 50%;
  61. left: 50%;
  62. transform: translate(-50%, -60%);
  63. }
  64. .title {
  65. margin-top: 95rpx;
  66. text-align: center;
  67. font-size: 37rpx;
  68. font-weight: bold;
  69. color: #d7b271;
  70. line-height: 10rpx;
  71. }
  72. .juli {
  73. margin-left: 60rpx;
  74. margin-top: 70rpx;
  75. height: 35rpx;
  76. font-size: 36rpx;
  77. font-family: Source Han Sans CN;
  78. font-weight: bold;
  79. color: #201809;
  80. line-height: 36rpx;
  81. }
  82. .neirong {
  83. width: 530rpx;
  84. height: 100;
  85. margin-left: 60rpx;
  86. margin-top: 40rpx;
  87. }
  88. .nr1 .nr2{
  89. height: 147rpx;
  90. font-size: 28rpx;
  91. font-family: PingFang SC;
  92. font-weight: bold;
  93. color: #201809;
  94. line-height: 40rpx;
  95. }
  96. .ls {
  97. margin-left: 60rpx;
  98. margin-top: 70rpx;
  99. height: 35rpx;
  100. font-size: 36rpx;
  101. font-family: Source Han Sans CN;
  102. font-weight: bold;
  103. color: #201809;
  104. line-height: 36rpx;
  105. }
  106. .liushui {
  107. width: 530rpx;
  108. height: 190rpx;
  109. margin-left: 60rpx;
  110. margin-top: 40rpx;
  111. }
  112. </style>