introduce.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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="wenben4">
  9. {{$t('introduce.a4')}}
  10. </view>
  11. <view class="xian"></view>
  12. <view class="item">
  13. <view class="text">
  14. {{$t('introduce.a3')}}
  15. </view>
  16. </view>
  17. <view class="wenben1 margin-t-30">
  18. {{$t('introduce.a6')}}
  19. </view>
  20. <view class="wenben4">
  21. {{$t('introduce.a2')}}
  22. </view>
  23. <view class="xian"></view>
  24. <view class="item">
  25. <view class="text">
  26. {{$t('introduce.a5')}}
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. export default {
  35. data() {
  36. return {};
  37. },
  38. onLoad() {
  39. uni.setNavigationBarTitle({
  40. title: this.$t("tab.a4"),
  41. });
  42. }
  43. };
  44. </script>
  45. <style lang="scss">
  46. .background1 {
  47. position: relative;
  48. height: calc(100vh - var(--status-bar-height));
  49. background: url("../../static/shouye/beijing1.png");
  50. background-size: 100% 100%;
  51. background-position: 50% 50%;
  52. background-repeat: no-repeat;
  53. }
  54. .background2 {
  55. background-image: url("../../static/shouye/beijing2.png");
  56. position: absolute;
  57. background-size: 100% 100%;
  58. width: 650rpx;
  59. height: 1000rpx;
  60. top: 50%;
  61. left: 50%;
  62. transform: translate(-50%, -60%);
  63. }
  64. .wenben1 {
  65. text-align: center;
  66. margin-top: 87rpx;
  67. font-size: 36rpx;
  68. font-weight: bold;
  69. color: #201809;
  70. line-height: 36rpx;
  71. }
  72. .xian {
  73. width: 200rpx;
  74. height: 8rpx;
  75. color: #000000;
  76. }
  77. .text {
  78. font-size: 24rpx;
  79. font-weight: bold;
  80. color: #211808;
  81. background-color: #FAEDD6;
  82. text-align: left;
  83. margin: 0 50rpx;
  84. padding: 30rpx;
  85. border-radius: 20rpx;
  86. margin-bottom: 20rpx;
  87. }
  88. .wenben4 {
  89. text-align: center;
  90. margin-top: 50rpx;
  91. font-size: 37rpx;
  92. font-weight: bold;
  93. color: #D7BB80;
  94. }
  95. </style>