Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
luqiao-admin-mobile
Overview
Overview
Details
Activity
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
杨子
luqiao-admin-mobile
Commits
d801bd8c
Commit
d801bd8c
authored
Apr 26, 2019
by
杨子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加listservice
parent
0ef3f8be
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
47 additions
and
4 deletions
+47
-4
.gitignore
.gitignore
+1
-0
list.service.ts
src/app/core/services/list/list.service.ts
+21
-0
passport.component.less
src/app/layout/passport/passport.component.less
+13
-1
login.component.less
src/app/routes/passport/login/login.component.less
+9
-0
basic-list.component.ts
src/app/routes/pro/list/basic-list/basic-list.component.ts
+1
-1
app-data.json
src/assets/tmp/app-data.json
+0
-0
proxy.config.json
src/proxy.config.json
+2
-2
No files found.
.gitignore
View file @
d801bd8c
...
@@ -43,3 +43,4 @@ yarn-error.log
...
@@ -43,3 +43,4 @@ yarn-error.log
# System Files
# System Files
.DS_Store
.DS_Store
Thumbs.db
Thumbs.db
/src/proxy.config.json
src/app/core/services/list/list.service.ts
0 → 100644
View file @
d801bd8c
import
{
Injectable
}
from
'@angular/core'
;
import
{
_HttpClient
}
from
'@delon/theme'
;
@
Injectable
({
providedIn
:
'root'
,
})
export
class
ListService
{
constructor
(
private
http
:
_HttpClient
)
{}
/**
*获取资产台账列表
*
* @param {number} kindAsset 1为类固定 2固定
* @returns
* @memberof ListService
*/
getKindAssetList
(
kindAsset
:
number
)
{
const
url
=
'asset/a/asset/assets/data?kindAsset='
+
kindAsset
;
return
this
.
http
.
get
(
url
);
}
}
src/app/layout/passport/passport.component.less
View file @
d801bd8c
@import '~@delon/theme/styles/default';
@import '~@delon/theme/styles/default';
:host {
:host {
::ng-deep {
::ng-deep {
.container {
.container {
...
@@ -7,11 +8,13 @@
...
@@ -7,11 +8,13 @@
min-height: 100%;
min-height: 100%;
background: #f0f2f5;
background: #f0f2f5;
}
}
.langs {
.langs {
text-align: right;
text-align: right;
width: 100%;
width: 100%;
height: 40px;
height: 40px;
line-height: 44px;
line-height: 44px;
.anticon {
.anticon {
margin-top: 24px;
margin-top: 24px;
margin-right: 24px;
margin-right: 24px;
...
@@ -20,10 +23,12 @@
...
@@ -20,10 +23,12 @@
cursor: pointer;
cursor: pointer;
}
}
}
}
.wrap {
.wrap {
padding: 32px 0;
padding: 32px 0;
flex: 1;
flex: 1;
}
}
.ant-form-item {
.ant-form-item {
margin-bottom: 24px;
margin-bottom: 24px;
}
}
...
@@ -35,32 +40,39 @@
...
@@ -35,32 +40,39 @@
background-position: center 110px;
background-position: center 110px;
background-size: 100%;
background-size: 100%;
}
}
.wrap {
.wrap {
padding: 32px 0 24px;
padding: 32px 0 24px;
}
}
}
}
.top {
.top {
text-align: center;
text-align: center;
}
}
.header {
.header {
height: 44px;
height: 44px;
line-height: 44px;
line-height: 44px;
a {
a {
text-decoration: none;
text-decoration: none;
}
}
}
}
.logo {
.logo {
height: 44px;
height: 44px;
margin-right: 16px;
margin-right: 16px;
}
}
.title {
.title {
font-size:
33px
;
font-size:
2em
;
color: @heading-color;
color: @heading-color;
font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-weight: 600;
font-weight: 600;
position: relative;
position: relative;
vertical-align: middle;
vertical-align: middle;
}
}
.desc {
.desc {
font-size: @font-size-base;
font-size: @font-size-base;
color: @text-color-secondary;
color: @text-color-secondary;
...
...
src/app/routes/passport/login/login.component.less
View file @
d801bd8c
@import '~@delon/theme/styles/default';
@import '~@delon/theme/styles/default';
:host {
:host {
display: block;
display: block;
width: 368px;
width: 368px;
margin: 0 auto;
margin: 0 auto;
::ng-deep {
::ng-deep {
.ant-tabs .ant-tabs-bar {
.ant-tabs .ant-tabs-bar {
border-bottom: 0;
border-bottom: 0;
margin-bottom: 24px;
margin-bottom: 24px;
text-align: center;
text-align: center;
}
}
.ant-tabs-tab {
.ant-tabs-tab {
font-size: 16px;
font-size: 16px;
line-height: 24px;
line-height: 24px;
}
}
.ant-input-affix-wrapper .ant-input:not(:first-child) {
.ant-input-affix-wrapper .ant-input:not(:first-child) {
padding-left: 34px;
padding-left: 34px;
}
}
.icon {
.icon {
font-size: 24px;
font-size: 24px;
color: rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.2);
...
@@ -23,17 +28,21 @@
...
@@ -23,17 +28,21 @@
vertical-align: middle;
vertical-align: middle;
cursor: pointer;
cursor: pointer;
transition: color 0.3s;
transition: color 0.3s;
&:hover {
&:hover {
color: @primary-color;
color: @primary-color;
}
}
}
}
.other {
.other {
text-align: left;
text-align: left;
margin-top: 24px;
margin-top: 24px;
line-height: 22px;
line-height: 22px;
nz-tooltip {
nz-tooltip {
vertical-align: middle;
vertical-align: middle;
}
}
.register {
.register {
float: right;
float: right;
}
}
...
...
src/app/routes/pro/list/basic-list/basic-list.component.ts
View file @
d801bd8c
...
@@ -29,7 +29,7 @@ export class ProBasicListComponent implements OnInit {
...
@@ -29,7 +29,7 @@ export class ProBasicListComponent implements OnInit {
getData
()
{
getData
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
http
.
get
(
'
/
api/list'
,
{
count
:
5
}).
subscribe
((
res
:
any
)
=>
{
this
.
http
.
get
(
'api/list'
,
{
count
:
5
}).
subscribe
((
res
:
any
)
=>
{
this
.
data
=
res
;
this
.
data
=
res
;
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
cdr
.
detectChanges
();
this
.
cdr
.
detectChanges
();
...
...
src/assets/tmp/app-data.json
View file @
d801bd8c
This diff is collapsed.
Click to expand it.
src/proxy.config.json
View file @
d801bd8c
{
{
"/asset
/*
"
:
{
"/asset"
:
{
"target"
:
"http://192.168.19.20
2:8081/
"
,
"target"
:
"http://192.168.19.20
0:8080
"
,
"secure"
:
false
,
"secure"
:
false
,
"logLevel"
:
"debug"
,
"logLevel"
:
"debug"
,
"changeOrigin"
:
true
"changeOrigin"
:
true
...
...
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