Commit 16521b314dbb1e1a4f9a20a2917f8b36dc7efaeb
1 parent
f8b82db6
产品自适应
Showing
3 changed files
with
59 additions
and
46 deletions
css/portfollo.css
... | ... | @@ -56,14 +56,13 @@ |
56 | 56 | } |
57 | 57 | |
58 | 58 | .portfolio-section-wrap{ |
59 | - height: 596px; | |
60 | - overflow: hidden; | |
59 | + | |
61 | 60 | } |
62 | 61 | .portfolio-section-wrap>li{ |
63 | - height: 596px; | |
62 | + | |
64 | 63 | } |
65 | 64 | .portfolio-section-wrap>li li{ |
66 | - height: 596px; | |
65 | + | |
67 | 66 | } |
68 | 67 | .displaynone{ |
69 | 68 | display: none; |
... | ... | @@ -76,52 +75,53 @@ |
76 | 75 | text-align: left; |
77 | 76 | } |
78 | 77 | .ortfolio-hardware-bottom-1>li:nth-of-type(1){ |
79 | - width: 460px; | |
78 | + /*width: 460px;*/ | |
80 | 79 | height: 200px; |
81 | - margin: 227px 100px 0 50px; | |
80 | + margin: 227px auto 0 ; | |
82 | 81 | } |
83 | 82 | .ortfolio-hardware-bottom-1 li:nth-of-type(2){ |
84 | 83 | /*padding-left: 100px;*/ |
85 | - background: url("../images/produect_dev1.png") no-repeat; | |
86 | - width: 578px; | |
84 | + background: url("../images/produect_dev1.png") no-repeat center 0; | |
85 | + /*width: 578px;*/ | |
87 | 86 | height: 522px; |
88 | 87 | margin-top: 40px; |
88 | + background-size: 100% 100%; | |
89 | 89 | } |
90 | 90 | .ortfolio-hardware-bottom-2 li:nth-of-type(1){ |
91 | 91 | margin-top: 227px; |
92 | 92 | } |
93 | 93 | .ortfolio-hardware-bottom-2 li:nth-of-type(2){ |
94 | - background: url("../images/produect_dev4.png") no-repeat; | |
95 | - width: 383px; | |
94 | + background: url("../images/produect_dev4.png") no-repeat center 0; | |
95 | + /*width: 383px;*/ | |
96 | 96 | height: 480px; |
97 | 97 | margin-top: 70px; |
98 | - margin-left: 147px; | |
98 | + /*margin-left: 147px;*/ | |
99 | 99 | } |
100 | 100 | .ortfolio-hardware-bottom-3 li:nth-of-type(1){ |
101 | 101 | margin-top: 227px; |
102 | 102 | /*padding-left: 50px;*/ |
103 | - width: 460px; | |
104 | - margin-left: 100px; | |
103 | + /*width: 460px;*/ | |
104 | + /*margin-left: 100px;*/ | |
105 | 105 | } |
106 | 106 | .ortfolio-hardware-bottom-3 li:nth-of-type(2){ |
107 | - background: url("../images/produect_dev3.png") no-repeat; | |
108 | - width: 298px; | |
107 | + background: url("../images/produect_dev3.png") no-repeat center 0; | |
108 | + /*width: 298px;*/ | |
109 | 109 | height: 186px; |
110 | 110 | margin-top: 197px; |
111 | - margin-left: 108px; | |
111 | + /*margin-left: 108px;*/ | |
112 | 112 | |
113 | 113 | } |
114 | 114 | .ortfolio-hardware-bottom-4 li:nth-of-type(1){ |
115 | 115 | margin-top: 185px; |
116 | - width: 500px; | |
117 | - margin-left: 50px; | |
116 | + /*width: 500px;*/ | |
117 | + /*margin-left: 50px;*/ | |
118 | 118 | } |
119 | 119 | .ortfolio-hardware-bottom-4 li:nth-of-type(2){ |
120 | - background: url("../images/produect_dev2.png") no-repeat; | |
121 | - width: 297px; | |
120 | + background: url("../images/produect_dev2.png") no-repeat center 0; | |
121 | + /*width: 297px;*/ | |
122 | 122 | height: 369px; |
123 | 123 | margin-top: 138px; |
124 | - margin-left: 180px; | |
124 | + /*margin-left: 180px;*/ | |
125 | 125 | } |
126 | 126 | .ortfolio-hardware-bottom-title{ |
127 | 127 | font-size:30px; |
... | ... | @@ -147,4 +147,4 @@ |
147 | 147 | height:6px; |
148 | 148 | background:rgba(66,160,251,1); |
149 | 149 | border-radius:50%; |
150 | -} | |
151 | 150 | \ No newline at end of file |
151 | +} | ... | ... |
portfolio.html
... | ... | @@ -61,7 +61,7 @@ |
61 | 61 | <div class="breadcrumb" > |
62 | 62 | <div class="container"> |
63 | 63 | <div class="row"> |
64 | - <div class="col-md-12"> | |
64 | + <div class="col-md-12 col-xs-12"> | |
65 | 65 | <div class="breadcrumb-text"> |
66 | 66 | 城市智慧停车综合解决方案领航者 |
67 | 67 | </div> |
... | ... | @@ -101,14 +101,14 @@ |
101 | 101 | <div class="ortfolio-soft-bottom-title"> |
102 | 102 | 任你停APP |
103 | 103 | </div> |
104 | - <div class="ortfolio-soft-bottom-des">车场智能推荐,一键导航随停即走 | |
104 | + <div class="ortfolio-soft-bottom-des"><span></span>车场智能推荐,一键导航随停即走 | |
105 | 105 | |
106 | 106 | </div> |
107 | - <div class="ortfolio-soft-bottom-des">电子支付,简单方便,账户余额,自动代扣,快速离场 | |
107 | + <div class="ortfolio-soft-bottom-des"><span></span>电子支付,简单方便,账户余额,自动代扣,快速离场 | |
108 | 108 | </div> |
109 | - <div class="ortfolio-soft-bottom-des">会员卡线上办理,到期智能提醒,快捷实用 | |
109 | + <div class="ortfolio-soft-bottom-des"><span></span>会员卡线上办理,到期智能提醒,快捷实用 | |
110 | 110 | </div> |
111 | - <div class="ortfolio-soft-bottom-des">积分兑换,礼券不断,优惠多多</div> | |
111 | + <div class="ortfolio-soft-bottom-des"><span></span>积分兑换,礼券不断,优惠多多</div> | |
112 | 112 | </li> |
113 | 113 | |
114 | 114 | </ul> |
... | ... | @@ -124,18 +124,18 @@ |
124 | 124 | </li> |
125 | 125 | <li class="text-center col-md-6"> |
126 | 126 | <div class="ortfolio-soft-bottom-title"> |
127 | - 企业云平台 | |
127 | + <span></span>企业云平台 | |
128 | 128 | </div> |
129 | 129 | <div class="ortfolio-soft-bottom-des"> |
130 | - 车场智能推荐,一键导航随停即走 | |
130 | + <span></span>车场智能推荐,一键导航随停即走 | |
131 | 131 | </div> |
132 | 132 | <div class="ortfolio-soft-bottom-des"> |
133 | - 电子支付,简单方便,账户余额,自动代扣,快速离场 | |
133 | + <span></span>电子支付,简单方便,账户余额,自动代扣,快速离场 | |
134 | 134 | </div> |
135 | 135 | <div class="ortfolio-soft-bottom-des"> |
136 | - 会员卡线上办理,到期智能提醒,快捷实用。 | |
136 | + <span></span>会员卡线上办理,到期智能提醒,快捷实用。 | |
137 | 137 | </div> |
138 | - <div class="ortfolio-soft-bottom-des">积分兑换,礼券不断,优惠多多</div> | |
138 | + <div class="ortfolio-soft-bottom-des"><span></span>积分兑换,礼券不断,优惠多多</div> | |
139 | 139 | </li> |
140 | 140 | |
141 | 141 | </ul> |
... | ... | @@ -151,16 +151,16 @@ |
151 | 151 | </li> |
152 | 152 | <li class="text-center col-md-6"> |
153 | 153 | <div class="ortfolio-soft-bottom-title"> |
154 | - 数据分析平台 | |
154 | + <span></span>数据分析平台 | |
155 | 155 | </div> |
156 | 156 | <div class="ortfolio-soft-bottom-des"> |
157 | - 停车数据综合监测,停车热点、供需分析、区域治理 | |
157 | + <span></span>停车数据综合监测,停车热点、供需分析、区域治理 | |
158 | 158 | </div> |
159 | 159 | <div class="ortfolio-soft-bottom-des"> |
160 | - 动态交通组织优化,城市早晚高峰、大型交通枢纽 | |
160 | + <span></span>动态交通组织优化,城市早晚高峰、大型交通枢纽 | |
161 | 161 | </div> |
162 | 162 | <div class="ortfolio-soft-bottom-des"> |
163 | - 停车视频联网监控,视频监控资源分布查看、违停抓拍、车辆剐蹭责任追查 | |
163 | + <span></span> 停车视频联网监控,视频监控资源分布查看、违停抓拍、车辆剐蹭责任追查 | |
164 | 164 | </div> |
165 | 165 | </li> |
166 | 166 | ... | ... |
style.css
... | ... | @@ -115,8 +115,7 @@ a:hover{ |
115 | 115 | } |
116 | 116 | .breadcrumb-text{ |
117 | 117 | text-align: center; |
118 | - height: 682px; | |
119 | - line-height: 682px; | |
118 | + padding-top: 300px; | |
120 | 119 | color: #fff; |
121 | 120 | font-size: 71px; |
122 | 121 | } |
... | ... | @@ -174,11 +173,9 @@ a:hover{ |
174 | 173 | } |
175 | 174 | |
176 | 175 | .portfolio-section-wrap{ |
177 | - height: 596px; | |
178 | - overflow: hidden; | |
176 | + min-height: 596px; | |
179 | 177 | } |
180 | 178 | .portfolio-section-wrap>li{ |
181 | - height: 596px; | |
182 | 179 | } |
183 | 180 | .portfolio-section-wrap>li li{ |
184 | 181 | height: 596px; |
... | ... | @@ -196,13 +193,13 @@ a:hover{ |
196 | 193 | background: #f00; |
197 | 194 | } |
198 | 195 | .ortfolio-soft-bottom-2 li:nth-of-type(2){ |
199 | - padding-left:50px; | |
196 | + padding-left:100px; | |
200 | 197 | } |
201 | 198 | .ortfolio-soft-bottom-3 li:nth-of-type(1){ |
202 | 199 | background: #f0f; |
203 | 200 | } |
204 | 201 | .ortfolio-soft-bottom-3 li:nth-of-type(2){ |
205 | - padding-left:20px; | |
202 | + padding-left:100px; | |
206 | 203 | } |
207 | 204 | .ortfolio-soft-bottom-title{ |
208 | 205 | font-size:30px; |
... | ... | @@ -218,12 +215,18 @@ a:hover{ |
218 | 215 | padding-left: 20px; |
219 | 216 | position: relative; |
220 | 217 | } |
221 | -.ortfolio-soft-bottom-des:before{ | |
218 | +.ortfolio-soft-bottom-des span{ | |
219 | + width:6px; | |
220 | + height:6px; | |
221 | + display: inline-block; | |
222 | + position: relative; | |
223 | +} | |
224 | +.ortfolio-soft-bottom-des span:before{ | |
222 | 225 | position: absolute; |
223 | 226 | content: ''; |
224 | - left: 0; | |
227 | + left: -10px; | |
225 | 228 | top:50%; |
226 | - margin-top: -3px; | |
229 | + margin-top: -6px; | |
227 | 230 | width:6px; |
228 | 231 | height:6px; |
229 | 232 | background:rgba(66,160,251,1); |
... | ... | @@ -2583,5 +2586,15 @@ a:hover{ |
2583 | 2586 | width: 100%; |
2584 | 2587 | padding: 0 20px; |
2585 | 2588 | } |
2589 | + .breadcrumb-text{ | |
2590 | + font-size: 30px; | |
2591 | + padding-top: 300px; | |
2592 | + } | |
2593 | + .ortfolio-soft-bottom-title,.ortfolio-soft-bottom-des{ | |
2594 | + text-align: center; | |
2595 | + } | |
2596 | + .ortfolio-soft-bottom-1 li:nth-of-type(2),.ortfolio-soft-bottom-2 li:nth-of-type(2),.ortfolio-soft-bottom-3 li:nth-of-type(2){ | |
2597 | + padding-left: 0; | |
2598 | + } | |
2586 | 2599 | } |
2587 | 2600 | ... | ... |