startPage.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <template>
  2. <view class="box">
  3. <view class="header">
  4. <image style="width: 100%; height: 100%" src="/static/img/star_lg.png"></image>
  5. </view>
  6. <view class="tit_box">
  7. <image style="width: 100%; height: 100%" src="/static/img/star_tit.png"></image>
  8. <view class="logo">
  9. <image style="width: 100%; height: 100%" src="/static/img/img_seal@2x.png"></image>
  10. </view>
  11. </view>
  12. <view class="eng_tit">Huli Cultural Heritage Protection Center</view>
  13. <view class="introduce_tit">
  14. <view class="btm">因手艺而经典,因守艺而传承</view>
  15. <view class="btm">非遗匠艺,是时代文明记忆,也是城市情感记忆</view>
  16. <view class="btm">触碰历史的温度,感受匠心的力量</view>
  17. <view class="">一场非遗匠艺手作之旅即将优雅启程</view>
  18. </view>
  19. <view class="star_btn" @click="starBtn">
  20. <view class="star_btn2">开始探索</view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {};
  28. },
  29. methods: {
  30. starBtn() {
  31. uni.navigateTo({
  32. url: '/pages/index/index'
  33. });
  34. }
  35. }
  36. };
  37. </script>
  38. <style>
  39. .box {
  40. width: 100%;
  41. height: 1926rpx;
  42. background: url('/static/img/stra_bj.png') no-repeat center;
  43. background-size: 100% 100%;
  44. padding-top: 200rpx;
  45. box-sizing: border-box;
  46. }
  47. .header {
  48. width: 522rpx;
  49. height: 100rpx;
  50. margin: auto;
  51. }
  52. .tit_box {
  53. display: flex;
  54. margin: auto;
  55. margin-top: 60rpx;
  56. width: 2200rpx;
  57. height: 160rpx;
  58. }
  59. .logo {
  60. width: 48rpx;
  61. height: 180rpx;
  62. margin-left: 20rpx;
  63. }
  64. .eng_tit {
  65. width: 1200rpx;
  66. height: 120rpx;
  67. margin: auto;
  68. font-size: 48rpx;
  69. color: #989694;
  70. text-align: center;
  71. margin-top: 60rpx;
  72. }
  73. .introduce_tit {
  74. width: 1600rpx;
  75. height: 600rpx;
  76. margin: auto;
  77. letter-spacing: 0.1em;
  78. text-align: center;
  79. color: #3f3d3a;
  80. font-size: 48rpx;
  81. }
  82. .btm {
  83. margin-bottom: 40rpx;
  84. }
  85. .star_btn {
  86. width: 340rpx;
  87. padding: 16rpx 0 16rpx 0;
  88. margin: auto;
  89. cursor: pointer;
  90. background-color: #fff9ec;
  91. box-sizing: border-box;
  92. }
  93. .star_btn2 {
  94. width: 300rpx;
  95. height: 100rpx;
  96. line-height: 100rpx;
  97. text-align: center;
  98. font-size: 50rpx;
  99. margin: auto;
  100. letter-spacing: 0.2em;
  101. border: 1px solid #563530;
  102. background: linear-gradient(270deg, #bc5f29 0%, #5b3c29 100%);
  103. -webkit-background-clip: text;
  104. -webkit-text-fill-color: transparent;
  105. }
  106. </style>