jianZhu_index.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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. <view style="width: 1700rpx; height: 1400rpx; position: absolute; left: -61%; top: -140%">
  20. <image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/map3.jpg"></image>
  21. </view>
  22. </view>
  23. <view class="tit">建筑文化</view>
  24. <view class="jj_box">
  25. <view class="jj_left">
  26. <view class="jj_bg">建筑文化简介</view>
  27. <view class="jj_left_js">
  28. 闽南建筑风格独特。闽南建筑风格以红墙、红瓦、燕尾脊为特征,给人以鲜明、热烈的视觉感受。建筑中大量使用装饰性构件,如砖雕、石雕、木雕等,这些雕刻工艺精湛,图案丰富,具有很高的艺术价值。同时,建筑内部的布局和装饰也充满了闽南文化的特色,如“出砖入石”的墙体、精细的石雕和木雕、富有地方特色的彩绘等。
  29. 闽南建筑融合了多元文化。闽南地区历史上是中原移民的重要聚居地,同时又与东南亚地区交往密切,因此闽南建筑文化中融合了中原文化、东南亚文化等多元文化因素。例如,闽南建筑的屋顶形式、装饰风格等受到中原文化的影响;而建筑中的雕刻艺术、建筑材料等则体现了东南亚文化的特色。这种多元文化的融合使得闽南建筑具有更加丰富的文化内涵
  30. 通过了解这些闽南建筑文物的特点,人们能够更好地认识和了解闽南文化。同时,这些文物也是传承和弘扬闽南文化的重要载体。在今天的社会中,随着城市化进程的加速和传统文化的逐渐消失,保护和传承这些宝贵的文化遗产显得尤为重要。
  31. </view>
  32. </view>
  33. <view class="jj_right">
  34. <view class="right_top">
  35. <image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/tv5.jpg"></image>
  36. </view>
  37. <view class="right_btm"><image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/tv7.jpg"></image></view>
  38. </view>
  39. </view>
  40. <!-- 饼图 -->
  41. <view class="tit">文物统计</view>
  42. <view class="bt_box">
  43. <view style="position: absolute; left: 80rpx; top: 10rpx; color: #873b3f">厦门</view>
  44. <view style="position: absolute; left: 312rpx; top: 8rpx; color: #873b3f">漳州</view>
  45. <view style="position: absolute; left: 540rpx; top: 10rpx; color: #873b3f">泉州</view>
  46. <!-- 图例 -->
  47. <view class="" style="position: absolute; top: 312rpx">
  48. <view style="display: flex; width: 320rpx; justify-content: space-around">
  49. <view style="display: flex; align-items: center">
  50. <view style="width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #ee6666"></view>
  51. <view style="font-size: 24rpx; color: #873b3f">国家级</view>
  52. </view>
  53. <view style="display: flex; align-items: center">
  54. <view style="width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #fac858"></view>
  55. <view style="font-size: 24rpx; color: #873b3f">省级</view>
  56. </view>
  57. <view style="display: flex; align-items: center">
  58. <view style="width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #873b3f"></view>
  59. <view style="font-size: 24rpx; color: #873b3f">市级</view>
  60. </view>
  61. </view>
  62. <view style="display: flex; width: 320rpx; justify-content: space-around">
  63. <view style="display: flex; align-items: center">
  64. <view style="width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #91cb74"></view>
  65. <view style="font-size: 24rpx; color: #873b3f">县级</view>
  66. </view>
  67. <view style="display: flex; align-items: center">
  68. <view style="width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #73c0de"></view>
  69. <view style="font-size: 24rpx; color: #873b3f">区级</view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="charts-box1">
  74. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 80rpx; top: 30rpx; z-index: 9">12.41%</view>
  75. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 135rpx; top: 70rpx; z-index: 9">19.15%</view>
  76. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 135rpx; top: 135rpx; z-index: 9">17.02%</view>
  77. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 72rpx; top: 160rpx; z-index: 9">20.21%</view>
  78. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 50rpx; top: 100rpx; z-index: 9">21%</view>
  79. <qiun-data-charts type="pie" :opts="opts" :chartData="chartData" />
  80. </view>
  81. <view class="charts-box">
  82. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 30rpx; top: 110rpx; z-index: 9">34.42%</view>
  83. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 170rpx; top: 116rpx; z-index: 9">2.29%</view>
  84. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 150rpx; top: 150rpx; z-index: 9">12.29%</view>
  85. <qiun-data-charts type="pie" :opts="opts2" :chartData="chartData2" />
  86. </view>
  87. <view class="charts-box1">
  88. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 30rpx; top: 110rpx; z-index: 9">34.27%</view>
  89. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 150rpx; top: 110rpx; z-index: 9">4.68%</view>
  90. <view style="position: absolute; color: #ffffff; font-size: 18rpx; left: 136rpx; top: 140rpx; z-index: 9">11.05%</view>
  91. <qiun-data-charts type="pie" :opts="opts3" :chartData="chartData3" />
  92. </view>
  93. </view>
  94. <view class="tit">文物推荐</view>
  95. <view class="btm_box" @click="recommendBtn">
  96. <image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/tv5.jpg"></image>
  97. </view>
  98. <view class="btm_box" @click="recommendBtn">
  99. <image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/minnanhun/image/tv8.jpg"></image>
  100. </view>
  101. </view>
  102. </template>
  103. <script>
  104. let that;
  105. export default {
  106. data() {
  107. return {
  108. isLoading: false, // 节流阀 默认为关闭状态
  109. main_body_id: '',
  110. model_id: '',
  111. chartData: {
  112. series: [
  113. {
  114. data: [
  115. { name: '国家级', value: 48 },
  116. { name: '省级', value: 57 },
  117. { name: '市级', value: 88 },
  118. { name: '县级', value: 35 },
  119. { name: '区级', value: 54 }
  120. // { name: '未定级', value: 1743 }
  121. ],
  122. textOffset: 50
  123. }
  124. ]
  125. },
  126. opts: {
  127. color: ['#EE6666', '#fac858', '#873b3f', '#91CB74', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'],
  128. padding: [0, 0, 0, 0],
  129. enableScroll: false,
  130. fontSize: 8, // 字体大小
  131. fontColor: '#1890FF',
  132. dataLabel: false,
  133. legend: {
  134. show: false
  135. },
  136. extra: {
  137. pie: {
  138. activeOpacity: 0.5,
  139. activeRadius: 8,
  140. offsetAngle: 0,
  141. labelWidth: 2,
  142. border: false,
  143. borderWidth: 3,
  144. borderColor: '#FFFFFF'
  145. }
  146. }
  147. },
  148. // 漳州图
  149. chartData2: {
  150. series: [
  151. {
  152. data: [
  153. { name: '国家级', value: 26 },
  154. { name: '省级', value: 151 },
  155. { name: '市区县级', value: 959 }
  156. ]
  157. }
  158. ]
  159. },
  160. opts2: {
  161. color: ['#EE6666', '#fac858', '#873b3f', '#91CB74', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'],
  162. padding: [0, 0, 0, 0],
  163. enableScroll: false,
  164. fontSize: 8, // 字体大小
  165. fontColor: '#1890FF',
  166. dataLabel: false,
  167. legend: {
  168. show: false
  169. },
  170. extra: {
  171. pie: {
  172. activeOpacity: 0.5,
  173. activeRadius: 8,
  174. offsetAngle: 0,
  175. labelWidth: 2,
  176. border: false,
  177. borderWidth: 3,
  178. borderColor: '#FFFFFF'
  179. }
  180. }
  181. },
  182. // 泉州图
  183. chartData3: {
  184. series: [
  185. {
  186. data: [
  187. { name: '国家级', value: 44 },
  188. { name: '省级', value: 104 },
  189. { name: '市区县级', value: 793 }
  190. ]
  191. }
  192. ]
  193. },
  194. opts3: {
  195. color: ['#EE6666', '#fac858', '#873b3f', '#91CB74', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'],
  196. padding: [0, 0, 0, 0],
  197. enableScroll: false,
  198. fontSize: 8, // 字体大小
  199. fontColor: '#1890FF',
  200. dataLabel: false,
  201. legend: {
  202. show: false
  203. },
  204. extra: {
  205. pie: {
  206. activeOpacity: 0.5,
  207. activeRadius: 8,
  208. offsetAngle: 0,
  209. labelWidth: 2,
  210. border: false,
  211. borderWidth: 3,
  212. borderColor: '#FFFFFF'
  213. }
  214. }
  215. },
  216. list1: [
  217. 'https://img1.baidu.com/it/u=3551075903,1493549593&fm=253&fmt=auto&app=138&f=JPEG?w=667&h=500',
  218. 'https://img0.baidu.com/it/u=1667631211,245764236&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=357',
  219. 'https://img1.baidu.com/it/u=2554021422,1871009309&fm=253&fmt=auto&app=138&f=JPEG?w=700&h=500'
  220. ]
  221. };
  222. },
  223. onLoad() {
  224. that = this;
  225. this.main_body_id = this.$db.get('main_body_id');
  226. },
  227. methods: {
  228. navMap() {
  229. uni.navigateTo({
  230. url: '/index_fenbao/jianzhu/map_page'
  231. });
  232. },
  233. // 建筑详情
  234. buildBtn(i) {
  235. uni.navigateTo({
  236. url: this.jianZhuList[i].page
  237. });
  238. },
  239. // 文物推荐
  240. recommendBtn() {
  241. uni.navigateTo({
  242. url: '/index_fenbao/jianzhu/jianzhu?id=' + 21
  243. });
  244. }
  245. }
  246. };
  247. </script>
  248. <style>
  249. .body2 {
  250. background-size: 100% 100%;
  251. background-attachment: fixed;
  252. background-repeat: repeat-y;
  253. background-color: #f8eddf;
  254. padding-bottom: 50rpx;
  255. }
  256. /deep/.u-swiper-indicator__wrapper__dot--active {
  257. width: 5px !important;
  258. }
  259. .jz_item {
  260. width: 686rpx;
  261. height: 345rpx;
  262. border-radius: 26rpx 26rpx 0rpx 0rpx;
  263. }
  264. .tit {
  265. width: 300rpx;
  266. height: 60rpx;
  267. margin: auto;
  268. text-align: center;
  269. line-height: 60rpx;
  270. margin-top: 80rpx;
  271. margin-bottom: 20rpx;
  272. font-size: 28rpx;
  273. color: #f1e8d7;
  274. background-image: url('/static/image/jz_bg.png');
  275. background-size: 100% 100%;
  276. }
  277. .map_box {
  278. width: 700rpx;
  279. height: 400rpx;
  280. border: #873b3f 8rpx solid;
  281. margin: auto;
  282. position: relative;
  283. overflow: hidden;
  284. }
  285. .jj_box {
  286. width: 700rpx;
  287. display: flex;
  288. text-indent: 2em;
  289. line-height: 40rpx;
  290. font-size: 28rpx;
  291. color: aliceblue;
  292. margin-left: 26rpx;
  293. }
  294. .jj_left {
  295. width: 50%;
  296. height: 500rpx;
  297. background-image: url('https://huli-app.wenlvti.net/app_static/minnanhun/image/jz_titbg.png');
  298. background-size: 100% 100%;
  299. background-color: #873b3f;
  300. }
  301. .jj_left_js {
  302. width: 270rpx;
  303. height: 360rpx;
  304. margin: auto;
  305. margin-top: 10rpx;
  306. border-radius: 10rpx;
  307. overflow: scroll;
  308. background-color: rgba(255, 255, 255, 0.3);
  309. }
  310. .jj_bg {
  311. width: 300rpx;
  312. height: 70rpx;
  313. line-height: 72rpx;
  314. padding-left: 20rpx;
  315. color: #8e3e3d;
  316. font-size: 28rpx;
  317. margin: auto;
  318. margin-top: 20rpx;
  319. background-image: url('/static/image/jz_tit.png');
  320. background-size: 100% 100%;
  321. }
  322. .jj_right {
  323. width: 50%;
  324. height: 100%;
  325. margin-left: 20rpx;
  326. }
  327. .right_top {
  328. display: flex;
  329. width: 350rpx;
  330. height: 240rpx;
  331. border: #873b3f 4rpx solid;
  332. }
  333. .right_btm {
  334. display: flex;
  335. width: 350rpx;
  336. height: 240rpx;
  337. margin-top: 20rpx;
  338. border: #873b3f 4rpx solid;
  339. }
  340. .btm_box {
  341. width: 90%;
  342. height: 340rpx;
  343. margin: auto;
  344. margin-top: 20rpx;
  345. border: #873b3f 4rpx solid;
  346. }
  347. .charts-box {
  348. position: relative;
  349. width: 240rpx;
  350. height: 240rpx;
  351. }
  352. .charts-box1 {
  353. position: relative;
  354. width: 220rpx;
  355. height: 220rpx;
  356. }
  357. .csbt {
  358. position: absolute;
  359. bottom: -4%;
  360. left: 40%;
  361. font-size: 12px;
  362. }
  363. .bt_box {
  364. position: relative;
  365. width: 90%;
  366. height: 400rpx;
  367. padding-top: 55rpx;
  368. margin: auto;
  369. display: flex;
  370. justify-content: space-around;
  371. border: #873b3f 8rpx solid;
  372. }
  373. </style>