Browse Source

edit css

master
chutingting 1 year ago
parent
commit
0a26f6a3c0
3 changed files with 24 additions and 11 deletions
  1. +2
    -2
      src/components/header.vue
  2. +12
    -3
      src/layouts/index.vue
  3. +10
    -6
      src/views/about/index.vue

+ 2
- 2
src/components/header.vue View File

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


+ 12
- 3
src/layouts/index.vue View File

@@ -1,9 +1,11 @@
<template> <template>
<el-container> <el-container>
<el-header> <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-header>
<el-main> <el-main>
<router-view /> <router-view />
@@ -26,6 +28,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.header{
width: 1200px !important;
}
.el-container { .el-container {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -47,6 +52,8 @@ export default {
height: 43px; height: 43px;
image-rendering: pixelated; image-rendering: pixelated;
margin-right: 70px; margin-right: 70px;
float: left;
margin-top: 10px;
} }
.login { .login {
background: none !important; background: none !important;
@@ -54,6 +61,8 @@ export default {
opacity: 0.8; opacity: 0.8;
border-radius: 4px; border-radius: 4px;
color: #fff; color: #fff;
float: right;
margin-top: 16px;
} }
} }
.el-main { .el-main {


+ 10
- 6
src/views/about/index.vue View File

@@ -28,7 +28,6 @@
</div> </div>
</div> </div>
</div> </div>
<div class="bottom"/>
</div> </div>
</div> </div>
<div class="swhz"> <div class="swhz">
@@ -36,8 +35,8 @@
<div class="callme"> <div class="callme">
<a class="title">商务合作</a> <a class="title">商务合作</a>
<div> <div>
<a>联系方式: 458233656411</a>
<a>联系邮箱: 458233656411@Gmail.com</a>
<a>联系方式: <b>458233656411</b></a>
<a>联系邮箱: <b>458233656411@Gmail.com</b></a>
</div> </div>
</div> </div>
<img src="../../assets/aboutbottom.png"> <img src="../../assets/aboutbottom.png">
@@ -96,9 +95,9 @@ export default {
for (const iter of data.list) { for (const iter of data.list) {
this.ldList.push({ this.ldList.push({
img: iter.image, img: iter.image,
name: iter.remark,
title: iter.title,
content: iter.subTitle
name: iter.title,
title: iter.subTitle,
content: iter.remark
}) })
} }
} }
@@ -172,6 +171,7 @@ export default {
font-weight: 400; font-weight: 400;
color: #0D1114; color: #0D1114;
line-height: 30px; line-height: 30px;
margin-right: 40px;
text-align: left; text-align: left;
} }
} }
@@ -213,6 +213,7 @@ export default {
font-weight: 400; font-weight: 400;
color: #0D1114; color: #0D1114;
line-height: 24px; line-height: 24px;
padding: 0;
} }
} }
} }
@@ -227,6 +228,7 @@ export default {
} }
#daliay { #daliay {
background: #F2F4F8; background: #F2F4F8;
padding-bottom: 80px;
.top { .top {
min-height: 470px; min-height: 470px;
margin-bottom: 40px; margin-bottom: 40px;
@@ -242,6 +244,7 @@ export default {
text-align: left; text-align: left;
width: 100%; width: 100%;
padding-left: 30px; padding-left: 30px;
margin-bottom: 50px;
} }
} }
} }
@@ -275,6 +278,7 @@ export default {
font-weight: 400; font-weight: 400;
color: #0D1114; color: #0D1114;
line-height: 30px; line-height: 30px;
margin-top: 10px;
} }
} }
} }


Loading…
Cancel
Save