Bläddra i källkod

合并代码

master
我叫MT 1 år sedan
förälder
incheckning
326973eea0
4 ändrade filer med 81 tillägg och 32 borttagningar
  1. +2
    -2
      src/components/header.vue
  2. +12
    -3
      src/layouts/index.vue
  3. +10
    -6
      src/views/about/index.vue
  4. +57
    -21
      src/views/aigc/index.vue

+ 2
- 2
src/components/header.vue Visa fil

@@ -35,8 +35,8 @@ export default {
.el-menu {
background: none !important;
border-bottom: none !important;
width: 50%;
min-width: 800px;
width: 70%;
display: inline-block;
}
.el-menu-item {
margin-right: 3%;


+ 12
- 3
src/layouts/index.vue Visa fil

@@ -1,9 +1,11 @@
<template>
<el-container>
<el-header>
<img src="@/assets/logo.png" id="logo" />
<yqheaders/>
<el-button plain class="login" size="small">注册 / 登陆</el-button>
<div class="header">
<img src="@/assets/logo.png" id="logo" />
<yqheaders/>
<el-button plain class="login" size="small">注册 / 登陆</el-button>
</div>
</el-header>
<el-main>
<router-view />
@@ -26,6 +28,9 @@ export default {
}
</script>
<style lang="scss" scoped>
.header{
width: 1200px !important;
}
.el-container {
margin: 0;
padding: 0;
@@ -47,6 +52,8 @@ export default {
height: 43px;
image-rendering: pixelated;
margin-right: 70px;
float: left;
margin-top: 10px;
}
.login {
background: none !important;
@@ -54,6 +61,8 @@ export default {
opacity: 0.8;
border-radius: 4px;
color: #fff;
float: right;
margin-top: 16px;
}
}
.el-main {


+ 10
- 6
src/views/about/index.vue Visa fil

@@ -28,7 +28,6 @@
</div>
</div>
</div>
<div class="bottom"/>
</div>
</div>
<div class="swhz">
@@ -36,8 +35,8 @@
<div class="callme">
<a class="title">商务合作</a>
<div>
<a>联系方式: 458233656411</a>
<a>联系邮箱: 458233656411@Gmail.com</a>
<a>联系方式: <b>458233656411</b></a>
<a>联系邮箱: <b>458233656411@Gmail.com</b></a>
</div>
</div>
<img src="../../assets/aboutbottom.png">
@@ -84,9 +83,9 @@ export default {
for (const iter of data.list) {
this.ldList.push({
img: iter.image,
name: iter.remark,
title: iter.title,
content: iter.subTitle
name: iter.title,
title: iter.subTitle,
content: iter.remark
})
}
}
@@ -160,6 +159,7 @@ export default {
font-weight: 400;
color: #0D1114;
line-height: 30px;
margin-right: 40px;
text-align: left;
}
}
@@ -201,6 +201,7 @@ export default {
font-weight: 400;
color: #0D1114;
line-height: 24px;
padding: 0;
}
}
}
@@ -218,6 +219,7 @@ export default {
.content {
align-items: center;
}
padding-bottom: 80px;
.top {
min-height: 470px;
margin-bottom: 40px;
@@ -233,6 +235,7 @@ export default {
text-align: left;
width: 100%;
padding-left: 30px;
margin-bottom: 50px;
}
}
}
@@ -266,6 +269,7 @@ export default {
font-weight: 400;
color: #0D1114;
line-height: 30px;
margin-top: 10px;
}
}
}


+ 57
- 21
src/views/aigc/index.vue Visa fil

@@ -1,5 +1,5 @@
<template>
<div>
<div class="aigc">
<div id="top">
<el-carousel >
<el-carousel-item class="lunbo" v-for="(item, index) in carouselList" :key="index" :style="{ backgroundImage: `url(${item.src})` }">
@@ -44,9 +44,11 @@
<el-button round>制作数字人</el-button>
</div>
</div>
<div class="bottom" :style="{ backgroundImage: `url(${gg1})` }"/>
</div>
</div>
<div class="gg">
<img :src="gg1" alt="">
</div>
<div id="daliay">
<div class="content">
<div class="top">
@@ -73,8 +75,10 @@
</template>
</div>
</div>
<div class="bottom" :style="{ backgroundImage: `url(${gg2})` }"/>
</div>
<div class="gg">
<img :src="gg2" alt="">
</div>
</div>
</div>
</template>
@@ -142,6 +146,12 @@ export default {
content: '新车选购',
flag: 'image'
},
{
img: '/aigc_img3.png',
name: '丰田锋兰达值得买吗?',
content: '年底购车多少钱能落地价?',
flag: 'video'
},
{
img: '/aigc_img3.png',
name: '丰田锋兰达值得买吗?',
@@ -239,6 +249,9 @@ export default {
}
</script>
<style lang="scss" scoped>
.aigc{
background: #E3E5EA;
}
.el-carousel__container {
height: 590px;
}
@@ -373,7 +386,6 @@ export default {
padding-top: 30px;
.content {
width: 1200px;
height: 90%;
display: flex;
flex-direction: column;
justify-content: space-between;
@@ -381,14 +393,14 @@ export default {
width: 100%;
}
.top {
margin-bottom: 30px;
background-color: #FFFFFF;
display: flex;
align-items: center;
justify-content: space-around;
padding: 20px 0;
padding: 26px 0;
position: relative;
.ai {
position: relative;
width: 240px;
a {
bottom: 0;
left: 0;
@@ -398,16 +410,18 @@ export default {
color: #1C679F;
line-height: 48px;
width: 100%;
margin-bottom: 15px;
}
}
.aitxt {
width: 250px;
width: 344px;
height: 85%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
margin-right: 10px;
.title {
font-size: 24px;
font-weight: bold;
@@ -416,19 +430,21 @@ export default {
}
.content {
width: 100%;
min-width: 100px;
text-align: left;
font-size: 18px;
font-family: Microsoft YaHei;
font-weight: 400;
color: #00161C;
line-height: 30px;
margin-top: 30px;
}
.el-button {
border: none;
background-color: #07CAAF;
font-size: 14px;
color: #FFFFFF;
position: absolute;
bottom: 46px;
}
}
}
@@ -436,7 +452,7 @@ export default {
min-height: 120px;
background-image: url('../../assets/bottom.png');
background-size: 100% 100%;
margin-bottom: 30px;
margin: 30px 0;
}
}
}
@@ -470,28 +486,32 @@ export default {
}
}
#zb {
margin-top: 40px;
display: flex;
.imagezb {
width: 220px;
height: 400px;
float: left;
margin-right: 20px;
position: relative;
flex: 1;
img {
width: 220px;
height: 370px;
}
.el-button {
position: absolute;
bottom: 60px;
left: 50px;
bottom: 82px;
left: 50%;
margin-left: -73px;
border: none;
background: #07CAAF;
font-size: 18px;
font-weight: bold;
color: #FFFFFF;
line-height: 48px;
padding-top: 0px;
padding-bottom: 0px;
width: 146px;
height: 44px;
}
.textzb {
font-size: 18px;
@@ -502,23 +522,26 @@ export default {
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 40px;
margin-top: 18px;
a {
display: inline-block;
text-align: left;
width: 130px;
}
.contentzb{
margin-top: 10px;
}
}
}
.videozb {
width: 240px;
width: 220px;
height: 400px;
float: left;
margin-right: 60px;
margin-right: 20px;
position: relative;
img {
width: 240px;
width: 220px;
height: 370px;
}
.textzb {
@@ -535,16 +558,21 @@ export default {
display: inline-block;
text-align: left;
}
.contentzb{
margin-top: 10px;
}
}
}
.videozb::after {
content: '';
z-index: 99;
width: 67px;
height: 67px;
width: 55px;
height: 55px;
position: absolute;
background-image: url('../../assets/play.png');
left: 40%;
background-size: 100%;
left: 50%;
margin-left: -27.5px;
top: 40%;
z-index: 99;
background-repeat: no-repeat;
@@ -553,4 +581,12 @@ export default {
}
}
}
.gg {
margin: 30px auto;
width: 1200px;
img {
width: 100%;
}
}
</style>

Laddar…
Avbryt
Spara