Commit 79f0ef8126b9b6b33b6aa442f7df2cd1cd7f3a5f

Authored by liuqimichale
1 parent d619d5db

金典案例

build/webpack.base.conf.js
... ... @@ -30,6 +30,11 @@ module.exports = {
30 30 module: {
31 31 rules: [
32 32 {
  33 + test: /\.css/,
  34 + loader: "style-loader!css-loader",
  35 + include: []
  36 + },
  37 + {
33 38 test: /\.vue$/,
34 39 loader: 'vue-loader',
35 40 options: vueLoaderConfig
... ...
package.json
... ... @@ -13,8 +13,12 @@
13 13 "css-loader": "^0.28.11",
14 14 "node-sass": "^4.13.0",
15 15 "sass-loader": "^8.0.0",
  16 + "scss": "^0.2.4",
  17 + "scss-loader": "^0.0.1",
16 18 "style-loader": "^1.1.2",
  19 + "swiper": "^5.2.1",
17 20 "vue": "^2.5.2",
  21 + "vue-awesome-swiper": "^3.1.3",
18 22 "vue-loader": "^13.7.3",
19 23 "vue-router": "^3.0.1",
20 24 "vue-style-loader": "^3.1.2"
... ... @@ -52,6 +56,7 @@
52 56 "shelljs": "^0.7.6",
53 57 "style-loader": "^1.1.2",
54 58 "stylus-loader": "^3.0.2",
  59 + "swiper": "^5.2.1",
55 60 "uglifyjs-webpack-plugin": "^1.1.1",
56 61 "url-loader": "^0.5.8",
57 62 "vue-loader": "^13.3.0",
... ...
src/assets/css/commonCss/reset.css
... ... @@ -155,4 +155,7 @@ table {
155 155 color: #333;
156 156 text-align: center;
157 157 }
  158 +.bgCommon{
  159 + background:rgba(238,238,238,1);
  160 +}
158 161  
... ...
src/assets/images/home/case-bg.png 0 → 100644

2.58 MB

src/assets/images/home/solution1.png 0 → 100644

471 KB

src/assets/images/home/solution2.png 0 → 100644

631 KB

src/assets/images/home/solution3.png 0 → 100644

720 KB

src/assets/images/home/together.png 0 → 100644

1.27 MB

src/main.js
... ... @@ -4,6 +4,10 @@ import Vue from 'vue'
4 4 import App from './App'
5 5 import router from './router'
6 6  
  7 +
  8 +
  9 +
  10 +
7 11 require ('./assets/css/commonCss/reset.css')
8 12  
9 13 Vue.config.productionTip = false
... ...
src/views/home/index.vue
... ... @@ -3,6 +3,8 @@
3 3 <div class="banner-wrapper">
4 4  
5 5  
  6 +
  7 +
6 8 <ul class="widthCommon banner-text">
7 9 <li>
8 10 <div>覆盖城市</div>
... ... @@ -28,23 +30,97 @@
28 30 公司主营业务面向城市智慧停车、公安交通、公共交通三大领域,为政府、企业、个人提供综合交通信息服务,通过交通规划、方案设计、系统建设、运营和服务,深度整合城市动静态交通数据,构建以物联网、互联网、云计算、大数据、人工智能为核心技术的产品研发、生产、系统建设和维护为一体的城市级动静态交通业务生态服务体系。
29 31 </div>
30 32 </div>
  33 +
  34 + <div class="bgCommon textCommonPadding">
  35 + <div class="heading-text">为什么选择我们?</div>
  36 +
  37 + </div>
  38 +
  39 + <div class="widthCommon textCommonPadding">
  40 + <div class="heading-text">解决方案?</div>
  41 + <ul class="solution-wrapper">
  42 + <li>
  43 + <span>智慧停车整体解决方案</span>
  44 + </li>
  45 + <li>
  46 + <span>城市公安交通整体解决方案</span>
  47 + </li>
  48 + <li>
  49 + <span>城市公共交通整体解决方案</span>
  50 + </li>
  51 + </ul>
  52 + </div>
  53 + <div class="case-wrapper textCommonPadding">
  54 + <div class="heading-text" style="color: #000">经典案例</div>
  55 + <ul class="case-main">
  56 + <li>1</li>
  57 + <li>1</li>
  58 + <li>1</li>
  59 + <li>1</li>
  60 + <li>1</li>
  61 + <li>1</li>
  62 + <li>1</li>
  63 + </ul>
  64 +
  65 + </div>
  66 +
  67 + <div class="together-wrapper textCommonPadding">
  68 + <div class="heading-text" style="color: #FFF">解决方案?</div>
  69 + <ul class="together-main">
  70 + <li>
  71 + <p>
  72 + 城市级智慧停车领域:
  73 + 规划设计、投融资、信息化建设、大数据整合、运营服务等全产业链服务。
  74 + </p>
  75 + <p>特许经营、合资运营</p>
  76 + </li>
  77 + <li>
  78 + <p>
  79 + 城市级智慧停车领域:
  80 + 信息化建设、大数据整合、运营服务。
  81 + </p>
  82 + <p>
  83 + 系统集成加合作运营
  84 + </p>
  85 + </li>
  86 + <li>
  87 + <p>
  88 + 城市公安交通、公共交通领域:
  89 + 信息化建设,交通大数据整合,辅助政府决策,建设智能化交通信息服务生态体系。
  90 + </p>
  91 + <p>
  92 + 政府采购
  93 + </p>
  94 + </li>
  95 + </ul>
  96 + </div>
  97 +
  98 +
31 99 </div>
32 100 </template>
33 101  
34 102 <script>
  103 +
35 104 export default {
36   - name: 'index'
  105 + name: 'index',
  106 +
  107 + data () {
  108 + return {
  109 +
  110 + }
  111 + },
  112 +
37 113 }
38 114 </script>
39 115  
40 116 <style scoped lang="">
41 117 .banner-wrapper{
42   - height: 761px;
  118 + height: 603px;
43 119 background:rgba(0,0,0,.58);
44 120 position: relative;
45 121 }
46 122 .banner-text{
47   - height: 143px;
  123 + height: 124px;
48 124 position: absolute;
49 125 bottom: 0;
50 126 left: 50%;
... ... @@ -53,11 +129,97 @@ export default {
53 129 }
54 130 .banner-text li{
55 131 flex: 1;
56   - height: 71px;
57   - line-height: 71px;
  132 + height: 62px;
  133 + line-height: 62px;
58 134 font-size: 30px;
59 135 color: #FFF;
60 136 text-align: center;
61 137 }
  138 + .solution-wrapper{
  139 + display: flex;
  140 + justify-content: center;
  141 + overflow: hidden;
  142 + }
  143 + .solution-wrapper li{
  144 + font-size: 18px;
  145 + color: #FFF;
  146 + width: 256px;
  147 + height: 358px;
  148 + position: relative;
  149 +
  150 + }
  151 + .solution-wrapper li span{
  152 + display: block;
  153 + width: 100%;
  154 + font-size: 18px;
  155 + text-align: center;
  156 + position: absolute;
  157 + bottom: 22px;
  158 + }
  159 + .solution-wrapper li:nth-of-type(1){
  160 + background: url("../../assets/images/home/solution3.png") no-repeat;
  161 + background-size: 100% 100%;
  162 + }
  163 + .solution-wrapper li:nth-of-type(2){
  164 + margin: 0 177px;
  165 + background: url("../../assets/images/home/solution2.png") no-repeat;
  166 + background-size: 100% 100%;
  167 + }
  168 + .solution-wrapper li:nth-of-type(3){
  169 + background: url("../../assets/images/home/solution1.png") no-repeat;
  170 + background-size: 100% 100%;
  171 + }
  172 +
  173 + .together-wrapper{
  174 + height: 537px;
  175 + background: url("../../assets/images/home/together.png") no-repeat;
  176 + background-size: 100% 100%;
  177 + }
  178 + .together-main{
  179 + overflow: hidden;
  180 + display: flex;
  181 + justify-content: center;
  182 + }
  183 + .together-main li{
  184 + padding: 20px;
  185 + width:236px;
  186 + height:325px;
  187 + border:2px solid rgba(255,255,255,1);
  188 + color: #FFF;
  189 + position: relative;
  190 + }
  191 + .together-main li:nth-of-type(2){
  192 + margin: 0 206px;
  193 + }
  194 + .together-main li p:nth-of-type(1){
  195 + font-size: 16px;
  196 + }
  197 + .together-main li p:nth-of-type(2){
  198 + width: 100%;
  199 + font-size: 20px;
  200 + text-align: center;
  201 + position: absolute;
  202 + bottom: 20px;
  203 + left: 0;
  204 + }
  205 + .case-wrapper{
  206 + height: 1300px;
  207 + background: url("../../assets/images/home/case-bg.png") no-repeat;
  208 + background-size:100% 772px;
  209 + }
  210 + .case-main{
  211 + width: 1380px;
  212 + margin: 0 auto;
  213 + }
  214 + .case-main li{
  215 + float: left;
  216 + width: 460px;
  217 + height: 357px;
  218 + background: #0C51C0;
  219 + transition: ALL 0.4s ease-in-out;
  220 + }
  221 + .case-main li:hover{
  222 + transform: scale(1.2);
  223 + }
62 224  
63 225 </style>
... ...