This commit is contained in:
dong_bo0602 2022-03-29 11:05:37 +08:00
parent c3a50e5cd8
commit d4bb4f1c78
100 changed files with 1086 additions and 652 deletions

View File

@ -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",

View File

@ -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;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
images/center-activity.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/center-img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/center-order.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/center-team.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
images/culture-map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
images/database.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

BIN
images/man.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

BIN
images/people-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
images/phone-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
images/phone-g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1008 B

After

Width:  |  Height:  |  Size: 33 KiB

BIN
images/position-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
images/row-icon-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/row-icon-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
images/row-icon-3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

BIN
images/row-icon-4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

BIN
images/row-icon-5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/row-icon-6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

BIN
images/row-icon-7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

BIN
images/row-icon-8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/tab8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
images/tab9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/team-activity.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/time-g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
images/upload-xc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/volunteer-team.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
images/woman.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
images/work-time.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -6,18 +6,21 @@
<view class="activity-box" bindtap="goDetail" data-id="{{item.activityLibraryId}}" wx:for="{{dataList}}" wx:key="index">
<view class="activity-img">
<image src="{{item.activityImage}}"></image>
</view>
<view class="activity-info">
<view class="title">
<view class="activity-title">{{item.activityTitle}}</view>
<view class="sign" wx:if="{{item.activityState == '3'}}">报名中</view>
<view class="sign" wx:if="{{item.activityState == '3'}}">报名中</view>
<view class="sign" wx:if="{{item.activityState == '4'}}">报名人数已满</view>
<view class="sign" wx:if="{{item.activityState == '5'}}">停止报名</view>
<view class="sign" wx:if="{{item.activityState == '6'}}">进行中</view>
<view class="sign" wx:if="{{item.activityState == '7'}}">直接进入</view>
<view class="sign" wx:if="{{item.activityState == '99'}}">已结束</view>
</view>
<view class="activity-info">
<view class="title">
<view class="activity-title">{{item.activityTitle}}</view>
</view>
<view class="date">
<image src="../../images/time-g.png"></image>
{{item.activityStartTime}}至{{item.activityEndTime}}
</view>
<view class="date">{{item.activityStartTime}}至{{item.activityEndTime}}</view>
</view>
</view>
</view>

View File

@ -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;
}

View File

@ -7,19 +7,17 @@
</view>
<view class="activity-detail">
<view class="activity-title">{{dataMap.activityTitle}}</view>
<view class="activity-date">
{{dataMap.activityStartTime}}至{{dataMap.activityEndTime}}
</view>
<view class="activity-info">
<view class="activity-text">
<image src="../../images/people.png"></image>
<image src="../../images/people-b.png" class="people"></image>
<text>活动人数:</text>
{{dataMap.activityUserNum }}
</view>
<view class="activity-text">
<image src="../../images/time.png"></image>
<text>活动时间:</text>
{{dataMap.activityStartTime}}至{{dataMap.activityEndTime}}
</view>
<view class="activity-text">
<image src="../../images/people.png"></image>
<image src="../../images/position-b.png" class="position"></image>
<text>活动地址:</text>
{{dataMap.activityAddress }}
</view>

View File

@ -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;
}

View File

@ -1,8 +1,8 @@
<view class="dialog">
<view class="dialog-box" wx:if="{{dataList < 1}}">
<view class="dialog-box" wx:if="{{dataList.length < 1}}">
暂无评论
</view>
<view class="dialog-box" wx:for="{{dataList}}">
<view class="dialog-box" wx:for="{{dataList}}" wx:key="index">
<view class="avatar">
<image wx:if="{{item.photo}}" src="{{item.photo}}"></image>
<image wx:else src="../../images/avatar.png"></image>
@ -10,7 +10,7 @@
<view class="user-info">
<view class="name">{{item.volunteerName}}</view>
<view class="content">{{item.content}}</view>
<view class="content" wx:if="{{item.photos}}">
<view class="content {{item.photo.length > 1 ? 'images': ''}}" wx:if="{{item.photos}}">
<image wx:for="{{item.photos}}" wx:for-item="subItem" src="{{subItem}}"></image>
</view>
<view class="content" wx:if="{{item.videos}}">

View File

@ -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;
}

View File

@ -1,29 +1,30 @@
<view class="top-img">
<image src="../../images/center-bg.jpg"></image>
</view>
<view class="page-container">
<view class="person">
<view class="user-avatar" bindtap="changeAvatar" wx:if="{{userInfo.avatar}}">
<image src="{{usercenterUrl}}{{sourcePath}}{{userInfo.avatar}}"></image>
</view>
<view class="user-name">{{userInfo.name}}</view>
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="getphone" wx:if="{{randomName}}">绑定手机号</button>
<view class="tips" wx:if="{{randomName}}">绑定手机号后账号信息即可与APP共享</view>
<view class="bind-box">
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="getphone" wx:if="{{randomName}}">绑定手机号</button>
<view class="tips" wx:if="{{randomName}}">绑定手机号后账号信息即可与APP共享</view>
</view>
<image src="../../images/center-img.png" class="person-bg"></image>
</view>
<view class="main">
<view class="main-title">常用功能</view>
<view class="main-container">
<view class="main-box" bindtap="toMyOrder">
<image src="../../images/my-sign.png"></image>
<view class="main-box order" bindtap="toMyOrder">
<image src="../../images/center-order.png"></image>
<view class="title">我的预订</view>
<view class="check">查看</view>
</view>
<!-- <view class="main-box" bindtap="toMyFirend">
<image src="../../images/friend.png"></image>
<view class="title">我的发布</view>
</view> -->
<view class="main-box" bindtap="toMyJoinActivity">
<image src="../../images/my-sign.png"></image>
<view class="main-box activity" bindtap="toMyJoinActivity">
<image src="../../images/center-activity.png"></image>
<view class="title">我的活动</view>
<view class="check">查看</view>
</view>
<!-- <view class="main-box">
<image src="../../images/my-comment.png"></image>
@ -33,13 +34,15 @@
<image src="../../images/my-collect.png"></image>
<view class="title">我的收藏</view>
</view> -->
<view class="main-box" bindtap="toMyTeam">
<image src="../../images/share.png"></image>
<view class="main-box team" bindtap="toMyTeam">
<image src="../../images/center-team.png"></image>
<view class="title">我的志愿团队</view>
<view class="check">查看</view>
</view>
<view class="main-box" bindtap="toMyVolunteerActivity">
<image src="../../images/team.png"></image>
<view class="main-box team-activity" bindtap="toMyVolunteerActivity">
<image src="../../images/center-team-activity.png"></image>
<view class="title">我的志愿活动</view>
<view class="check">查看</view>
</view>
<!-- <view class="main-box">
<image src="../../images/share.png"></image>

View File

@ -1,19 +1,28 @@
.top-img, .top-img image{
width: 100%;
height: 450rpx
page{
background: #fafafa;
}
.page-container{
position: absolute;
top: 420rpx;
left: 0;
right: 0;
border-radius:31rpx 31rpx 0px 0px;
background: #fff;
}
.person{
padding: 50rpx 30rpx 30rpx;
height: 450rpx;
box-sizing: border-box;
padding: 60rpx 0 80rpx 55rpx;
position: relative;
border-bottom: 3px solid #FBFBFB;
}
.bind-box{
position: absolute;
width: 380rpx;
top: 100rpx;
left: 60rpx;
z-index: 100;
}
.person-bg{
position: absolute;
top: 20rpx;
right: 50rpx;
width: 200rpx;
z-index: 0;
}
.user-avatar{
width: 180rpx;
@ -31,39 +40,45 @@
height: 100%;
}
.user-name{
font-size: 32rpx;
text-align: center;
color: #242424;
font-size: 38rpx;
color: #122939;
}
.getphone{
display: block;
margin-top: 60rpx;
margin-left: 0 !important;
margin-right: 0 !important;
background: #0956E0;
box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.2);
border-radius: 8rpx;
color: #fff;
}
.main{
padding: 30rpx;
}
.main-title{
border-left: 3px solid #9F1512;
padding-left: 10rpx;
font-size: 32rpx;
color: #242424;
margin-bottom: 20rpx;
width: 710rpx;
margin: 50rpx auto 0;
padding: 40rpx;
background-color: #fff;
box-sizing: border-box;
box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
border-radius: 30rpx;
}
.main-container{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.main-box{
width: 25%;
width: 300rpx;
height: 260rpx;
flex-shrink: 0;
text-align: center;
padding: 0 15rpx;
padding: 20rpx 30rpx;
box-sizing: border-box;
margin-bottom: 15rpx;
}
.main-box image{
width: 65rpx;
height: 65rpx;
margin-bottom: 30rpx;
border-radius: 10rpx;
}
.title{
font-size: 30rpx;
color: #242424;
color: #122939;
}
.set-phone{
position: fixed;
@ -146,8 +161,9 @@
}
.tips{
font-size: 30rpx;
text-align: center;
margin-top: 15rpx;
color: #0956E0;
margin-top: 25rpx;
}
.loading{
position: fixed;
@ -164,4 +180,49 @@
transform: translate(-50%,-50%);
width: 150rpx;
height: 150rpx;
}
.order{
background-color: #FFF7EC;
}
.order image{
width: 45rpx;
height: 40rpx;
margin-bottom: 50rpx;
}
.activity{
background-color: #FBEFEF;
}
.activity image{
width: 41rpx;
height: 44rpx;
margin-bottom: 46rpx;
}
.team{
background-color: #EDF4FE;
margin-bottom: 0;
}
.team image{
width: 44rpx;
height: 33rpx;
margin-bottom: 57rpx;
}
.team-activity{
background-color: #E6E9FE;
margin-bottom: 0;
}
.team-activity image{
width: 44rpx;
height: 38rpx;
margin-bottom: 52rpx;
}
.check{
width: 110rpx;
height: 50rpx;
line-height: 50rpx;
font-size: 26rpx;
color: #999;
text-align: center;
margin-top: 20rpx;
background: #FFFFFF;
border-radius: 25rpx;
}

View File

@ -1,57 +1,71 @@
<view class="culture-swiper">
<swiper indicator-dots="{{swiper.indicatorDots}}" autoplay="{{swiper.autoplay}}" current="{{swiper.current}}">
<swiper indicator-dots="{{swiper.indicatorDots}}" autoplay="{{swiper.autoplay}}" current="{{swiper.current}}" indicator-dots="{{true}}" indicator-color="rgba(18,92,225,.6)" indicator-active-color="rgba(18,92,225,1)">
<swiper-item class="swiper-item" wx:for="{{swiper.imgUrl}}" wx:key="swiper">
<image src="{{item}}" class="swiper-img"></image>
</swiper-item>
</swiper>
<view class="prev" bindtap="prevImg">
<!-- <view class="prev" bindtap="prevImg">
<image src="../../images/prev.png"></image>
</view>
<view class="next" bindtap="nextImg">
<image src="../../images/next.png"></image>
</view>
</view> -->
</view>
<view class="culture">
<view class="culture-title">{{library.libraryTitle}}</view>
<view class="culture-info">
<view class="row">
<view class="info">
<image src="../../images/row-icon-1.png"></image>
<text>项目编号:</text>
{{library.libraryNumber}}
</view>
<view class="info">
<text>数据来源:</text>
{{library.librarySource}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-2.png"></image>
<text>公布时间:</text>
{{library.libraryOpenDateValue}}
</view>
<view class="info">
<text>非遗级别:</text>
{{library.libraryLevel}}级
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-3.png"></image>
<text>所属地区:</text>
{{library.libraryArea}}
</view>
<view class="info">
<text>类  型:</text>
{{library.libraryTypeValue}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-4.png"></image>
<text>申报地区或单位:</text>
{{library.libraryAddress}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-5.png"></image>
<text>数据来源:</text>
{{library.librarySource}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-6.png"></image>
<text>非遗级别:</text>
{{library.libraryLevel}}级
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-7.png"></image>
<text>类  型:</text>
{{library.libraryTypeValue}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-8.png"></image>
<text>保护单位:</text>
{{library.libraryAuthor}}
</view>
@ -66,7 +80,21 @@
<view class="part">
<view class="part-title">相关传承人</view>
<view class="library-person" wx:for="{{libraryPersonList}}" wx:for-item="item" wx:for-index="index" wx:key="libraryPersonList">
<view class="row">
<view class="person-info">
<view class="person-number">{{item.libraryPersonNumber}}</view>
<view class="person-name">{{item.libraryPersonName}}</view>
<image src="../../images/man.png" class="man" wx:if="{{item.libraryPersonSex == 1}}"></image>
<image src="../../images/woman.png" class="woman" wx:else></image>
</view>
<view class="person-info" style="margin-top: 20rpx">
<view class="person-birth">
<text>民族:</text>{{item.libraryPersonNationDictionaryName}}
</view>
<view class="person-birth">
<text>出生日期:</text>{{item.libraryPersonBirthday}}
</view>
</view>
<!-- <view class="row">
<view class="info">
<text>编  号:</text>
{{item.libraryPersonNumber}}
@ -91,7 +119,7 @@
<text>民  族:</text>
{{item.libraryPersonNationDictionaryName}}
</view>
</view>
</view> -->
</view>
</view>
</view>

View File

@ -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;
}

View File

@ -1,6 +1,6 @@
<view class="top-select">
<view class="select-box active">
<image src="../../images/select-tab.png"></image>
<image src="../../images/database.png"></image>
<view class="select-title">非物质文化遗产数据库</view>
</view>
<!--
@ -14,7 +14,7 @@
<view class="select-title">文化分享</view>
</view> -->
<view class="select-box" bindtap="goCultureMap">
<image src="../../images/select-tab.png"></image>
<image src="../../images/culture-map.png"></image>
<view class="select-title">文化地图</view>
</view>
</view>
@ -28,6 +28,8 @@
<view class="activity-title">{{item.libraryTitle}}</view>
</view>
<view class="date">{{item.libraryApplyTime}}</view>
<view class="level">非遗级别:{{item.libraryLevel}}级</view>
<view class="area">所属地区:{{item.libraryArea}}</view>
</view>
</view>
</view>

View File

@ -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;
}

View File

@ -1,171 +1,180 @@
<view class="swiper-box">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" >
<swiper-item class="swiper-item" wx:for="{{news.bannerList}}" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:for-index="idx" wx:for-item="item" wx:key="bannerList">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" class="swiper-img" wx:key="swiperImg"></image>
</swiper-item>
</swiper>
</view>
<view class="tab">
<view class="tab-box" data-type="{{item.type}}" wx:for="{{navList}}" data-url="{{item.url}}" bindtap="goNav" wx:key="index" wx:if="{{item.isShow}}">
<image src="{{item.icon}}"></image>
<view class="tab-title">{{item.title}}123</view>
<view class="container">
<view class="swiper-box">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" >
<swiper-item class="swiper-item" wx:for="{{news.bannerList}}" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:for-index="idx" wx:for-item="item" wx:key="bannerList">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" class="swiper-img" wx:key="swiperImg"></image>
</swiper-item>
</swiper>
</view>
<!-- <view class="tab-box" bindtap="goNewsList" data-type="2">
<image src="../../images/tab6.png"></image>
<view class="tab-title">展览展示</view>
</view>
<view class="tab-box" bindtap="goNewsList" data-type="1">
<image src="../../images/tab7.png"></image>
<view class="tab-title">文化动态</view>
</view>
<view class="tab-box" bindtap="goVolunteer">
<image src="../../images/tab1.png"></image>
<view class="tab-title">志愿者服务</view>
</view>
<view class="tab-box" bindtap="goActivity">
<image src="../../images/tab2.png"></image>
<view class="tab-title">精彩活动</view>
</view>
<view class="tab-box" bindtap="goVenue">
<image src="../../images/tab3.png"></image>
<view class="tab-title">场馆导航</view>
</view>
<view class="tab-box" bindtap="goHeritage">
<image src="../../images/tab4.png"></image>
<view class="tab-title">非遗文化</view>
</view>
<view class="tab-box" bindtap="goBroadcast">
<image src="../../images/tab5.png"></image>
<view class="tab-title">直播点播</view>
</view>
<view class="tab-box" bindtap="goTrain">
<image src="../../images/tab5.png"></image>
<view class="tab-title">在线培训</view>
</view>
<view class="tab-box" bindtap="goTravel">
<image src="../../images/tab6.png"></image>
<view class="tab-title">文化旅游</view>
</view>
<view class="tab-box" bindtap="goResource">
<image src="../../images/tab4.png"></image>
<view class="tab-title">数图资源</view>
</view> -->
</view>
<view class="recommend">
<view class="public-title">
<view class="title-text">
<image src="../../images/selected-l.png" class="selected-l"></image>
精彩推荐
<image src="../../images/selected-r.png" class="selected-r"></image>
<view class="tab">
<view class="tab-box" data-type="{{item.type}}" wx:for="{{navList}}" data-url="{{item.url}}" bindtap="goNav" wx:key="index" wx:if="{{item.isShow}}">
<image src="{{item.icon}}"></image>
<view class="tab-title">{{item.title}}</view>
</view>
</view>
<view class="recommend-container">
<view class="recommend-box" wx:for="{{venue.venueList}}" bindtap="goVenueDetail" data-venues-info-Id="{{item.venuesInfoId}}" wx:for-index="index" wx:for-item="item" wx:key="venueList">
<image src="{{venue.venueUrl}}/route/file/downloadfile/true/{{item.venuePanoramaArray[0]}}"></image>
<!-- <view class="tab-box" bindtap="goNewsList" data-type="2">
<image src="../../images/tab6.png"></image>
<view class="tab-title">展览展示</view>
</view>
<view class="recommend-box" wx:for="{{activity.activityList}}" bindtap="goActivityDetail" data-activity-library-id="{{item.activityLibraryId}}" wx:for-index="index" wx:for-item="item" wx:key="activityList">
<image src="{{activity.activityUrl}}/route/file/downloadfile/true/{{item.activityImageArray[0]}}"></image>
<view class="tab-box" bindtap="goNewsList" data-type="1">
<image src="../../images/tab7.png"></image>
<view class="tab-title">文化动态</view>
</view>
</view>
</view>
<view class="news">
<view class="public-title">
<view class="title-text">
<image src="../../images/selected-l.png" class="selected-l"></image>
文化动态
<image src="../../images/selected-r.png" class="selected-r"></image>
<view class="tab-box" bindtap="goVolunteer">
<image src="../../images/tab1.png"></image>
<view class="tab-title">志愿者服务</view>
</view>
<view class="tab-box" bindtap="goActivity">
<image src="../../images/tab2.png"></image>
<view class="tab-title">精彩活动</view>
</view>
<view class="tab-box" bindtap="goVenue">
<image src="../../images/tab3.png"></image>
<view class="tab-title">场馆导航</view>
</view>
<view class="tab-box" bindtap="goHeritage">
<image src="../../images/tab4.png"></image>
<view class="tab-title">非遗文化</view>
</view>
<view class="tab-box" bindtap="goBroadcast">
<image src="../../images/tab5.png"></image>
<view class="tab-title">直播点播</view>
</view>
<view class="tab-box" bindtap="goTrain">
<image src="../../images/tab5.png"></image>
<view class="tab-title">在线培训</view>
</view>
<view class="tab-box" bindtap="goTravel">
<image src="../../images/tab6.png"></image>
<view class="tab-title">文化旅游</view>
</view>
<view class="tab-box" bindtap="goResource">
<image src="../../images/tab4.png"></image>
<view class="tab-title">数图资源</view>
</view> -->
</view>
<view wx:for="{{news.newsList}}" wx:for-index="idx" wx:for-item="item" wx:key="newsList">
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" wx:if="{{item.typesettingCode == 'key_1'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-small-pic">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
<view class="recommend">
<view class="public-title">
<view class="title-text">
精彩推荐
</view>
</view>
<view class="news-box transverse-news" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_2'}}">
<view class="news-row-img">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
<view class="recommend-container">
<view class="recommend-box" wx:for="{{venue.venueList}}" bindtap="goVenueDetail" data-venues-info-Id="{{item.venuesInfoId}}" wx:for-index="index" wx:for-item="item" wx:key="venueList">
<image src="{{venue.venueUrl}}/route/file/downloadfile/true/{{item.venuePanoramaArray[0]}}"></image>
<view class="recommend-info">
<view class="recommend-title">{{item.venueName}}</view>
<view class="recomment-text">
<image src="../../images/phone-g.png"></image>
{{item.venueTelephone}}
</view>
<view class="recomment-text time">
<image src="../../images/time-g.png"></image>
{{item.businessHours}}
</view>
</view>
</view>
<view class="news-row-info">
<!-- <view class="recommend-box" wx:for="{{activity.activityList}}" bindtap="goActivityDetail" data-activity-library-id="{{item.activityLibraryId}}" wx:for-index="index" wx:for-item="item" wx:key="activityList">
<image src="{{activity.activityUrl}}/route/file/downloadfile/true/{{item.activityImageArray[0]}}"></image>
</view> -->
</view>
</view>
<view class="news">
<view class="public-title">
<view class="title-text">
文化动态
</view>
</view>
<view wx:for="{{news.newsList}}" wx:for-index="idx" wx:for-item="item" wx:key="newsList">
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" wx:if="{{item.typesettingCode == 'key_1'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-small-pic">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
<view class="news-box transverse-news img-text img-left" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_2'}}">
<view class="news-row-img">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
</view>
<view class="news-row-info">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
</view>
<view class="news-box transverse-news" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_3'}}">
<view class="news-row-info">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
<view class="news-row-img">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
</view>
</view>
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_4'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-big-pic">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_5'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
</view>
<view class="news-box transverse-news" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_3'}}">
<view class="news-row-info">
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_6'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-big-pic">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
<image src="../../images/play.png" class="play-btn"></image>
</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
<view class="news-row-img">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
</view>
</view>
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_4'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-big-pic">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_5'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_6'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-big-pic">
<image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
<image src="../../images/play.png" class="play-btn"></image>
</view>
<view class="news-info">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
</view>
</view>
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_7'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info voice-box">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
<image src="../../images/play.png"></image>
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_7'}}">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info voice-box">
<text>来源:{{item.newsContentResource}}</text>
<text>{{item.newsContentPublishTime}}</text>
<image src="../../images/play.png"></image>
</view>
</view>
</view>
</view>
</view>
<view class="broadcast" wx:if="{{showLive}}">
<view class="public-title">
<view class="title-text">
<image src="../../images/selected-l.png" class="selected-l"></image>
直播专区
<image src="../../images/selected-r.png" class="selected-r"></image>
<view class="broadcast" wx:if="{{showLive}}">
<view class="public-title">
<view class="title-text">
直播专区
</view>
</view>
</view>
<view class="broadcast-container">
<view class="broadcast-box" bindtap="goBroadcastDetail" data-live-plan-id="{{item.livePlanId}}" wx:for="{{live.liveList}}" wx:for-index="index" wx:for-item="item" wx:key="liveList">
<image src="{{live.liveUrl}}/route/file/downloadfile/true/{{item.livePlanPhoto}}"></image>
<view class="broadcast-text">{{item.livePlanName}}</view>
<view class="broadcast-status">直播中</view>
<view class="broadcast-status" wx:if="{{item.liveStatus == 0}}">已结束</view>
<view class="broadcast-status" wx:elif="{{item.liveStatus == 1}}">未开始</view>
<view class="broadcast-status" wx:elif="{{item.liveStatus == 2}}">直播中</view>
<view class="broadcast-status" wx:else>错误</view>
<view class="broadcast-container">
<view class="broadcast-box" bindtap="goBroadcastDetail" data-live-plan-id="{{item.livePlanId}}" wx:for="{{live.liveList}}" wx:for-index="index" wx:for-item="item" wx:key="liveList">
<view class="broadcast-img">
<image src="{{live.liveUrl}}/route/file/downloadfile/true/{{item.livePlanPhoto}}"></image>
<view class="broadcast-status">直播中</view>
<view class="broadcast-status" wx:if="{{item.liveStatus == 0}}">已结束</view>
<view class="broadcast-status" wx:elif="{{item.liveStatus == 1}}">未开始</view>
<view class="broadcast-status" wx:elif="{{item.liveStatus == 2}}">直播中</view>
<view class="broadcast-status" wx:else>错误</view>
</view>
<view class="broadcast-text">{{item.livePlanName}}</view>
</view>
</view>
</view>
</view>

View File

@ -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;
}

View File

@ -1,6 +1,6 @@
<view class="team">
<view class="team-box" bindtap="toTeamDetail"
wx:for="{{dataMap}}">
wx:for="{{dataMap}}" wx:key="index">
<view class="name-join">
<view class="name">{{item.activityTitle}}</view>
</view>

View File

@ -1,18 +1,25 @@
<view class="top-tab">
<view class="tab-box {{type==1?'active':''}}" data-type="1" bindtap="changeTab">
<image src="../../images/selected-l.png" class="selected-l"></image>
我发起
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
<view class="tab-box {{type==2?'active':''}}" data-type="2" bindtap="changeTab">
<image src="../../images/selected-l.png" class="selected-l"></image>
我参加
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
</view>
<view class="volunteer-activity">
<view class="activity">
<view class="activity-box" bindtap="goDetail" data-id="{{item.volunteerServiceId}}" wx:for="{{dataMap}}">
<view class="activity-box">
<view class="activity-img">
<image src="../../images/big-news.png"></image>
</view>
<view class="activity-info">
<view class="title">
<view class="activity-title">许世友传奇人生视频讲座</view>
</view>
<view class="date">2020-07-15至2020-07-29</view>
</view>
</view>
<view class="activity-box" bindtap="goDetail" data-id="{{item.volunteerServiceId}}" wx:for="{{dataMap}}" wx:key="index">
<view class="activity-img">
<image src="{{item.photo}}"></image>
</view>

View File

@ -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;
}

View File

@ -1,7 +1,12 @@
<view class="team">
<view class="team-box" bindtap="toTeamDetail" data-teamid="{{item.teamId}}" wx:for="{{otherTeamMap}}">
<view class="team-box" bindtap="toTeamDetail" data-teamid="{{item.teamId}}" wx:for="{{otherTeamMap}}" wx:key="index">
<view class="team-img">
<image src="../../images/avatar.png"></image>
</view>
<view class="name-join">
<view class="name">{{item.teamName}}</view>
<view class="slogan">团队口号:{{item.teamWatchword}}</view>
<view class="area">所属区域:{{item.teamCityDictionaryName}} {{item.teamCountyDictionaryName}} {{item.teamAreaDictionaryName}}</view>
<view class="join" wx:if="{{item.checkStatus == '' && type == 1}}" data-teamid="{{item.teamId}}" bindtap="joinOrOutTeam">申请加入</view>
<view class="join" wx:if="{{item.checkStatus == '' && type == 2}}" data-teamid="{{item.teamId}}" bindtap="joinOrOutTeam">退出</view>
<view class="join" wx:if="{{item.checkStatus != '' && item.checkStatus == '0'}}">待审核</view>
@ -9,7 +14,5 @@
<view class="join" wx:if="{{item.checkStatus != '' && item.checkStatus == '2'}}">审核驳回</view>
<view class="join" wx:if="{{item.checkStatus != '' && item.checkStatus == '3'}}">已退出 </view>
</view>
<view class="slogan">团队口号:{{item.teamWatchword}}</view>
<view class="area">所属区域:{{item.teamCityDictionaryName}} {{item.teamCountyDictionaryName}} {{item.teamAreaDictionaryName}}</view>
</view>
</view>

View File

@ -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;

View File

@ -4,8 +4,8 @@
<view class="row-text avatar" bindtap="uploadPhoto" wx:if="{{photo}}">
<image src="{{photo}}" class="row-img"></image>
</view>
<view class="row-text" wx:else bindtap="uploadPhoto">
点击上传
<view class="row-text no-avatar" wx:else bindtap="uploadPhoto">
<image src="../../images/upload-team-avatar.png" class="upload"></image>
</view>
</view>
<view class="row">
@ -27,7 +27,7 @@
</view>
</view>
<view class="row">
<view class="row-title">市:</view>
<view class="row-title">市:</view>
<view class="row-text">
<picker bindchange="cityChange" value="{{teamCityIndex}}" range="{{teamCityArray}}">
<view class="picker">
@ -67,7 +67,7 @@
<view class="agree">
<checkbox-group bindchange="changeAgree">
<label>
<checkbox value="{{isAgree}}" checked="{{isAgree}}" color="#9F1512" class="agree-checkbox"/>我已阅读并同意<text class="agreement" style="color: red;" data-type="team" bindtap="userAgree">《团队注册服务协议》</text>
<checkbox value="{{isAgree}}" checked="{{isAgree}}" color="#9F1512" class="agree-checkbox"/>我已阅读并同意<text class="agreement" style="color: #0956E0;" data-type="team" bindtap="userAgree">《团队注册服务协议》</text>
</label>
</checkbox-group>
</view>

View File

@ -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;
}

View File

@ -88,10 +88,10 @@
<view class="row-title">宣传图片:</view>
<view class="row-text" bindtap="uploadPhoto" wx:if="{{photo}}">
<image wx:if="{{photo}}" src="{{photo}}" class="row-img"></image>
</view>
<view class="row-text" bindtap="uploadPhoto" wx:else>
点击上传
<image src="" class="row-img"></image>
<image src="../../images/upload-xc.png" class="upload"></image>
</view>
</view>
</view>

View File

@ -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;
}

View File

@ -1,27 +1,19 @@
<view class="top-tab">
<view class="type">
<view class="tab-box {{!currentNewsDictionariesId ? 'active' : ''}}" bindtap="doClearCurrentNewsDictionariesId">
<image src="../../images/selected-l.png" class="selected-l"></image>
全部
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
<view class="tab-box {{ item.newsDirectoriesId == currentNewsDictionariesId ? 'active' : ''}}" wx:for="{{news.newsDictionaries}}" wx:for-index="index" wx:for-item="item" wx:key="newsDictionaries" bindtap="doClickDictionaries" data-news-directories-id="{{item.newsDirectoriesId}}">
<image src="../../images/selected-l.png" class="selected-l"></image>
{{item.directoriesName}}
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
</view>
</view>
<view class="area">
<view class="area-box {{'' == areaId?'active': ''}}" bindtap="loadAll">
<image src="../../images/selected-l.png" class="selected-l"></image>
全部
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
<view class="area-box {{item.areaId == areaId?'active': ''}}" wx:for="{{areaList}}" wx:key="index" data-area="{{item.areaId}}" data-level="{{item.areaLevel}}" bindtap="changeArea">
<image src="../../images/selected-l.png" class="selected-l"></image>
{{item.areaName}}
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
</view>
<view class="news">

View File

@ -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;

View File

@ -1,23 +1,19 @@
<view class="top-tab">
<view class="type">
<view class="tab-box {{!currentNewsDictionariesId ? 'active' : ''}}" bindtap="doClearCurrentNewsDictionariesId">
<image src="../../images/selected-l.png" class="selected-l"></image>
全部
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
<view class="tab-box {{item.newsDirectoriesId == currentNewsDictionariesId ? 'active' : ''}}" wx:for="{{typeList}}" wx:key="index" bindtap="changeType" data-news-directories-id="{{item.newsDirectoriesId}}">
<image src="../../images/selected-l.png" class="selected-l"></image>
{{item.directoriesName}}
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
</view>
</view>
<view class="news">
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" data-content-link="{{item.newsContentLink}}" wx:for="{{trainList}}" wx:key="index">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-small-pic">
<image src="{{newsUrl}}/route/file/downloadfile/true/{{item.newsContentCoverList}}"></image>
</view>
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info">
<text>{{item.newsContentPublishTime}}</text>
</view>

View File

@ -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%;
}

View File

@ -3,28 +3,24 @@
</view>
<view class="activity-detail">
<view class="activity-title">{{dataMap.serviceName}}</view>
<view class="activity-date">{{dataMap.startTime}}至{{dataMap.endTime}}</view>
<view class="activity-info">
<view class="activity-text">
<image src="../../images/people.png"></image>
<image src="../../images/people-b.png" class="people"></image>
<text>活动人数:</text>
{{dataMap.count }}
</view>
<view class="activity-text">
<image src="../../images/time.png"></image>
<text>活动时间:</text>
{{dataMap.startTime}}至{{dataMap.endTime}}
</view>
<view class="activity-text">
<image src="../../images/people.png"></image>
<image src="../../images/position-b.png" class="position"></image>
<text>活动地址:</text>
{{dataMap.address }}
</view>
<view class="comment-btn" bindtap="toActivityHis" data-status="{{dataMap.status}}">评论列表</view>
</view>
<view class="activity-container">
<view class="part">
<view class="part-title">
活动详情
<view class="comment-btn" bindtap="toActivityHis" data-status="{{dataMap.status}}">评论列表</view>
</view>
<rich-text class="part-content" nodes="{{dataMap.introduce}}"></rich-text>
</view>

View File

@ -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;

View File

@ -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)
},
/**

View File

@ -1,23 +1,19 @@
<view class="top-tab">
<view class="type">
<view class="tab-box {{!currentNewsDictionariesId ? 'active' : ''}}" bindtap="doClearCurrentNewsDictionariesId">
<image src="../../images/selected-l.png" class="selected-l"></image>
全部
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
<view class="tab-box {{item.newsDirectoriesId == currentNewsDictionariesId ? 'active' : ''}}" wx:for="{{typeList}}" wx:key="index" bindtap="changeType" data-news-directories-id="{{item.newsDirectoriesId}}">
<image src="../../images/selected-l.png" class="selected-l"></image>
{{item.directoriesName}}
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
</view>
</view>
<view class="news">
<view class="news-box" bindtap="goNewsDetail" data-type="{{item.newsContentType}}" data-content="{{item.newsContentContent}}" data-template-record-url="{{item.templateRecordUrl}}" data-content-link="{{item.newsContentLink}}" wx:for="{{trainList}}" wx:key="index">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-small-pic">
<image src="{{newsUrl}}/route/file/downloadfile/true/{{item.newsContentCoverList}}"></image>
</view>
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-info">
<text>{{item.newsContentPublishTime}}</text>
</view>

View File

@ -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%;
}

View File

@ -1,8 +1,18 @@
<view class="news">
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" data-content-link="{{item.newsContentLink}}" wx:for="{{travelList}}" wx:key="index">
<view class="news-title">{{item.newsContentTitle}}</view>
<view class="news-small-pic">
<image src="{{newsUrl}}/route/file/downloadfile/true/{{item.newsContentCoverList}}"></image>
<view class="left">
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" data-content-link="{{item.newsContentLink}}" wx:for="{{travelList}}" wx:key="index" wx:if="{{index%2==0}}">
<view class="news-small-pic">
<image src="{{newsUrl}}/route/file/downloadfile/true/{{item.newsContentCoverList}}" mode="widthFix"></image>
</view>
<view class="news-title">{{item.newsContentTitle}}</view>
</view>
</view>
<view class="right">
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" data-content-link="{{item.newsContentLink}}" wx:for="{{travelList}}" wx:key="index" wx:if="{{index%2==1}}">
<view class="news-small-pic">
<image src="{{newsUrl}}/route/file/downloadfile/true/{{item.newsContentCoverList}}" mode="widthFix"></image>
</view>
<view class="news-title">{{item.newsContentTitle}}</view>
</view>
</view>
</view>

View File

@ -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;

View File

@ -29,15 +29,27 @@
</view>
<view class="venue">
<view class="venue-box" wx:for="{{venuesList}}" wx:key="index" bindtap="goDetail" data-id="{{item.venuesInfoId}}">
<view class="venue-img">
<image src="{{venueUrl}}{{imgRoute}}{{item.venuePanorama}}"></image>
</view>
<view class="venue-info">
<view class="name-distance">
<view class="name">{{item.venueName}}</view>
<view class="venue-top">
<view class="venue-info">
<view class="name-distance">
<view class="name">{{item.venueName}}</view>
</view>
<view class="time">
<image src="../../images/work-time.png"></image>
营业时间:{{item.businessHours}}
</view>
<view class="position">
{{item.venuePosition}}
</view>
<view class="distance">距离:{{item.apart == '0' ? '未知' : item.apart}}</view>
</view>
<view class="time">营业时间:{{item.businessHours}}</view>
<view class="venue-img">
<image src="{{venueUrl}}{{imgRoute}}{{item.venuePanorama}}"></image>
</view>
</view>
<view class="venue-bottom">
<image src="../../images/phone-b.png"></image>
{{item.venueTelephone}}
</view>
</view>
</view>

View File

@ -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;
}

View File

@ -1,27 +1,34 @@
<view class="swiper-box">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" >
<swiper-item class="swiper-item" wx:for="{{swiperImg}}" wx:key="index">
<image src="{{venueUrl}}{{imgRoute}}{{item}}"></image>
</swiper-item>
</swiper>
<view class="venue-top">
<image src="../../images/venue-detail-top.png" class="venue-bg"></image>
<view class="venue-top-name">{{venuesDetail.venueName}}</view>
<view class="venue-top-info">营业时间:{{venuesDetail.businessHours}}</view>
<view class="venue-top-info">联系方式:{{venuesDetail.venueTelephone}}</view>
<view class="venue-top-tip">温馨提示:{{venuesDetail.bookingTips}}</view>
<view class="swiper-box">
<swiper autoplay="{{autoplay}}" >
<swiper-item class="swiper-item" wx:for="{{swiperImg}}" wx:key="index">
<image src="{{venueUrl}}{{imgRoute}}{{item}}"></image>
</swiper-item>
</swiper>
</view>
<view class="book-btn" wx:if="{{venueCharge == 'arrive' || hasProject == '0'}}">
<view class="btn" bindtap="showMap" data-latitude="{{venuesDetail.latitude}}" data-longitude="{{venuesDetail.longitude}}"
data-venuename="{{venuesDetail.venueName}}" data-venueposition="{{venuesDetail.venuePosition}}">直接到场</view>
</view>
<view class="book-btn" wx:if="{{venueCharge == 'booking' && hasProject == '1'}}">
<view class="btn" bindtap="goBooking">场次预订</view>
</view>
<view class="book-btn" wx:if="{{venueCharge == 'ticket' && hasProject == '1'}}">
<view class="btn" bindtap="goBooking">门票预订</view>
</view>
</view>
<view class="venue">
<view class="venue-name">{{venuesDetail.venueName}}</view>
<view class="venue-info" bindtap="showMap" data-latitude="{{venuesDetail.latitude}}" data-longitude="{{venuesDetail.longitude}}"
<view class="venue-position">
<view class="position-text" bindtap="showMap" data-latitude="{{venuesDetail.latitude}}" data-longitude="{{venuesDetail.longitude}}"
data-venuename="{{venuesDetail.venueName}}" data-venueposition="{{venuesDetail.venuePosition}}">
地址:{{venuesDetail.venuePosition}}
<text>场馆地址:</text>{{venuesDetail.venuePosition}}
</view>
<view class="venue-info">
联系方式:{{venuesDetail.venueTelephone}}
</view>
<view class="venue-info">
交通方式:{{venuesDetail.venueRoute}}
</view>
<view class="venue-info">
营业时间:{{venuesDetail.businessHours}}
</view>
<view class="venue-info">
温馨提示:{{venuesDetail.bookingTips}}
<view class="position-text">
<text>交通方式:</text>{{venuesDetail.venueRoute}}
</view>
</view>
<view class="venue-other">
@ -36,14 +43,4 @@
<view class="intro-title">场馆简介:</view>
<!-- <view class="intro-content"></view> -->
<rich-text nodes="{{venuesDetail.venueDescription}}"></rich-text>
</view>
<view class="book-btn" wx:if="{{venueCharge == 'arrive' || hasProject == '0'}}">
<view class="btn" bindtap="showMap" data-latitude="{{venuesDetail.latitude}}" data-longitude="{{venuesDetail.longitude}}"
data-venuename="{{venuesDetail.venueName}}" data-venueposition="{{venuesDetail.venuePosition}}">直接到场</view>
</view>
<view class="book-btn" wx:if="{{venueCharge == 'booking' && hasProject == '1'}}">
<view class="btn" bindtap="goBooking">场次预订</view>
</view>
<view class="book-btn" wx:if="{{venueCharge == 'ticket' && hasProject == '1'}}">
<view class="btn" bindtap="goBooking">门票预订</view>
</view>

View File

@ -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;
}

View File

@ -1,15 +1,5 @@
<view class="swiper-box">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" >
<swiper-item class="swiper-item">
<image src="../../images/center-bg.jpg" class="swiper-img"></image>
</swiper-item>
<swiper-item class="swiper-item">
<image src="../../images/center-bg.jpg" class="swiper-img"></image>
</swiper-item>
<swiper-item class="swiper-item">
<image src="../../images/center-bg.jpg" class="swiper-img"></image>
</swiper-item>
</swiper>
<image src="../../images/volunteer-top.png"></image>
</view>
<view class="link">
<view class="link-box" bindtap="goRegister">
@ -18,36 +8,32 @@
<view class="small">实名注册</view>
</view>
<view class="img">
<image src="../../images/person.png"></image>
<image src="../../images/volunteer-register.png"></image>
</view>
</view>
<view class="link-box" bindtap="goTeam">
<view class="link-box team-box" bindtap="goTeam">
<view class="link-title">
<view class="big">志愿者服务组织</view>
<view class="small">志愿者团队</view>
</view>
<view class="img">
<image src="../../images/team.png"></image>
<image src="../../images/volunteer-team.png"></image>
</view>
</view>
</view>
<view class="volunteer-activity">
<view class="public-title">
<view class="title-text">
<image src="../../images/selected-l.png" class="selected-l"></image>
志愿活动
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
</view>
<view class="activity">
<view class="activity-box" bindtap="goDetail" data-id="{{item.volunteerServiceId}}" wx:for="{{serviceMap}}">
<view class="activity-box" bindtap="goDetail" data-id="{{item.volunteerServiceId}}" wx:for="{{serviceMap}}" wx:key="index">
<view class="activity-img">
<image src="{{item.photo}}"></image>
<view class="corner" wx:if="{{item.status == 'enroll'}}">报名中</view>
<view class="corner" wx:if="{{item.status == 'isEnroll'}}">已报名</view>
<view class="corner" wx:if="{{item.status == 'stop'}}">停止报名</view>
<view class="corner" wx:if="{{item.status == 'ing'}}">进行中</view>
<view class="corner" wx:if="{{item.status == 'over'}}">已结束</view>
<view class="corner blue" wx:if="{{item.status == 'enroll'}}">报名中</view>
<view class="corner yellow" wx:if="{{item.status == 'isEnroll'}}">已报名</view>
<view class="corner yellow" wx:if="{{item.status == 'stop'}}">停止报名</view>
<view class="corner blue" wx:if="{{item.status == 'ing'}}">进行中</view>
<view class="corner yellow" wx:if="{{item.status == 'over'}}">已结束</view>
</view>
<view class="activity-info">
<view class="title">

View File

@ -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;
}

View File

@ -14,7 +14,7 @@
</view>
</view>
<view class="row">
<view class="info-name">市:</view>
<view class="info-name">市:</view>
<view class="info-text">
<view class="section">
<picker bindchange="cityChange" value="{{teamCityIndex}}" range="{{teamCityArray}}">

View File

@ -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;
}

View File

@ -1,13 +1,9 @@
<view class="top-tab">
<view class="tab-box {{type==1?'active':''}}" data-type="1" bindtap="changeTab">
<image src="../../images/selected-l.png" class="selected-l"></image>
未参加
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
<view class="tab-box {{type==2?'active':''}}" data-type="2" bindtap="changeTab">
<image src="../../images/selected-l.png" class="selected-l"></image>
已参加
<image src="../../images/selected-r.png" class="selected-r"></image>
</view>
</view>
<view class="team">

View File

@ -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;
}