generated from maochaoying/dreamworks-frontend-template
7 changed files with 247 additions and 11 deletions
-
7src/components/AboutUs.vue
-
10src/components/Bottom.vue
-
111src/components/Contact.vue
-
9src/components/FourCard.vue
-
24src/components/HeadLine.vue
-
91src/components/Product.vue
-
6src/pages/index.vue
@ -0,0 +1,10 @@ |
|||
<template> |
|||
<div class="bottom_container">bottom container</div> |
|||
</template> |
|||
|
|||
<script setup></script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.bottom_container { |
|||
} |
|||
</style> |
@ -0,0 +1,111 @@ |
|||
<template> |
|||
<div class="contact_container"> |
|||
<div class="base_info_container"> |
|||
<div class="info mb"> |
|||
<img :src="Phone" alt="phone" class="icon" /> |
|||
<p class="first">袁老师</p> |
|||
<p>13717892018</p> |
|||
</div> |
|||
<div class="info mb"> |
|||
<img :src="Address" alt="phone" class="icon" /> |
|||
<div class="add_wrap"> |
|||
<p class="address mb">北京市昌平区回龙观街道博纳集团</p> |
|||
<p class="address">3号楼一层 产品梦工厂</p> |
|||
</div> |
|||
</div> |
|||
<div class="info"> |
|||
<img :src="Email" alt="phone" class="icon" /> |
|||
<p class="email_text"> |
|||
<span> 邮 </span> |
|||
<span> 箱 </span> |
|||
</p> |
|||
<p class="email">info@iflytop.com</p> |
|||
</div> |
|||
</div> |
|||
<div class="contact_form"> |
|||
<p class="title">联系我们</p> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup> |
|||
import Phone from '@/static/img/8.png' |
|||
import Address from '@/static/img/9.png' |
|||
import Email from '@/static/img/10.png' |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.contact_container { |
|||
padding: 152px 260px; |
|||
background: url(../static/img/7.png) no-repeat; |
|||
background-size: 100% 100%; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
.base_info_container { |
|||
display: flex; |
|||
align-items: flex-start; |
|||
flex-direction: column; |
|||
.info { |
|||
display: flex; |
|||
align-items: center; |
|||
font-size: 28px; |
|||
font-family: Alibaba PuHuiTi; |
|||
font-weight: 500; |
|||
color: #1b1b1b; |
|||
.icon { |
|||
width: 55px; |
|||
height: 55px; |
|||
margin-right: 31px; |
|||
} |
|||
.add_wrap { |
|||
display: flex; |
|||
flex-direction: column; |
|||
.address { |
|||
font-size: 22px; |
|||
font-family: Alibaba PuHuiTi; |
|||
font-weight: 400; |
|||
color: #1b1b1b; |
|||
} |
|||
.mb { |
|||
margin-bottom: 8px; |
|||
} |
|||
} |
|||
|
|||
.first { |
|||
margin-right: 29px; |
|||
} |
|||
.email_text { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
width: 83px; |
|||
margin-right: 31px; |
|||
} |
|||
.email { |
|||
font-size: 22px; |
|||
font-family: Alibaba PuHuiTi; |
|||
font-weight: 400; |
|||
color: #5064f4; |
|||
} |
|||
} |
|||
.mb { |
|||
margin-bottom: 74px; |
|||
} |
|||
} |
|||
.contact_form { |
|||
flex: 1; |
|||
margin-left: 191px; |
|||
height: 546px; |
|||
background: #ffffff; |
|||
border-radius: 8px; |
|||
border-top: 4px solid #f95926; |
|||
padding: 50px 50px 41px 50px; |
|||
.title { |
|||
font-size: 26px; |
|||
font-weight: bold; |
|||
color: #000000; |
|||
} |
|||
} |
|||
} |
|||
</style> |
@ -0,0 +1,91 @@ |
|||
<template> |
|||
<div class="product_container"> |
|||
<HeadLine title="产品中心" line1="做专业的水下设备制造商" /> |
|||
<div class="product_card_container"> |
|||
<div class="product_card"> |
|||
<img :src="A1" alt="" class="product_img" /> |
|||
<div class="bottom_tip"> |
|||
<p>动车底部巡检</p> |
|||
<div class="btn">查看详情</div> |
|||
</div> |
|||
</div> |
|||
<div class="product_card"> |
|||
<img :src="A1" alt="" class="product_img" /> |
|||
<div class="bottom_tip"> |
|||
<p>动车底部巡检</p> |
|||
<div class="btn">查看详情</div> |
|||
</div> |
|||
</div> |
|||
<div class="product_card"> |
|||
<img :src="A1" alt="" class="product_img" /> |
|||
<div class="bottom_tip"> |
|||
<p>动车底部巡检</p> |
|||
<div class="btn">查看详情</div> |
|||
</div> |
|||
</div> |
|||
<div class="product_card"> |
|||
<img :src="A1" alt="" class="product_img" /> |
|||
<div class="bottom_tip"> |
|||
<p>动车底部巡检</p> |
|||
<div class="btn">查看详情</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup> |
|||
import HeadLine from '@/components/HeadLine' |
|||
import A1 from '@/static/img/a1.png' |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.product_container { |
|||
margin: 0 auto; |
|||
width: 73vw; |
|||
padding: 17px 0 120px 0; |
|||
.product_card_container { |
|||
display: flex; |
|||
align-items: center; |
|||
flex-wrap: wrap; |
|||
margin-top: 82px; |
|||
.product_card { |
|||
width: 50%; |
|||
height: 393px; |
|||
box-sizing: border-box; |
|||
position: relative; |
|||
background: #000; |
|||
.product_img { |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
.bottom_tip { |
|||
position: absolute; |
|||
bottom: 0; |
|||
left: 0; |
|||
right: 0; |
|||
padding: 13px 14px 13px 28px; |
|||
font-size: 22px; |
|||
font-weight: 500; |
|||
color: #ffffff; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
background: rgba(249, 89, 38, 0.3); |
|||
.btn { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
box-sizing: border-box; |
|||
padding: 17px 35px 17px 33px; |
|||
width: 206px; |
|||
height: 55px; |
|||
background: linear-gradient(90deg, #facc22, #f83600); |
|||
border-radius: 28px; |
|||
cursor: pointer; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue