Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
a5ae1cb2
提交
a5ae1cb2
authored
10月 12, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
测试环境端口更改6605;
上级
86a3a323
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
226 行增加
和
189 行删除
+226
-189
.env.development
.env.development
+1
-1
.env.staging
.env.staging
+1
-1
newyuncang.vue
src/views/entry/newyuncang.vue
+224
-187
没有找到文件。
.env.development
浏览文件 @
a5ae1cb2
...
@@ -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'
...
...
.env.staging
浏览文件 @
a5ae1cb2
...
@@ -4,4 +4,4 @@ NODE_ENV = production
...
@@ -4,4 +4,4 @@ NODE_ENV = production
ENV = 'staging'
ENV = 'staging'
#gfast管理系统/测试环境
#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'
src/views/entry/newyuncang.vue
浏览文件 @
a5ae1cb2
<
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"
>
...
@@ -200,6 +201,31 @@
...
@@ -200,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
>
...
@@ -323,6 +349,7 @@
...
@@ -323,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
);
...
@@ -457,16 +484,26 @@
...
@@ -457,16 +484,26 @@
}
}
@media
screen
and
(
max-width
:
480px
)
{
@media
screen
and
(
max-width
:
480px
)
{
.yc-content
{
.pc-content
{
width
:
100%
;
height
:
100%
;
display
:
none
;
display
:
none
;
}
}
.mobile-content
{
width
:
100%
;
height
:
100%
;
}
}
}
@media
screen
and
(
min-width
:
48
0
px
)
{
@media
screen
and
(
min-width
:
48
1
px
)
{
.
y
c-content
{
.
p
c-content
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
min-width
:
960px
;
}
.mobile-content
{
width
:
100%
;
height
:
100%
;
display
:
none
;
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论