introduce.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. }
  40. };
  41. </script>
  42. <style lang="scss">
  43. .background1 {
  44. position: relative;
  45. // width: 100vw;
  46. height: calc(100vh - var(--status-bar-height));
  47. background: url("/index/static/shouye/beijing1.png");
  48. background-size: 100% 100%;
  49. background-position: 50% 50%;
  50. background-repeat: no-repeat;
  51. }
  52. .background2 {
  53. background-image: url("/index/static/shouye/beijing2.png");
  54. position: absolute;
  55. background-size: 100% 100%;
  56. width: 650rpx;
  57. height: 1000rpx;
  58. top: 50%;
  59. left: 50%;
  60. transform: translate(-50%, -60%);
  61. }
  62. .wenben1 {
  63. text-align: center;
  64. margin-top: 87rpx;
  65. font-size: 36rpx;
  66. font-weight: bold;
  67. color: #201809;
  68. line-height: 36rpx;
  69. }
  70. .wenben2 {
  71. margin-top: 90rpx;
  72. height: 35rpx;
  73. font-size: 37rpx;
  74. text-align: center;
  75. font-weight: bold;
  76. color: #D7BB80;
  77. line-height: 10rpx;
  78. }
  79. .xian {
  80. width: 200rpx;
  81. height: 8rpx;
  82. color: #000000;
  83. }
  84. .wenben3 {
  85. display: flex;
  86. justify-content: center;
  87. align-items: center;
  88. width: 528rpx;
  89. height: 138rpx;
  90. }
  91. .tet {
  92. margin-left: 62rpx;
  93. margin-top: 40rpx;
  94. padding-top: 30rpx;
  95. font-size: 24rpx;
  96. // font-family: Source Han Sans CN;
  97. font-weight: bold;
  98. color: #211808;
  99. line-height: 42rpx;
  100. width: 528rpx;
  101. height: 148rpx;
  102. background-color: #FAEDD6;
  103. text-align: center;
  104. }
  105. .wenben4 {
  106. text-align: center;
  107. margin-top: 50rpx;
  108. height: 35rpx;
  109. font-size: 37rpx;
  110. font-weight: bold;
  111. color: #D7BB80;
  112. line-height: 10rpx;
  113. }
  114. .wenben5 {
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. // width: 528rpx;
  119. // height: 138rpx;
  120. }
  121. .te {
  122. margin-left: 62rpx;
  123. margin-top: 40rpx;
  124. padding-top: 40rpx;
  125. font-size: 24rpx;
  126. font-family: Source Han Sans CN;
  127. font-weight: bold;
  128. color: #211808;
  129. line-height: 42rpx;
  130. width: 528rpx;
  131. height: 100%;
  132. background-color: #FAEDD6;
  133. text-align: center;
  134. }
  135. </style>