Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王旭
mt-education-mobile
Commits
5f115bd9
Commit
5f115bd9
authored
Dec 15, 2020
by
zhangyichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改连接失败页面文本图片
parent
526ded86
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
37 deletions
+29
-37
.env.development
.env.development
+0
-12
.env.production
.env.production
+0
-11
index.vue
src/views/Home/index.vue
+0
-1
index.vue
src/views/HomeIndex/index.vue
+29
-13
No files found.
.env.development
View file @
5f115bd9
# just a flag
# just a flag
ENV = 'development'
ENV = 'development'
VUE_APP_BASE_APIenv = 'development'
VUE_APP_BASE_APIenv = 'development'
# base api 后端接口配置
# VUE_APP_BASE_API = 'http://192.168.5.54/api/education/v1'
# VUE_APP_BASE_API2 = 'http://192.168.5.54'
# 考试系统地址
# VUE_APP_BASE_API3 = 'http://192.168.5.161:7044'
# 手机端前台地址
# VUE_APP_BASE_API4 = 'http://192.168.15.139:8001'
# 不走网关的后台地址
# VUE_APP_BASE_API5 = 'http://192.168.5.191:7043'
# 客户端前端地址
# VUE_APP_BASE_API6 = 'http://192.168.15.139:8080'
# base api 后端接口配置
# base api 后端接口配置
VUE_APP_BASE_API = 'http://192.168.5.54/api/education/v1'
VUE_APP_BASE_API = 'http://192.168.5.54/api/education/v1'
VUE_APP_BASE_API2 = 'http://192.168.5.54'
VUE_APP_BASE_API2 = 'http://192.168.5.54'
...
...
.env.production
View file @
5f115bd9
...
@@ -2,17 +2,6 @@
...
@@ -2,17 +2,6 @@
ENV = 'production'
ENV = 'production'
VUE_APP_BASE_APIenv = 'production'
VUE_APP_BASE_APIenv = 'production'
# # 测试环境地址
# # 测试环境地址
# VUE_APP_BASE_API = '/api/education/v1'
# VUE_APP_BASE_API2 = ''
# # 考试系统地址
# VUE_APP_BASE_API3 = 'http://192.168.5.161:7044'
# # 手机端前台地址
# VUE_APP_BASE_API4 = 'http://192.168.5.54/education-mobile'
# # 不走网关的后台地址
# VUE_APP_BASE_API5 = 'http://192.168.5.191:7043'
# # 客户端前端地址
# VUE_APP_BASE_API6 = 'http://192.168.5.54/education-pc'
VUE_APP_BASE_API = '/api/education/v1'
VUE_APP_BASE_API = '/api/education/v1'
VUE_APP_BASE_API2 = ''
VUE_APP_BASE_API2 = ''
# 考试系统地址
# 考试系统地址
...
...
src/views/Home/index.vue
View file @
5f115bd9
...
@@ -980,7 +980,6 @@
...
@@ -980,7 +980,6 @@
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
window
.
location
.
href
,
'这是登录地址'
)
this
.
allCount
=
localStorage
.
getItem
(
'key'
)
this
.
allCount
=
localStorage
.
getItem
(
'key'
)
// 进入后强制竖屏
// 进入后强制竖屏
this
.
$wnsdk
.
device
.
setOrientation
({
type
:
1
,
this
.
$wnsdk
.
device
.
setOrientation
({
type
:
1
,
...
...
src/views/HomeIndex/index.vue
View file @
5f115bd9
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
:title=
"'智学'"
:title=
"'智学'"
:is-hidden-close=
"false"
:is-hidden-close=
"false"
>
>
<div
@
click=
"getUserInfo()"
class=
"
sign-class-name
"
>
<div
@
click=
"getUserInfo()"
class=
"
tip-block
"
>
<img
src=
"~@/assets/images/s
ign_error.png"
style=
"margin-top:200px;width: 200px;height:120px"
alt=
""
>
<img
src=
"~@/assets/images/s
ource-deleted.png"
alt=
""
>
<
div
:class=
"['status-text','fail-color']"
>
<
span
>
{{
'
网络连接失败!
'
}}
{{
'
连接失败,请退出重试
'
}}
</
div
>
</
span
>
</div>
</div>
</nav-bar-view>
</nav-bar-view>
</
template
>
</
template
>
...
@@ -32,24 +32,40 @@ export default {
...
@@ -32,24 +32,40 @@ export default {
},
},
methods
:
{
methods
:
{
getUserInfo
()
{
getUserInfo
()
{
this
.
$router
.
push
({
sendInfoToJava
(
'close'
)
path
:
'/'
,
query
:
{
// deptId:row.departmentId
}
})
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
scoped
>
.sign-class-name{
.sign-class-name{
font-weight:544 ;
font-weight:544 ;
font: 16px MicrosoftYaHei;
font: 16px MicrosoftYaHei;
color: #999999;
color: #999999;
margin-top: 37.5px;
margin-top: 37.5px;
}
}
.tip-block {
margin-top: 50%;
img {
display: block;
width: 186.5px;
height: 110px;
margin: 0 auto;
}
span {
display: inline-block;
white-space: nowrap;
margin-top: 44px;
font-size:14px;
font-family:Microsoft YaHei;
font-weight:400;
color:rgba(153,153,153,1);
line-height:48px;
}
}
</
style
>
<
style
scoped
>
.status-text
{
.status-text
{
font-size
:
18px
;
font-size
:
18px
;
margin-top
:
32px
;
margin-top
:
32px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment