提交 a5ae1cb2 authored 作者: huaxinzhu's avatar huaxinzhu

测试环境端口更改6605;

上级 86a3a323
......@@ -4,7 +4,7 @@ ENV = 'development'
# 正式环境
#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开放接口
VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com'
......
......@@ -4,4 +4,4 @@ NODE_ENV = production
ENV = 'staging'
#gfast管理系统/测试环境
VUE_APP_BASE_API = 'http://192.168.26.179:8200/api/v1'
VUE_APP_BASE_API = 'http://192.168.26.179:6605/api/v1'
<template>
<div class="yc-content" ref="searchBar">
<div class="content">
<div class="pc-content" ref="searchBar">
<!-- 头部 -->
<header :class="{ 'head-scroll': isScroll }">
<div class="header-con">
......@@ -200,6 +201,31 @@
</div>
</footer>
</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>
<script>
......@@ -323,6 +349,7 @@
mounted() {
this.getIndexInfo()
window.addEventListener('scroll', this.handleScroll, true);
// console.log(333,window.devicePixelRatio);
},
destroyed() {
window.removeEventListener('scroll', this.handleScroll);
......@@ -457,16 +484,26 @@
}
@media screen and (max-width: 480px) {
.yc-content {
.pc-content {
width: 100%;
height: 100%;
display : none;
}
.mobile-content {
width: 100%;
height: 100%;
}
}
@media screen and (min-width: 480px) {
.yc-content {
@media screen and (min-width: 481px) {
.pc-content {
width: 100%;
height: 100%;
min-width: 960px;
}
.mobile-content {
width: 100%;
height: 100%;
display : none;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论