You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

293 lines
5.2 KiB

5 years ago
/* pages/activity/index.wxss */
page {
background: #fff;
}
.types {
5 years ago
/* justify-content: space-between; */
5 years ago
background: #fff;
5 years ago
display: flex;
5 years ago
color: #666;
5 years ago
width: 750rpx;
overflow-x: scroll;
5 years ago
border-bottom: 1rpx solid #d8d8d8;
5 years ago
font-size: 0;
padding-top: 30rpx;
height: 180rpx;
position: relative;
-webkit-overflow-scrolling: auto;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
.types::-webkit-scrollbar
{
width: 750rpx;
height: 6rpx;
background-color: hsl(0, 0%, 100%);
}
/*定义滑块 内阴影+圆角*/
.types::-webkit-scrollbar-thumb
{
border-radius: 6rpx;
background-color: #0B898E;
border-radius: 3rpx;
}
.types::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 3rpx rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1);
border-radius: 3rpx;
background-color:#ccc;
5 years ago
}
.type-item {
5 years ago
height: 150rpx;
5 years ago
width: 100rpx;
text-align: center;
line-height: 27rpx;
color: #333;
5 years ago
font-size: 28rpx;
margin-right: 70rpx;
}
.type-item:nth-child(1){
margin-left: 30rpx;
5 years ago
}
.type-item image {
display: block;
margin-bottom: 23rpx;
width: 100rpx;
height: 100rpx;
}
.date-box {
height: 140rpx;
background: rgba(255, 255, 255, 1);
display: flex;
justify-content: space-between;
align-items: center;
}
5 years ago
.yulan {
flex-shrink: 0;
width: 60rpx;
text-align: right;
background: #fff;
border-radius: 0px 30rpx 30rpx 0px;
3 years ago
color: #333333;
5 years ago
white-space: nowrap;
font-size: 26rpx;
3 years ago
display: flex;
flex-direction: column;
5 years ago
}
.yulan.active {
3 years ago
color: #0B898E;
5 years ago
}
5 years ago
.date-item {
font-size: 26rpx;
color: #999;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
3 years ago
width: 79rpx;
height:100%;
5 years ago
}
.date-item.active {
font-weight:500;
color: #0B898E;
3 years ago
background: rgba(11, 137, 142, .1);
5 years ago
}
.calendar-img {
5 years ago
width: 70rpx;
padding-left: 10rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: flex-start;
background: #fff;
border-radius: 30rpx 0px 0px 30rpx;
}
.calendar-img image {
3 years ago
width: 50rpx;
height: 50rpx;
5 years ago
display: block;
}
5 years ago
.calendar-img.active {
3 years ago
5 years ago
}
5 years ago
.top-fixed-activity {
background: #f7f7f7;
z-index: 1;
}
.top-fixed-box {
background: #FFF;
}
.activity-list {
5 years ago
padding: 0 24rpx;
5 years ago
background: #0B898E;
}
.acitivity-search-box {
display: flex;
5 years ago
margin:20rpx 30rpx;
margin-bottom: 0;
5 years ago
justify-content: space-between;
align-items: center;
}
.acitivity-search-box .picker {
5 years ago
margin-right: 30rpx;
height: 60rpx;
5 years ago
display: flex;
align-items: center;
5 years ago
color: #0B898E;
5 years ago
}
.acitivity-search-box .picker image {
display: block;
width: 16rpx;
flex-shrink: 0;
5 years ago
margin-left: 10rpx;
5 years ago
}
.activity-search-bg {
width: 422rpx;
height: 56rpx;
border-radius: 28rpx;
background: #f6f6f6;
display: flex;
align-items: center;
}
.activity-search-bg .iconfont {
color: #B6B6B6;
font-size: 28rpx;
flex-shrink: 0;
margin: 0 20rpx;
}
.activity-search-bg input {
flex: 1;
font-size: 27rpx;
}
.activity-item {
display: flex;
align-items: center;
justify-content: space-between;
5 years ago
padding: 27rpx 22rpx;
5 years ago
position: relative;
}
.end-mask {
position: absolute;
right: 22rpx;
top: 27rpx;
text-align: center;
width: 320rpx;
height: 220rpx;
line-height: 220rpx;
z-index: 1;
background:rgba(0, 0, 0, 0.5);
color:#fff;
border-radius: 10rpx;
5 years ago
}
.activity-item-out {
5 years ago
box-shadow: -1rpx 1rpx 16rpx 0px rgba(6, 0, 1, 0.1);
border-radius: 10rpx;
5 years ago
margin: 27rpx 16rpx;
background: white;
5 years ago
}
.activity-item image {
width: 320rpx;
height: 220rpx;
border-radius: 10rpx;
flex-shrink: 0;
overflow: hidden;
}
5 years ago
.activity-item-out .new-tip {
padding: 0 20rpx;
line-height: 49rpx;
color: #999;
font-size: 23rpx;
border-top: 1rpx solid #D8D8D8;
}
5 years ago
.activity-info {
display: flex;
flex-direction: column;
justify-content: space-between;
font-size: 23rpx;
color: #999;
flex: 1;
height: 220rpx;
margin-right: 28rpx;
}
.activity-title {
font-weight: 500;
font-size: 31rpx;
line-height: 45rpx;
color: #333;
}
.movie-types {
display: flex;
justify-content: space-between;
padding: 30rpx;
background: #0B898E;
}
.movie-type {
width: 180rpx;
height: 60rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10rpx;
color: #fff;
border: 2rpx solid;
box-sizing: border-box;
text-align: center;
font-size: 30rpx;
}
.movie-type.active {
background: #fff;
color: #0B898E;
}
.sort-box {
display: flex;
justify-content: flex-end;
padding: 30rpx;
padding-top: 0;
background: #0B898E;
color: #D8D8D8;
font-size: 26rpx;
}
.sort-box view:nth-child(1){
margin-right: 50rpx;
}
.sort-box view.active {
color: #fff;
}
.my-search-box {
5 years ago
flex: 1;
5 years ago
display: flex;
5 years ago
margin: 0;
5 years ago
align-items: center;
border-radius: 30rpx;
height: 60rpx;
background: #ededed;
margin-bottom: 0;
font-size: 26rpx;
}
.my-search-box .iconfont {
width: 65rpx;
text-align: center;
font-size: 32rpx;
flex-shrink: 0;
}
.my-search-box input {
flex: 1;
}
.my-search-box .search-btn {
text-align: center;
width: 110rpx;
flex-shrink: 0;
line-height: 40rpx;
border-left: 1rpx solid #ccc;
color: #0B898E;
5 years ago
}
.new-top-search-box {
display: flex;
justify-content: space-between;
5 years ago
}