关于我们长页

master
yujialong 1 year ago
parent 620e0d7c65
commit 7f02e50911
  1. 3
      src/layouts/footer/index.vue
  2. 295
      src/pages/aboutUs/index.vue
  3. 26
      src/pages/index/list/index.vue

@ -46,9 +46,6 @@
<div class="relative"> <div class="relative">
<div class="info"> <div class="info">
<div class="leftBox"> <div class="leftBox">
<img class="m-b-20"
src="@/assets/images/iasf.png"
alt="">
<p class="meta">Copyright ©2002- 2021</p> <p class="meta">Copyright ©2002- 2021</p>
<p class="meta">Institute of Advanced Science Facilities, ShenzhenIASF</p> <p class="meta">Institute of Advanced Science Facilities, ShenzhenIASF</p>
<p class="meta">Tel400-0010-998</p> <p class="meta">Tel400-0010-998</p>

@ -1,14 +1,61 @@
<template> <template>
<div class="wrap index"> <div class="wrap index">
<div class="banner"> <el-carousel v-if="modules[0].list.length && modules[0].list.filter(e => e.isEnable).length"
class="carousel"
:interval="6000"
height="480px"
:arrow="(modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
<template v-for="(item, i) in modules[0].list">
<el-carousel-item v-if="item.pic && item.isEnable"
:key="i">
<div v-if="isImg(item.mediaType)"
class="pic"
:style="{backgroundImage: 'url(' + item.pic + ')'}"></div>
<video v-else
class="pic"
width="100%"
height="100%"
autoplay
muted
loop>
<source :src="item.pic"
type="video/mp4">
您的浏览器不支持 video 标签
</video>
<div class="text-wrap">
<div class="text"
v-html="item.des"></div>
<div v-if="!GTA"
class="qrcodes">
<div class="qrcode">
<img width="103"
:src="item.weixinPic1"
alt="">
<p class="text">{{ item.weixinText1 }}</p>
</div>
<div class="qrcode m-l-30">
<img width="103"
:src="item.weixinPic2"
alt="">
<p class="text">{{ item.weixinText2 }}</p>
</div>
</div>
</div>
</el-carousel-item>
</template>
</el-carousel>
<div v-else
class="banner">
<img class="texts" <img class="texts"
src="@/assets/images/about/banner-text.png" src="https://huorantech.com/images/about/banner-text.png"
alt=""> alt="">
<div v-if="!GTA" <div v-if="!GTA"
class="qrcodes"> class="qrcodes">
<div class="qrcode"> <div class="qrcode">
<img width="103" <img width="103"
src="@/assets/images/about/qrcode.jpg" src="https://huorantech.com/images/about/qrcode.jpg"
alt=""> alt="">
<p class="text">扫一扫关注公众号</p> <p class="text">扫一扫关注公众号</p>
</div> </div>
@ -20,56 +67,47 @@
</div> </div>
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<div class="inner"> <div class="inner">
<div class="pics"> <div class="pics">
<div class="text"> <div class="text">
<div class="title-wrap"> <div class="title-wrap">
<p class="title">或然科技有限公司</p> <p class="title">{{ modules[1].form.title }}</p>
<p class="brief">职站商城让您一站式采购无忧</p> <p class="brief">{{ modules[1].form.subTitle1 }}</p>
<p class="en">HUORAN TECH</p> <p class="en">{{ modules[1].form.subTitle2 }}</p>
</div> </div>
<p class="desc wow fadeInLeft" <div class="desc wow fadeInLeft"
data-wow-delay="0.7s">深圳或然科技教育数字化产业的推动者为教育IT创业者赋能的首选合作伙伴我们是一家拥有丰富IT互联网背景的科技企业致力于为教育软件销售代理人提供专业而全面的产品供应链服务</p> data-wow-delay="0.7s"
v-html="modules[1].form.des"></div>
</div> </div>
<img class="bg" <img class="bg"
src="@/assets/images/about/about1.png" :src="modules[1].form.pic"
alt=""> alt="">
</div> </div>
</div> </div>
</div> </div>
<div class="service-intro"> <div class="service-intro">
<div class="inner"> <div class="inner">
<h6>随时随地贴心为您提供全方位服务</h6> <h6>{{ modules[2].form.title }}</h6>
<p class="text">At anytime,anywhere,intimate to provide you with a full range of services</p> <p class="text">{{ modules[2].form.des }}</p>
</div> </div>
</div> </div>
<div class="culture"> <div class="culture">
<div class="inner"> <div class="inner">
<h6 class="i-title wow fadeInDown">企业文化</h6> <h6 class="i-title wow fadeInDown">{{ modules[3].form.title }}</h6>
<p class="en">CORPORATE CULTURE</p> <p class="en">{{ modules[3].form.des }}</p>
<ul class="list"> <ul class="list">
<li class="wow fadeInDown" <template v-for="(item, i) in modules[4].list">
data-wow-delay="0.5s"> <li v-if="item.isEnable"
<img src="@/assets/images/about/about4.png" :key="i">
alt=""> <img :src="item.pic"
<h6>使命</h6> alt="">
<p class="text">成就百万教育产业数字化的创业者</p> <h6>{{ item.title }}</h6>
</li> <div class="text"
<li class="wow fadeInRight" v-html="item.des"></div>
data-wow-delay="0.8s"> </li>
<img src="@/assets/images/about/about5.png" </template>
alt="">
<h6>愿景</h6>
<p class="text">成为教育产业数字化的共创平台</p>
</li>
<li class="wow fadeInUp"
data-wow-delay="1.1s">
<img src="@/assets/images/about/about6.png"
alt="">
<h6>核心价值观</h6>
<p class="text">公正诚信创新实干</p>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -78,55 +116,45 @@
<div class="adv" <div class="adv"
id="part2"> id="part2">
<div class="inner"> <div class="inner">
<h6 class="i-title wow fadeInDown">为什么选择我们</h6> <h6 class="i-title wow fadeInDown">{{ modules[5].form.title }}</h6>
<p class="en">WHY CHOOSE US</p> <p class="en">{{ modules[5].form.subTitle }}</p>
<p class="title-des wow fadeInDown">专业全面高效</p> <p class="title-des wow fadeInDown">{{ modules[5].form.des }}</p>
<ul class="list"> <ul class="list">
<li class="wow fadeInDown" <template v-for="(item, i) in modules[6].list">
data-wow-delay="0.5s"> <li v-if="item.isEnable"
<img src="@/assets/images/index/index3.png" :key="i">
alt=""> <img :src="item.pic"
<h6>产品优势</h6> alt="">
<p class="text">整合好不同的教育信息化解决方案所需的软件和硬件产品通过教育产业互联网平台和反向供应链提供利润合适交付便捷质量有保障的体系化产品</p> <h6>{{ item.title }}</h6>
</li> <div class="text"
<li class="wow fadeInRight" v-html="item.des"></div>
data-wow-delay="0.8s"> </li>
<img src="@/assets/images/index/index4.png" </template>
alt="">
<h6>服务优势</h6>
<p class="text">专业的培训和服务团队提供教育信息化产业的创业辅导和专业培训帮助打造一支专业化的商务支持客户成功和售后运营服务的支撑型团队</p>
</li>
<li class="wow fadeInUp"
data-wow-delay="1.1s">
<img src="@/assets/images/index/index5.png"
alt="">
<h6>生态优势</h6>
<p class="text">我们拥有强大可靠的渠道产品的生态联盟可共享调用生态内的多方资源背靠联盟携手共创新奇迹</p>
</li>
</ul> </ul>
</div> </div>
</div> </div>
<!-- 合作客户 --> <!-- 合作客户 -->
<div class="client"> <div class="client">
<div class="inner"> <div class="inner">
<h6 class="i-title wow fadeInDown">合作院校</h6> <h6 class="i-title wow fadeInDown">{{ modules[7].form.title }}</h6>
<p class="en">PARTNERSHIP</p> <p class="en">{{ modules[7].form.subTitle }}</p>
<p class="title-des wow fadeInDown">助力100+所院校客户实现数字化升级</p> <p class="title-des wow fadeInDown">{{ modules[7].form.des }}</p>
<div class="client-pic"> <div class="client-pic">
<img class="bg" <img class="bg"
src="@/assets/images/index/index0.png" :src="modules[8].form.pic"
alt=""> alt="">
<div class="text"> <div class="text">
<div class="c-title1"> <div class="c-title1">
<img src="@/assets/images/index/comma1.png" <img src="https://huorantech.com/images/index/comma1.png"
alt=""> alt="">
他们说 {{ modules[8].form.title }}
</div> </div>
<div class="text">平台功能丰富操作简单自动判分功能能更高效的批改作业给学生更好的指导</div> <div class="text"
v-html="modules[8].form.des"></div>
<div class="c-title2"> <div class="c-title2">
河海大学老师 {{ modules[8].form.subTitle }}
<img src="@/assets/images/index/comma2.png" <img src="https://huorantech.com/images/index/comma2.png"
alt=""> alt="">
</div> </div>
</div> </div>
@ -136,9 +164,9 @@
:class-option="{limitMoveNum: 2, direction: 2}"> :class-option="{limitMoveNum: 2, direction: 2}">
<ul class="client-list" <ul class="client-list"
ref="client"> ref="client">
<li v-for="i in clients" <li v-for="item in modules[9].list"
:key="i"> :key="item">
<img :src="require('@/assets/images/index/school' + i + '.png')" <img :src="item.pic"
alt=""> alt="">
</li> </li>
</ul> </ul>
@ -149,59 +177,59 @@
<div class="contact"> <div class="contact">
<div class="inner"> <div class="inner">
<div class="title"> <div class="title">
<h6>联系我们</h6> <h6>{{ modules[10].form.title }}</h6>
<p class="text">CONTACT US</p> <p class="text">{{ modules[10].form.des }}</p>
</div> </div>
<div class="region"> <div class="region">
<img class="dot" <img class="dot"
src="@/assets/images/about/dot.png" src="https://huorantech.com/images/about/dot.png"
alt=""> alt="">
<p class="name">深圳</p> <p class="name">深圳</p>
</div> </div>
<div class="info"> <div class="info">
<img class="logo" <img class="logo"
src="@/assets/images/about/logo.png" :src="modules[11].form.pic"
alt=""> alt="">
<div class="texts"> <div class="texts">
<div class="item"> <div class="item">
<div class="line"> <div class="line">
<img class="icon" <img class="icon"
src="@/assets/images/about/site.png" src="https://huorantech.com/images/about/site.png"
alt=""> alt="">
公司官网www.huorantech.com {{ modules[11].form.site }}
</div> </div>
<div class="line"> <div class="line">
<img class="icon" <img class="icon"
src="@/assets/images/about/address.png" src="https://huorantech.com/images/about/address.png"
alt=""> alt="">
地址广东省深圳市南山区粤海街道海天二路盈峰中心2101 {{ modules[11].form.address }}
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="line"> <div class="line">
<img class="icon" <img class="icon"
src="@/assets/images/about/phone.png" src="https://huorantech.com/images/about/phone.png"
alt=""> alt="">
合作咨询郭经理 17671782660 {{ modules[11].form.phone }}
</div> </div>
<div class="line"> <div class="line">
<img class="icon" <img class="icon"
src="@/assets/images/about/mail.png" src="https://huorantech.com/images/about/mail.png"
alt=""> alt="">
客户建议service@huorantech.cn {{ modules[11].form.mail }}
</div> </div>
</div> </div>
<div class="qrcode"> <div class="qrcode">
<img width="103" <img width="103"
src="@/assets/images/about/qrcode.jpg" :src=" modules[12].form.pic"
alt=""> alt="">
<p class="text">扫一扫关注公众号</p> <p class="text">{{ modules[12].form.title }}</p>
</div> </div>
<div class="qrcode m-l-30"> <div class="qrcode m-l-30">
<img width="103" <img width="103"
src="@/assets/images/mini-program-sm.jpg" :src=" modules[13].form.pic"
alt=""> alt="">
<p class="text">扫一扫登录职站商城</p> <p class="text">{{ modules[13].form.title }}</p>
</div> </div>
</div> </div>
</div> </div>
@ -214,7 +242,7 @@
<p class="tips">微信扫码添加职站售前咨询</p> <p class="tips">微信扫码添加职站售前咨询</p>
<p class="des">提供付费咨询及解决方案</p> <p class="des">提供付费咨询及解决方案</p>
<img width="150" <img width="150"
src="@/assets/images/index/customer.png" src="https://huorantech.com/images/index/customer.png"
alt=""> alt="">
</div> </div>
<div class="item tel"></div> <div class="item tel"></div>
@ -223,7 +251,7 @@
<div class="line"> <div class="line">
<div> <div>
<img class="icon" <img class="icon"
src="@/assets/images/index/tel-2.png" src="https://huorantech.com/images/index/tel-2.png"
alt=""> alt="">
</div> </div>
<div class="text"> <div class="text">
@ -236,7 +264,7 @@
<div class="line"> <div class="line">
<div> <div>
<img class="icon" <img class="icon"
src="@/assets/images/index/sug.png" src="https://huorantech.com/images/index/sug.png"
alt=""> alt="">
</div> </div>
<div class="text"> <div class="text">
@ -254,11 +282,16 @@
</template> </template>
<script> <script>
import mixins from '@/mixins/page'
import Setting from '@/setting'
import Util from '@/libs/util'
import WOW from 'wow.js' import WOW from 'wow.js'
import scroll from 'vue-seamless-scroll' import scroll from 'vue-seamless-scroll'
export default { export default {
mixins: [mixins],
data () { data () {
return { return {
isImg: Util.isImg,
active: '', active: '',
clients: [1, 2, 3, 4, 5] clients: [1, 2, 3, 4, 5]
} }
@ -270,13 +303,19 @@ export default {
new WOW().init() new WOW().init()
}, },
methods: { methods: {
// //
carouselSwitch (name, dir) { getInfo () {
dir ? this.$refs[name].next() : this.$refs[name].prev() // /
}, this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => {
toPart (i) { if (data.length) {
this.active = i // state1theEditedJson稿0jsonBeforeEditing
document.querySelector(`#part${i}`).scrollIntoView() const json = JSON.parse(this.preview ?
data :
data[data.length - 1][data[data.length - 1].state ? 'theEditedJson' : 'jsonBeforeEditing'])
this.modules = json
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json)
}
}).catch(err => { })
}, },
// //
topping () { topping () {
@ -299,8 +338,8 @@ export default {
.banner { .banner {
position: relative; position: relative;
height: 480px; height: 480px;
background: url(../../assets/images/about/banner1.png) 0 0 / auto no-repeat, background: url(https://huorantech.com/images/about/banner1.png) 0 0 / auto no-repeat,
url(../../assets/images/about/banner2.png) (90% 37px) / auto no-repeat; url(https://huorantech.com/images/about/banner2.png) (90% 37px) / auto no-repeat;
background-color: #0f5bed; background-color: #0f5bed;
.texts { .texts {
position: absolute; position: absolute;
@ -314,6 +353,28 @@ export default {
display: flex; display: flex;
} }
} }
.carousel {
.pic {
height: 100%;
background-position: center center;
background-size: 100% 100%;
background-repeat: no-repeat;
}
/deep/.el-carousel__container {
height: 100%;
}
.text-wrap {
position: absolute;
top: 50%;
left: 165px;
color: #fff;
transform: translateY(-50%);
}
.qrcodes {
display: flex;
margin-top: 10px;
}
}
.qrcode { .qrcode {
text-align: center; text-align: center;
@ -403,7 +464,7 @@ export default {
height: 153px; height: 153px;
margin-top: -240px; margin-top: -240px;
color: #fff; color: #fff;
background: url(../../assets/images/about/about2.png) 0 0 / cover no-repeat; background: url(https://huorantech.com/images/about/about2.png) 0 0 / cover no-repeat;
.inner { .inner {
padding: 0; padding: 0;
} }
@ -417,7 +478,7 @@ export default {
} }
.culture { .culture {
position: relative; position: relative;
background: #fff url(../../assets/images/about/about3.png) 0 0/100% 100% no-repeat; background: #fff url(https://huorantech.com/images/about/about3.png) 0 0/100% 100% no-repeat;
.inner { .inner {
padding-bottom: 112px; padding-bottom: 112px;
} }
@ -543,7 +604,7 @@ export default {
.contact { .contact {
position: relative; position: relative;
padding: 0 0 106px 0; padding: 0 0 106px 0;
background: url(../../assets/images/about/map.png) 0 0 / cover no-repeat; background: url(https://huorantech.com/images/about/map.png) 0 0 / cover no-repeat;
.inner { .inner {
padding: 0; padding: 0;
} }
@ -599,8 +660,8 @@ export default {
.about { .about {
padding: 130px 0 200px; padding: 130px 0 200px;
background: url(../../assets/images/index/about2.png) (bottom right) / auto no-repeat, background: url(https://huorantech.com/images/index/about2.png) (bottom right) / auto no-repeat,
url(../../assets/images/index/about1.png) 0 0 / cover no-repeat; url(https://huorantech.com/images/index/about1.png) 0 0 / cover no-repeat;
.inner { .inner {
padding: 0; padding: 0;
} }
@ -641,7 +702,7 @@ export default {
} }
.adv { .adv {
position: relative; position: relative;
background: #fff url(../../assets/images/index/index7.png) 0 0/100% 100% no-repeat; background: #fff url(https://huorantech.com/images/index/index7.png) 0 0/100% 100% no-repeat;
.list { .list {
display: flex; display: flex;
li { li {
@ -685,7 +746,7 @@ export default {
} }
.service { .service {
position: relative; position: relative;
background: #0653ff url(../../assets/images/index/service4.png) 0 0/100% 100% no-repeat; background: #0653ff url(https://huorantech.com/images/index/service4.png) 0 0/100% 100% no-repeat;
.i-title { .i-title {
color: #fff; color: #fff;
} }
@ -775,8 +836,8 @@ export default {
} }
} }
.product { .product {
background: url(../../assets/images/index/pro-bg1.png) (right 828px) / auto no-repeat, background: url(https://huorantech.com/images/index/pro-bg1.png) (right 828px) / auto no-repeat,
url(../../assets/images/index/pro-bg8.png) (left bottom) / auto no-repeat; url(https://huorantech.com/images/index/pro-bg8.png) (left bottom) / auto no-repeat;
background-color: #fff; background-color: #fff;
.list { .list {
display: flex; display: flex;
@ -831,10 +892,10 @@ export default {
top: 157px; top: 157px;
width: 21px; width: 21px;
height: 21px; height: 21px;
background: url(../../assets/images/index/arrow.png) no-repeat; background: url(https://huorantech.com/images/index/arrow.png) no-repeat;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
background-image: url(../../assets/images/index/arrow-active.png); background-image: url(https://huorantech.com/images/index/arrow-active.png);
} }
} }
.a-left { .a-left {
@ -910,7 +971,7 @@ export default {
} }
} }
.parner { .parner {
background: #fff url(../../assets/images/index/parner.png) 0 0 / cover no-repeat; background: #fff url(https://huorantech.com/images/index/parner.png) 0 0 / cover no-repeat;
.i-title, .i-title,
.brief { .brief {
color: #fff; color: #fff;
@ -923,7 +984,7 @@ export default {
height: 600px; height: 600px;
} }
.client { .client {
background: url(../../assets/images/index/client.png) 0 0 / cover no-repeat; background: url(https://huorantech.com/images/index/client.png) 0 0 / cover no-repeat;
} }
.client-pic { .client-pic {
display: flex; display: flex;
@ -1041,9 +1102,9 @@ export default {
cursor: pointer; cursor: pointer;
} }
.wechat { .wechat {
background: #fff url(../../assets/images/index/wechat.png) center center/auto no-repeat; background: #fff url(https://huorantech.com/images/index/wechat.png) center center/auto no-repeat;
&:hover { &:hover {
background-image: url(../../assets/images/index/wechat-1.png); background-image: url(https://huorantech.com/images/index/wechat-1.png);
background-color: #006eff; background-color: #006eff;
& + .popup { & + .popup {
display: block; display: block;
@ -1051,9 +1112,9 @@ export default {
} }
} }
.tel { .tel {
background: #fff url(../../assets/images/index/tel.png) center center/auto no-repeat; background: #fff url(https://huorantech.com/images/index/tel.png) center center/auto no-repeat;
&:hover { &:hover {
background-image: url(../../assets/images/index/tel-1.png); background-image: url(https://huorantech.com/images/index/tel-1.png);
background-color: #006eff; background-color: #006eff;
& + .popup { & + .popup {
display: block; display: block;
@ -1061,9 +1122,9 @@ export default {
} }
} }
.topping { .topping {
background: #fff url(../../assets/images/index/top.png) center center/auto no-repeat; background: #fff url(https://huorantech.com/images/index/top.png) center center/auto no-repeat;
&:hover { &:hover {
background-image: url(../../assets/images/index/top-1.png); background-image: url(https://huorantech.com/images/index/top-1.png);
background-color: #006eff; background-color: #006eff;
} }
} }

@ -10,11 +10,6 @@
:key="i"> :key="i">
<div class="pic" <div class="pic"
:style="{backgroundImage: 'url(' + item.pic + ')'}"></div> :style="{backgroundImage: 'url(' + item.pic + ')'}"></div>
<!-- <img :class="[{'cursor-pointer': isLink(item.link.linkName)}]"
width="100%"
:src="item.pic"
alt=""
@click="openLink(item)"> -->
<div class="text-wrap"> <div class="text-wrap">
<div v-if="!GTA && !i" <div v-if="!GTA && !i"
class="qrcode-wrap"> class="qrcode-wrap">
@ -61,12 +56,14 @@
src="@/assets/images/type.png" src="@/assets/images/type.png"
alt=""> alt="">
</div> </div>
<ul class="tab"> <div class="tab-con">
<li v-for="(tab, i) in tabs" <ul class="tab">
:key="i" <li v-for="(tab, i) in tabs"
:class="{active: curTab === tab.id}" :key="i"
@click="tabChange(tab)">{{ tab.name }}</li> :class="{active: curTab === tab.id}"
</ul> @click="tabChange(tab)">{{ tab.name }}</li>
</ul>
</div>
</div> </div>
<div class="search"> <div class="search">
<img class="icon" <img class="icon"
@ -994,14 +991,19 @@ export default {
} }
} }
.type-wrap { .type-wrap {
.tab-con {
max-width: 100%;
margin-bottom: 10px;
overflow: auto;
}
.tab { .tab {
flex-wrap: wrap;
li { li {
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
} }
.search { .search {
width: 100%;
margin-top: 0; margin-top: 0;
} }
.courses { .courses {

Loading…
Cancel
Save