先拓企业站
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
xiantuo/pages/about/index.vue

623 lines
14 KiB

<template>
<view class="xiantuo">
<view class="header">
<view class="logo">
<image src="@/static/logo.png"></image>
</view>
<view class="nav">
<view class="li" @click="openPage('/pages/index/index')">
<view class="title">首页</view>
</view>
<view class="li" @click="openPage('/pages/case/index')">
<view class="title">案例</view>
<view class="desc">
<view class="item" v-for="(a,i) in navList" @click="openPage('/pages/case/index?type='+a.scode+'&name='+a.name)">{{a.name}}</view>
</view>
</view>
<view class="li" @click="openPage('/pages/news/index')"><view class="title">资讯</view></view>
<view class="li li-on" @click="openPage('/pages/about/index')"><view class="title">关于我们</view></view>
<view class="li" @click="openPage('/pages/contact/index')"><view class="title">联系我们</view></view>
</view>
<view class="icon" @click="openMenu()">
<image src="@/static/caidan.png"></image>
</view>
</view>
<view class="content">
<view class="banner">
<image mode="widthFix" src="@/static/9.png"></image>
</view>
<view class="banner3">
</view>
<view class="h1 wow fadeInUp">企业服务</view>
<view class="jd wow fadeInUp">我们致力于将艺术美学与科技力量完美融合</view>
<view class="sjd wow fadeInUp">为全球客户提供卓越的产品设计解决方案</view>
<view class="ejd wow fadeInUp">我们深信,优秀的设计不仅能够提升产品的功能性和用户体验,更是企业品牌形象塑造与市场竞争力提升的关键。</view>
<view class="list">
<view class="item wow fadeInUp">
<view class="pic">
<image class="img" src="@/static/icon-1.png"></image>
<image class="img1" src="@/static/icon-1-on.png"></image>
</view>
<view class="sort">01</view>
<view class="title">外观设计</view>
<view class="desc">
<view class="p">时间就是金钱</view>
<view class="p">极速提供多款产品创意设计方案</view>
<view class="p">供客户多样选择...</view>
</view>
</view>
<view class="item wow fadeInUp">
<view class="pic">
<image class="img" src="@/static/icon-2.png"></image>
<image class="img1" src="@/static/icon-2-on.png"></image>
</view>
<view class="sort">02</view>
<view class="title">结构设计</view>
<view class="desc">
<view class="p">丰富的结构设计经验</view>
<view class="p">来自多年的行业技术储备</view>
<view class="p">确保每个创意落地...</view>
</view>
</view>
<view class="item wow fadeInUp">
<view class="pic">
<image class="img" src="@/static/icon-3.png"></image>
<image class="img1" src="@/static/icon-3-on.png"></image>
</view>
<view class="sort">03</view>
<view class="title">手板模型</view>
<view class="desc">
<view class="p">让设计所见即所得</view>
<view class="p">检验外观造型及结构装配</view>
<view class="p">避免开模的风险...</view>
</view>
</view>
<view class="item wow fadeInUp">
<view class="pic">
<image class="img" src="@/static/icon-4.png"></image>
<image class="img1" src="@/static/icon-4-on.png"></image>
</view>
<view class="sort">04</view>
<view class="title">产品定制</view>
<view class="desc">
<view class="p">针对整体产品量产实现</view>
<view class="p">从设计、模具、生产一条龙服务</view>
<view class="p">为客户深度定制产品...</view>
</view>
</view>
</view>
<view class=" wow fadeInUp">
<view class="h1">{{companyInfo.name}}</view>
<view class="sjds" v-html="info.content"></view>
</view>
<view class="h1 wow fadeInUp">企业精神</view>
<view class="sjds wow fadeInUp">公司以开拓,创新,诚信为企业精神,服务客户,帮助企业打造全新更具有竞争力的产品研发设计团队研发设计团队拥有多年以上的实战研发经验,聚集了工业设计、结构研发、用户体验、品牌设计、产品策划等领域的专家。</view>
<view class="banner1 wow fadeInUp">
<image mode="widthFix" src="@/static/10.png"></image>
</view>
</view>
<view class="footer">
<view class="t wow fadeInUp">
<view class="a">
<image :src="baseUrl+companyInfo.weixin"></image>
<image :src="baseUrl+companyInfo.weixin_two" class="a1" v-if="companyInfo.weixin_two"></image>
</view>
<view class="b">微信</view>
<view class="c">邮箱:{{companyInfo.email}}</view>
</view>
<view class="d wow fadeInUp" data-wow-delay="0.2s">
<view class="p">联系方式:<text>{{companyInfo.contact}}{{companyInfo.mobile}}</text></view>
<view class="p">联系地址:<text>{{companyInfo.address}}</text></view>
</view>
</view>
<view class="menu" v-if="isShow">
<view class="li" @click="openPage('/pages/index/index')">
<view class="title">首页</view>
</view>
<view class="li" @click="openPage('/pages/case/index')">
<view class="title">案例</view>
</view>
<view class="li" @click="openPage('/pages/news/index')"><view class="title">资讯</view></view>
<view class="li li-on" @click="openPage('/pages/about/index')"><view class="title">关于我们</view></view>
<view class="li" @click="openPage('/pages/contact/index')"><view class="title">联系我们</view></view>
<view class="btn" @click="openMenu()">关闭</view>
</view>
</view>
</template>
<script>
import {WOW} from 'wowjs'
export default {
data() {
return {
isShow: false,
title: 'Hello',
navList: [],
companyInfo: {},
baseUrl: "",
info: {}
}
},
onLoad() {
this.baseUrl = this.$baseUrl;
if(uni.getStorageSync("navInfo")){
this.navList = uni.getStorageSync("navInfo")
}
if(uni.getStorageSync("companyInfo")){
this.companyInfo = uni.getStorageSync("companyInfo")
}
if(uni.getStorageSync("navScope") && uni.getStorageSync("navScope").type){
uni.removeStorageSync("navScope")
}
},
mounted() {
var wow = new WOW({
boxClass: 'wow', //需要执行动画元素的Class
animateClass: 'animated', //animation.css动画的Class
offset: 0, //距离可视区域多少开始执行动画
mobile: true, //是否在移动设备执行动画
live: false //异步加载的内容是否有效
})
wow.init();
this.getAbout();
},
methods: {
async getAbout() {
let {data} = await this.$api.getAbout(1);
data.content = data.content.replace(/style=""/g,'').replace(/<img src=/g,'<img style="width: 100%; display:block" src=')
this.info = data
},
openMenu() {
this.isShow = !this.isShow
},
openPage(url){
uni.navigateTo({
url
})
},
}
}
</script>
<style lang="scss" scoped>
.content{
width: 100%;
padding-top: 80px;
padding-bottom: 50px;
box-sizing: border-box;
.list{
max-width: 1536px;
margin: 0 auto;
margin-top: 30px;
display: flex;
align-items: center;
justify-content: space-between;
.item{
width: 370px;
height: 370px;
background: #FFFFFF;
border: 1px solid #666666;
box-sizing: border-box;
padding: 20px;
position: relative;
cursor: pointer;
color: #222222;
transition: background 0.5s;
.pic{
width: 120px;
height: 120px;
position: absolute;
right: 20px;
top: 20px;
z-index: 2;
.img1{
width: 100%;
height: 100%;
display: none;
}
.img{
width: 100%;
height: 100%;
display: block;
}
}
.sort{
font-weight: 400;
font-size: 36px;
height: 180px;
}
.title{
font-weight: 400;
font-size: 36px;
white-space: nowrap;
}
.p{
font-weight: 400;
font-size: 18px;
line-height: 30px;
}
&:hover{
background: linear-gradient(0deg, #211E70, #5652BE);
color: #FFFFFF;
.pic{
.img1{
display: block;
}
.img{
display: none;
}
}
}
}
}
.banner3{
width: 100%;
overflow: hidden;
display: none;
height: 210px;
background: url(/static/9.png) center center no-repeat;
background-size: auto 100%;
}
.banner{
width: 100%;
overflow: hidden;
margin: 0 auto;
image{
width: 100%;
height: 100%;
-webkit-transition: all 0.1s;
transition: all 0.1s;
transform: scale(1);
-webkit-transform: scale(1);
&:hover{
transform: scale(1.01);
-webkit-transform: scale(1.01);
}
}
}
.banner1{
max-width: 1536px;
overflow: hidden;
-webkit-transition: all 2s;
transition: all 2s;
margin: 0 auto;
margin-top: 45px;
image{
width: 100%;
height: 100%;
transform: scale(1);
-webkit-transform: scale(1);
}
&:hover{
image{
transform: scale(1.01);
}
}
}
.h1{
max-width: 1536px;
margin: 0 auto;
font-weight: 400;
font-size: 48px;
color: #222222;
line-height: 50px;
margin-top: 60px;
position: relative;
&::after{
content: "";
width: 120rpx;
height: 8rpx;
background: #211E70;
border-radius: 4rpx;
position: absolute;
left: 0;
bottom: -20px;
z-index: 2;
}
}
.jd{
max-width: 1536px;
margin: 0 auto;
font-weight: 400;
font-size: 36px;
color: #222222;
margin-top: 35px;
}
.sjd{
max-width: 1536px;
margin: 0 auto;
font-weight: 400;
font-size: 24px;
color: #333333;
margin-top: 20px;
}
.ejd{
max-width: 1536px;
margin: 0 auto;
font-weight: 400;
font-size: 18px;
color: #999999;
margin-top: 20px;
}
.sjds{
max-width: 1536px;
margin: 0 auto;
font-weight: 400;
font-size: 16px;
color: #222;
margin-top: 50px;
}
}
/* 超小设备 (手机, 600px 以下屏幕设备) */
@media only screen and (max-width: 599px) {
.content{
padding-bottom: 30px;
.banner{
width: 100%;
margin-top: 0;
height: auto;
display: none;
}
.banner3{
display: block;
}
.banner1{
width: 100%;
margin-top: 20px;
height: auto;
}
.h1{
margin: 20px 20px 0;
font-size: 30px;
}
.jd{
margin: 40px 20px 0;
font-size: 24px;
}
.ejd{
margin: 20px 20px 0;
font-size: 14px;
}
.sjd{
margin: 40px 20px 0;
font-size: 20px;
}
.sjds{
margin: 40px 20px 0;
font-size: 14px;
}
.list{
max-width: 100%;
margin: 10px 10px 0;
flex-wrap: wrap;
justify-content: center;
.item{
width: 100%;
margin: 0 auto;
margin-top: 20px;
.title{
font-size: 28px;
margin-bottom: 20px;
}
.desc .p{
font-size: 14px;
}
}
}
}
}
/* 小设备 (平板电脑和大型手机,600 像素及以上) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
.content{
padding-bottom: 30px;
.banner{
width: 100%;
margin-top: 0;
height: auto;
display: none;
}
.banner3{
display: block;
}
.banner1{
width: 100%;
margin-top: 20px;
height: auto;
}
.h1{
margin: 40px 20px 0;
font-size: 39px;
}
.jd{
margin: 40px 20px 0;
font-size: 32px;
}
.ejd{
margin: 20px 20px 0;
}
.sjd{
margin: 20px 20px 0;
}
.sjds{
margin: 40px 20px 0;
font-size: 15px;
}
.list{
max-width: 100%;
margin: 20px 10px 0;
flex-wrap: wrap;
justify-content: center;
.item{
width: 45%;
.title{
font-size: 28px;
margin-bottom: 20px;
}
.desc .p{
font-size: 14px;
}
}
.item:nth-child(2n+1){
margin-right: 20px;
}
.item:nth-child(2),.item:nth-child(1){
margin-bottom: 20px;
}
}
}
}
/* 中型设备(平板电脑,768 像素及以上) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
.content{
padding-bottom: 30px;
.banner{
width: 100%;
margin-top: 0;
height: auto;
}
.banner1{
width: 100%;
margin-top: 20px;
height: auto;
}
.h1{
margin: 40px 20px 0;
font-size: 39px;
}
.jd{
margin: 40px 20px 0;
font-size: 32px;
}
.ejd{
margin: 20px 20px 0;
}
.sjd{
margin: 20px 20px 0;
}
.sjds{
margin: 40px 20px 0;
font-size: 15px;
}
.list{
max-width: 991px;
margin: 30px 20px 0;
flex-wrap: wrap;
justify-content: center;
.item{
width: 40%;
}
.item:nth-child(2n+1){
margin-right: 30px;
}
.item:nth-child(2),.item:nth-child(1){
margin-bottom: 20px;
}
}
}
}
/* 大型设备(笔记本电脑/台式机,992 像素及以上) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
.content{
padding-bottom: 30px;
.banner{
width: 100%;
margin-top: 0;
height: auto;
}
.banner1{
width: 100%;
margin-top: 20px;
height: auto;
}
.h1{
margin: 40px 20px 0;
font-size: 39px;
}
.jd{
margin: 40px 20px 0;
font-size: 32px;
}
.ejd{
margin: 20px 20px 0;
}
.sjd{
margin: 20px 20px 0;
}
.sjds{
margin: 40px 20px 0;
font-size: 15px;
}
.list{
max-width: 992px;
margin: 30px 20px 0;
flex-wrap: wrap;
justify-content: center;
.item:nth-child(2n+1){
margin-right: 30px;
}
.item:nth-child(2),.item:nth-child(1){
margin-bottom: 20px;
}
}
}
}
/* 超大型设备(大型笔记本电脑和台式机,1200 像素及以上) */
@media only screen and (min-width: 1200px) and (max-width: 1350px) {
.content{
.banner{
width: 100%;
margin-top: 20px;
height: auto;
}
.h1{
margin: 40px 20px 0;
font-size: 39px;
}
.jd{
margin: 40px 20px 0;
font-size: 32px;
}
.ejd{
margin: 20px 20px 0;
}
.sjd{
margin: 20px 20px 0;
}
.sjds{
margin: 40px 20px 0;
font-size: 15px;
}
.banner1{
width: 100%;
margin-top: 25px;
height: auto;
}
.list{
max-width: 1200px;
margin: 30px 20px 0;
.item{
width: 280px;
height: 280px;
.pic{
width: 100px;
height: 100px;
}
.sort{
height: 100px;
}
.title{
font-size: 30px;
}
.p{
font-size: 16px;
}
}
}
}
}
</style>