introduce.vue 2.2 KB

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