diff --git a/app.json b/app.json
index 02cd417..225597d 100644
--- a/app.json
+++ b/app.json
@@ -32,13 +32,17 @@
"pages/activityDetail/activityDetail",
"pages/activity/activity",
"pages/newsDetail/newsDetail",
- "pages/newsList/newsList"
+ "pages/newsList/newsList",
+ "pages/myActivity/myActivity",
+ "pages/myVolunteerTeam/myVolunteerTeam",
+ "pages/myVolunteerActivity/myVolunteerActivity",
+ "pages/serviceActivityDetail/serviceActivityDetail"
],
"window": {
"backgroundTextStyle": "light",
- "navigationBarBackgroundColor": "#9F1512",
+ "navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "日喀则市数字文化云",
- "navigationBarTextStyle": "white"
+ "navigationBarTextStyle": "black"
},
"tabBar": {
"color": "#BBBBBB",
diff --git a/app.wxss b/app.wxss
index 06c6fc9..e69de29 100644
--- a/app.wxss
+++ b/app.wxss
@@ -1,10 +0,0 @@
-/**app.wxss**/
-.container {
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- padding: 200rpx 0;
- box-sizing: border-box;
-}
diff --git a/images/activity-on.png b/images/activity-on.png
index 1921173..d4985ab 100644
Binary files a/images/activity-on.png and b/images/activity-on.png differ
diff --git a/images/activity.png b/images/activity.png
index 3890866..7d43536 100644
Binary files a/images/activity.png and b/images/activity.png differ
diff --git a/images/center-activity.png b/images/center-activity.png
new file mode 100644
index 0000000..2744645
Binary files /dev/null and b/images/center-activity.png differ
diff --git a/images/center-img.png b/images/center-img.png
new file mode 100644
index 0000000..c987f3e
Binary files /dev/null and b/images/center-img.png differ
diff --git a/images/center-on.png b/images/center-on.png
index c6113bb..390c341 100644
Binary files a/images/center-on.png and b/images/center-on.png differ
diff --git a/images/center-order.png b/images/center-order.png
new file mode 100644
index 0000000..129ba13
Binary files /dev/null and b/images/center-order.png differ
diff --git a/images/center-team-activity.png b/images/center-team-activity.png
new file mode 100644
index 0000000..55924af
Binary files /dev/null and b/images/center-team-activity.png differ
diff --git a/images/center-team.png b/images/center-team.png
new file mode 100644
index 0000000..81ae925
Binary files /dev/null and b/images/center-team.png differ
diff --git a/images/center.png b/images/center.png
index a2171f0..2874e13 100644
Binary files a/images/center.png and b/images/center.png differ
diff --git a/images/culture-map.png b/images/culture-map.png
new file mode 100644
index 0000000..e5671f4
Binary files /dev/null and b/images/culture-map.png differ
diff --git a/images/culture-on.png b/images/culture-on.png
index bed0091..9966b6c 100644
Binary files a/images/culture-on.png and b/images/culture-on.png differ
diff --git a/images/culture-slide.png b/images/culture-slide.png
deleted file mode 100644
index 44e6963..0000000
Binary files a/images/culture-slide.png and /dev/null differ
diff --git a/images/culture.png b/images/culture.png
index 5154da1..11876b6 100644
Binary files a/images/culture.png and b/images/culture.png differ
diff --git a/images/database.png b/images/database.png
new file mode 100644
index 0000000..2782a09
Binary files /dev/null and b/images/database.png differ
diff --git a/images/index-on.png b/images/index-on.png
index 11bb6f1..a04e687 100644
Binary files a/images/index-on.png and b/images/index-on.png differ
diff --git a/images/index.png b/images/index.png
index 6c08973..7b315a9 100644
Binary files a/images/index.png and b/images/index.png differ
diff --git a/images/login-bg.png b/images/login-bg.png
deleted file mode 100644
index cc87a61..0000000
Binary files a/images/login-bg.png and /dev/null differ
diff --git a/images/man.png b/images/man.png
new file mode 100644
index 0000000..9428a0d
Binary files /dev/null and b/images/man.png differ
diff --git a/images/people-b.png b/images/people-b.png
new file mode 100644
index 0000000..69a25f0
Binary files /dev/null and b/images/people-b.png differ
diff --git a/images/phone-b.png b/images/phone-b.png
new file mode 100644
index 0000000..31d39a1
Binary files /dev/null and b/images/phone-b.png differ
diff --git a/images/phone-g.png b/images/phone-g.png
new file mode 100644
index 0000000..a3e8c07
Binary files /dev/null and b/images/phone-g.png differ
diff --git a/images/play.png b/images/play.png
index ab4c6ca..aade38b 100644
Binary files a/images/play.png and b/images/play.png differ
diff --git a/images/position-b.png b/images/position-b.png
new file mode 100644
index 0000000..fec9a7f
Binary files /dev/null and b/images/position-b.png differ
diff --git a/images/row-icon-1.png b/images/row-icon-1.png
new file mode 100644
index 0000000..935d2f1
Binary files /dev/null and b/images/row-icon-1.png differ
diff --git a/images/row-icon-2.png b/images/row-icon-2.png
new file mode 100644
index 0000000..3dc8399
Binary files /dev/null and b/images/row-icon-2.png differ
diff --git a/images/row-icon-3.png b/images/row-icon-3.png
new file mode 100644
index 0000000..d129522
Binary files /dev/null and b/images/row-icon-3.png differ
diff --git a/images/row-icon-4.png b/images/row-icon-4.png
new file mode 100644
index 0000000..dca9737
Binary files /dev/null and b/images/row-icon-4.png differ
diff --git a/images/row-icon-5.png b/images/row-icon-5.png
new file mode 100644
index 0000000..5031ca1
Binary files /dev/null and b/images/row-icon-5.png differ
diff --git a/images/row-icon-6.png b/images/row-icon-6.png
new file mode 100644
index 0000000..ad4cdf0
Binary files /dev/null and b/images/row-icon-6.png differ
diff --git a/images/row-icon-7.png b/images/row-icon-7.png
new file mode 100644
index 0000000..e21ae2d
Binary files /dev/null and b/images/row-icon-7.png differ
diff --git a/images/row-icon-8.png b/images/row-icon-8.png
new file mode 100644
index 0000000..1f27c6a
Binary files /dev/null and b/images/row-icon-8.png differ
diff --git a/images/selected-l.png b/images/selected-l.png
deleted file mode 100644
index e2dccf4..0000000
Binary files a/images/selected-l.png and /dev/null differ
diff --git a/images/selected-r.png b/images/selected-r.png
deleted file mode 100644
index 13d9275..0000000
Binary files a/images/selected-r.png and /dev/null differ
diff --git a/images/tab1.png b/images/tab1.png
index ca72309..6c919e9 100644
Binary files a/images/tab1.png and b/images/tab1.png differ
diff --git a/images/tab2.png b/images/tab2.png
index 4a1a40d..3674872 100644
Binary files a/images/tab2.png and b/images/tab2.png differ
diff --git a/images/tab3.png b/images/tab3.png
index 38ea9ba..767504b 100644
Binary files a/images/tab3.png and b/images/tab3.png differ
diff --git a/images/tab4.png b/images/tab4.png
index cd01619..25470b9 100644
Binary files a/images/tab4.png and b/images/tab4.png differ
diff --git a/images/tab5.png b/images/tab5.png
index 3d8f906..333f3e6 100644
Binary files a/images/tab5.png and b/images/tab5.png differ
diff --git a/images/tab6.png b/images/tab6.png
index 22c3870..11973f2 100644
Binary files a/images/tab6.png and b/images/tab6.png differ
diff --git a/images/tab7.png b/images/tab7.png
index 4d22afd..2730bc2 100644
Binary files a/images/tab7.png and b/images/tab7.png differ
diff --git a/images/tab8.png b/images/tab8.png
new file mode 100644
index 0000000..98ba246
Binary files /dev/null and b/images/tab8.png differ
diff --git a/images/tab9.png b/images/tab9.png
new file mode 100644
index 0000000..c675e15
Binary files /dev/null and b/images/tab9.png differ
diff --git a/images/team-activity.png b/images/team-activity.png
new file mode 100644
index 0000000..55924af
Binary files /dev/null and b/images/team-activity.png differ
diff --git a/images/time-g.png b/images/time-g.png
new file mode 100644
index 0000000..7d0a0be
Binary files /dev/null and b/images/time-g.png differ
diff --git a/images/upload-team-avatar.png b/images/upload-team-avatar.png
new file mode 100644
index 0000000..c4533c2
Binary files /dev/null and b/images/upload-team-avatar.png differ
diff --git a/images/upload-xc.png b/images/upload-xc.png
new file mode 100644
index 0000000..5661deb
Binary files /dev/null and b/images/upload-xc.png differ
diff --git a/images/user-avatar.png b/images/user-avatar.png
deleted file mode 100644
index f8e61a9..0000000
Binary files a/images/user-avatar.png and /dev/null differ
diff --git a/images/venue-on.png b/images/venue-on.png
index b03315d..e33acc7 100644
Binary files a/images/venue-on.png and b/images/venue-on.png differ
diff --git a/images/venue.png b/images/venue.png
index 125f968..2c991fa 100644
Binary files a/images/venue.png and b/images/venue.png differ
diff --git a/images/venueall.png b/images/venueall.png
index 0c985ad..06187ae 100644
Binary files a/images/venueall.png and b/images/venueall.png differ
diff --git a/images/volunteer-register.png b/images/volunteer-register.png
new file mode 100644
index 0000000..4ae767b
Binary files /dev/null and b/images/volunteer-register.png differ
diff --git a/images/volunteer-team.png b/images/volunteer-team.png
new file mode 100644
index 0000000..6184dc3
Binary files /dev/null and b/images/volunteer-team.png differ
diff --git a/images/woman.png b/images/woman.png
new file mode 100644
index 0000000..d867a7c
Binary files /dev/null and b/images/woman.png differ
diff --git a/images/work-time.png b/images/work-time.png
new file mode 100644
index 0000000..79e08f0
Binary files /dev/null and b/images/work-time.png differ
diff --git a/pages/activity/activity.wxml b/pages/activity/activity.wxml
index c1644db..da3c954 100644
--- a/pages/activity/activity.wxml
+++ b/pages/activity/activity.wxml
@@ -6,18 +6,21 @@
-
-
-
- {{item.activityTitle}}
- 报名中
+ 报名中
报名人数已满
停止报名
进行中
直接进入
已结束
+
+
+
+ {{item.activityTitle}}
+
+
+
+ {{item.activityStartTime}}至{{item.activityEndTime}}
- {{item.activityStartTime}}至{{item.activityEndTime}}
\ No newline at end of file
diff --git a/pages/activity/activity.wxss b/pages/activity/activity.wxss
index 0e9e5ff..c5fadf2 100644
--- a/pages/activity/activity.wxss
+++ b/pages/activity/activity.wxss
@@ -4,7 +4,7 @@
}
.activity-box{
margin-bottom: 20rpx;
- box-shadow:0px 0px 17rpx 0px rgba(0,0,0,0.1);
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
border-radius: 10rpx;
overflow: hidden;
}
@@ -47,26 +47,36 @@
justify-content: space-between;
}
.activity-title{
- width: 70%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 32rpx;
color: #242424;
line-height: 40rpx;
+ font-weight: bold;
}
.sign{
- background: rgba(159,21,18,.1);
- color: #9F1512;
- border-radius: 10rpx;
- padding: 0 20rpx;
+ position: absolute;
+ top:0;
+ right: 0;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ color: #fff;
+ border-top-left-radius: 0;
+ border-top-right-radius: 10rpx;
+ border-bottom-left-radius: 20rpx;
+ border-bottom-right-radius: 0;
+ padding: 5rpx 20rpx;
line-height: 40rpx;
font-size: 28rpx;
}
.date{
margin-top: 10rpx;
font-size: 24rpx;
- color: #242424;
+ color: #999;
+}
+.date image{
+ width: 20rpx;
+ height: 20rpx;
}
.area{
position: fixed;
@@ -87,5 +97,5 @@
font-size: 30rpx;
}
.area-box.active{
- color: #9F1512;
+ color: #125CE1;
}
\ No newline at end of file
diff --git a/pages/activityDetail/activityDetail.wxml b/pages/activityDetail/activityDetail.wxml
index 7b5dca2..72fcbba 100644
--- a/pages/activityDetail/activityDetail.wxml
+++ b/pages/activityDetail/activityDetail.wxml
@@ -7,19 +7,17 @@
{{dataMap.activityTitle}}
+
+ {{dataMap.activityStartTime}}至{{dataMap.activityEndTime}}
+
-
+
活动人数:
{{dataMap.activityUserNum }}
-
- 活动时间:
- {{dataMap.activityStartTime}}至{{dataMap.activityEndTime}}
-
-
-
+
活动地址:
{{dataMap.activityAddress }}
diff --git a/pages/activityDetail/activityDetail.wxss b/pages/activityDetail/activityDetail.wxss
index 8808df0..571c9a0 100644
--- a/pages/activityDetail/activityDetail.wxss
+++ b/pages/activityDetail/activityDetail.wxss
@@ -6,20 +6,27 @@ swiper {
height: 100%;
}
.activity-detail{
- position: absolute;
- left: 0;
- right: 0;
- top: 430rpx;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+ position: relative;
+ width: 710rpx;
+ margin: -50rpx auto 20rpx;
background: #fff;
border-radius:30rpx 30rpx 0px 0px;
overflow: hidden;
padding-bottom: 120rpx;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
}
-.activity-title, .activity-info{
- padding: 30rpx;
+.activity-title{
+ padding: 30rpx 0;
font-size: 32rpx;
- color: #242424;
- border-bottom: 5px solid #FBFBFB;
+ color: #122939;
+ font-weight: bold;
+}
+.activity-info{
+ padding: 30rpx 0;
+ font-size: 32rpx;
+ color: #122939;
}
.activity-text{
line-height: 35rpx;
@@ -29,19 +36,19 @@ swiper {
.activity-text:last-child{
margin-bottom: 0;
}
-.activity-info image{
- width: 35rpx;
- height: 35rpx;
+.people{
+ width: 24rpx;
+ height: 20rpx;
+ margin-right: 10rpx;
+}
+.position{
+ width: 20rpx;
+ height: 24rpx;
margin-right: 10rpx;
- vertical-align: middle;
- margin-top: -5rpx;
}
.activity-text text{
color: #BBBBBB;
}
-.activity-container{
- padding: 30rpx;
-}
.part{
margin-bottom: 30rpx;
}
@@ -49,11 +56,10 @@ swiper {
margin-bottom: 0;
}
.part-title{
- border-left: 3px solid #9F1512;
- color: #242424;
- padding-left: 10rpx;
- font-size: 30rpx;
+ color: #122939;
+ font-size: 32rpx;
margin-bottom: 10rpx;
+ font-weight: bold;
}
.part-content{
font-size: 28rpx;
@@ -88,4 +94,8 @@ swiper {
align-items: center;
font-size: 30rpx;
color: #fff;
+}
+.activity-date{
+ font-size: 28rpx;
+ color: #999;
}
\ No newline at end of file
diff --git a/pages/activityDialog/activityDialog.wxml b/pages/activityDialog/activityDialog.wxml
index 48a8c04..a0ac26f 100644
--- a/pages/activityDialog/activityDialog.wxml
+++ b/pages/activityDialog/activityDialog.wxml
@@ -1,8 +1,8 @@
-
+
暂无评论
-
+
@@ -10,7 +10,7 @@
{{item.volunteerName}}
{{item.content}}
-
+
diff --git a/pages/activityDialog/activityDialog.wxss b/pages/activityDialog/activityDialog.wxss
index b01a43d..7422308 100644
--- a/pages/activityDialog/activityDialog.wxss
+++ b/pages/activityDialog/activityDialog.wxss
@@ -1,31 +1,35 @@
.dialog{
- padding: 30rpx;
+ padding: 20rpx;
}
.dialog-box{
margin-bottom: 15rpx;
display: flex;
justify-content: space-between;
+ padding: 30rpx;
+ background-color: #fff;
}
.avatar{
- width: 15%;
+ width: 50rpx;
}
.avatar image{
width: 100%;
- height: 90rpx;
+ height: 50rpx;
+ border-radius: 50%;
}
.user-info{
- width: 83%;
+ width: 570rpx;
border-bottom: 1px solid #DEDEDE;
padding-bottom: 10rpx;
}
.name{
font-size: 34rpx;
- color: #949494;
- margin: 15rpx 0;
+ color: #333;
+ font-weight: bold;
}
.content{
font-size: 30rpx;
- color: #000;
+ color: #333;
+ line-height: 40rpx;
margin-bottom: 15rpx;
}
.public-time{
@@ -39,4 +43,12 @@
.delete, .delete image{
width: 40rpx;
height: 40rpx;
+}
+.images{
+ display: flex;
+ justify-content: space-between;
+}
+.images image{
+ width: 32%;
+ height: 140rpx;
}
\ No newline at end of file
diff --git a/pages/center/center.wxml b/pages/center/center.wxml
index bf7274a..e07b9f3 100644
--- a/pages/center/center.wxml
+++ b/pages/center/center.wxml
@@ -1,29 +1,30 @@
-
-
-
{{userInfo.name}}
-
- 绑定手机号后,账号信息即可与APP共享
+
+
+ 绑定手机号后,账号信息即可与APP共享
+
+
- 常用功能
-
-
+
+
我的预订
+ 查看
-
-
+
+
我的活动
+ 查看
-
-
+
+
我的志愿团队
+ 查看
-
-
+
+
我的志愿活动
+ 查看
{{library.libraryTitle}}
+
项目编号:
{{library.libraryNumber}}
-
- 数据来源:
- {{library.librarySource}}
-
+
公布时间:
{{library.libraryOpenDateValue}}
-
- 非遗级别:
- {{library.libraryLevel}}级
-
+
所属地区:
{{library.libraryArea}}
-
- 类 型:
- {{library.libraryTypeValue}}
-
+
申报地区或单位:
{{library.libraryAddress}}
+
+ 数据来源:
+ {{library.librarySource}}
+
+
+
+
+
+ 非遗级别:
+ {{library.libraryLevel}}级
+
+
+
+
+
+ 类 型:
+ {{library.libraryTypeValue}}
+
+
+
+
+
保护单位:
{{library.libraryAuthor}}
@@ -66,7 +80,21 @@
相关传承人
-
+
+ {{item.libraryPersonNumber}}
+ {{item.libraryPersonName}}
+
+
+
+
+
+ 民族:{{item.libraryPersonNationDictionaryName}}
+
+
+ 出生日期:{{item.libraryPersonBirthday}}
+
+
+
diff --git a/pages/cultureDetail/cultureDetail.wxss b/pages/cultureDetail/cultureDetail.wxss
index 2a00192..442472a 100644
--- a/pages/cultureDetail/cultureDetail.wxss
+++ b/pages/cultureDetail/cultureDetail.wxss
@@ -1,9 +1,16 @@
.culture-swiper, swiper, .swiper-img{
width: 100%;
- height: 500rpx;
+ height: 480rpx;
+}
+.swiper-img{
+ height: 440rpx;
+ border-radius: 40rpx;
}
.culture-swiper{
- position: fixed;
+ padding: 20rpx;
+ border-radius: 40rpx;
+ overflow: hidden;
+ box-sizing: border-box;
}
.prev{
width: 60rpx;
@@ -38,22 +45,17 @@
align-items: center;
}
.culture{
- position: absolute;
- top: 450rpx;
- left: 0;
- right: 0;
border-radius:31rpx 31rpx 0px 0px;
background: #fff;
}
.culture-title{
- padding: 30rpx;
- border-bottom: 3px solid #FBFBFB;
+ padding: 20rpx;
font-size: 34rpx;
- color: #242424;
+ color: #122939;
+ font-weight: bold;
}
.culture-info{
- padding: 20rpx 30rpx;
- border-bottom: 3px solid #FBFBFB;
+ padding: 0 30rpx 20rpx;
}
.row{
display: flex;
@@ -68,18 +70,22 @@
padding-right: 10rpx;
line-height: 50rpx;
}
+.info image{
+ width: 22rpx;
+ height: 22rpx;
+ margin-right: 10rpx;
+}
.info text{
- color: #BBBBBB;
+ color: #999;
}
.part{
- padding: 30rpx;
- border-bottom: 3px solid #FBFBFB;
+ padding: 20rpx;
}
.part-title{
font-size: 32rpx;
- border-left: 3px solid #9F1512;
- padding-left: 10rpx;
margin-bottom: 20rpx;
+ color: #122939;
+ font-weight: bold;
}
.part-content{
font-size: 26rpx;
@@ -109,8 +115,53 @@
color: #fff;
}
.library-person {
- border-bottom: 1px solid #FBFBFB;
+ background: #FFFFFF;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ border-radius: 12rpx;
+ margin-bottom: 20rpx;
+ padding-bottom: 20rpx;
}
.library-person:last-child {
border-bottom: none;
+}
+.person-info{
+ display: flex;
+}
+.person-info image.man{
+ width: 20rpx;
+ height: 20rpx;
+ margin-top: 15rpx;
+}
+.person-info image.woman{
+ width: 16rpx;
+ height: 24rpx;
+ margin-top: 13rpx;
+}
+.person-number{
+ width: 130rpx;
+ height: 50rpx;
+ text-align: center;
+ line-height: 50rpx;
+ color: #fff;
+ font-size: 26rpx;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ border-top-left-radius: 12rpx;
+ border-bottom-right-radius: 28rpx;
+ margin-right: 20rpx;
+}
+.person-name{
+ line-height: 50rpx;
+ font-size: 28rpx;
+ color: #122939;
+ font-weight: bold;
+ margin-right: 20rpx;
+}
+.person-birth{
+ flex: 1;
+ font-size: 26rpx;
+ padding: 0 15rpx;
+ color: #333;
+}
+.person-birth text{
+ color: #999;
}
\ No newline at end of file
diff --git a/pages/heritage/heritage.wxml b/pages/heritage/heritage.wxml
index 404a660..babff64 100644
--- a/pages/heritage/heritage.wxml
+++ b/pages/heritage/heritage.wxml
@@ -1,6 +1,6 @@
-
+
非物质文化遗产数据库
-
+
文化地图
@@ -28,6 +28,8 @@
{{item.libraryTitle}}
{{item.libraryApplyTime}}
+ 非遗级别:{{item.libraryLevel}}级
+ 所属地区:{{item.libraryArea}}
\ No newline at end of file
diff --git a/pages/heritage/heritage.wxss b/pages/heritage/heritage.wxss
index 260d4f1..5b78443 100644
--- a/pages/heritage/heritage.wxss
+++ b/pages/heritage/heritage.wxss
@@ -38,13 +38,16 @@
}
.activity-box{
margin-bottom: 20rpx;
- box-shadow:0px 0px 17rpx 0px rgba(0,0,0,0.1);
- border-radius: 10rpx;
- overflow: hidden;
+ display: flex;
+ justify-content: space-between;
}
.activity-img{
- height: 320rpx;
+ width: 230rpx;
+ height: 280rpx;
position: relative;
+ box-shadow: 0px 4rpx 8rpx 0px rgba(35, 24, 21, 0.26);
+ border-radius: 14rpx;
+ overflow: hidden;
}
.activity-img image{
width: 100%;
@@ -58,6 +61,7 @@
color: #fff;
}
.activity-info{
+ width: 430rpx;
padding: 10rpx;
}
.title{
@@ -70,8 +74,9 @@
overflow: hidden;
text-overflow: ellipsis;
font-size: 32rpx;
- color: #242424;
+ color: #122939;
line-height: 40rpx;
+ font-weight: bold;
}
.sign{
background: rgba(159,21,18,.1);
@@ -83,5 +88,19 @@
.date{
margin-top: 10rpx;
font-size: 28rpx;
- color: #242424;
+ color: #999;
+}
+.level{
+ padding: 5rpx 10rpx;
+ background-color: #ABC8FD;
+ color: #fff;
+ border-radius: 6rpx;
+ width: 220rpx;
+ box-sizing: border-box;
+ margin-top: 10rpx;
+}
+.area{
+ margin-top: 10rpx;
+ font-size: 28rpx;
+ color: #999;
}
\ No newline at end of file
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 3d339eb..0ce0253 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -1,171 +1,180 @@
-
-
-
-
-
-
-
-
-
-
- {{item.title}}123
+
+
+
+
+
+
+
-
-
-
-
-
-
- 精彩推荐
-
+
+
+
+ {{item.title}}
-
-
-
-
+
-
-
- {{item.newsContentTitle}}
-
-
-
-
- 来源:{{item.newsContentResource}}
- {{item.newsContentPublishTime}}
+
+
+
+ 精彩推荐
-
-
-
+
+
+
+
+ {{item.venueName}}
+
+
+
-
+
+
+
+
+
+
+ 文化动态
+
+
+
+
+ {{item.newsContentTitle}}
+
+
+
+
+ 来源:{{item.newsContentResource}}
+ {{item.newsContentPublishTime}}
+
+
+
+
+
+
+
+ {{item.newsContentTitle}}
+
+ 来源:{{item.newsContentResource}}
+ {{item.newsContentPublishTime}}
+
+
+
+
+
+ {{item.newsContentTitle}}
+
+ 来源:{{item.newsContentResource}}
+ {{item.newsContentPublishTime}}
+
+
+
+
+
+
+
+ {{item.newsContentTitle}}
+
+
+
+
+ 来源:{{item.newsContentResource}}
+ {{item.newsContentPublishTime}}
+
+
+
{{item.newsContentTitle}}
来源:{{item.newsContentResource}}
{{item.newsContentPublishTime}}
-
-
-
+
{{item.newsContentTitle}}
+
+
+
+
来源:{{item.newsContentResource}}
{{item.newsContentPublishTime}}
-
-
-
-
-
- {{item.newsContentTitle}}
-
-
-
-
- 来源:{{item.newsContentResource}}
- {{item.newsContentPublishTime}}
-
-
-
- {{item.newsContentTitle}}
-
- 来源:{{item.newsContentResource}}
- {{item.newsContentPublishTime}}
-
-
-
- {{item.newsContentTitle}}
-
-
-
-
-
- 来源:{{item.newsContentResource}}
- {{item.newsContentPublishTime}}
-
-
-
- {{item.newsContentTitle}}
-
- 来源:{{item.newsContentResource}}
- {{item.newsContentPublishTime}}
-
+
+ {{item.newsContentTitle}}
+
+ 来源:{{item.newsContentResource}}
+ {{item.newsContentPublishTime}}
+
+
-
-
-
-
-
- 直播专区
-
+
+
+
+ 直播专区
+
-
-
-
-
- {{item.livePlanName}}
- 直播中
- 已结束
- 未开始
- 直播中
- 错误
+
+
+
+
+ 直播中
+ 已结束
+ 未开始
+ 直播中
+ 错误
+
+ {{item.livePlanName}}
+
\ No newline at end of file
diff --git a/pages/index/index.wxss b/pages/index/index.wxss
index 64d5f2b..6f15f4b 100644
--- a/pages/index/index.wxss
+++ b/pages/index/index.wxss
@@ -1,6 +1,7 @@
.swiper-box, .swiper-img, swiper{
width: 100%;
height: 330rpx;
+ border-radius: 20rpx;
}
.tab{
padding: 30rpx;
@@ -8,6 +9,8 @@
border-bottom: 5px solid #FBFBFB;
flex-wrap: nowrap;
overflow-x: scroll;
+ background-color: #fff;
+ margin-top: 30rpx;
}
.tab-box{
flex-shrink: 0;
@@ -15,13 +18,14 @@
width: 25%;
}
.tab-box image{
- width: 65rpx;
- height: 65rpx;
+ width: 100rpx;
+ height: 100rpx;
}
.tab-title{
font-size: 28rpx;
}
.recommend{
+ margin-top: 30rpx;
padding: 30rpx;
border-bottom: 5px solid #FBFBFB;
}
@@ -32,27 +36,25 @@
}
.recommend-box{
flex-shrink: 0;
- width: 220rpx;
- height: 130rpx;
+ width: 270rpx;
+ height: 270rpx;
border-radius: 10rpx;
overflow: hidden;
position: relative;
margin-right: 30rpx;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ background-color: #fff;
}
.recommend-box image{
width: 100%;
- height: 100%;
-}
-.public-title{
- text-align: center;
+ height: 130rpx;
}
.title-text{
display: inline-block;
font-size: 32rpx;
- color: #9F1512;
- padding: 0 20rpx 0;
- position: relative;
+ color: #122939;
margin-bottom: 15rpx;
+ font-weight: bold;
}
.title-text image{
position: absolute;
@@ -67,7 +69,7 @@
right: 0;
}
.news{
- padding: 30rpx;
+ padding: 30rpx 0;
border-bottom: 5px solid #FBFBFB;
}
.news-box{
@@ -127,35 +129,31 @@
.broadcast-box{
flex-shrink: 0;
width: 49%;
- border-radius: 10rpx;
- overflow: hidden;
- height: 185rpx;
margin-bottom: 15rpx;
+}
+.broadcast-img{
+ height: 185rpx;
position: relative;
}
.broadcast-box image{
width: 100%;
height: 100%;
+ border-radius: 10rpx;
}
.broadcast-text{
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
padding: 5rpx 10rpx;
- font-size: 26rpx;
- background: rgba(0,0,0,0.6);
- color: #fff;
+ font-size: 28rpx;
+ color: #122939;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.broadcast-status{
position: absolute;
- top: 10rpx;
- right: 10rpx;
+ bottom: 10rpx;
+ left: 10rpx;
padding: 5rpx;
- background: #9F1512;
+ background: linear-gradient(90deg, rgba(9, 86, 224, 0.97), rgba(65, 127, 237, 0.97));
color: #fff;
font-size: 26rpx;
border-radius: 10rpx;
@@ -260,4 +258,67 @@
transform: translate(-50%, -50%);
width: 80rpx;
height: 80rpx;
+}
+.container{
+ padding: 20rpx;
+ background-color: #fafafa;
+}
+.recommend-info{
+ padding: 5rpx 15rpx 15rpx;
+}
+.recommend-title{
+ font-size: 28rpx;
+ color: #122939;
+ font-weight: bold;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.recomment-text{
+ font-size: 24rpx;
+ color: #999;
+ margin-top: 10rpx;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.recomment-text image{
+ width: 16rpx;
+ height: 20rpx;
+}
+.recomment-text.time image{
+ width: 20rpx;
+ height: 20rpx;
+ vertical-align: top;
+ margin-top:6rpx;
+ display: inline-block;
+}
+.img-text{
+ height: 180rpx;
+ padding: 30rpx;
+ position: relative;
+ background-color: #fff;
+ margin-top: 50rpx;
+ border-bottom: none;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ border-radius: 10rpx;
+}
+.img-text .news-row-info{
+ width: 60%;
+ position: absolute;
+ top: 30rpx;
+ right: 30rpx;
+}
+.img-text .news-row-img{
+ position: absolute;
+ left: 30rpx;
+ bottom: 30rpx;
+}
+.img-text .news-row-img{
+ height: 230rpx;
+}
+.img-text .news-row-img image{
+ width: 100%;
+ height:230rpx;
+ border-radius: 10rpx;
}
\ No newline at end of file
diff --git a/pages/myActivity/myActivity.wxml b/pages/myActivity/myActivity.wxml
index a1acc7f..c72d8b7 100644
--- a/pages/myActivity/myActivity.wxml
+++ b/pages/myActivity/myActivity.wxml
@@ -1,6 +1,6 @@
+ wx:for="{{dataMap}}" wx:key="index">
{{item.activityTitle}}
diff --git a/pages/myVolunteerActivity/myVolunteerActivity.wxml b/pages/myVolunteerActivity/myVolunteerActivity.wxml
index b018090..d63d714 100644
--- a/pages/myVolunteerActivity/myVolunteerActivity.wxml
+++ b/pages/myVolunteerActivity/myVolunteerActivity.wxml
@@ -1,18 +1,25 @@
-
我发起
-
-
我参加
-
-
+
+
+
+
+
+
+ 许世友传奇人生视频讲座
+
+ 2020-07-15至2020-07-29
+
+
+
diff --git a/pages/myVolunteerActivity/myVolunteerActivity.wxss b/pages/myVolunteerActivity/myVolunteerActivity.wxss
index b777244..53f4801 100644
--- a/pages/myVolunteerActivity/myVolunteerActivity.wxss
+++ b/pages/myVolunteerActivity/myVolunteerActivity.wxss
@@ -4,9 +4,8 @@
left: 0;
right: 0;
display: flex;
- box-shadow:0 0 17rpx 0 rgba(0,0,0,0.1);
- border-radius:0 0 31rpx 31rpx;
background: #fff;
+ border-bottom: 1px solid #EEE;
}
.tab-box{
display: flex;
@@ -19,7 +18,7 @@
color: #242424;
}
.tab-box.active{
- color: #9F1512;
+ color: #125CE1;
}
.tab-box image{
position: absolute;
@@ -89,12 +88,11 @@
align-items: center;
font-size: 30rpx;
color: #fff;
- background: #9F1512;
- border-radius: 10rpx;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ border-radius: 36rpx;
}
.volunteer-activity{
margin-top: 90rpx;
- padding: 0 30rpx;
margin-bottom: 105rpx;
}
.activity{
@@ -126,12 +124,12 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- font-size: 30rpx;
- color: #242424;
- line-height: 40rpx;
+ font-size: 32rpx;
+ color: #122939;
+ font-weight: bold;
}
.date{
margin-top: 10rpx;
- font-size: 22rpx;
- color: #242424;
+ font-size: 28rpx;
+ color: #999;
}
\ No newline at end of file
diff --git a/pages/myVolunteerTeam/myVolunteerTeam.wxml b/pages/myVolunteerTeam/myVolunteerTeam.wxml
index 536dfcc..8e55fc6 100644
--- a/pages/myVolunteerTeam/myVolunteerTeam.wxml
+++ b/pages/myVolunteerTeam/myVolunteerTeam.wxml
@@ -1,7 +1,12 @@
-
+
+
+
+
{{item.teamName}}
+ 团队口号:{{item.teamWatchword}}
+ 所属区域:{{item.teamCityDictionaryName}} {{item.teamCountyDictionaryName}} {{item.teamAreaDictionaryName}}
申请加入
退出
待审核
@@ -9,7 +14,5 @@
审核驳回
已退出
- 团队口号:{{item.teamWatchword}}
- 所属区域:{{item.teamCityDictionaryName}} {{item.teamCountyDictionaryName}} {{item.teamAreaDictionaryName}}
\ No newline at end of file
diff --git a/pages/myVolunteerTeam/myVolunteerTeam.wxss b/pages/myVolunteerTeam/myVolunteerTeam.wxss
index 29df066..c263490 100644
--- a/pages/myVolunteerTeam/myVolunteerTeam.wxss
+++ b/pages/myVolunteerTeam/myVolunteerTeam.wxss
@@ -1,3 +1,6 @@
+page{
+ background-color: #fafafa;
+}
.top-tab{
position: fixed;
top: 0;
@@ -39,37 +42,59 @@
right: 100rpx;
}
.team{
- padding: 0 30rpx;
+ padding: 0 20rpx;
}
.team-box{
- padding: 20rpx 0;
- border-bottom: 1px solid #EBEBEB;
-}
-.name-join{
+ padding: 30rpx 20rpx;
+ margin-top: 20rpx;
+ background: #FFFFFF;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ border-radius: 20rpx;
display: flex;
justify-content: space-between;
- height: 40rpx;
+}
+.team-img{
+ width: 150rpx;
+ height: 150rpx;
+ border-radius: 50%;
+ overflow: hidden;
+ flex-shrink: 0;
+}
+.team-img image{
+ width: 100%;
+ height: 100%;
+}
+.name-join{
+ flex-shrink: 0;
+ width: 470rpx;
line-height: 40rpx;
font-size: 32rpx;
color: #242424;
}
.name{
- width: 70%;
+ font-size: 34rpx;
+ color: #122939;
+ font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.join{
+ display: inline-block;
padding: 0 10rpx;
- background: rgba(159,21,18,.1);
- color: #9F1512;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ color: #fff;
font-size: 28rpx;
border-radius: 10rpx;
+ margin-top: 10rpx;
}
.slogan, .area{
- color: #949494;
- font-size: 26rpx;
- margin-top: 10rpx;
+ color: #999;
+ font-size: 28rpx;
+ /* margin-top: 10rpx; */
+}
+.area{
+ color: #4D4D4D;
}
.new-team{
position: fixed;
diff --git a/pages/newTeam/newTeam.wxml b/pages/newTeam/newTeam.wxml
index 9c0f06d..f9f6016 100644
--- a/pages/newTeam/newTeam.wxml
+++ b/pages/newTeam/newTeam.wxml
@@ -4,8 +4,8 @@
-
- 点击上传
+
+
@@ -27,7 +27,7 @@
- 市:
+ 城市:
@@ -67,7 +67,7 @@
diff --git a/pages/newTeam/newTeam.wxss b/pages/newTeam/newTeam.wxss
index ceb514f..b95c2f9 100644
--- a/pages/newTeam/newTeam.wxss
+++ b/pages/newTeam/newTeam.wxss
@@ -5,6 +5,7 @@
display: flex;
justify-content: space-between;
height: 90rpx;
+ border-bottom: 1px solid #EBEBEB;
}
.row-title{
line-height: 90rpx;
@@ -16,9 +17,7 @@
}
.row-text{
width: 75%;
- display: flex;
- align-items: center;
- border-bottom: 1px solid #EBEBEB;
+ text-align: right;
}
.row-text input{
width: 100%;
@@ -58,9 +57,9 @@ laebl{
transform: scale(0.8,0.8);
}
.create-btn{
- background: #9F1512;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ border-radius: 36rpx;
height: 80rpx;
- border-radius: 10rpx;
color: #fff;
font-size: 32rpx;
display: flex;
@@ -78,11 +77,21 @@ label{
}
.avatar{
height: 150rpx;
+ box-sizing: border-box;
}
.avatar image{
width: 150rpx;
- height: 150rpx;
+ height: 130rpx;
+ margin-top: 10rpx;
+
}
.avatar-row{
height: 150rpx;
+}
+.upload{
+ width: 100rpx;
+ height: 120rpx;
+}
+.avatar-row .no-avatar{
+ padding-top: 20rpx;
}
\ No newline at end of file
diff --git a/pages/newVolunteerActivity/newVolunteerActivity.wxml b/pages/newVolunteerActivity/newVolunteerActivity.wxml
index 1ee51e8..18dfa2a 100644
--- a/pages/newVolunteerActivity/newVolunteerActivity.wxml
+++ b/pages/newVolunteerActivity/newVolunteerActivity.wxml
@@ -88,10 +88,10 @@
宣传图片:
+
- 点击上传
-
+
diff --git a/pages/newVolunteerActivity/newVolunteerActivity.wxss b/pages/newVolunteerActivity/newVolunteerActivity.wxss
index 33eab65..710297a 100644
--- a/pages/newVolunteerActivity/newVolunteerActivity.wxss
+++ b/pages/newVolunteerActivity/newVolunteerActivity.wxss
@@ -6,18 +6,17 @@
display: flex;
justify-content: space-between;
height: 90rpx;
+ border-bottom: 1px solid #EBEBEB;
}
.row-title{
line-height: 90rpx;
- color: #242424;
+ color: #808080;
font-size: 32rpx;
width: 24%;
}
.row-text{
width: 75%;
- display: flex;
- align-items: center;
- border-bottom: 1px solid #EBEBEB;
+ text-align: right;
}
.row-text input{
width: 100%;
@@ -32,6 +31,7 @@ picker{
height: 230rpx;
}
.intro textarea{
+ width: 100%;
padding: 26rpx 0;
box-sizing: border-box;
font-size: 32rpx;
@@ -46,9 +46,9 @@ picker{
box-shadow:0 0 17rpx 0 rgba(0,0,0,0.1);
}
.create-btn{
- background: #9F1512;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ border-radius: 36rpx;
height: 80rpx;
- border-radius: 10rpx;
color: #fff;
font-size: 32rpx;
display: flex;
@@ -59,10 +59,7 @@ picker{
height: auto;
}
.img-row .row-text{
- padding-top: 20rpx;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
+ padding: 30rpx 0;
}
.row-img{
width: 240rpx;
@@ -72,4 +69,11 @@ picker{
}
.row-img:nth-child(even){
margin-right: 0;
+}
+radio-group{
+ line-height: 90rpx;
+}
+.upload{
+ width: 110rpx;
+ height: 95rpx;
}
\ No newline at end of file
diff --git a/pages/newsList/newsList.wxml b/pages/newsList/newsList.wxml
index f6d5d54..00d4f5a 100644
--- a/pages/newsList/newsList.wxml
+++ b/pages/newsList/newsList.wxml
@@ -1,27 +1,19 @@
-
全部
-
-
{{item.directoriesName}}
-
-
全部
-
-
{{item.areaName}}
-
diff --git a/pages/newsList/newsList.wxss b/pages/newsList/newsList.wxss
index a876635..fbeae82 100644
--- a/pages/newsList/newsList.wxss
+++ b/pages/newsList/newsList.wxss
@@ -14,15 +14,28 @@
display: inline-flex;
justify-content: center;
align-items: center;
- width: 30%;
+ width: 24%;
position: relative;
height: 90rpx;
- font-size: 30rpx;
+ font-size: 34rpx;
color: #242424;
flex-shrink: 0;
+ position: relative;
}
.tab-box.active{
- color: #9F1512;
+ font-weight: bold;
+}
+.tab-box.active:after{
+ content: '';
+ display: block;
+ width: 92rpx;
+ height: 8rpx;
+ background: linear-gradient(90deg, rgba(255, 164, 40, 0.97), rgba(247, 197, 46, 0.97));
+ border-radius: 4px;
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ margin-left: -46rpx;
}
.tab-box image{
position: absolute;
@@ -54,19 +67,18 @@
}
.area-box{
display: inline-flex;
- width: 30%;
+ width: 24%;
height: 90rpx;
- /* line-height: 90rpx;
- text-align: center; */
align-items: center;
justify-content: center;
- padding: 0 20px;
+ padding: 0 10px;
box-sizing: border-box;
position: relative;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- font-size: 30rpx;
+ font-size: 28rpx;
+ color: #808080;
}
.area-box.active{
color: #9F1512;
diff --git a/pages/resource/resource.wxml b/pages/resource/resource.wxml
index 6761b90..6984fb7 100644
--- a/pages/resource/resource.wxml
+++ b/pages/resource/resource.wxml
@@ -1,23 +1,19 @@
-
全部
-
-
{{item.directoriesName}}
-
- {{item.newsContentTitle}}
+ {{item.newsContentTitle}}
{{item.newsContentPublishTime}}
diff --git a/pages/resource/resource.wxss b/pages/resource/resource.wxss
index 1df62ba..f1e201f 100644
--- a/pages/resource/resource.wxss
+++ b/pages/resource/resource.wxss
@@ -10,14 +10,13 @@
display: flex;
}
.tab-box{
- display: inline-flex;
- justify-content: center;
- align-items: center;
- width: 30%;
+ width: 24%;
position: relative;
height: 90rpx;
+ text-align: center;
+ line-height: 90rpx;
font-size: 30rpx;
- color: #242424;
+ color: #122939;
flex-shrink: 0;
padding: 0 10rpx;
white-space: nowrap;
@@ -25,25 +24,21 @@
text-overflow: ellipsis;
}
.tab-box.active{
- color: #9F1512;
+ font-weight: bold;
}
-.tab-box image{
- position: absolute;
- width: 15rpx;
- height: 40rpx;
- top: 50%;
- margin-top: -20rpx;
- display: none;
-}
-.tab-box.active image{
+.tab-box.active:after{
+ content: '';
display: block;
+ width: 90rpx;
+ height: 8rpx;
+ background: linear-gradient(90deg, rgba(255, 164, 40, 0.97), rgba(247, 197, 46, 0.97));
+ border-radius: 4px;
+ position: absolute;
+ bottom: 10rpx;
+ left: 50%;
+ margin-left: -45rpx;
}
-.tab-box image.selected-l{
- left: 10rpx;
-}
-.tab-box image.selected-r{
- right: 10rpx;
-}
+
.area{
overflow-x: auto;
white-space: nowrap;
@@ -96,30 +91,30 @@
margin-top: 90rpx;
}
.news-box{
- padding: 30rpx 0;
- border-bottom: 1px solid #EBEBEB;
- display: flex;
- flex-direction: column;
-}
-.news-box:first-child{
- padding-top: 0;
+ background: #FFFFFF;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ border-radius: 12rpx;
+ overflow: hidden;
+ margin-bottom: 20rpx;
}
.news-title{
- color: #242424;
- font-size: 30rpx;
+ color: #122939;
+ font-size: 32rpx;
font-weight: bold;
+ padding: 0 15rpx;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.news-info{
color: #949494;
margin-top: 15rpx;
font-size: 24rpx;
+ padding: 0 15rpx 15rpx;
}
.news-info text{
margin-right: 20rpx;
}
-.news-big-pic, .news-small-pic{
- margin-top: 10rpx;
-}
.news-big-pic image{
width: 100%;
}
diff --git a/pages/serviceActivityDetail/serviceActivityDetail.wxml b/pages/serviceActivityDetail/serviceActivityDetail.wxml
index 5b40e73..c5a0235 100644
--- a/pages/serviceActivityDetail/serviceActivityDetail.wxml
+++ b/pages/serviceActivityDetail/serviceActivityDetail.wxml
@@ -3,28 +3,24 @@
{{dataMap.serviceName}}
+ {{dataMap.startTime}}至{{dataMap.endTime}}
-
+
活动人数:
{{dataMap.count }}
-
- 活动时间:
- {{dataMap.startTime}}至{{dataMap.endTime}}
-
-
-
+
活动地址:
{{dataMap.address }}
+
活动详情
-
diff --git a/pages/serviceActivityDetail/serviceActivityDetail.wxss b/pages/serviceActivityDetail/serviceActivityDetail.wxss
index cb9f554..a949862 100644
--- a/pages/serviceActivityDetail/serviceActivityDetail.wxss
+++ b/pages/serviceActivityDetail/serviceActivityDetail.wxss
@@ -3,20 +3,41 @@
height: 480rpx;
}
.activity-detail{
- position: absolute;
- left: 0;
- right: 0;
- top: 430rpx;
+ width: 710rpx;
+ padding: 30rpx;
+ margin: -50rpx auto 130rpx;
+ position: relative;
+ margin-top: -50rpx;
background: #fff;
border-radius:30rpx 30rpx 0px 0px;
overflow: hidden;
- padding-bottom: 120rpx;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ box-sizing: border-box;
}
-.activity-title, .activity-info{
- padding: 30rpx;
+.activity-title{
font-size: 32rpx;
- color: #242424;
- border-bottom: 5px solid #FBFBFB;
+ color: #122939;
+ font-weight: bold;
+ padding-bottom: 15rpx;
+}
+.activity-date{
+ font-size: 28rpx;
+ color: #999;
+}
+.people{
+ width: 24rpx;
+ height: 20rpx;
+ margin-right: 10rpx;
+}
+.position{
+ width: 20rpx;
+ height: 24rpx;
+ margin-right: 10rpx;
+}
+.activity-info{
+ padding: 30rpx 0;
+ font-size: 32rpx;
+ color: #122939;
}
.activity-text{
line-height: 35rpx;
@@ -26,18 +47,11 @@
.activity-text:last-child{
margin-bottom: 0;
}
-.activity-info image{
- width: 35rpx;
- height: 35rpx;
- margin-right: 10rpx;
- vertical-align: middle;
- margin-top: -5rpx;
-}
.activity-text text{
color: #BBBBBB;
}
.activity-container{
- padding: 30rpx;
+ padding: 30rpx 0;
}
.part{
margin-bottom: 30rpx;
@@ -46,17 +60,16 @@
margin-bottom: 0;
}
.part-title{
- border-left: 3px solid #9F1512;
- color: #242424;
- padding-left: 10rpx;
- font-size: 30rpx;
+ color: #122939;
+ font-size: 32rpx;
margin-bottom: 10rpx;
- display: flex;
- justify-content: space-between;
+ font-weight: bold;
}
.comment-btn{
- padding: 0 10rpx;
- background: #9F1512;
+ display: inline-block;
+ padding: 5rpx 10rpx;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ border-radius: 8rpx;
color: #fff;
font-size: 28rpx;
border-radius: 10rpx;
@@ -87,8 +100,8 @@
.sign-btn{
width: 100%;
height: 80rpx;
- background: #9F1512;
- border-radius: 10rpx;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ border-radius: 36rpx;
display: flex;
justify-content: center;
align-items: center;
diff --git a/pages/train/train.js b/pages/train/train.js
index f1eb079..2ea3435 100644
--- a/pages/train/train.js
+++ b/pages/train/train.js
@@ -55,8 +55,14 @@ Page({
if(page <= 1) {
newsArray = data.rows;
} else {
- newsArray = self.data.news.newsList;
- newsArray = newsArray.concat(data.rows);
+ if (data.rows.length > 0) {
+ newsArray = self.data.trainList;
+ newsArray = newsArray.concat(data.rows);
+ } else {
+ self.setData({
+ currentPage: self.data.currentPage - 1
+ })
+ }
}
self.setData({
currentPage: page,
@@ -140,7 +146,11 @@ Page({
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
-
+ var self = this
+ this.setData({
+ currentPage: self.data.currentPage + 1
+ })
+ this.getList(self.data.currentPage)
},
/**
diff --git a/pages/train/train.wxml b/pages/train/train.wxml
index 730a0c0..8c0ec6e 100644
--- a/pages/train/train.wxml
+++ b/pages/train/train.wxml
@@ -1,23 +1,19 @@
-
全部
-
-
{{item.directoriesName}}
-
- {{item.newsContentTitle}}
+ {{item.newsContentTitle}}
{{item.newsContentPublishTime}}
diff --git a/pages/train/train.wxss b/pages/train/train.wxss
index 7912152..1264198 100644
--- a/pages/train/train.wxss
+++ b/pages/train/train.wxss
@@ -13,16 +13,28 @@
display: inline-flex;
justify-content: center;
align-items: center;
- width: 30%;
+ width: 24%;
position: relative;
height: 90rpx;
font-size: 30rpx;
- color: #242424;
+ color: #122939;
flex-shrink: 0;
padding: 0 10rpx;
}
.tab-box.active{
- color: #9F1512;
+ font-weight: bold;
+}
+.tab-box.active:after{
+ content: '';
+ display: block;
+ width: 90rpx;
+ height: 8rpx;
+ background: linear-gradient(90deg, rgba(255, 164, 40, 0.97), rgba(247, 197, 46, 0.97));
+ border-radius: 4px;
+ position: absolute;
+ bottom: 10rpx;
+ left: 50%;
+ margin-left: -45rpx;
}
.tab-box image{
position: absolute;
@@ -93,30 +105,33 @@
margin-top: 90rpx;
}
.news-box{
- padding: 30rpx 0;
- border-bottom: 1px solid #EBEBEB;
- display: flex;
- flex-direction: column;
+ background: #FFFFFF;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ border-radius: 12rpx;
+ margin-bottom: 20rpx;
+ overflow: hidden;
}
.news-box:first-child{
padding-top: 0;
}
.news-title{
- color: #242424;
+ color: #122939;
font-size: 30rpx;
font-weight: bold;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ padding: 0 20rpx;
}
.news-info{
color: #949494;
margin-top: 15rpx;
font-size: 24rpx;
+ padding: 0 20rpx 20rpx;
}
.news-info text{
margin-right: 20rpx;
}
-.news-big-pic, .news-small-pic{
- margin-top: 10rpx;
-}
.news-big-pic image{
width: 100%;
}
diff --git a/pages/travel/travel.wxml b/pages/travel/travel.wxml
index f99efab..28781b0 100644
--- a/pages/travel/travel.wxml
+++ b/pages/travel/travel.wxml
@@ -1,8 +1,18 @@
-
- {{item.newsContentTitle}}
-
-
+
+
+
+
+
+ {{item.newsContentTitle}}
+
+
+
+
+
+
+
+ {{item.newsContentTitle}}
\ No newline at end of file
diff --git a/pages/travel/travel.wxss b/pages/travel/travel.wxss
index 2670b7d..78f78d3 100644
--- a/pages/travel/travel.wxss
+++ b/pages/travel/travel.wxss
@@ -1,21 +1,30 @@
.news{
padding: 0 30rpx;
- border-bottom: 5px solid #FBFBFB;
margin-top: 10rpx;
+ display: flex;
+ white-space: normal;
+ justify-content: space-between;
+}
+.left, .right{
+ width: 49%;
}
.news-box{
- padding: 30rpx 0;
- border-bottom: 1px solid #EBEBEB;
- display: flex;
- flex-direction: column;
-}
-.news-box:first-child{
- padding-top: 0;
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ border-radius: 12rpx;
+ background-color: #fff;
+ overflow: hidden;
+ font-size: 0;
+ margin-bottom: 20rpx;
}
.news-title{
color: #242424;
font-size: 30rpx;
font-weight: bold;
+ line-height: 60rpx;
+ padding: 0 10rpx;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.news-info{
color: #949494;
@@ -25,15 +34,11 @@
.news-info text{
margin-right: 20rpx;
}
-.news-big-pic, .news-small-pic{
- margin-top: 10rpx;
-}
.news-big-pic image{
width: 100%;
}
.news-small-pic image{
width: 100%;
- height: 400rpx;
}
.transverse-news{
flex-direction: row;
diff --git a/pages/venue/venue.wxml b/pages/venue/venue.wxml
index 94a6df2..786e1c5 100644
--- a/pages/venue/venue.wxml
+++ b/pages/venue/venue.wxml
@@ -29,15 +29,27 @@
-
-
-
-
-
- {{item.venueName}}
+
+
+
+ {{item.venueName}}
+
+
+
+ 营业时间:{{item.businessHours}}
+
+
+ {{item.venuePosition}}
+
距离:{{item.apart == '0' ? '未知' : item.apart}}
- 营业时间:{{item.businessHours}}
+
+
+
+
+
+
+ {{item.venueTelephone}}
diff --git a/pages/venue/venue.wxss b/pages/venue/venue.wxss
index 09ff6b5..5afef0b 100644
--- a/pages/venue/venue.wxss
+++ b/pages/venue/venue.wxss
@@ -10,12 +10,15 @@
padding: 30rpx 0;
display: flex;
overflow-x: auto;
+ flex-wrap: wrap;
}
.tab-box{
flex-shrink: 0;
- width: 120rpx;
+ width: 20%;
text-align: center;
- margin-right: 40rpx;
+ padding: 0 10rpx;
+ box-sizing: border-box;
+ margin-bottom: 20rpx;
}
.tab-box image{
width: 80rpx;
@@ -26,7 +29,7 @@
color: #242424;
}
.tab-box.active .tab-title{
- color: #9F1512;
+ color: #0956E0;
}
.select-tab{
display: flex;
@@ -36,30 +39,38 @@
flex: 1;
text-align: center;
font-size: 32rpx;
- color: #242424;
+ color: #122939;
}
.select-box.active{
- color: #9F1512;
- font-weight: bold;
+ color: #125CE1;
}
.venue{
- height: 400rpx;
- margin-top: 250rpx;
+ margin-top: 420rpx;
padding: 0 30rpx;
}
.venue-box{
- box-shadow:0 0 17rpx 0 rgba(0,0,0,0.1);
+ box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
+ border-radius: 12rpx;
border-radius:10rpx;
overflow: hidden;
margin-bottom: 15rpx;
+ padding: 20rpx;
+ background-color: #fff;
}
.venue-img, .venue-img image{
- width: 100%;
- height: 315rpx;
+ width: 220rpx;
+ height: 155rpx;
+ border-radius: 8rpx;
+}
+.venue-top{
+ padding-bottom: 25rpx;
+ border-bottom: 1px solid #E5E5E5;
+ display: flex;
+ justify-content: space-between;
}
.venue-info{
- padding: 15rpx 20rpx;
+ width: 410rpx;
}
.name-distance{
display: flex;
@@ -69,23 +80,24 @@
}
.name{
font-size: 32rpx;
- width: 60%;
+ font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.distance{
- padding: 0 10rpx;
- background: rgba(159,21,18,.1);
- color: #9F1512;
- border-radius: 10rpx;
+ color: #999;
font-size: 28rpx;
}
.time{
font-size: 28rpx;
- color: #242424;
+ color: #122939;
margin-top: 10rpx;
}
+.time image{
+ width: 20rpx;
+ height: 20rpx;
+}
.select-area{
position: fixed;
top: 0;
@@ -122,4 +134,20 @@
}
.area-box:nth-child(3n){
margin-right: 0;
+}
+.position{
+ color: #999;
+ font-size: 28rpx;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.venue-bottom{
+ padding-top: 20rpx;
+ font-size: 28rpx;
+ color: #122939;
+}
+.venue-bottom image{
+ width: 20rpx;
+ height: 20rpx;
}
\ No newline at end of file
diff --git a/pages/venueDetail/venueDetail.wxml b/pages/venueDetail/venueDetail.wxml
index 104dfa8..219933e 100644
--- a/pages/venueDetail/venueDetail.wxml
+++ b/pages/venueDetail/venueDetail.wxml
@@ -1,27 +1,34 @@
-
-
-
-
-
-
+
+
+ {{venuesDetail.venueName}}
+ 营业时间:{{venuesDetail.businessHours}}
+ 联系方式:{{venuesDetail.venueTelephone}}
+ 温馨提示:{{venuesDetail.bookingTips}}
+
+
+
+
+
+
+
+
+ 直接到场
+
+
+ 场次预订
+
+
+ 门票预订
+
-
- {{venuesDetail.venueName}}
-
+
- 地址:{{venuesDetail.venuePosition}}
+ 场馆地址:{{venuesDetail.venuePosition}}
-
- 联系方式:{{venuesDetail.venueTelephone}}
-
-
- 交通方式:{{venuesDetail.venueRoute}}
-
-
- 营业时间:{{venuesDetail.businessHours}}
-
-
- 温馨提示:{{venuesDetail.bookingTips}}
+
+ 交通方式:{{venuesDetail.venueRoute}}
@@ -36,14 +43,4 @@
场馆简介:
-
-
- 直接到场
-
-
- 场次预订
-
-
- 门票预订
\ No newline at end of file
diff --git a/pages/venueDetail/venueDetail.wxss b/pages/venueDetail/venueDetail.wxss
index a2d97e4..c53700f 100644
--- a/pages/venueDetail/venueDetail.wxss
+++ b/pages/venueDetail/venueDetail.wxss
@@ -1,6 +1,17 @@
-.swiper-box, swiper, .swiper-item image{
- width: 100%;
- height: 350rpx;
+swiper{
+ height: 100%;
+}
+.swiper-box{
+ position: absolute;
+ top: 65rpx;
+ right: 40rpx;
+ width: 240rpx;
+ height: 310rpx;
+}
+.swiper-box image{
+ width: 240rpx;
+ height: 310rpx;
+ border-radius: 14rpx;
}
.venue{
margin-top: 10rpx;
@@ -67,17 +78,16 @@
}
.venue-other{
margin: 10rpx 0 20rpx;
- padding: 0 20rpx;
+ padding: 0 40rpx;
}
.other-title{
font-size: 32rpx;
- color: #000;
+ color: #122939;
font-weight: bold;
}
.other-content{
font-size: 28rpx;
- color: #BBBBBB;
- padding-left: 20rpx;
+ color: #122939;
margin: 10rpx 0;
}
.other-container{
@@ -85,12 +95,11 @@
border-bottom: 1px solid #ddd;
}
.venue-intro{
- padding: 0 20rpx 20rpx;
- margin-bottom: 110rpx;
+ padding: 0 40rpx 20rpx;
}
.intro-title{
font-size: 30rpx;
- color: #000;
+ color: #122939;
font-weight: bold;
}
.intro-content{
@@ -98,20 +107,64 @@
color: #000;
}
.book-btn{
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- padding: 15rpx 30rpx;
- background: #fff;
+ position: absolute;
+ bottom: -27rpx;
+ left: 140rpx;
+ width: 210rpx;
+ height: 66rpx;
+ box-shadow: 0px 6px 8px 0px rgba(35, 24, 21, 0.19);
+ border-radius: 30rpx;
+ font-size: 32rpx;
+ color: #fff;
}
.btn{
- height: 80rpx;
- background: #9F1512;
+ height: 66rpx;
+ background: linear-gradient(-30deg, rgba(255, 164, 40, 0.97), rgba(247, 197, 46, 0.97));
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 30rpx;
- border-radius: 10rpx;
+ border-radius: 30rpx;
+}
+.venue-top{
+ position: relative;
+ height: 340rpx;
+ padding: 50rpx 0 80rpx 45rpx;
+ box-sizing: border-box;
+}
+.venue-bg{
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: -1;
+}
+.venue-top-name{
+ font-size: 34rpx;
+ color: #fff;
+ font-weight: bold;
+ margin-bottom: 30rpx;
+}
+.venue-top-info{
+ font-size: 28rpx;
+ color: #fff;
+}
+.venue-top-tip{
+ font-size: 28rpx;
+ color: #fff;
+ margin-top: 30rpx;
+}
+.venue-position{
+ margin-top: 70rpx;
+ padding: 0 40rpx;
+ margin-bottom: 50rpx;
+}
+.position-text{
+ font-size: 28rpx;
+ color: #122939;
+}
+.position-text text{
+ color: #999;
}
\ No newline at end of file
diff --git a/pages/volunteer/volunteer.wxml b/pages/volunteer/volunteer.wxml
index 42d2a94..1d5e641 100644
--- a/pages/volunteer/volunteer.wxml
+++ b/pages/volunteer/volunteer.wxml
@@ -1,15 +1,5 @@
-
-
-
-
-
-
-
-
-
-
-
+
@@ -18,36 +8,32 @@
实名注册
-
+
-
+
志愿者服务组织
志愿者团队
-
+
-
-
志愿活动
-
-
-
+
- 报名中
- 已报名
- 停止报名
- 进行中
- 已结束
+ 报名中
+ 已报名
+ 停止报名
+ 进行中
+ 已结束
diff --git a/pages/volunteer/volunteer.wxss b/pages/volunteer/volunteer.wxss
index 3bcd5b6..8907f0c 100644
--- a/pages/volunteer/volunteer.wxss
+++ b/pages/volunteer/volunteer.wxss
@@ -1,6 +1,6 @@
-.swiper-box, .swiper-img, swiper{
+.swiper-box, .swiper-box image{
width: 100%;
- height: 330rpx;
+ height: 380rpx;
}
.link{
padding: 15rpx 30rpx;
@@ -9,7 +9,7 @@
}
.link-box{
width: 49%;
- background:linear-gradient(315deg,rgba(205,47,41,1) 0%,rgba(159,21,18,1) 100%);
+ background:#EDF4FE;
border-radius: 10rpx;
height: 145rpx;
padding: 30rpx 15rpx 0 30rpx;
@@ -18,26 +18,32 @@
justify-content: space-between;
display: flex;
}
+.team-box{
+ background: #FFF7EC;
+}
.big{
font-size: 28rpx;
+ color: #619EF3;
}
.small{
font-size: 24rpx;
+ color: #BDD4F4;
+}
+.team-box .big{
+ color: #F8B367;
+}
+.team-box .small{
+ color: #FBD8B2;
}
.img image{
width: 60rpx;
height: 60rpx;
}
.public-title{
- text-align: center;
-}
-.title-text{
- display: inline-block;
- font-size: 28rpx;
- color: #9F1512;
- padding: 0 15rpx 0;
- position: relative;
- margin-bottom: 15rpx;
+ font-size: 34rpx;
+ color: #122939;
+ font-weight: bold;
+ padding: 0 20rpx;
}
.title-text image{
position: absolute;
@@ -45,14 +51,8 @@
width: 10rpx;
height: 100%;
}
-.selected-l{
- left: 0;
-}
-.selected-r{
- right: 0;
-}
.activity{
- padding: 20rpx 30rpx 0;
+ padding: 20rpx 20rpx 0;
}
.activity-box{
margin-bottom: 20rpx;
@@ -70,8 +70,8 @@
}
.corner{
position: absolute;
- top: 20rpx;
- right: 20rpx;
+ top: 0;
+ right: 0;
display: flex;
color: #fff;
width: 115rpx;
@@ -79,10 +79,17 @@
display: flex;
justify-content: center;
align-items: center;
- background:rgba(159,21,18,.6);
- border-radius: 10rpx;
+ border-top-left-radius: 0;
+ border-top-right-radius: 10rpx;
+ border-bottom-left-radius: 20rpx;
font-size: 26rpx;
}
+.corner.blue{
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+}
+.corner.yellow{
+ background: linear-gradient(90deg, rgba(255, 164, 40, 0.97), rgba(247, 197, 46, 0.97));
+}
.activity-info{
padding: 15rpx 20rpx;
}
@@ -96,8 +103,9 @@
overflow: hidden;
text-overflow: ellipsis;
font-size: 30rpx;
- color: #242424;
+ color: #122939;
line-height: 40rpx;
+ font-weight: bold;
}
.sign{
background: rgba(159,21,18,.1);
@@ -108,8 +116,8 @@
}
.date{
margin-top: 10rpx;
- font-size: 22rpx;
- color: #242424;
+ font-size: 26rpx;
+ color: #999;
}
.new-activity{
position: fixed;
@@ -121,13 +129,13 @@
box-shadow:0 0 17rpx 0 rgba(0,0,0,0.1);
}
.new-activity-btn{
- background: #9F1512;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
display: flex;
width: 100%;
height: 70rpx;
justify-content: center;
align-items: center;
- border-radius: 10rpx;
+ border-radius: 36rpx;
font-size: 28rpx;
color: #fff;
}
diff --git a/pages/volunteerRegister/volunteerRegister.wxml b/pages/volunteerRegister/volunteerRegister.wxml
index 137a234..8ca816b 100644
--- a/pages/volunteerRegister/volunteerRegister.wxml
+++ b/pages/volunteerRegister/volunteerRegister.wxml
@@ -14,7 +14,7 @@
- 市:
+ 城市:
diff --git a/pages/volunteerRegister/volunteerRegister.wxss b/pages/volunteerRegister/volunteerRegister.wxss
index f2dba43..37f80c9 100644
--- a/pages/volunteerRegister/volunteerRegister.wxss
+++ b/pages/volunteerRegister/volunteerRegister.wxss
@@ -1,28 +1,36 @@
+page{
+ background-color: #fafafa;
+}
.register{
- padding: 30rpx;
+ padding: 0 30rpx;
+ margin-top: 25rpx;
margin-bottom: 150rpx;
+ background-color: #fff;
}
.row{
display: flex;
justify-content: space-between;
- margin-bottom: 15rpx;
- height: 55rpx;
+ padding: 15rpx 0;
+ border-bottom: 1px solid #E5E5E5;
+}
+label{
+ display: block;
+ line-height: 50rpx;
}
.info-name{
- width: 21%;
- font-size: 26rpx;
- color: #000;
- line-height: 55rpx;
+ width: 36%;
+ font-size: 28rpx;
+ line-height: 50rpx;
+ color: #808080;
}
.info-text{
- width: 77%;
- font-size: 26rpx;
- height: 55rpx;
+ width: 70%;
+ font-size: 28rpx;
+ text-align: right;
}
.info-text input{
width: 100%;
- height: 55rpx;
- border: 1px solid #ddd;
+ height: 50rpx;
padding: 0 10rpx;
box-sizing: border-box;
}
@@ -31,19 +39,17 @@
height: 150rpx;
padding: 10rpx;
box-sizing: border-box;
- border: 1px solid #DDD;
}
picker, .picker{
- height: 55rpx;
- line-height: 55rpx;
+ height: 50rpx;
+ line-height: 50rpx;
}
text{
- color: red;
+ color: #0956E0;
}
.section{
- border: 1px solid #ddd;
padding: 0 10rpx;
- height: 55rpx;
+ height: 50rpx;
}
.submit{
width: 100%;
@@ -53,8 +59,8 @@ text{
align-items: center;
height: 80rpx;
color: #fff;
- border-radius: 10rpx;
- background: #9F1512;
+ border-radius: 36rpx;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
}
checkbox{
transform: scale(0.8);
@@ -66,4 +72,5 @@ checkbox{
right: 0;
padding: 0 30rpx 20rpx;
background: #fff;
+ color: #808080;
}
\ No newline at end of file
diff --git a/pages/volunteerTeam/volunteerTeam.wxml b/pages/volunteerTeam/volunteerTeam.wxml
index 7fb08c9..5da83e8 100644
--- a/pages/volunteerTeam/volunteerTeam.wxml
+++ b/pages/volunteerTeam/volunteerTeam.wxml
@@ -1,13 +1,9 @@
-
未参加
-
-
已参加
-
diff --git a/pages/volunteerTeam/volunteerTeam.wxss b/pages/volunteerTeam/volunteerTeam.wxss
index 97bc150..b7c42e2 100644
--- a/pages/volunteerTeam/volunteerTeam.wxss
+++ b/pages/volunteerTeam/volunteerTeam.wxss
@@ -19,7 +19,7 @@
color: #242424;
}
.tab-box.active{
- color: #9F1512;
+ color: #125CE1;
}
.tab-box image{
position: absolute;
@@ -89,6 +89,6 @@
align-items: center;
font-size: 30rpx;
color: #fff;
- background: #9F1512;
- border-radius: 10rpx;
+ background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
+ border-radius: 36rpx;
}
\ No newline at end of file