提交 079e762a authored 作者: huaxinzhu's avatar huaxinzhu

测试环境端口更换为6605

...@@ -4,7 +4,7 @@ ENV = 'development' ...@@ -4,7 +4,7 @@ ENV = 'development'
# 正式环境 # 正式环境
#VUE_APP_BASE_API = 'http://sjapi.jxhh.com' #VUE_APP_BASE_API = 'http://sjapi.jxhh.com'
# 开发环境 # 开发环境
VUE_APP_BASE_API = 'http://192.168.26.179:8200/api/v1' VUE_APP_BASE_API = 'http://192.168.26.179:6605/api/v1'
# 文档模块 直接调用 sys开放接口 # 文档模块 直接调用 sys开放接口
VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com' VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com'
......
...@@ -4,4 +4,4 @@ NODE_ENV = production ...@@ -4,4 +4,4 @@ NODE_ENV = production
ENV = 'staging' ENV = 'staging'
#gfast管理系统/测试环境 #gfast管理系统/测试环境
VUE_APP_BASE_API = '/api/v1' VUE_APP_BASE_API = 'http://192.168.26.179:6605/api/v1'
<template> <template>
<div class="yc-content" ref="searchBar"> <div class="content">
<div class="pc-content" ref="searchBar">
<!-- 头部 --> <!-- 头部 -->
<header :class="{ 'head-scroll': isScroll }"> <header :class="{ 'head-scroll': isScroll }">
<div class="header-con"> <div class="header-con">
...@@ -27,11 +28,7 @@ ...@@ -27,11 +28,7 @@
</div> </div>
</header> </header>
<section class="banner"> <section class="banner">
<!-- <el-carousel height="561px" :autoplay="false" arrow="never">-->
<!-- <el-carousel-item v-for="item in 4" :key="item">-->
<!-- <img style="width:100%;" src="../../assets/image/website/banner.png" alt="">-->
<!-- </el-carousel-item>-->
<!-- </el-carousel>-->
<swiper :options="swiperOption" v-if="bannerList && bannerList.length > 0"> <swiper :options="swiperOption" v-if="bannerList && bannerList.length > 0">
<swiper-slide v-for="(item,index) in bannerList" :key="index"> <swiper-slide v-for="(item,index) in bannerList" :key="index">
<a :href=" '//' + item.redirect_url" target="_blank"><img style="width: 100%;height: 562px;" :src="item.image_url" <a :href=" '//' + item.redirect_url" target="_blank"><img style="width: 100%;height: 562px;" :src="item.image_url"
...@@ -39,7 +36,6 @@ ...@@ -39,7 +36,6 @@
</swiper-slide> </swiper-slide>
</swiper> </swiper>
</section> </section>
<!-- 主体 --> <!-- 主体 -->
<section style="margin-bottom: 100px;"> <section style="margin-bottom: 100px;">
<div class="advantage" :class="{ 'mgB100': isAdHover }"> <div class="advantage" :class="{ 'mgB100': isAdHover }">
...@@ -65,25 +61,9 @@ ...@@ -65,25 +61,9 @@
</div> </div>
</div> </div>
<!-- <div class="pre-advantage" @mouseover="adHover(1)" @mouseleave="adLeave(1)" :class="{ 'noBorder': indexAddom === 1 }" style="z-index: 4">-->
<!-- <dl class="dl-con" :class="{ 'noDlCon': indexAddom === 1 }">-->
<!-- <dt class="dl-con-ad1"></dt>-->
<!-- <dd>技术优势</dd>-->
<!-- </dl>-->
<!-- <div class="pre-advantage-details" :class="{ 'up-ad-details': indexAddom === 1 }">-->
<!-- <p class="ad-details-title">-->
<!-- 技术优势-->
<!-- </p >-->
<!-- <p class="ad-details">-->
<!-- 数字化、智能化云仓系统支持商品一键导入,快速编辑上架;订单批量发货、流程简洁,实时同步物流状态; 结算流水实时同步,资金链及时回笼-->
<!-- </p>-->
<!-- </div>-->
<!-- </div>-->
</div> </div>
</div> </div>
</section> </section>
<!-- 入驻流程 --> <!-- 入驻流程 -->
<section style="padding-bottom: 90px;background-color: #f9f9fa;"> <section style="padding-bottom: 90px;background-color: #f9f9fa;">
<p class="process-title">入驻流程和材料</p> <p class="process-title">入驻流程和材料</p>
...@@ -221,6 +201,31 @@ ...@@ -221,6 +201,31 @@
</div> </div>
</footer> </footer>
</div> </div>
<!-- 移动端 -->
<div class="mobile-content">
<div class="m-header">
<ul class="m-nav">
<li v-if="settitle && settitle.topLogo">
<img style="width:114px;height:35px;" :src="settitle.topLogo" alt="">
</li>
<li>
<a href="/">首页</a>
</li>
<li v-if="navigationObj.open">
<a :href=" '//' + navigationObj.open" target="_blank">开放平台</a>
</li>
<li v-if="navigationObj.shop">
<a :href=" '//' + navigationObj.shop">云仓</a>
</li>
<li>
<a :href=" '//' + navigationObj.aboutUs + '/user' " target="_blank">关于我们</a>
</li>
</ul>
</div>
</div>
</div>
</template> </template>
<script> <script>
...@@ -344,6 +349,7 @@ ...@@ -344,6 +349,7 @@
mounted() { mounted() {
this.getIndexInfo() this.getIndexInfo()
window.addEventListener('scroll', this.handleScroll, true); window.addEventListener('scroll', this.handleScroll, true);
// console.log(333,window.devicePixelRatio);
}, },
destroyed() { destroyed() {
window.removeEventListener('scroll', this.handleScroll); window.removeEventListener('scroll', this.handleScroll);
...@@ -377,20 +383,6 @@ ...@@ -377,20 +383,6 @@
if (res.code == 1) { if (res.code == 1) {
if (res.data.universal_lst && res.data.universal_lst != 'null') { if (res.data.universal_lst && res.data.universal_lst != 'null') {
this.settitle = res.data.universal_lst this.settitle = res.data.universal_lst
} else {
// this.settitle = {
// bottomCopyright: "Copyright © 2015 - 2021 北京胜天半子科技有限公司 All Rights Reserved.",
// businessHours: 1,
// companyAddress: "北京市丰台区诺德中心一期四号楼21层",
// contactTel: "4000-188-199",
// custServiceQrcode: "http://excel.jxhh.com/public/upload/1629540531.png",
// hotlineTel1: "010-5335 9558",
// hotlineTel2: "400-188-199",
// onlineTimeEnd: "18:00",
// onlineTimeStart: "09:00",
// recordNum: "京ICP备19033223号-1",
// topLogo: "http://excel.jxhh.com/public/upload/1629540557.png",
// }
} }
} }
}) })
...@@ -475,7 +467,6 @@ ...@@ -475,7 +467,6 @@
// 去登录 // 去登录
toLogin() { toLogin() {
window.location.href = 'http://sso.jxhh.com/login?redirect=http://' + window.location.host + '/platformlogin' window.location.href = 'http://sso.jxhh.com/login?redirect=http://' + window.location.host + '/platformlogin'
//http://sso.jxhh.com/logout?redirect=http://' + ssa + '/login
} }
} // methods end } // methods end
...@@ -492,10 +483,28 @@ ...@@ -492,10 +483,28 @@
list-style: none; list-style: none;
} }
.yc-content { @media screen and (max-width: 480px) {
.pc-content {
width: 100%;
height: 100%;
display : none;
}
.mobile-content {
width: 100%;
height: 100%;
}
}
@media screen and (min-width: 481px) {
.pc-content {
width: 100%; width: 100%;
height: 100%; height: 100%;
min-width: 960px; }
.mobile-content {
width: 100%;
height: 100%;
display : none;
}
} }
/* 公用 */ /* 公用 */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论