修改官网样式

This commit is contained in:
lVAL 2021-01-06 09:55:09 +08:00
parent b25ddc7df1
commit e09f208a01
7 changed files with 61 additions and 106 deletions

View File

@ -13,7 +13,7 @@
<ul class="col-md" v-for="(el, j) in it.children" :key="j"> <ul class="col-md" v-for="(el, j) in it.children" :key="j">
<li> <li>
<b-link v-if="el.href" :href="el.href"> <b-link v-if="el.href" :href="el.href">
<h6 style="color:#666">{{ el.name }}</h6> <h6 style="color:#666;">{{ el.name }}</h6>
</b-link> </b-link>
<b-img <b-img
v-else-if="el.src" v-else-if="el.src"

View File

@ -17,14 +17,12 @@ const routes = [
children: [ children: [
{ {
path: "/preview/pdf", path: "/preview/pdf",
name: "PreviewPdf",
hidden: true, hidden: true,
component: () => component: () =>
import(/* webpackChunkName: "pdf" */ "../views/PreviewPdf/index.vue") import(/* webpackChunkName: "pdf" */ "../views/PreviewPdf/index.vue")
}, },
{ {
path: "/preview/image", path: "/preview/image",
name: "PreviewImage",
hidden: true, hidden: true,
component: () => component: () =>
import( import(
@ -33,49 +31,54 @@ const routes = [
}, },
{ {
path: "/preview/player", path: "/preview/player",
name: "PreviewPlayer",
hidden: true, hidden: true,
component: () => component: () =>
import( import(
/* webpackChunkName: "player" */ "../views/PreviewPlayer/index.vue" /* webpackChunkName: "player" */ "../views/PreviewPlayer/index.vue"
) )
}, },
{
path: "/honor",
hidden: true,
component: () =>
import(/* webpackChunkName: "honor" */ "../views/Honor/index.vue")
},
{ {
path: "/home", path: "/home",
name: "Home",
meta: { meta: {
name: '首页' name: "首页"
}, },
component: Home component: Home
}, },
{ {
path: "/honor", path: "/exhibition",
name: "Honor",
meta: { meta: {
name: '我们的产品' name: "我们的产品"
}, },
component: () => component: () =>
import(/* webpackChunkName: "honor" */ "../views/Exhibition/index.vue") import(
/* webpackChunkName: "honor" */ "../views/Exhibition/index.vue"
)
}, },
{ {
path: "/exhibition", path: "/example",
name: "Exhibition",
meta: { meta: {
name: '经典案例' name: "经典案例"
}, },
children: [ children: [
{ {
path: '/', path: "/",
redirect: "/preview/pdf?src=西安铁路职业技术学院.pdf", redirect: "/preview/pdf?src=西安铁路职业技术学院.pdf",
meta: { meta: {
name: "西安铁路职业技术学院", name: "西安铁路职业技术学院"
} }
}, },
{ {
path: '/', path: "/",
redirect: "/preview/pdf?src=贵州装备制造职业学院机电技术专业实训室建设.pdf", redirect:
"/preview/pdf?src=贵州装备制造职业学院机电技术专业实训室建设.pdf",
meta: { meta: {
name: "贵州装备制造职业学院", name: "贵州装备制造职业学院"
} }
} }
], ],
@ -86,18 +89,16 @@ const routes = [
}, },
{ {
path: "/about", path: "/about",
name: "About",
meta: { meta: {
name: '关于玖琏' name: "关于玖琏"
}, },
component: () => component: () =>
import(/* webpackChunkName: "about" */ "../views/About.vue") import(/* webpackChunkName: "about" */ "../views/About.vue")
}, },
{ {
path: "/relation", path: "/relation",
name: "Relation",
meta: { meta: {
name: '联系我们' name: "联系我们"
}, },
component: () => component: () =>
import(/* webpackChunkName: "relation" */ "../views/Relation.vue") import(/* webpackChunkName: "relation" */ "../views/Relation.vue")

View File

@ -2,7 +2,7 @@
<div class="main"> <div class="main">
<div class="container"> <div class="container">
<article id="introduce"> <article id="introduce">
<h6>公司简介</h6> <b>公司简介</b>
<p> <p>
北京玖琏科技有限公司成立于2017年1月3日公司总部位于首都北京在古都西安设有研发中心公司致力服务于轨道交通行业化学化工行业电力电厂行业等 北京玖琏科技有限公司成立于2017年1月3日公司总部位于首都北京在古都西安设有研发中心公司致力服务于轨道交通行业化学化工行业电力电厂行业等
针对各个行业需求及痛点提供一体化培训解决方案我公司自主研发的行业数字孪生云平台力求站在行业内城市轨道交通的最前沿集云计算真实系统逻辑及日常 针对各个行业需求及痛点提供一体化培训解决方案我公司自主研发的行业数字孪生云平台力求站在行业内城市轨道交通的最前沿集云计算真实系统逻辑及日常
@ -27,7 +27,7 @@
</article> </article>
<article id="proxy"> <article id="proxy">
<h6>招商及代理</h6> <b>招商及代理</b>
<p> <p>
为进一步加快行业职教互联网化进程提高职业教育的教学水平提升个人能力的共享实训平台我公司长期面向社会寻求代理合作 为进一步加快行业职教互联网化进程提高职业教育的教学水平提升个人能力的共享实训平台我公司长期面向社会寻求代理合作
代理商主要负责市场推广及商务交流项目招投标等内容详情咨询 代理商主要负责市场推广及商务交流项目招投标等内容详情咨询
@ -38,7 +38,7 @@
<article id="join"> <article id="join">
<b-img style="width:100%;height:auto" :src="offer" /> <b-img style="width:100%;height:auto" :src="offer" />
<h6>加入玖琏</h6> <b>加入玖琏</b>
<p> <p>
你的加入可以给我们带来新的活力我们同样也可以赠你无限的发展空间世界那么大你不来谁知道你牛逼多一份了解多一份选择 你的加入可以给我们带来新的活力我们同样也可以赠你无限的发展空间世界那么大你不来谁知道你牛逼多一份了解多一份选择
选择不对努力白费寻找合伙人寻找最优秀的你欢迎将你的简历投递至 选择不对努力白费寻找合伙人寻找最优秀的你欢迎将你的简历投递至
@ -105,13 +105,14 @@ export default {
article { article {
position: relative; position: relative;
padding-bottom: 7em; padding-bottom: 8em;
font-size: 1.6em;
p { p {
text-indent: 2em; text-indent: 2em;
} }
.image-box { .image-box {
h6 { b {
position: absolute; position: absolute;
top: 25%; top: 25%;
left: 28%; left: 28%;

View File

@ -48,7 +48,7 @@ export default {
{ {
type: "green", type: "green",
src: product2, src: product2,
href: "/honor", href: "/exhibition",
name: "轨道交通", name: "轨道交通",
describe: describe:
"轨道交通是指运营车辆需要在特定轨道上行驶的一类交通工具或运输系统。" "轨道交通是指运营车辆需要在特定轨道上行驶的一类交通工具或运输系统。"
@ -56,7 +56,7 @@ export default {
{ {
type: "red", type: "red",
src: product1, src: product1,
href: "/honor", href: "/exhibition",
name: "化学化工", name: "化学化工",
describe: describe:
"化学工业chemical industry又称化学加工工业泛指生产过程中化学方法占主要地位的过程工业。" "化学工业chemical industry又称化学加工工业泛指生产过程中化学方法占主要地位的过程工业。"
@ -64,7 +64,7 @@ export default {
{ {
type: "blue", type: "blue",
src: product3, src: product3,
href: "/honor", href: "/exhibition",
name: "电力电厂", name: "电力电厂",
describe: describe:
"电力电厂是指将某种形式的原始能转化为电能以供固定设施或运输用电的动力厂。" "电力电厂是指将某种形式的原始能转化为电能以供固定设施或运输用电的动力厂。"

View File

@ -68,17 +68,8 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.main { .main {
margin-left: auto; width: 100%;
margin-right: auto;
position: relative; position: relative;
overflow: hidden;
margin-bottom: 0.5em !important; margin-bottom: 0.5em !important;
.content {
position: absolute;
display: inline-block;
vertical-align: middle;
bottom: 14em;
left: 36em;
}
} }
</style> </style>

View File

@ -9,9 +9,13 @@
<h6 style="display:flex">精彩视频</h6> <h6 style="display:flex">精彩视频</h6>
</template> </template>
<b-row> <b-row>
<b-col v-for="(el, i) in videoList" :key="i" style="width:25em"> <b-col
v-for="(el, i) in videoList"
:key="i"
style="width:25em;display:flex;justify-content:center;align-items: center;"
>
<iframe <iframe
style="position: relative;left: -1.3em;" class="frame"
:src="el.source" :src="el.source"
scrolling="no" scrolling="no"
border="0" border="0"
@ -111,7 +115,6 @@ export default {
display: inline-block; display: inline-block;
margin: 0; margin: 0;
float: none !important; float: none !important;
max-width: 80%;
&::after { &::after {
content: ""; content: "";
width: 100%; width: 100%;
@ -128,81 +131,40 @@ export default {
.container { .container {
margin: auto; margin: auto;
} }
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 2em 2em;
}
} }
.component { .frame {
width: 200px; display: flex;
background: #ff0000; margin: 1em;
font-size: 30px;
} }
@media (min-width: 320px) { @media (min-width: 320px) {
.component { .frame {
width: 220px;
}
}
@media (min-width: 480px) {
.frame {
width: 300px; width: 300px;
background: #00ffff;
font-size: 23px;
} }
} }
@media (min-width: 375px) { @media (min-width: 760px) {
.component { .frame {
width: 360px; width: 560px;
background: #0000ff;
font-size: 26px;
} }
} }
@media (min-width: 375px) and (min-resolution: 192dpi) { @media (min-width: 990px) {
.component { .frame {
background-image: url(/img/retina2x.png); width: 1000px;
background: #6666ff;
}
}
@media (max-width: 480px) {
.component {
background: #00ff00;
}
}
@media (max-width: 767px) {
.component {
background: #00ff00;
}
}
@media (min-width: 768px) and (max-width: 979px) {
.component {
width: 600px;
background: #00ff00;
font-size: 30px;
}
}
@media (max-width: 979px) {
.component {
background: #00fff0;
}
}
@media (min-width: 980px) {
.component {
width: 900px;
background: #00ff00;
font-size: 35px;
} }
} }
@media (min-width: 1200px) { @media (min-width: 1200px) {
.component { .frame {
width: 1000px; width: 1100px;
background: #00ff00;
} }
} }
</style> </style>

View File

@ -2,10 +2,10 @@
<div class="page"> <div class="page">
<div class="container"> <div class="container">
<address style="text-align:left;padding:3em"> <address style="text-align:left;padding:3em">
<p><span v-html="`联系人`" />许经理</p> <h6><span v-html="`联系人`" />许经理</h6>
<p><span v-html="`&ensp;&ensp;`" />13910989830</p> <h6><span v-html="`&ensp;&ensp;`" />13910989830</h6>
<p><span v-html="`&ensp;&ensp;`" />henry@joylink.club</p> <h6><span v-html="`&ensp;&ensp;`" />henry@joylink.club</h6>
<p><span v-html="`&ensp;&ensp;`" /></p> <h6><span v-html="`&ensp;&ensp;`" /></h6>
<div class="picture"> <div class="picture">
<b-img class="image" :src="wxcode" /> <b-img class="image" :src="wxcode" />
</div> </div>