Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
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
easyUI
hls-easy-ui
Commits
7591d7c3
Commit
7591d7c3
authored
Apr 25, 2019
by
Nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页适配调整
parent
d2172bb1
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
2231 deletions
+37
-2231
dev.env.js
config/dev.env.js
+8
-0
prod.env.js
config/prod.env.js
+8
-0
uat.env.js
config/uat.env.js
+8
-0
App.vue
src/App.vue
+11
-0
ionicons.eot
src/fonts/ionicons.eot
+0
-0
ionicons.svg
src/fonts/ionicons.svg
+0
-2230
ionicons.ttf
src/fonts/ionicons.ttf
+0
-0
ionicons.woff
src/fonts/ionicons.woff
+0
-0
home.vue
src/pages/home.vue
+2
-1
No files found.
config/dev.env.js
View file @
7591d7c3
...
@@ -5,4 +5,12 @@ const prodEnv = require('./prod.env')
...
@@ -5,4 +5,12 @@ const prodEnv = require('./prod.env')
module
.
exports
=
merge
(
prodEnv
,
{
module
.
exports
=
merge
(
prodEnv
,
{
NODE_ENV
:
'"development"'
,
NODE_ENV
:
'"development"'
,
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
debug
:
true
,
isMobilePlatform
:
false
,
appCode
:
'"HLS_APP"'
,
clearTable
:
true
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
});
});
config/prod.env.js
View file @
7591d7c3
...
@@ -2,4 +2,12 @@
...
@@ -2,4 +2,12 @@
module
.
exports
=
{
module
.
exports
=
{
NODE_ENV
:
'"production"'
,
NODE_ENV
:
'"production"'
,
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
debug
:
false
,
isMobilePlatform
:
true
,
appCode
:
'"HLS_APP"'
,
clearTable
:
true
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
}
}
config/uat.env.js
View file @
7591d7c3
...
@@ -2,4 +2,12 @@
...
@@ -2,4 +2,12 @@
module
.
exports
=
{
module
.
exports
=
{
NODE_ENV
:
'"production"'
,
NODE_ENV
:
'"production"'
,
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
debug
:
false
,
isMobilePlatform
:
true
,
appCode
:
'"HLS_APP"'
,
clearTable
:
true
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
}
}
src/App.vue
View file @
7591d7c3
...
@@ -44,12 +44,23 @@ export default {
...
@@ -44,12 +44,23 @@ export default {
this
.
$router
.
isBack
=
false
this
.
$router
.
isBack
=
false
},
},
},
},
mounted
()
{
this
.
getAccessToken
()
},
methods
:
{
methods
:
{
// 右滑返回上一页
// 右滑返回上一页
onSwipeRight
()
{
onSwipeRight
()
{
if
(
this
.
$route
.
name
===
'Home'
)
return
if
(
this
.
$route
.
name
===
'Home'
)
return
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
},
},
getAccessToken
()
{
let
vm
=
this
let
url
=
process
.
env
.
loginPath
+
'appadmin'
let
param
=
{}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
window
.
localStorage
.
setItem
(
'access_token'
,
res
.
access_token
)
})
},
},
},
}
}
</
script
>
</
script
>
...
...
src/fonts/ionicons.eot
deleted
100755 → 0
View file @
d2172bb1
File deleted
src/fonts/ionicons.svg
deleted
100755 → 0
View file @
d2172bb1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/fonts/ionicons.ttf
deleted
100755 → 0
View file @
d2172bb1
File deleted
src/fonts/ionicons.woff
deleted
100755 → 0
View file @
d2172bb1
File deleted
src/pages/home.vue
View file @
7591d7c3
...
@@ -232,10 +232,11 @@ export default {
...
@@ -232,10 +232,11 @@ export default {
.bar-footer {
.bar-footer {
height: auto !important;
height: auto !important;
min-height: 44px;
min-height: 44px;
padding: 0;
//
padding: 0;
margin-top: 0;
margin-top: 0;
background-color: #fafafa;
background-color: #fafafa;
bottom: 0;
bottom: 0;
background-image: none;
.item-input {
.item-input {
border: none !important;
border: none !important;
padding: 3px 0 3px 5px;
padding: 3px 0 3px 5px;
...
...
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