introduce.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <template>
  2. <view class="background1">
  3. <view class="background2">
  4. <view class="wenben">
  5. <view class="wenben1">
  6. {{$t('introduce.a1')}}
  7. </view>
  8. <view class="wenben2">
  9. {{$t('introduce.a2')}}
  10. </view>
  11. <view class="xian"></view>
  12. <view class="weben3">
  13. <view class="tet">
  14. {{$t('introduce.a3')}}
  15. </view>
  16. </view>
  17. <view class="wenben4">
  18. {{$t('introduce.a4')}}
  19. </view>
  20. <view class="xian"></view>
  21. <view class="weben5">
  22. <view class="te">
  23. {{$t('introduce.a5')}}
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. data() {
  33. return {};
  34. },
  35. onLoad() {
  36. uni.setNavigationBarTitle({
  37. title: this.$t("tab.a4"),
  38. });
  39. uni.setNavigationBarColor({
  40. frontColor: '#ffffff',
  41. backgroundColor: '#000000',
  42. })
  43. }
  44. };
  45. </script>
  46. <style lang="scss">
  47. .background1 {
  48. position: relative;
  49. // width: 100vw;
  50. height: calc(100vh - var(--status-bar-height));
  51. background: url("/index/static/shouye/beijing1.png");
  52. background-size: 100% 100%;
  53. background-position: 50% 50%;
  54. background-repeat: no-repeat;
  55. }
  56. .background2 {
  57. background-image: url("/index/static/shouye/beijing2.png");
  58. position: absolute;
  59. background-size: 100% 100%;
  60. width: 650rpx;
  61. height: 1000rpx;
  62. top: 50%;
  63. left: 50%;
  64. transform: translate(-50%, -60%);
  65. }
  66. .wenben1 {
  67. text-align: center;
  68. margin-top: 87rpx;
  69. font-size: 36rpx;
  70. font-weight: bold;
  71. color: #201809;
  72. line-height: 36rpx;
  73. }
  74. .wenben2 {
  75. margin-top: 90rpx;
  76. height: 35rpx;
  77. font-size: 37rpx;
  78. text-align: center;
  79. font-weight: bold;
  80. color: #D7BB80;
  81. line-height: 10rpx;
  82. }
  83. .xian {
  84. width: 200rpx;
  85. height: 8rpx;
  86. color: #000000;
  87. }
  88. .wenben3 {
  89. display: flex;
  90. justify-content: center;
  91. align-items: center;
  92. width: 528rpx;
  93. height: 138rpx;
  94. }
  95. .tet {
  96. margin-left: 62rpx;
  97. margin-top: 40rpx;
  98. padding-top: 30rpx;
  99. font-size: 24rpx;
  100. // font-family: Source Han Sans CN;
  101. font-weight: bold;
  102. color: #211808;
  103. line-height: 42rpx;
  104. width: 528rpx;
  105. height: 148rpx;
  106. background-color: #FAEDD6;
  107. text-align: center;
  108. }
  109. .wenben4 {
  110. text-align: center;
  111. margin-top: 50rpx;
  112. height: 35rpx;
  113. font-size: 37rpx;
  114. font-weight: bold;
  115. color: #D7BB80;
  116. line-height: 10rpx;
  117. }
  118. .wenben5 {
  119. display: flex;
  120. justify-content: center;
  121. align-items: center;
  122. // width: 528rpx;
  123. // height: 138rpx;
  124. }
  125. .te {
  126. margin-left: 62rpx;
  127. margin-top: 40rpx;
  128. padding-top: 40rpx;
  129. font-size: 24rpx;
  130. font-family: Source Han Sans CN;
  131. font-weight: bold;
  132. color: #211808;
  133. line-height: 42rpx;
  134. width: 528rpx;
  135. height: 100%;
  136. background-color: #FAEDD6;
  137. text-align: center;
  138. }
  139. </style>