jianZhu_index.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <template>
  2. <view class="body2">
  3. <u-navbar :autoBack="true" title="建筑文化" bgColor="rgba(255,255,255,0)" :placeholder="true" titleStyle="font-weight:bold;color:#121212"></u-navbar>
  4. <view class="jz_swiper">
  5. <u-swiper
  6. :list="list1"
  7. height="335rpx"
  8. :indicator="true"
  9. :autoplay="true"
  10. indicatorMode="dot"
  11. indicatorActiveColor="#fff"
  12. indicatorInactiveColor="rgba(255, 255, 255, 0.35)"
  13. :circular="true"
  14. indicatorStyle="bottom: 10px"
  15. ></u-swiper>
  16. </view>
  17. <view class="tit">建筑地图</view>
  18. <view class="map_box" @click="navMap">
  19. <image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/map2.jpg"></image>
  20. </view>
  21. <view class="tit">建筑简介</view>
  22. <view class="jj_box">
  23. <view class="jj_left">
  24. 闽南建筑风格独特。闽南建筑风格以红墙、红瓦、燕尾脊为特征,给人以鲜明、热烈的视觉感受。建筑中大量使用装饰性构件,如砖雕、石雕、木雕等,这些雕刻工艺精湛,图案丰富,具有很高的艺术价值。同时,建筑内部的布局和装饰也充满了闽南文化的特色,如“出砖入石”的墙体、精细的石雕和木雕、富有地方特色的彩绘等。
  25. </view>
  26. <view class="jj_right">
  27. <view class="right_top">
  28. <image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/tv5.jpg"></image>
  29. </view>
  30. <view class="right_btm"><image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/tv7.jpg"></image></view>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. let that;
  37. export default {
  38. data() {
  39. return {
  40. isLoading: false, // 节流阀 默认为关闭状态
  41. main_body_id: '',
  42. model_id: '',
  43. list1: [
  44. 'https://img1.baidu.com/it/u=3551075903,1493549593&fm=253&fmt=auto&app=138&f=JPEG?w=667&h=500',
  45. 'https://img0.baidu.com/it/u=1667631211,245764236&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=357',
  46. 'https://img1.baidu.com/it/u=2554021422,1871009309&fm=253&fmt=auto&app=138&f=JPEG?w=700&h=500'
  47. ]
  48. };
  49. },
  50. onLoad(o) {
  51. that = this;
  52. this.main_body_id = this.$db.get('main_body_id');
  53. },
  54. methods: {
  55. navMap() {
  56. uni.navigateTo({
  57. url: '/index_fenbao/jianzhu/map_page'
  58. });
  59. },
  60. // 建筑详情
  61. buildBtn(i) {
  62. uni.navigateTo({
  63. url: this.jianZhuList[i].page
  64. });
  65. }
  66. }
  67. };
  68. </script>
  69. <style>
  70. .body2 {
  71. background-size: 100% 100%;
  72. background-attachment: fixed;
  73. background-repeat: repeat-y;
  74. background-color: #f8eddf;
  75. padding-bottom: 50rpx;
  76. }
  77. /deep/.u-swiper-indicator__wrapper__dot--active {
  78. width: 5px !important;
  79. }
  80. .jz_item {
  81. width: 686rpx;
  82. height: 345rpx;
  83. border-radius: 26rpx 26rpx 0rpx 0rpx;
  84. }
  85. .tit {
  86. width: 300rpx;
  87. height: 60rpx;
  88. margin: auto;
  89. text-align: center;
  90. line-height: 60rpx;
  91. margin-top: 20rpx;
  92. margin-bottom: 20rpx;
  93. font-size: 28rpx;
  94. color: #f8eddf;
  95. background-image: url('/static/image/jz_bg.png');
  96. background-size: 100% 100%;
  97. }
  98. .map_box {
  99. width: 700rpx;
  100. height: 400rpx;
  101. border: #873b3f 8rpx solid;
  102. margin: auto;
  103. }
  104. .jj_box {
  105. width: 700rpx;
  106. height: 600rpx;
  107. display: flex;
  108. text-indent: 2em;
  109. line-height: 40rpx;
  110. font-size: 28rpx;
  111. color: aliceblue;
  112. margin-left: 26rpx;
  113. }
  114. .jj_left {
  115. width: 50%;
  116. background-color: #873b3f;
  117. }
  118. .jj_right {
  119. width: 50%;
  120. height: 100%;
  121. margin-left: 20rpx;
  122. }
  123. .right_top {
  124. display: flex;
  125. width: 350rpx;
  126. height: 290rpx;
  127. background-color: #873b3f;
  128. }
  129. .right_btm {
  130. display: flex;
  131. width: 350rpx;
  132. height: 290rpx;
  133. margin-top: 20rpx;
  134. background-color: #873b3f;
  135. }
  136. </style>