game.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. }
  38. }
  39. </script>
  40. <style lang="scss">
  41. .background1 {
  42. position: relative;
  43. height: calc(100vh - var(--status-bar-height));
  44. background: url("../../static/img/youxi1.png");
  45. background-size: 100% 100%;
  46. background-position: 50% 50%;
  47. background-repeat: no-repeat;
  48. }
  49. .background2 {
  50. background:url("../../static/img/youxi2.png");
  51. position: absolute;
  52. background-size: 100% 100%;
  53. width: 650rpx;
  54. height: 960rpx;
  55. top: 50%;
  56. left: 50%;
  57. transform: translate(-50%, -60%);
  58. }
  59. .title {
  60. margin-top: 95rpx;
  61. text-align: center;
  62. font-size: 37rpx;
  63. font-weight: bold;
  64. color: #d7b271;
  65. }
  66. .juli {
  67. margin-left: 60rpx;
  68. margin-top: 70rpx;
  69. font-size: 36rpx;
  70. font-weight: bold;
  71. color: #201809;
  72. }
  73. .neirong {
  74. width: 530rpx;
  75. height: 100;
  76. margin-left: 60rpx;
  77. margin-top: 30rpx;
  78. }
  79. .nr1 .nr2{
  80. height: 147rpx;
  81. font-size: 28rpx;
  82. font-weight: bold;
  83. color: #201809;
  84. }
  85. .ls {
  86. margin-left: 60rpx;
  87. margin-top: 70rpx;
  88. font-size: 36rpx;
  89. font-weight: bold;
  90. color: #201809;
  91. }
  92. .liushui {
  93. width: 530rpx;
  94. height: 190rpx;
  95. margin-left: 60rpx;
  96. margin-top: 30rpx;
  97. }
  98. </style>