武田小程序
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.

291 lines
6.9 KiB

page {
background-color: rgba(246, 246, 246, 1);
}
.page {
padding-bottom: 240rpx;
.header {
background-color: #fff;
border-radius: 0 0 32rpx 32rpx;
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
.nav {
padding: 20rpx;
flex: 1;
text-align: center;
font-size: 32rpx;
color: rgba(133, 133, 133, 1);
line-height: 44rpx;
&.active {
position: relative;
color: rgba(0, 180, 197, 1);
&::after {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 48rpx;
height: 8rpx;
border-radius: 8rpx 8rpx 0 0;
content: '';
background-color: rgba(0, 180, 197, 1);
}
}
}
}
.search {
margin: 32rpx 32rpx 0;
padding: 16rpx 32rpx;
display: flex;
align-items: center;
border-radius: 122rpx;
background-color: rgba(246, 246, 246, 1);
.icon {
margin-right: 14rpx;
width: 32rpx;
height: 32rpx;
}
.input {
flex: 1;
font-size: 28rpx;
color: #000;
}
.place-input {
color: rgba(205, 205, 205, 1);
}
}
.form {
margin: 32rpx 32rpx 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 18rpx 28rpx;
.row {
display: flex;
align-items: center;
gap: 16rpx;
.label {
flex-shrink: 0;
font-size: 28rpx;
color: rgba(20, 21, 21, 1);
}
.picker {
flex: 1;
}
.picker-content {
flex: 1;
padding: 16rpx 20rpx;
font-size: 28rpx;
color: rgba(153, 153, 153, 1);
line-height: 32rpx;
background: #f6f6f6;
border-radius: 12rpx 12rpx 12rpx 12rpx;
display: flex;
align-items: center;
justify-content: space-between;
.content {
max-width: 6em;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
}
}
.station {
padding: 32rpx;
display: flex;
align-items: center;
justify-content: flex-end;
.fold {
font-size: 28rpx;
color: rgba(153, 153, 153, 1);
}
}
}
.filter {
padding: 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
.wrap {
display: flex;
align-items: center;
gap: 16rpx;
.btn {
padding: 8rpx 25rpx;
font-size: 28rpx;
color: rgba(20, 21, 21, 1);
line-height: 32rpx;
background: #ffffff;
border-radius: 40rpx 40rpx 40rpx 40rpx;
&.active {
color: #fff;
background-color: rgba(0, 180, 197, 1);
}
}
}
.all-read {
font-size: 28rpx;
color: rgba(0, 180, 197, 1);
}
}
.room-list {
padding: 0 32rpx;
.card {
margin-bottom: 24rpx;
background: linear-gradient(180deg, #f1feff 0%, #ffffff 35%, #ffffff 100%);
border-radius: 16rpx 16rpx 16rpx 16rpx;
border: 2rpx solid #ffffff;
.c-header {
padding: 32rpx 32rpx 32rpx 0;
display: flex;
justify-content: space-between;
align-items: center;
.id {
font-size: 28rpx;
color: rgba(20, 21, 21, 1);
line-height: 40rpx;
&::before {
margin-right: 22rpx;
display: inline-block;
content: '';
vertical-align: top;
width: 10rpx;
height: 40rpx;
background: #00b4c5;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
}
.date {
font-size: 28rpx;
color: rgba(153, 153, 153, 1);
}
}
.c-container {
margin: 0 32rpx;
padding: 24rpx;
background: #f6f6f6;
border-radius: 16rpx 16rpx 16rpx 16rpx;
display: flex;
gap: 28rpx;
align-items: flex-start;
.photos {
padding: 4rpx;
display: grid;
grid-template-columns: repeat(2, 36rpx);
grid-template-rows: repeat(2, 36rpx);
background-color: #fff;
border-radius: 8rpx;
gap: 4rpx;
.photo {
width: 100%;
height: 100%;
}
}
.inner {
.hostipal {
display: inline;
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
.site {
display: inline-block;
padding: 0 8rpx;
font-size: 24rpx;
color: rgba(148, 87, 30, 1);
background: #fae5ce;
border-radius: 4rpx 4rpx 4rpx 4rpx;
}
}
.content {
margin-top: 8rpx;
font-size: 28rpx;
color: rgba(133, 133, 133, 1);
line-height: 32rpx;
}
}
}
.c-footer {
padding: 32rpx;
display: flex;
justify-content: space-between;
.name {
font-size: 28rpx;
color: rgba(20, 21, 21, 1);
line-height: 32rpx;
}
.tags {
padding-left: 24rpx;
flex: 1;
display: flex;
flex-wrap: wrap;
gap: 12rpx;
.tag {
padding: 2rpx 8rpx;
font-size: 22rpx;
color: rgba(0, 180, 197, 1);
line-height: 32rpx;
border-radius: 4rpx 4rpx 4rpx 4rpx;
border: 1rpx solid #bfeff4;
}
}
}
}
}
}
.popup1 {
padding: 48rpx 32rpx;
width: 580rpx;
background: linear-gradient(180deg, #e5f5f7 0%, #ffffff 17%);
border-radius: 16rpx 16rpx 16rpx 16rpx;
border: 2rpx solid #ffffff;
.title {
font-size: 36rpx;
color: rgba(20, 21, 21, 1);
line-height: 48rpx;
font-weight: bold;
text-align: center;
}
.scroll {
margin-top: 24rpx;
max-height: 680rpx;
overflow-y: auto;
overflow-x: hidden;
.s-title {
margin-top: 24rpx;
font-size: 28rpx;
color: rgba(20, 21, 21, 1);
line-height: 56rpx;
font-weight: bold;
}
.s-content {
font-size: 28rpx;
color: rgba(133, 133, 133, 1);
line-height: 48rpx;
}
}
.tip {
margin-top: 24rpx;
padding: 16rpx;
border-radius: 10rpx;
text-align: center;
font-size: 24rpx;
color: rgba(255, 125, 0, 1);
line-height: 40rpx;
background-color: rgba(255, 247, 232, 1);
}
.btn {
margin-top: 24rpx;
height: 72rpx;
font-size: 32rpx;
color: rgba(255, 255, 255, 1);
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(90deg, #00b4c5 0%, #54e2b4 100%);
border-radius: 60rpx 60rpx 60rpx 60rpx;
}
}