Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
party-build-cloud
Project
Project
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
wangqinghua
party-build-cloud
Commits
04d07b94
Commit
04d07b94
authored
Apr 22, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tabs的icon
parent
1611a146
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
170 additions
and
173 deletions
+170
-173
app.component.ts
src/app/app.component.ts
+1
-1
activityApply.scss
...ages/home-pages/activity/activityApply/activityApply.scss
+0
-2
activityApply.ts
.../pages/home-pages/activity/activityApply/activityApply.ts
+2
-1
activityConfirm.scss
.../home-pages/activity/activityConfirm/activityConfirm.scss
+0
-4
activityConfirm.ts
...es/home-pages/activity/activityConfirm/activityConfirm.ts
+2
-0
activityDetail.scss
...es/home-pages/activity/activityDetail/activityDetail.scss
+2
-4
activityDetail.ts
...ages/home-pages/activity/activityDetail/activityDetail.ts
+15
-5
activityList.scss
.../pages/home-pages/activity/activityList/activityList.scss
+133
-144
activityList.ts
...pp/pages/home-pages/activity/activityList/activityList.ts
+7
-5
batch-detail.scss
.../pages/home-pages/activity/batch-detail/batch-detail.scss
+1
-2
batch-detail.ts
...pp/pages/home-pages/activity/batch-detail/batch-detail.ts
+2
-0
order-detail.scss
.../pages/home-pages/activity/order-detail/order-detail.scss
+1
-2
order-detail.ts
...pp/pages/home-pages/activity/order-detail/order-detail.ts
+2
-0
order-edit.scss
src/app/pages/home-pages/activity/order-edit/order-edit.scss
+1
-3
order-edit.ts
src/app/pages/home-pages/activity/order-edit/order-edit.ts
+1
-0
icon-tj.png
src/assets/imgs/icon-tj.png
+0
-0
no-info.png
src/assets/imgs/no-info.png
+0
-0
No files found.
src/app/app.component.ts
View file @
04d07b94
...
@@ -27,7 +27,7 @@ export class AppComponent {
...
@@ -27,7 +27,7 @@ export class AppComponent {
private
storage
:
Storage
,
public
commonSer
:
CommonService
,
private
storage
:
Storage
,
public
commonSer
:
CommonService
,
private
router
:
Router
,
public
tabSer
:
TabsService
,
private
router
:
Router
,
public
tabSer
:
TabsService
,
)
{
)
{
//
this.initializeApp();
this
.
initializeApp
();
}
}
initializeApp
()
{
initializeApp
()
{
...
...
src/app/pages/home-pages/activity/activityApply/activityApply.scss
View file @
04d07b94
page-activityApply
{
.searchToolBar
{
.searchToolBar
{
display
:
flex
;
display
:
flex
;
...
@@ -383,4 +382,3 @@ page-activityApply {
...
@@ -383,4 +382,3 @@ page-activityApply {
height
:
2rem
;
height
:
2rem
;
width
:
2rem
;
width
:
2rem
;
}
}
}
src/app/pages/home-pages/activity/activityApply/activityApply.ts
View file @
04d07b94
...
@@ -7,7 +7,8 @@ import {Router, ActivatedRoute} from "@angular/router";
...
@@ -7,7 +7,8 @@ import {Router, ActivatedRoute} from "@angular/router";
@
Component
({
@
Component
({
selector
:
'page-activityApply'
,
selector
:
'page-activityApply'
,
templateUrl
:
'activityApply.html'
,
templateUrl
:
'./activityApply.html'
,
styleUrls
:
[
'./activityApply.scss'
],
})
})
export
class
ActivityApplyPage
{
export
class
ActivityApplyPage
{
...
...
src/app/pages/home-pages/activity/activityConfirm/activityConfirm.scss
View file @
04d07b94
page-activityConfirm
{
.searchToolBar
{
.searchToolBar
{
display
:
flex
;
display
:
flex
;
...
@@ -542,6 +541,3 @@ page-activityConfirm {
...
@@ -542,6 +541,3 @@ page-activityConfirm {
background-color
:
#ececec
;
background-color
:
#ececec
;
}
}
}
}
}
src/app/pages/home-pages/activity/activityConfirm/activityConfirm.ts
View file @
04d07b94
...
@@ -6,6 +6,8 @@ import {AppService} from "../../../../../http/http.service";
...
@@ -6,6 +6,8 @@ import {AppService} from "../../../../../http/http.service";
@
Component
({
@
Component
({
selector
:
'page-activityConfirm'
,
selector
:
'page-activityConfirm'
,
templateUrl
:
'activityConfirm.html'
,
templateUrl
:
'activityConfirm.html'
,
styleUrls
:
[
'./activityConfirm.scss'
],
})
})
export
class
ActivityConfirmPage
{
export
class
ActivityConfirmPage
{
...
...
src/app/pages/home-pages/activity/activityDetail/activityDetail.scss
View file @
04d07b94
page-activityDetail
{
.searchToolBar
{
.searchToolBar
{
display
:
flex
;
display
:
flex
;
...
@@ -247,5 +246,4 @@ page-activityDetail {
...
@@ -247,5 +246,4 @@ page-activityDetail {
border
:
1px
solid
#34b4fc
;
border
:
1px
solid
#34b4fc
;
background-color
:
#34b4fc
;
background-color
:
#34b4fc
;
margin-top
:
20px
;
margin-top
:
20px
;
}
}
}
\ No newline at end of file
\ No newline at end of file
src/app/pages/home-pages/activity/activityDetail/activityDetail.ts
View file @
04d07b94
...
@@ -7,17 +7,19 @@ import {CommonService} from "../../../../../provide/common.service";
...
@@ -7,17 +7,19 @@ import {CommonService} from "../../../../../provide/common.service";
@
Component
({
@
Component
({
selector
:
'page-activityDetail'
,
selector
:
'page-activityDetail'
,
templateUrl
:
'activityDetail.html'
,
templateUrl
:
'activityDetail.html'
,
styleUrls
:
[
'./activityDetail.scss'
],
})
})
export
class
ActivityDetailPage
implements
OnInit
{
export
class
ActivityDetailPage
implements
OnInit
{
activityId
;
//活动ID
activityId
;
//活动ID
activity
=
{
activity
=
{
batchList
:
[],
batchList
:
[],
activityIntro
:
''
,
activityIntro
:
''
,
activityIMG
:
''
,
activityIMG
:
''
,
activityName
:
null
,
activityName
:
null
,
fileUploadEntities
:
null
,
fileUploadEntities
:
null
,
activityNo
:
null
,
activityNo
:
null
,
};
};
picture
:
string
=
AppGlobal
.
picture
;
picture
:
string
=
AppGlobal
.
picture
;
batchList
=
[];
batchList
=
[];
...
@@ -87,6 +89,12 @@ export class ActivityDetailPage implements OnInit{
...
@@ -87,6 +89,12 @@ export class ActivityDetailPage implements OnInit{
//批次详情
//批次详情
goBatchDetail
(
item
)
{
goBatchDetail
(
item
)
{
// this.navCtrl.push('BatchDetailPage', {batch: item, activity: this.activity});
// this.navCtrl.push('BatchDetailPage', {batch: item, activity: this.activity});
this
.
router
.
navigate
([
'tabs/serve/activity/batchDetail'
],
{
queryParams
:
{
batch
:
item
,
activity
:
this
.
activity
}
})
}
}
//活动介绍限定65个字符串,多余以省略号代替
//活动介绍限定65个字符串,多余以省略号代替
...
@@ -115,6 +123,7 @@ export class ActivityDetailPage implements OnInit{
...
@@ -115,6 +123,7 @@ export class ActivityDetailPage implements OnInit{
this
.
appService
.
ObserverHttpPostAdd
(
"/wisdomgroup/modules/activityNon/admin/"
,
this
.
activityId
)
this
.
appService
.
ObserverHttpPostAdd
(
"/wisdomgroup/modules/activityNon/admin/"
,
this
.
activityId
)
.
subscribe
((
res
:
Response
)
=>
{
.
subscribe
((
res
:
Response
)
=>
{
// this.navCtrl.pop();
// this.navCtrl.pop();
this
.
router
.
navigate
([
'tabs/serve/activity/activityList'
]);
},
error
=>
{
},
error
=>
{
}
}
);
);
...
@@ -126,6 +135,7 @@ export class ActivityDetailPage implements OnInit{
...
@@ -126,6 +135,7 @@ export class ActivityDetailPage implements OnInit{
this
.
commonSer
.
alert
(
'确定参加该活动?'
,
()
=>
{
this
.
commonSer
.
alert
(
'确定参加该活动?'
,
()
=>
{
this
.
appService
.
ObserverHttpPostAdd
(
"/wisdomgroup/modules/activityNon/delete/"
,
this
.
activityId
)
this
.
appService
.
ObserverHttpPostAdd
(
"/wisdomgroup/modules/activityNon/delete/"
,
this
.
activityId
)
.
subscribe
((
res
:
Response
)
=>
{
.
subscribe
((
res
:
Response
)
=>
{
this
.
router
.
navigate
([
'tabs/serve/activity/activityList'
]);
// this.navCtrl.pop();
// this.navCtrl.pop();
},
error
=>
{
},
error
=>
{
}
}
...
...
src/app/pages/home-pages/activity/activityList/activityList.scss
View file @
04d07b94
page-activityList
{
.item-ios
.item-button
{
height
:
2rem
;
}
.searchToolBar
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
left
;
box-sizing
:
border-box
;
}
.item-header
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
box-sizing
:
border-box
;
}
.item-header-style
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
left
;
box-sizing
:
border-box
;
}
.item-title
{
font-size
:
1
.6rem
;
}
.icon
{
width
:
2rem
;
height
:
2rem
;
margin-right
:
5px
;
}
.btn
{
background-color
:
white
;
margin
:
0
0
;
font-size
:
6px
;
border-radius
:
3px
;
}
.btn1
{
border
:
1px
solid
#de6461
;
color
:
#de6461
;
}
.btn2
{
border
:
1px
solid
#19b5ff
;
color
:
#19b5ff
;
}
.btn3
{
border
:
1px
solid
#dddddd
;
color
:
#dddddd
;
}
// .item-content{
// display: flex;
// flex-direction: row;
// align-items: flex-end;
// justify-content: space-between;
// box-sizing: border-box;
// }
// .left{
// color: #cccccc;
// font-size: 8px;
// // height: 70px;
// display: inline-block;
// margin-left: 20px;
// }
.content-box
{
padding-left
:
25px
;
margin-top
:
15px
;
margin-bottom
:
15px
;
padding-bottom
:
15px
;
border-bottom
:
1px
solid
#dddddd
;
}
.content-item-box
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
flex-start
;
justify-content
:
left
;
box-sizing
:
border-box
;
margin
:
2px
0
;
font-size
:
1
.4rem
;
}
.left-title
{
color
:
#8b8c8d
;
font-size
:
14px
;
}
.data
{
color
:
#666666
;
font-size
:
14px
;
}
.data-1
{
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
//文本行数
overflow
:
hidden
;
white-space
:
normal
;
}
.sign-up
{
background-color
:
#4a89fa
;
height
:
27px
;
width
:
70px
;
border-radius
:
2px
;
color
:
white
;
float
:
right
;
}
.back-btn
{
width
:
30px
;
height
:
30px
;
}
.content-button
{
font-size
:
14px
;
}
.content-button
span
:first-child
{
color
:
#333
;
}
.content-button
span
:last-child
{
color
:
#999
;
}
.list-ios
.item-block
.item-inner
{
border
:
none
;
}
.content-ios
{
background-color
:
#e7e8ed
;
}
.item-ios
+
.item-ios
{
margin-top
:
10px
;
}
.item-ios
.item-button
{
height
:
2rem
;
}
}
.searchToolBar
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
left
;
box-sizing
:
border-box
;
}
.item-header
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
box-sizing
:
border-box
;
}
.item-header-style
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
left
;
box-sizing
:
border-box
;
}
.item-title
{
font-size
:
1
.6rem
;
}
.icon
{
width
:
2rem
;
height
:
2rem
;
margin-right
:
5px
;
}
.btn
{
background-color
:
white
;
margin
:
0
0
;
font-size
:
6px
;
border-radius
:
3px
;
}
.btn1
{
border
:
1px
solid
#de6461
;
color
:
#de6461
;
}
.btn2
{
border
:
1px
solid
#19b5ff
;
color
:
#19b5ff
;
}
.btn3
{
border
:
1px
solid
#dddddd
;
color
:
#dddddd
;
}
.content-box
{
padding-left
:
25px
;
margin-top
:
15px
;
margin-bottom
:
15px
;
padding-bottom
:
15px
;
border-bottom
:
1px
solid
#dddddd
;
}
.content-item-box
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
flex-start
;
justify-content
:
left
;
box-sizing
:
border-box
;
margin
:
2px
0
;
font-size
:
1
.4rem
;
}
.left-title
{
color
:
#8b8c8d
;
font-size
:
14px
;
}
.data
{
color
:
#666666
;
font-size
:
14px
;
}
.data-1
{
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
//文本行数
overflow
:
hidden
;
white-space
:
normal
;
}
.sign-up
{
background-color
:
#4a89fa
;
height
:
27px
;
width
:
70px
;
border-radius
:
2px
;
color
:
white
;
float
:
right
;
}
.back-btn
{
width
:
30px
;
height
:
30px
;
}
.content-button
{
font-size
:
14px
;
}
.content-button
span
:first-child
{
color
:
#333
;
}
.content-button
span
:last-child
{
color
:
#999
;
}
.list-ios
.item-block
.item-inner
{
border
:
none
;
}
.content-ios
{
background-color
:
#e7e8ed
;
}
.item-ios
+
.item-ios
{
margin-top
:
10px
;
}
src/app/pages/home-pages/activity/activityList/activityList.ts
View file @
04d07b94
...
@@ -9,7 +9,8 @@ import {CommonService} from "../../../../../provide/common.service";
...
@@ -9,7 +9,8 @@ import {CommonService} from "../../../../../provide/common.service";
@
Component
({
@
Component
({
selector
:
'page-activityList'
,
selector
:
'page-activityList'
,
templateUrl
:
'activityList.html'
,
templateUrl
:
'./activityList.html'
,
styleUrls
:
[
'./activityList.scss'
],
})
})
export
class
ActivityListPage
{
export
class
ActivityListPage
{
...
@@ -48,6 +49,11 @@ export class ActivityListPage {
...
@@ -48,6 +49,11 @@ export class ActivityListPage {
//查看详情
//查看详情
goDetail
(
item
){
goDetail
(
item
){
let
id
=
item
.
id
;
let
id
=
item
.
id
;
this
.
router
.
navigate
([
'tabs/serve/activity/activityDetail'
],{
queryParams
:
{
id
:
id
,
}
})
// this.navCtrl.push("ActivityDetailPage",{id:id});
// this.navCtrl.push("ActivityDetailPage",{id:id});
}
}
...
@@ -58,10 +64,6 @@ export class ActivityListPage {
...
@@ -58,10 +64,6 @@ export class ActivityListPage {
},
2000
);
},
2000
);
}
}
goBack
(){
// this.navCtrl.popToRoot();
}
//增加阅读记录
//增加阅读记录
addRecodings
(){
addRecodings
(){
this
.
tabSer
.
activityAddRecodings
().
subscribe
(
this
.
tabSer
.
activityAddRecodings
().
subscribe
(
...
...
src/app/pages/home-pages/activity/batch-detail/batch-detail.scss
View file @
04d07b94
page-batch-detail
{
p
{
p
{
margin
:
0
;}
margin
:
0
;}
.pageMenuSlides
{
.pageMenuSlides
{
...
@@ -109,4 +109,3 @@ page-batch-detail {
...
@@ -109,4 +109,3 @@ page-batch-detail {
.button-btn3
{
.button-btn3
{
background-color
:
#d9d9d9
;
background-color
:
#d9d9d9
;
}
}
}
src/app/pages/home-pages/activity/batch-detail/batch-detail.ts
View file @
04d07b94
...
@@ -10,6 +10,8 @@ declare var Swiper;
...
@@ -10,6 +10,8 @@ declare var Swiper;
@
Component
({
@
Component
({
selector
:
'page-batch-detail'
,
selector
:
'page-batch-detail'
,
templateUrl
:
'batch-detail.html'
,
templateUrl
:
'batch-detail.html'
,
styleUrls
:
[
'./batch-detail.scss'
],
})
})
export
class
BatchDetailPage
{
export
class
BatchDetailPage
{
// @ViewChild('contentSlides') contentSlides: Slides;
// @ViewChild('contentSlides') contentSlides: Slides;
...
...
src/app/pages/home-pages/activity/order-detail/order-detail.scss
View file @
04d07b94
page-order-detail
{
p
{
p
{
margin
:
0
;}
margin
:
0
;}
.pageMenuSlides
{
.pageMenuSlides
{
...
@@ -109,4 +109,3 @@ page-order-detail {
...
@@ -109,4 +109,3 @@ page-order-detail {
.button-btn3
{
.button-btn3
{
background-color
:
#d9d9d9
;
background-color
:
#d9d9d9
;
}
}
}
src/app/pages/home-pages/activity/order-detail/order-detail.ts
View file @
04d07b94
...
@@ -8,6 +8,8 @@ import {CommonService} from "../../../../../provide/common.service";
...
@@ -8,6 +8,8 @@ import {CommonService} from "../../../../../provide/common.service";
@
Component
({
@
Component
({
selector
:
'page-order-detail'
,
selector
:
'page-order-detail'
,
templateUrl
:
'order-detail.html'
,
templateUrl
:
'order-detail.html'
,
styleUrls
:
[
'./order-detail.scss'
],
})
})
export
class
OrderDetailPage
{
export
class
OrderDetailPage
{
order
=
{
order
=
{
...
...
src/app/pages/home-pages/activity/order-edit/order-edit.scss
View file @
04d07b94
page-order-edit
{
//新
.content
{
.content
{
text-align
:
left
;
text-align
:
left
;
...
@@ -99,4 +97,4 @@ page-order-edit {
...
@@ -99,4 +97,4 @@ page-order-edit {
.item-ios.item-block
.item-inner
{
.item-ios.item-block
.item-inner
{
border-bottom
:
1px
solid
#c8c7cc
;
border-bottom
:
1px
solid
#c8c7cc
;
}
}
}
src/app/pages/home-pages/activity/order-edit/order-edit.ts
View file @
04d07b94
...
@@ -7,6 +7,7 @@ import {AppService} from "../../../../../http/http.service";
...
@@ -7,6 +7,7 @@ import {AppService} from "../../../../../http/http.service";
@
Component
({
@
Component
({
selector
:
'page-order-edit'
,
selector
:
'page-order-edit'
,
templateUrl
:
'order-edit.html'
,
templateUrl
:
'order-edit.html'
,
styleUrls
:
[
'./order-edit.scss'
],
})
})
export
class
OrderEditPage
implements
OnInit
{
export
class
OrderEditPage
implements
OnInit
{
order
;
//订单信息
order
;
//订单信息
...
...
src/assets/imgs/icon-tj.png
0 → 100644
View file @
04d07b94
2.04 KB
src/assets/imgs/no-info.png
0 → 100644
View file @
04d07b94
2.96 KB
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