Commit 4140a1b0702ceb8fe7acd571dde703cba6b45c6c
1 parent
dcf87b64
add 官网移植
Showing
36 changed files
with
848 additions
and
14 deletions
public/index.html
| ... | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
| 7 | 7 | <link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
| 8 | 8 | <title><%= webpackConfig.name %></title> |
| 9 | + <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=cuMSxNl5LOY6sf1M3nDGtG6tGXl5a0Bb"></script> | |
| 9 | 10 | </head> |
| 10 | 11 | <body> |
| 11 | 12 | <noscript> | ... | ... |
src/assets/about/banner.png
0 → 100644
443 KB
src/assets/about/email.png
0 → 100644
1.91 KB
src/assets/about/fax.png
0 → 100644
1.89 KB
src/assets/about/tel.png
0 → 100644
2.36 KB
src/assets/center/center.png
0 → 100644
824 KB
src/assets/center/enterprise.png
0 → 100644
106 KB
src/assets/center/monitor.png
0 → 100644
142 KB
src/assets/center/ower.png
0 → 100644
81.6 KB
src/assets/home/banner.png
0 → 100644
1.75 MB
src/assets/home/berth-list.png
0 → 100644
1015 Bytes
src/assets/home/berth.png
0 → 100644
5.67 KB
src/assets/home/news-bg.png
0 → 100644
364 KB
src/assets/park/banner.png
0 → 100644
1.05 MB
src/assets/park/code.png
0 → 100644
38.3 KB
src/assets/park/nav1.png
0 → 100644
43.4 KB
src/assets/park/nav2.png
0 → 100644
40.3 KB
src/assets/park/pay1.png
0 → 100644
42.6 KB
src/assets/park/pay2.png
0 → 100644
26.6 KB
src/assets/park/service1.png
0 → 100644
31.4 KB
src/assets/park/service2.png
0 → 100644
21.1 KB
src/assets/service/balance.png
0 → 100644
1.38 KB
src/assets/service/car.png
0 → 100644
1.8 KB
src/assets/service/card.png
0 → 100644
1.03 KB
src/assets/service/manage.png
0 → 100644
1.95 KB
src/assets/service/money.png
0 → 100644
1.62 KB
src/assets/service/order.png
0 → 100644
735 Bytes
src/assets/service/person.png
0 → 100644
1.21 KB
src/router/index.js
| 1 | 1 | import Vue from 'vue' |
| 2 | 2 | import Router from 'vue-router' |
| 3 | +import home from '@/views/home' | |
| 3 | 4 | |
| 4 | 5 | Vue.use(Router) |
| 5 | 6 | |
| 6 | 7 | /* Layout */ |
| 7 | 8 | import Layout from '@/layout' |
| 9 | +export const defaultRoutes = [ | |
| 10 | + | |
| 11 | + { | |
| 12 | + path: '/', | |
| 13 | + redirect:'/home' | |
| 14 | + }, | |
| 15 | + { | |
| 16 | + path: '/home', | |
| 17 | + name: 'home', | |
| 18 | + component:home, | |
| 19 | + meta: { | |
| 20 | + title: '首页' | |
| 21 | + } | |
| 22 | + }, | |
| 23 | + { | |
| 24 | + path: '/about', | |
| 25 | + name: 'about', | |
| 26 | + component: () => import('@/views/about'), | |
| 27 | + meta: { | |
| 28 | + title: '关于我们' | |
| 29 | + } | |
| 30 | + }, | |
| 31 | + { | |
| 32 | + path: '/service', | |
| 33 | + name: 'service', | |
| 34 | + component: () => import('@/views/login/index'), | |
| 35 | + hidden: true, | |
| 36 | + meta: { | |
| 37 | + title: '停车服务' | |
| 38 | + } | |
| 39 | + }, | |
| 40 | + /*{ | |
| 41 | + path: '/service', | |
| 42 | + name: 'service', | |
| 43 | + component: () => import('../views/service'), | |
| 44 | + meta: { | |
| 45 | + title: '停车服务' | |
| 46 | + } | |
| 47 | + },*/ | |
| 48 | + { | |
| 49 | + path: '/center', | |
| 50 | + name: 'center', | |
| 51 | + component: () => import('@/views/center'), | |
| 52 | + meta: { | |
| 53 | + title: '官网中心' | |
| 54 | + } | |
| 55 | + }, | |
| 56 | + { | |
| 57 | + path: '/park', | |
| 58 | + name: 'park', | |
| 59 | + component: () => import('@/views/park'), | |
| 60 | + meta: { | |
| 61 | + title: '黄石停车' | |
| 62 | + } | |
| 63 | + }, | |
| 64 | + | |
| 65 | + ]; | |
| 8 | 66 | |
| 9 | 67 | /** |
| 10 | 68 | * Note: sub-menu only appear when route children.length >= 1 |
| ... | ... | @@ -44,7 +102,7 @@ export const constantRoutes = [ |
| 44 | 102 | }, |
| 45 | 103 | |
| 46 | 104 | { |
| 47 | - path: '/', | |
| 105 | + path: '/dashboard', | |
| 48 | 106 | component: Layout, |
| 49 | 107 | redirect: '/dashboard', |
| 50 | 108 | children: [{ |
| ... | ... | @@ -135,9 +193,13 @@ export const constantRoutes = [ |
| 135 | 193 | ] |
| 136 | 194 | |
| 137 | 195 | const createRouter = () => new Router({ |
| 196 | + | |
| 138 | 197 | // mode: 'history', // require service support |
| 139 | 198 | scrollBehavior: () => ({ y: 0 }), |
| 140 | - routes: constantRoutes | |
| 199 | + linkExactActiveClass:'navActive', | |
| 200 | + routes: defaultRoutes, | |
| 201 | + // routes: [defaultRoutes,constantRoutes], | |
| 202 | + | |
| 141 | 203 | }) |
| 142 | 204 | |
| 143 | 205 | const router = createRouter() | ... | ... |
src/styles/index.scss
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | |
| 7 | 7 | body { |
| 8 | 8 | height: 100%; |
| 9 | - background: #f0f2f5; | |
| 9 | + //background: #f0f2f5; | |
| 10 | 10 | -moz-osx-font-smoothing: grayscale; |
| 11 | 11 | -webkit-font-smoothing: antialiased; |
| 12 | 12 | text-rendering: optimizeLegibility; |
| ... | ... | @@ -150,3 +150,101 @@ p{ |
| 150 | 150 | cursor: pointer; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | +/*自定义导航选中样式*/ | |
| 154 | +.navActive { | |
| 155 | + border-bottom: 2px solid #fff !important; | |
| 156 | +} | |
| 157 | + | |
| 158 | +.banner { | |
| 159 | + width: 100%; | |
| 160 | + height: 550px; | |
| 161 | +} | |
| 162 | + | |
| 163 | +.sectionBG { | |
| 164 | + width: 100%; | |
| 165 | + height: 529px; | |
| 166 | +} | |
| 167 | + | |
| 168 | +.grayBg { | |
| 169 | + background: rgba(248, 248, 248, 1); | |
| 170 | +} | |
| 171 | + | |
| 172 | +.commonWidth { | |
| 173 | + width: 1200px; | |
| 174 | + height: 100%; | |
| 175 | + display: flex; | |
| 176 | + margin: 0 auto; | |
| 177 | + padding-top: 40px; | |
| 178 | +} | |
| 179 | + | |
| 180 | +.anchorBL{display:none;} /*去掉百度地图logo*/ | |
| 181 | + | |
| 182 | +// 官网 移植 reset 样式部分 | |
| 183 | +html, body, div, span, applet, object, iframe, | |
| 184 | +h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| 185 | +a, abbr, acronym, address, big, cite, code, | |
| 186 | +del, dfn, em, img, ins, kbd, q, s, samp, | |
| 187 | +small, strike, strong, sub, sup, tt, var, | |
| 188 | +b, u, i, center, | |
| 189 | +dl, dt, dd, ol, ul, li, | |
| 190 | +fieldset, form, label, legend, | |
| 191 | +table, caption, tbody, tfoot, thead, tr, th, td, | |
| 192 | +article, aside, canvas, details, embed, | |
| 193 | +figure, figcaption, footer, header, hgroup, | |
| 194 | +main, menu, nav, output, ruby, section, summary, | |
| 195 | +time, mark, audio, video { | |
| 196 | + margin: 0; | |
| 197 | + padding: 0; | |
| 198 | + border: 0; | |
| 199 | + font-size: 100%; | |
| 200 | + font: inherit; | |
| 201 | + vertical-align: baseline; | |
| 202 | +} | |
| 203 | +ol, ul { | |
| 204 | + list-style: none; | |
| 205 | +} | |
| 206 | +/*隐藏*/ | |
| 207 | +.dn { | |
| 208 | + display: none; | |
| 209 | +} | |
| 210 | + | |
| 211 | +.margin0-12 { | |
| 212 | + margin: 0 12px; | |
| 213 | +} | |
| 214 | + | |
| 215 | +.margin12-0 { | |
| 216 | + margin: 12px 0; | |
| 217 | +} | |
| 218 | + | |
| 219 | +.flexfm { | |
| 220 | + flex: 1; | |
| 221 | +} | |
| 222 | + | |
| 223 | +.pos-rel { | |
| 224 | + position: relative; | |
| 225 | +} | |
| 226 | + | |
| 227 | +.pos-abs { | |
| 228 | + position: absolute; | |
| 229 | +} | |
| 230 | + | |
| 231 | +.fl { | |
| 232 | + float: left; | |
| 233 | +} | |
| 234 | + | |
| 235 | +.fr { | |
| 236 | + float: right; | |
| 237 | +} | |
| 238 | + | |
| 239 | +.displayFlex { | |
| 240 | + display: flex; | |
| 241 | +} | |
| 242 | + | |
| 243 | +.averageFlex { | |
| 244 | + flex: 1 | |
| 245 | +} | |
| 246 | + | |
| 247 | +.contentWidth { | |
| 248 | + width: 1200px; | |
| 249 | + margin: 0 auto; | |
| 250 | +} | ... | ... |
src/views/404.vue
| ... | ... | @@ -7,14 +7,13 @@ |
| 7 | 7 | <img class="pic-404__child mid" src="@/assets/404_images/404_cloud.png" alt="404"> |
| 8 | 8 | <img class="pic-404__child right" src="@/assets/404_images/404_cloud.png" alt="404"> |
| 9 | 9 | </div> |
| 10 | - <div class="bullshit"> | |
| 11 | - <div class="bullshit__oops">OOPS!</div> | |
| 12 | - <div class="bullshit__info">All rights reserved | |
| 13 | - <a style="color:#20a0ff" href="https://wallstreetcn.com" target="_blank">wallstreetcn</a> | |
| 10 | + <div class="bullshit" style="padding-top: 128px"> | |
| 11 | + <div class="bullshit__oops"></div> | |
| 12 | + <div class="bullshit__info"> | |
| 14 | 13 | </div> |
| 15 | - <div class="bullshit__headline">{{ message }}</div> | |
| 16 | - <div class="bullshit__info">Please check that the URL you entered is correct, or click the button below to return to the homepage.</div> | |
| 17 | - <a href="" class="bullshit__return-home">Back to home</a> | |
| 14 | + <div class="bullshit__headline">页面未找到</div> | |
| 15 | + <div class="bullshit__info"></div> | |
| 16 | + <a href="" class="bullshit__return-home" style="margin-left: 95px">返回首页</a> | |
| 18 | 17 | </div> |
| 19 | 18 | </div> |
| 20 | 19 | </div> |
| ... | ... | @@ -34,10 +33,12 @@ export default { |
| 34 | 33 | |
| 35 | 34 | <style lang="scss" scoped> |
| 36 | 35 | .wscn-http404-container{ |
| 37 | - transform: translate(-50%,-50%); | |
| 38 | - position: absolute; | |
| 39 | - top: 40%; | |
| 40 | - left: 50%; | |
| 36 | + width: 900px; | |
| 37 | + /*<!--transform: translate(-50%,-50%);-->*/ | |
| 38 | + /*position: absolute;*/ | |
| 39 | + /*top: 40%;*/ | |
| 40 | + /*left: 50%;*/ | |
| 41 | + margin: 0 auto; | |
| 41 | 42 | } |
| 42 | 43 | .wscn-http404 { |
| 43 | 44 | position: relative; | ... | ... |
src/views/about.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <div > | |
| 3 | + <div class="banner"> | |
| 4 | + <p class="banner-title">关于我们</p > | |
| 5 | + <p class="banner-des">智慧停车,助你轻松出行我</p > | |
| 6 | + </div> | |
| 7 | + <h1 >工作机会</h1> | |
| 8 | + <ul class="work-list"> | |
| 9 | + <li> | |
| 10 | + <p class="work-title">【招聘职位】总裁秘书</p > | |
| 11 | + <p class="work-date">发布时间:2019/05/28</p > | |
| 12 | + <div class="n_cont"> | |
| 13 | + | |
| 14 | + <p>岗位职责:</p > | |
| 15 | + | |
| 16 | + <p>1.负责协调总经理与公司内外部的沟通,传达贯彻总经理对公司内外部工作的管理思想和领导意图;</p > | |
| 17 | + | |
| 18 | + <p>2. 参与公司发展规划、业务经营计划的编制和公司重大决策的讨论。协助各部门将相关汇报、意见、建议反馈给总经理;</p > | |
| 19 | + | |
| 20 | + <p>3. 负责总裁有关文件的起草、修改、审核,整理各类文书、文件、报告、总结及其他材料;</p > | |
| 21 | + | |
| 22 | + <p>4. 负责总裁管辖范围内工作进度的跟进、督促,处理与反馈。</p > | |
| 23 | + | |
| 24 | + <p> </p > | |
| 25 | + | |
| 26 | + <p> </p > | |
| 27 | + | |
| 28 | + <p>任职要求:</p > | |
| 29 | + | |
| 30 | + <p>1.大学本科及以上学历,经济管理、文秘、英语等相关专业;</p > | |
| 31 | + | |
| 32 | + <p>2.3年以上同类企业文秘工作经验,能熟练的英文对话交流;</p > | |
| 33 | + | |
| 34 | + <p>3.掌握文秘知识,熟悉公文写作知识,熟练使用办公软件;</p > | |
| 35 | + | |
| 36 | + <p>4.具有一定的组织能力、协调能力、沟通能力、分析能力、语言表达能力和文公写作能力。</p > | |
| 37 | + | |
| 38 | + </div> | |
| 39 | + </li> | |
| 40 | + <li> | |
| 41 | + <p class="work-title">【招聘职位】销售总监</p > | |
| 42 | + <p class="work-date">发布时间:2019/05/28</p > | |
| 43 | + <div class="n_cont"> | |
| 44 | + | |
| 45 | + <p>岗位职责:</p > | |
| 46 | + <p>1、负责销售团队管理,带领团队完成销售目标、业绩指标、销售收入、合同回款及项目结案;</p > | |
| 47 | + | |
| 48 | + <p>2、负责所辖区域(新老客户)或专注产品的市场、销售及项目运作;</p > | |
| 49 | + | |
| 50 | + <p>3、协调并整合公司内部及外部资源,推进计划达成,满足客户需求及公司业绩经营目标要求</p > | |
| 51 | + | |
| 52 | + <p>4、负责公司分派的项目/客户运作;</p > | |
| 53 | + | |
| 54 | + <p> </p > | |
| 55 | + | |
| 56 | + <p> </p > | |
| 57 | + | |
| 58 | + <p>任职要求:</p > | |
| 59 | + <p>1、从事智能交通、智能停车、数字城管、智慧城市等相关领域或公安、交管、城管、一卡通、停车行业等的市场销售2年以上工作经验,并有独立运作合同的谈判、沟通、运作、签署与履约实施经历;</p > | |
| 60 | + | |
| 61 | + <p>2、具备独立开拓区域市场与销售成交的经验及相应能力,具备销售市场综合素养与技巧能力;</p > | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + </div> | |
| 66 | + </li> | |
| 67 | + </ul> | |
| 68 | + <h1>联系我们</h1> | |
| 69 | + <h3>“黄石停车”融合智能交通、移动互联网、物联网以及电子支付等技术</h3> | |
| 70 | + <ul class="contact-list"> | |
| 71 | + <li> | |
| 72 | + <p>电话</p > | |
| 73 | + <p>0714-653588</p > | |
| 74 | + </li> | |
| 75 | + <li> | |
| 76 | + <p>传真</p > | |
| 77 | + <p>0714-653538222</p > | |
| 78 | + </li> | |
| 79 | + <li> | |
| 80 | + <p>邮箱</p > | |
| 81 | + <p>hsci@sina.com</p > | |
| 82 | + </li> | |
| 83 | + </ul> | |
| 84 | + <div id="map" class="map"></div> | |
| 85 | + </div> | |
| 86 | +</template> | |
| 87 | + | |
| 88 | +<script> | |
| 89 | + export default { | |
| 90 | + name: 'about', | |
| 91 | + mounted() { | |
| 92 | + // 百度地图API功能 | |
| 93 | + var sContent = '<div style="margin:0;line-height:20px;padding:2px;">' + | |
| 94 | + '<h3 style="font-size: 15px;color: #CC2727;font-weight: 600">黄石市城市发展投资集团有限公司</h3> ' + | |
| 95 | + '<span style="font-weight: 600;">地址</span>:湖北省黄石市磁湖东路28号<br/>' + | |
| 96 | + '<span style="font-weight: 600;">邮编</span>:435000<br/>' + | |
| 97 | + '<span style="font-weight: 600;">电话</span>:0714—6535388<br/>' + | |
| 98 | + '<span style="font-weight: 600;">传真</span>:0714—653538222<br/>' + | |
| 99 | + '<span style="font-weight: 600;">邮箱</span>:hsci@sina.com<br/>' + | |
| 100 | + '</div>'; | |
| 101 | + var map = new BMap.Map("map"); | |
| 102 | + var point = new BMap.Point(115.078186, 30.232887); | |
| 103 | + var point1 = new BMap.Point(115.078186, 30.230887); | |
| 104 | + var marker = new BMap.Marker(point1); //创建marker对象 | |
| 105 | + | |
| 106 | + map.addOverlay(marker); //在地图中添加marker | |
| 107 | + | |
| 108 | + map.centerAndZoom(point, 15); | |
| 109 | + var infoWindow = new BMap.InfoWindow(sContent); // 创建信息窗口对象 | |
| 110 | + map.openInfoWindow(infoWindow, point); //开启信息窗口 | |
| 111 | + } | |
| 112 | + } | |
| 113 | +</script> | |
| 114 | + | |
| 115 | +<style scoped lang="scss"> | |
| 116 | + | |
| 117 | + .banner { | |
| 118 | + background: url("../assets/about/banner.png") no-repeat; | |
| 119 | + background-size: 100% 100%; | |
| 120 | + text-align: left; | |
| 121 | + .banner-title { | |
| 122 | + width: 1200px; | |
| 123 | + margin: 0 auto; | |
| 124 | + padding: 200px 0 30px; | |
| 125 | + font-size: 65px; | |
| 126 | + font-weight: bold; | |
| 127 | + color: rgba(255, 255, 255, 1); | |
| 128 | + } | |
| 129 | + .banner-des { | |
| 130 | + width: 1200px; | |
| 131 | + margin: 0 auto; | |
| 132 | + font-size: 20px; | |
| 133 | + font-weight: 500; | |
| 134 | + color: rgba(255, 255, 255, 1); | |
| 135 | + letter-spacing: 2px; | |
| 136 | + } | |
| 137 | + } | |
| 138 | + | |
| 139 | + h1 { | |
| 140 | + padding: 30px 0 30px; | |
| 141 | + font-size: 38px; | |
| 142 | + font-weight: 600; | |
| 143 | + color: rgba(49, 70, 89, 1); | |
| 144 | + } | |
| 145 | + | |
| 146 | + h3 { | |
| 147 | + font-size: 16px; | |
| 148 | + font-weight: 300; | |
| 149 | + color: rgba(49, 70, 89, 1); | |
| 150 | + } | |
| 151 | + | |
| 152 | + .work-list { | |
| 153 | + width: 1200px; | |
| 154 | + margin: 10px auto; | |
| 155 | + color: #5a5a5a; | |
| 156 | + display: flex; | |
| 157 | + > li { | |
| 158 | + flex: 1; | |
| 159 | + } | |
| 160 | + } | |
| 161 | + | |
| 162 | + .work-title{ | |
| 163 | + color: #1d50a2; | |
| 164 | + font-size: 20px; | |
| 165 | + } | |
| 166 | + | |
| 167 | + .work-date{ | |
| 168 | + margin: 10px auto; | |
| 169 | + } | |
| 170 | + | |
| 171 | + .n_cont{ | |
| 172 | + max-width: 550px; | |
| 173 | + text-align: left; | |
| 174 | + line-height: 20px; | |
| 175 | + } | |
| 176 | + | |
| 177 | + .contact-list { | |
| 178 | + width: 1200px; | |
| 179 | + margin: 30px auto; | |
| 180 | + overflow: hidden; | |
| 181 | + font-size: 20px; | |
| 182 | + color: #314659; | |
| 183 | + text-align: left; | |
| 184 | + display: flex; | |
| 185 | + flex-wrap: wrap; | |
| 186 | + justify-content: flex-end; | |
| 187 | + align-content: space-between; | |
| 188 | + li { | |
| 189 | + flex: 1; | |
| 190 | + padding-left: 106px; | |
| 191 | + height: 80px; | |
| 192 | + position: relative; | |
| 193 | + &:before { | |
| 194 | + content: ''; | |
| 195 | + position: absolute; | |
| 196 | + width: 80px; | |
| 197 | + height: 80px; | |
| 198 | + left: 0; | |
| 199 | + top: 0; | |
| 200 | + } | |
| 201 | + &:nth-of-type(1):before { | |
| 202 | + background: url("../assets/about/tel.png"); | |
| 203 | + } | |
| 204 | + &:nth-of-type(2):before { | |
| 205 | + background: url("../assets/about/fax.png"); | |
| 206 | + } | |
| 207 | + &:nth-of-type(3):before { | |
| 208 | + background: url("../assets/about/email.png"); | |
| 209 | + } | |
| 210 | + p:nth-of-type(1) { | |
| 211 | + margin: 20px 0 10px; | |
| 212 | + } | |
| 213 | + } | |
| 214 | + } | |
| 215 | + | |
| 216 | + .map { | |
| 217 | + width: 1200px; | |
| 218 | + height: 472px; | |
| 219 | + margin: 0 auto 30px; | |
| 220 | + z-index: 999; | |
| 221 | + } | |
| 222 | +</style> | ... | ... |
src/views/center.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <div> | |
| 3 | + <div class="banner"></div> | |
| 4 | + <div class=" sectionBG" style="background: #FFF"> | |
| 5 | + <div class="commonWidth"> | |
| 6 | + <div class="flexfm"> | |
| 7 | + <img src="../assets/center/enterprise.png" alt=""> | |
| 8 | + </div> | |
| 9 | + <div class="flexfm des-wrap"> | |
| 10 | + <div class="des"> | |
| 11 | + <h2>企业云平台</h2> | |
| 12 | + <h3>为车场管理者提供财务对账,统计报表,运营监控,收入管理,权限管理,资产 </h3> | |
| 13 | + </div> | |
| 14 | + </div> | |
| 15 | + </div> | |
| 16 | + </div> | |
| 17 | + | |
| 18 | + <div class="grayBg sectionBG"> | |
| 19 | + <div class="commonWidth"> | |
| 20 | + <div class="flexfm des-wrap"> | |
| 21 | + <div class="des"> | |
| 22 | + <h2>运营监控中心</h2> | |
| 23 | + <h3>建立综合停车数据资源,搭建基础分析模型,提供新一代的数据分析与商业智能 BI解决方案,致力于缓解拥堵实现车位运营智能化</h3> | |
| 24 | + </div> | |
| 25 | + </div> | |
| 26 | + <div class="flexfm"> | |
| 27 | + <img src="../assets/center/monitor.png" alt=""> | |
| 28 | + </div> | |
| 29 | + </div> | |
| 30 | + </div> | |
| 31 | + | |
| 32 | + <div class=" sectionBG" style="background: #FFF"> | |
| 33 | + <div class="commonWidth"> | |
| 34 | + <div class="flexfm"> | |
| 35 | + <img src="../assets/center/ower.png" alt=""> | |
| 36 | + </div> | |
| 37 | + <div class="flexfm des-wrap"> | |
| 38 | + <div class="des"> | |
| 39 | + <h2>车主服务平台</h2> | |
| 40 | + <h3>移动掌上互联,为车主提供附近车位,个性导航,语音播报,手机缴费, 订单详情,积分会员,共享车位,无感支付等多样化移动应用,解决</h3> | |
| 41 | + </div> | |
| 42 | + </div> | |
| 43 | + </div> | |
| 44 | + </div> | |
| 45 | + </div> | |
| 46 | +</template> | |
| 47 | + | |
| 48 | +<script> | |
| 49 | +export default { | |
| 50 | + name: 'center' | |
| 51 | +} | |
| 52 | +</script> | |
| 53 | + | |
| 54 | +<style scoped lang="scss"> | |
| 55 | + .banner { | |
| 56 | + background: url("../assets/center/center.png"); | |
| 57 | + } | |
| 58 | + | |
| 59 | + .des-wrap { | |
| 60 | + position: relative; | |
| 61 | + .des { | |
| 62 | + position: absolute; | |
| 63 | + left: 50%; | |
| 64 | + top: 50%; | |
| 65 | + transform: translate(-50%, -50%); | |
| 66 | + text-align: left; | |
| 67 | + } | |
| 68 | + h2 { | |
| 69 | + margin-bottom: 15px; | |
| 70 | + font-size: 20px; | |
| 71 | + color: rgba(13, 26, 38, 1); | |
| 72 | + } | |
| 73 | + h3 { | |
| 74 | + line-height: 20px; | |
| 75 | + color: rgba(49, 70, 89, 1); | |
| 76 | + } | |
| 77 | + } | |
| 78 | +</style> | ... | ... |
src/views/home.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <div> | |
| 3 | + <div class="banner"></div> | |
| 4 | + <div class="berth"> | |
| 5 | + <h1 class="title">泊位分布</h1> | |
| 6 | + <div class="map" id="map"></div> | |
| 7 | + <div class="berth-num"> | |
| 8 | + <p>区域泊位规划</p> | |
| 9 | + <ul class="berth-list"> | |
| 10 | + <li> | |
| 11 | + <span class="fl">黄石铁山区</span> | |
| 12 | + <span class="fr">123</span> | |
| 13 | + </li> | |
| 14 | + <li> | |
| 15 | + <span class="fl">黄石下陆区</span> | |
| 16 | + <span class="fr">5007</span> | |
| 17 | + </li> | |
| 18 | + <li> | |
| 19 | + <span class="fl">黄石黄石港区</span> | |
| 20 | + <span class="fr">2395</span> | |
| 21 | + </li> | |
| 22 | + <li> | |
| 23 | + <span class="fl">黄石西塞山区</span> | |
| 24 | + <span class="fr">1188</span> | |
| 25 | + </li> | |
| 26 | + <li> | |
| 27 | + <span class="fl">黄石经济开发区</span> | |
| 28 | + <span class="fr">413</span> | |
| 29 | + </li> | |
| 30 | + </ul> | |
| 31 | + </div> | |
| 32 | + </div> | |
| 33 | + <div class="news-wrap"> | |
| 34 | + <h1 class="title">新闻中心</h1> | |
| 35 | + <div class="fl news-bg"></div> | |
| 36 | + <ul class="fl news-con"> | |
| 37 | + <li> | |
| 38 | + <ul> | |
| 39 | + <li class="fl date"> | |
| 40 | + <h3>06</h3> | |
| 41 | + <h5>06</h5> | |
| 42 | + </li> | |
| 43 | + <li class="fl des"> | |
| 44 | + <h3 onclick="window.open('http://www.hscfjt.com/art.php?id=16613')"><a>集聚人才新优势 激活发展新动能</a></h3> | |
| 45 | + <p>6月6日上午,市城发集团召开优秀青年人才表彰会,对四家重才爱才先进单位和十名优秀青年人才进行了表彰。</p> | |
| 46 | + </li> | |
| 47 | + </ul> | |
| 48 | + </li> | |
| 49 | + <li> | |
| 50 | + <ul> | |
| 51 | + <li class="fl date"> | |
| 52 | + <h3>06</h3> | |
| 53 | + <h5>06</h5> | |
| 54 | + </li> | |
| 55 | + <li class="fl des"> | |
| 56 | + <h3 onclick="window.open('http://www.hscfjt.com/art.php?id=16611')"><a>黄石城发集团春季招聘体检公告</a></h3> | |
| 57 | + <p>根据《黄石市城市发展投资集团有限公司春季招聘公告》及复试情况,现将体检人员名单及有关事项公告如下。</p> | |
| 58 | + </li> | |
| 59 | + </ul> | |
| 60 | + </li> | |
| 61 | + <li> | |
| 62 | + <ul> | |
| 63 | + <li class="fl date"> | |
| 64 | + <h3>06</h3> | |
| 65 | + <h5>05</h5> | |
| 66 | + </li> | |
| 67 | + <li class="fl des"> | |
| 68 | + <h3 onclick="window.open('http://www.hscfjt.com/art.php?id=16610')"><a>黄石城发集团再添新成员</a></h3> | |
| 69 | + <p>6月4日,市妇联和市城发集团签订协议,将市妇联所属市天宝幼儿园和市儿童活动中心移交给市城发集团。</p> | |
| 70 | + </li> | |
| 71 | + </ul> | |
| 72 | + </li> | |
| 73 | + </ul> | |
| 74 | + </div> | |
| 75 | + </div> | |
| 76 | +</template> | |
| 77 | + | |
| 78 | +<script> | |
| 79 | + export default { | |
| 80 | + name: 'home', | |
| 81 | + mounted() { | |
| 82 | + // 百度地图API功能 | |
| 83 | + var map = new BMap.Map("map"); | |
| 84 | + var point = new BMap.Point(115.078186, 30.232887); | |
| 85 | + map.centerAndZoom(point, 15); | |
| 86 | + } | |
| 87 | + } | |
| 88 | +</script> | |
| 89 | + | |
| 90 | +<style scoped lang="scss"> | |
| 91 | + .banner { | |
| 92 | + background: url("../assets/home/banner.png") no-repeat center center; | |
| 93 | + background-size: 100% 100%; | |
| 94 | + } | |
| 95 | + | |
| 96 | + .berth { | |
| 97 | + width: 1200px; | |
| 98 | + height: 823px; | |
| 99 | + padding: 50px 0; | |
| 100 | + position: relative; | |
| 101 | + margin: 0 auto; | |
| 102 | + } | |
| 103 | + .map{ | |
| 104 | + width: 1200px; | |
| 105 | + height: 600px; | |
| 106 | + } | |
| 107 | + | |
| 108 | + .berth-num{ | |
| 109 | + width: 323px; | |
| 110 | + height: 368px; | |
| 111 | + position: absolute; | |
| 112 | + top:200px; | |
| 113 | + right: 20px; | |
| 114 | + background: url("../assets/home/berth.png") no-repeat; | |
| 115 | + p{ | |
| 116 | + padding-top: 20px; | |
| 117 | + font-size: 20px; | |
| 118 | + } | |
| 119 | + } | |
| 120 | + .berth-list{ | |
| 121 | + margin-top: 50px; | |
| 122 | + li{ | |
| 123 | + height: 21px; | |
| 124 | + line-height: 21px; | |
| 125 | + font-size: 16px; | |
| 126 | + color: #314659; | |
| 127 | + padding: 0 40px 30px 60px; | |
| 128 | + background: url("../assets/home/berth-list.png") no-repeat 30px 0; | |
| 129 | + margin-bottom: 15px; | |
| 130 | + } | |
| 131 | + } | |
| 132 | + .news-wrap{ | |
| 133 | + width: 1200px; | |
| 134 | + margin: 0 auto; | |
| 135 | + padding: 50px 0; | |
| 136 | + overflow: hidden; | |
| 137 | + } | |
| 138 | + .title{ | |
| 139 | + padding-bottom: 50px; | |
| 140 | + font-size:38px; | |
| 141 | + font-family:PingFangSC-Semibold; | |
| 142 | + font-weight:600; | |
| 143 | + color:rgba(49,70,89,1); | |
| 144 | + line-height:46px; | |
| 145 | + } | |
| 146 | + .news-bg{ | |
| 147 | + width: 535px; | |
| 148 | + height: 401px; | |
| 149 | + margin-right: 45px; | |
| 150 | + background: url("../assets/home/news-bg.png") no-repeat; | |
| 151 | + } | |
| 152 | + | |
| 153 | + .news-con { | |
| 154 | + width: 535px; | |
| 155 | + height: 401px; | |
| 156 | + } | |
| 157 | + | |
| 158 | + .news-con>li{ | |
| 159 | + height: 129px; | |
| 160 | + border-bottom: 1px solid rgba(216,216,216,1); | |
| 161 | + ul{ | |
| 162 | + padding: 25px 0 0; | |
| 163 | + overflow: hidden; | |
| 164 | + } | |
| 165 | + } | |
| 166 | + | |
| 167 | + .date{ | |
| 168 | + width: 83px; | |
| 169 | + height: 83px; | |
| 170 | + margin-right: 20px; | |
| 171 | + background: #FF5656; | |
| 172 | + position: relative; | |
| 173 | + h3{ | |
| 174 | + padding-top: 15px; | |
| 175 | + font-size:32px; | |
| 176 | + color:rgba(255,255,255,1); | |
| 177 | + } | |
| 178 | + h5{ | |
| 179 | + font-size: 12px; | |
| 180 | + text-align: right; | |
| 181 | + padding-right: 10px; | |
| 182 | + color: #Fff; | |
| 183 | + } | |
| 184 | + &:before{ | |
| 185 | + content: ''; | |
| 186 | + position: absolute; | |
| 187 | + right: 14px; | |
| 188 | + bottom: 27px; | |
| 189 | + transform: rotate(-45deg); | |
| 190 | + width: 25px; | |
| 191 | + height: 1px; | |
| 192 | + background:rgba(255,255,255,1) | |
| 193 | + } | |
| 194 | + } | |
| 195 | + .des h3{ | |
| 196 | + padding-bottom: 15px; | |
| 197 | + font-size: 20px; | |
| 198 | + color: #0D1A26; | |
| 199 | + cursor: pointer; | |
| 200 | + } | |
| 201 | + .des p { | |
| 202 | + width: 430px; | |
| 203 | + line-height: 22px; | |
| 204 | + color: #314659; | |
| 205 | + } | |
| 206 | +</style> | ... | ... |
src/views/login/index.vue
| ... | ... | @@ -176,6 +176,7 @@ export default { |
| 176 | 176 | display: inline-block; |
| 177 | 177 | height: 47px; |
| 178 | 178 | width: 85%; |
| 179 | + float: left; | |
| 179 | 180 | |
| 180 | 181 | input { |
| 181 | 182 | background: transparent; |
| ... | ... | @@ -246,6 +247,7 @@ export default { |
| 246 | 247 | vertical-align: middle; |
| 247 | 248 | width: 30px; |
| 248 | 249 | display: inline-block; |
| 250 | + float: left; | |
| 249 | 251 | } |
| 250 | 252 | |
| 251 | 253 | .title-container { | ... | ... |
src/views/park.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <div> | |
| 3 | + <div class="banner"> | |
| 4 | + <h1>一键导航 轻松停车</h1> | |
| 5 | + <h2>One-click navigation for easy parkin</h2> | |
| 6 | + <div style="width: 1200px;margin: 0 auto;text-align: left"> | |
| 7 | + <img src="../assets/park/code.png" alt=""> | |
| 8 | + </div> | |
| 9 | + | |
| 10 | + </div> | |
| 11 | + <div class="section" style="background: #FFF"> | |
| 12 | + <h1>“黄石停车”APP</h1> | |
| 13 | + <h4>“黄石停车”停车APP融合智能交通、移动互联网、物联网以及电子支付等技术,针对城市“停车难”,帮助车主快速寻找停车位,大大提高停车效率</h4> | |
| 14 | + <ul class="section-con"> | |
| 15 | + <li> | |
| 16 | + <img src="../assets/park/nav1.png" alt=""> | |
| 17 | + </li> | |
| 18 | + <li> | |
| 19 | + <img src="../assets/park/nav2.png" alt=""> | |
| 20 | + </li> | |
| 21 | + <li> | |
| 22 | + <p style="padding: 100px 0 20px">停车一键导航</p> | |
| 23 | + <ul class="section-list"> | |
| 24 | + <li>目的地附近停车场推荐</li> | |
| 25 | + <li>快速一键导航停车场</li> | |
| 26 | + <li>最佳停车路径规划</li> | |
| 27 | + </ul> | |
| 28 | + </li> | |
| 29 | + </ul> | |
| 30 | + </div> | |
| 31 | + | |
| 32 | + <div class="section" style="background: #F8F8F8"> | |
| 33 | + <ul class="section-con"> | |
| 34 | + <li> | |
| 35 | + <p style="padding: 100px 0 20px">在线缴费快速出场</p> | |
| 36 | + <ul class="section-list"> | |
| 37 | + <li>支持微信、支付宝</li> | |
| 38 | + <li>多种在线支付方式</li> | |
| 39 | + <li>提前支付,快速离场</li> | |
| 40 | + <li>减少通道排队时间</li> | |
| 41 | + </ul> | |
| 42 | + </li> | |
| 43 | + <li> | |
| 44 | + <img src="../assets/park/pay1.png" alt=""> | |
| 45 | + </li> | |
| 46 | + <li> | |
| 47 | + <img src="../assets/park/pay2.png" alt=""> | |
| 48 | + </li> | |
| 49 | + </ul> | |
| 50 | + </div> | |
| 51 | + | |
| 52 | + <div class="section" style="background: #FFF"> | |
| 53 | + <ul class="section-con" style="width: 800px"> | |
| 54 | + <li> | |
| 55 | + <img src="../assets/park/service1.png" alt=""> | |
| 56 | + </li> | |
| 57 | + <li> | |
| 58 | + <img src="../assets/park/service2.png" alt=""> | |
| 59 | + </li> | |
| 60 | + <li> | |
| 61 | + <p style="padding: 100px 0 20px">我的服务</p> | |
| 62 | + <ul class="section-list"> | |
| 63 | + <li>为用户直接提供周边第三方服务入口 </li> | |
| 64 | + <li>方便用户出行以及获得更多相关服务</li> | |
| 65 | + </ul> | |
| 66 | + </li> | |
| 67 | + </ul> | |
| 68 | + </div> | |
| 69 | + | |
| 70 | + </div> | |
| 71 | +</template> | |
| 72 | + | |
| 73 | +<script> | |
| 74 | +export default { | |
| 75 | + name: 'park' | |
| 76 | +} | |
| 77 | +</script> | |
| 78 | + | |
| 79 | +<style scoped lang="scss"> | |
| 80 | + .banner { | |
| 81 | + background: url("../assets/park/banner.png") no-repeat; | |
| 82 | + background-size: 100% 100%; | |
| 83 | + h1{ | |
| 84 | + width: 1200px; | |
| 85 | + text-align: left; | |
| 86 | + padding: 100px 0 30px; | |
| 87 | + margin: 0 auto; | |
| 88 | + font-size:65px; | |
| 89 | + font-family:PingFangSC-Semibold; | |
| 90 | + font-weight:600; | |
| 91 | + color:rgba(73,73,73,1); | |
| 92 | + } | |
| 93 | + h2{ | |
| 94 | + width: 1200px; | |
| 95 | + text-align: left; | |
| 96 | + margin: 0 auto 30px; | |
| 97 | + font-size:18px; | |
| 98 | + font-family:PingFang-SC-Medium; | |
| 99 | + font-weight:500; | |
| 100 | + color:rgba(73,73,73,1); | |
| 101 | + line-height:25px; | |
| 102 | + letter-spacing:4px; | |
| 103 | + } | |
| 104 | + } | |
| 105 | + | |
| 106 | + | |
| 107 | + .section { | |
| 108 | + padding: 30px 0; | |
| 109 | + text-align: center; | |
| 110 | + h1 { | |
| 111 | + padding: 0 0 30px 0; | |
| 112 | + font-size: 38px; | |
| 113 | + font-weight: 600; | |
| 114 | + color: rgba(49, 70, 89, 1); | |
| 115 | + } | |
| 116 | + h4 { | |
| 117 | + width: 660px; | |
| 118 | + margin: 0 auto 30px; | |
| 119 | + font-size: 16px; | |
| 120 | + font-weight: 300; | |
| 121 | + color: rgba(49, 70, 89, 1); | |
| 122 | + line-height: 32px; | |
| 123 | + } | |
| 124 | + } | |
| 125 | + | |
| 126 | + .section-con { | |
| 127 | + width: 730px; | |
| 128 | + margin: 0 auto; | |
| 129 | + overflow: hidden; | |
| 130 | + > li { | |
| 131 | + float: left; | |
| 132 | + margin-right: 90px; | |
| 133 | + text-align: left; | |
| 134 | + &:last-of-type { | |
| 135 | + margin-right: 0; | |
| 136 | + | |
| 137 | + } | |
| 138 | + p { | |
| 139 | + font-size: 20px; | |
| 140 | + color: rgba(13, 26, 38, 1); | |
| 141 | + } | |
| 142 | + | |
| 143 | + } | |
| 144 | + } | |
| 145 | + | |
| 146 | + .section-list { | |
| 147 | + li { | |
| 148 | + margin-bottom: 10px; | |
| 149 | + color: #314659; | |
| 150 | + position: relative; | |
| 151 | + padding-left: 15px; | |
| 152 | + &:before { | |
| 153 | + content: ''; | |
| 154 | + position: absolute; | |
| 155 | + width: 6px; | |
| 156 | + height: 6px; | |
| 157 | + left: 0; | |
| 158 | + top: 3px; | |
| 159 | + border-radius: 50%; | |
| 160 | + background: rgba(255, 86, 86, 1); | |
| 161 | + } | |
| 162 | + } | |
| 163 | + } | |
| 164 | +</style> | ... | ... |