index.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. <template>
  2. <view class="content">
  3. <view class="page-section-spacing" style="width: 100%;">
  4. <swiper class="swiper"
  5. indicator-dots="true"
  6. autoplay="true"
  7. duration="500"
  8. style="height:400rpx">
  9. <swiper-item v-for="(item , index) in swiperList" :key="index">
  10. <image :src="item.img" mode="aspectFill" style="width: 100%;height: 100%;"></image>
  11. </swiper-item>
  12. </swiper>
  13. </view>
  14. <view class="page-nav-box">
  15. <navigator v-for="(item , index) in navList" :key="index" :url="item.path" open-type="navigate" class="nav-content">
  16. <image :src="item.url" mode="aspectFit" style="width: 38px;height: 38px;"></image>
  17. <view>{{item.content}}</view>
  18. </navigator>
  19. </view>
  20. <view class="notice-box">
  21. <view class="notice-title-box">
  22. <view class="notice-font">通知公告</view>
  23. <view class="notice-more-font">
  24. <view style="margin-right: 8rpx;font-size: 22rpx;">更多</view>
  25. <image src="../../static/right-arrow-blue.png" mode="aspectFill" style="width: 12rpx;height: 16rpx;"></image>
  26. </view>
  27. </view>
  28. <view class="notice-content-box" v-for="(item , index) in noticeList" :key="index">
  29. <image :src="item.url" mode="aspectFit" style="width:34px;height:34px;"></image>
  30. <view class="notice-content display-around-column">
  31. <view class="notice-content-font">{{item.title}}</view>
  32. <view class="notice-content-time">{{item.time}}</view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="notice-box" style="margin-top: 40rpx;">
  37. <view class="notice-title-box">
  38. <view class="notice-font">推荐园区</view>
  39. <view class="notice-more-font">
  40. <view style="margin-right: 8rpx;font-size: 22rpx;">更多</view>
  41. <image src="/static/right-arrow-blue.png" mode="aspectFill" style="width: 12rpx;height: 16rpx;"></image>
  42. </view>
  43. </view>
  44. <view class="display-flex-start" style=" overflow:scroll;position:relative">
  45. <view class="park-box" v-for="(item , index) in parkList" :key="index">
  46. <image :src="item.url" mode="aspectFill" style="width:452rpx;height:250rpx;border-radius:32rpx 32rpx 0 0;"></image>
  47. <view class="park-content-box">
  48. <view class="park-title">{{item.title}}</view>
  49. <view class="park-address display-flex-start">
  50. <view class="display-flex-start" style="margin-right: 10rpx;"><image src="/static/park/park-time.png" mode="aspectFill" class="park-title-img"></image>{{item.time}}建成</view>
  51. <view class="display-flex-start"><image src="/static/park/park-name.png" mode="aspectFill" class="park-title-img"></image>{{item.title}}</view>
  52. </view>
  53. <view class="park-footer-box display-between">
  54. <view class="display-between-column width-30">
  55. <view class="display-flex-start"><image src="/static/park/park-num.png" mode="aspectFill" class="park-footer-img"></image>{{item.num}}</view>
  56. <view class="park-footer-font">企业数量</view>
  57. </view>
  58. <view class="display-between-column width-30">
  59. <view class="display-flex-start">
  60. <image src="/static/park/park-area.png" mode="aspectFill" class="park-footer-img"></image>
  61. {{item.area1}}<text style="font-size: 12rpx;">万㎡</text></view>
  62. <view class="park-footer-font">占地面积</view>
  63. </view>
  64. <view class="display-between-column width-30">
  65. <view class="display-flex-start">
  66. <image src="/static/park/park-area2.png" mode="aspectFill" class="park-footer-img"></image>
  67. {{item.area2}}<text style="font-size: 12rpx;">万㎡</text></view>
  68. <view class="park-footer-font">建设面积</view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="notice-box" style="margin-top:20rpx;">
  76. <view class="notice-title-box">
  77. <view class="notice-font">招商专区</view>
  78. <view class="notice-more-font">
  79. <view style="margin-right: 8rpx;font-size: 22rpx;">更多</view>
  80. <image src="/static/right-arrow-blue.png" mode="aspectFill" style="width: 12rpx;height: 16rpx;"></image>
  81. </view>
  82. </view>
  83. <view class="notice-content-box" v-for="(item , index) in attractList" :key="index" style="justify-content: start;">
  84. <image :src="item.url" mode="aspectFit" style="width:112rpx;height:112rpx;margin-right: 20rpx;"></image>
  85. <view class="notice-content">
  86. <view class="notice-content-font">{{item.title}}</view>
  87. <view class="attract-content">{{item.subtitle}}</view>
  88. <view class="notice-content-time" style="margin-top: 20rpx;">{{item.time}}</view>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="notice-box" style="margin-top:20rpx;">
  93. <view class="notice-title-box">
  94. <view class="notice-font">区内活动</view>
  95. <view class="notice-more-font">
  96. <view style="margin-right: 8rpx;font-size: 22rpx;">更多</view>
  97. <image src="/static/right-arrow-blue.png" mode="aspectFill" style="width: 12rpx;height: 16rpx;"></image>
  98. </view>
  99. </view>
  100. <view class="notice-content-box" v-for="(item , index) in activityList" :key="index" style="justify-content: start;">
  101. <image :src="item.url" mode="aspectFit" style="width:128rpx;height:128rpx;margin-right: 20rpx;"></image>
  102. <view class="notice-content" style="width: 70%;">
  103. <view class="notice-content-font" style="white-space: break-spaces;">{{item.title}}</view>
  104. <view class="attract-content">
  105. </view>
  106. <view class="notice-content-time" style="margin-top: 20rpx;">{{item.time}}</view>
  107. </view>
  108. </view>
  109. </view>
  110. </view>
  111. </template>
  112. <script>
  113. export default {
  114. data() {
  115. return {
  116. swiperList:[
  117. {
  118. img:'/static/swiper/swiper1.jpg'
  119. },
  120. {
  121. img:'/static/swiper/swiper2.jpg'
  122. },
  123. ],
  124. navList:[
  125. {
  126. url:'/static/navList/appeal.png',
  127. path:'/pages/appeal/index',
  128. content:'提诉求'
  129. },
  130. {
  131. url:'/static/navList/policy.png',
  132. path:'/pages/policy/index',
  133. content:'搜政策'
  134. },
  135. {
  136. url:'/static/navList/park.png',
  137. path:'/pages/park/index',
  138. content:'找园区'
  139. },
  140. {
  141. url:'/static/navList/activity.png',
  142. path:'/pages/activity/index',
  143. content:'找活动'
  144. },
  145. {
  146. url:'/static/navList/supply.png',
  147. path:'/pages/supply/index',
  148. content:'发供需'
  149. },
  150. {
  151. url:'/static/navList/enterprise.png',
  152. path:'/pages/enterprise/index',
  153. content:'查企业'
  154. },
  155. {
  156. url:'/static/navList/service.png',
  157. path:'/pages/service/index',
  158. content:'找服务'
  159. },
  160. ],
  161. noticeList:[
  162. {
  163. url:'/static/navList/policy-icon.png',
  164. title:'政策速览 | 小微企业、个体工商户税费...',
  165. time:'2021-08-05'
  166. },
  167. {
  168. url:'/static/navList/activity-icon.png',
  169. title:'活动预告 | 想了解跨境电商?8月5日带...',
  170. time:'2021-08-04'
  171. },
  172. {
  173. url:'/static/navList/policy-icon.png',
  174. title:'政策速览 | 2022年首批次重点新材料扶...',
  175. time:'2021-08-03'
  176. },
  177. ],
  178. parkList:[
  179. {
  180. url:'/static/park/1.png',
  181. title:'华潮科技产业园',
  182. time:'2015-10-25',
  183. num:484,
  184. area1:1.72,
  185. area2:1.01
  186. },
  187. {
  188. url:'/static/park/1.png',
  189. title:'华潮科技产业园',
  190. time:'2015-10-25',
  191. num:484,
  192. area1:1.72,
  193. area2:1.01
  194. },
  195. {
  196. url:'/static/park/1.png',
  197. title:'华潮科技产业园',
  198. time:'2015-10-25',
  199. num:484,
  200. area1:1.72,
  201. area2:1.01
  202. },
  203. ],
  204. attractList:[
  205. {
  206. url:'/static/attract/1.png',
  207. title:'工业互联网',
  208. subtitle:'工业互联网是全球工业系统与高级计算、分析、...',
  209. time:'2021-09-05'
  210. },
  211. {
  212. url:'/static/attract/2.png',
  213. title:'生产性服务业',
  214. subtitle:'生产性服务业是指为保持工业生产过程的连续性...',
  215. time:'2021-09-05'
  216. },
  217. ],
  218. activityList:[
  219. {
  220. url:'/static/activity/1.png',
  221. title:'400场讲座,200门课程,免费送上门!就等你申请',
  222. time:'2021-09-05'
  223. },
  224. {
  225. url:'/static/activity/2.png',
  226. title:'智能制造商标品牌培育系列培训活动',
  227. time:'2021-09-05'
  228. },
  229. ],
  230. }
  231. },
  232. onLoad() {
  233. },
  234. methods: {
  235. }
  236. }
  237. </script>
  238. <style>
  239. .content {
  240. display: flex;
  241. flex-direction: column;
  242. align-items: center;
  243. justify-content: center;
  244. }
  245. .logo {
  246. height: 200rpx;
  247. width: 200rpx;
  248. margin-top: 200rpx;
  249. margin-left: auto;
  250. margin-right: auto;
  251. margin-bottom: 50rpx;
  252. }
  253. .text-area {
  254. display: flex;
  255. justify-content: center;
  256. }
  257. .title {
  258. font-size: 36rpx;
  259. color: #8f8f94;
  260. }
  261. .page-nav-box {
  262. width: 80%;
  263. /* height: 320rpx; */
  264. display: flex;
  265. flex-wrap: wrap;
  266. padding: 20rpx 10rpx 30rpx 10rpx;
  267. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  268. border-radius: 32rpx;
  269. position: absolute;
  270. top: 300rpx;
  271. background-color: #fff;
  272. }
  273. .nav-content {
  274. width: 25%;
  275. height: 130rpx;
  276. display: flex;
  277. flex-direction: column;
  278. align-items: center;
  279. margin-top: 20rpx;
  280. font-size: 22rpx;
  281. justify-content: space-around;
  282. letter-spacing: 0.02em;
  283. color: #0D1937;
  284. font-family: PingFang SC;
  285. font-style: normal;
  286. font-weight: 600;
  287. }
  288. .notice-box{
  289. width: 83%;
  290. margin-top: 300rpx;
  291. margin-bottom:20rpx;
  292. }
  293. .notice-title-box{
  294. width: 100%;
  295. display: flex;
  296. justify-content: space-between;
  297. align-items: center;
  298. margin-bottom:40rpx;
  299. }
  300. .notice-font {
  301. font-family: PingFang SC;
  302. font-style: normal;
  303. font-weight: 600;
  304. font-size: 32rpx;
  305. letter-spacing: 0.02em;
  306. color: #0D1937;
  307. }
  308. .notice-more-font {
  309. font-size: 24rpx;
  310. color: #146AFB;
  311. display: flex;
  312. align-items: center;
  313. }
  314. .notice-content-box {
  315. display: flex;
  316. padding: 30rpx;
  317. background-color: #FFFFFF;
  318. box-shadow: 0px 4rpx 32rpx rgba(0, 0, 0, 0.1);
  319. border-radius: 32rpx;
  320. margin-top: 20rpx;
  321. justify-content: space-between;
  322. }
  323. .notice-content-font {
  324. font-size:26rpx;
  325. color: #0D1937;
  326. font-weight: 600;
  327. overflow: hidden;
  328. text-overflow: ellipsis;
  329. white-space: nowrap;
  330. }
  331. .notice-content-time {
  332. font-size: 18rpx;
  333. letter-spacing: 0.02em;
  334. color: #CFCFCF;
  335. }
  336. .park-box {
  337. border-radius: 32rpx;
  338. margin-right: 20rpx;
  339. position: relative;
  340. height: 450rpx;
  341. }
  342. .park-content-box {
  343. width: 394rpx;
  344. background-color: #FFFFFF;
  345. border-radius: 56rpx 0px 32rpx 32rpx;
  346. position: absolute;
  347. top: 210rpx;
  348. font-size: 24rpx;
  349. padding: 30rpx;
  350. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  351. }
  352. .park-title {
  353. font-weight: 600;
  354. line-height: 36rpx;
  355. letter-spacing: 0.02em;
  356. color: #0D1937;
  357. }
  358. .park-address {
  359. font-weight: 600;
  360. font-size: 19rpx;
  361. letter-spacing: 0.02em;
  362. color: #CFCFCF;
  363. margin-top: 10rpx;
  364. }
  365. .park-title-img {
  366. width: 16rpx;
  367. height: 16rpx;
  368. margin-right: 4rpx;
  369. }
  370. .park-footer-box {
  371. margin-top: 30rpx;
  372. }
  373. .park-footer-img{
  374. width: 24rpx;
  375. height: 24rpx;
  376. margin-right: 6rpx;
  377. }
  378. .park-footer-font {
  379. color: #CFCFCF;
  380. font-size: 19rpx;
  381. margin-top: 10rpx;
  382. }
  383. .width-30 {
  384. width: 30%;
  385. }
  386. .attract-content {
  387. color: #697594;
  388. font-weight: 600;
  389. font-size: 20rpx;
  390. margin-top: 8rpx;
  391. overflow: hidden;
  392. text-overflow: ellipsis;
  393. white-space: nowrap;
  394. }
  395. </style>