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.
543 lines
14 KiB
543 lines
14 KiB
$page-margin: 40rpx; |
|
page { |
|
background-color: rgba(246, 248, 249, 1); |
|
} |
|
|
|
.page-title { |
|
width: 226rpx; |
|
height: 33rpx; |
|
} |
|
.page { |
|
position: relative; |
|
min-height: 100vh; |
|
.page-container { |
|
width: 100%; |
|
box-sizing: border-box; |
|
padding-bottom: 180rpx; |
|
.doctor { |
|
margin: $page-margin $page-margin 0; |
|
padding: 16rpx 10rpx 10rpx; |
|
border-radius: 24rpx; |
|
background: linear-gradient(195deg, #ffe3fc 0%, #ecddff 100%); |
|
.title { |
|
padding-left: 16rpx; |
|
font-size: 32rpx; |
|
color: rgba(185, 130, 255, 1); |
|
font-weight: bold; |
|
} |
|
.container { |
|
margin-top: 16rpx; |
|
padding: 27rpx 0 27rpx 27rpx; |
|
display: flex; |
|
justify-content: space-between; |
|
background: linear-gradient(351deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 100%); |
|
border-radius: 21rpx; |
|
.avatar { |
|
width: 104rpx; |
|
height: 104rpx; |
|
.a-img { |
|
width: 100%; |
|
height: 100%; |
|
border-radius: 50%; |
|
border: 3rpx solid #fff; |
|
box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(52, 44, 46, 0.17); |
|
} |
|
} |
|
.wrap { |
|
padding: 6rpx 16rpx 0; |
|
flex: 1; |
|
.name-wrap { |
|
display: flex; |
|
.name { |
|
position: relative; |
|
font-size: 36rpx; |
|
color: rgba(51, 51, 51, 1); |
|
font-weight: bold; |
|
display: flex; |
|
align-items: center; |
|
line-height: 40rpx; |
|
.n-content { |
|
max-width: 8em; |
|
overflow: hidden; |
|
white-space: nowrap; |
|
text-overflow: ellipsis; |
|
} |
|
.bubble { |
|
margin-left: 8rpx; |
|
padding: 0 14rpx; |
|
height: 30rpx; |
|
line-height: 30rpx; |
|
box-sizing: border-box; |
|
text-align: center; |
|
font-size: 22rpx; |
|
color: rgba(255, 255, 255, 1); |
|
background: #ee951b; |
|
border-radius: 32rpx; |
|
position: relative; |
|
&::after { |
|
position: absolute; |
|
left: 14rpx; |
|
bottom: -8rpx; |
|
content: ''; |
|
width: 0; |
|
height: 0; |
|
border-style: solid; |
|
border-width: 13rpx 13rpx 0 0; |
|
border-color: #ee951b transparent transparent transparent; |
|
} |
|
} |
|
} |
|
.icon { |
|
margin-left: 4rpx; |
|
display: inline-block; |
|
width: 36rpx; |
|
height: 36rpx; |
|
} |
|
} |
|
.content { |
|
margin-top: 16rpx; |
|
font-size: 26rpx; |
|
line-height: 38rpx; |
|
color: rgba(51, 51, 51, 1); |
|
} |
|
.hostipal { |
|
margin-top: 16rpx; |
|
font-size: 28rpx; |
|
color: #999999; |
|
line-height: 36rpx; |
|
overflow: hidden; |
|
.h-content { |
|
margin-right: 16rpx; |
|
display: inline; |
|
} |
|
.tag { |
|
display: inline-block; |
|
padding: 4rpx 12rpx; |
|
font-size: 22rpx; |
|
line-height: 1; |
|
color: #ffffff; |
|
background: linear-gradient(90deg, #ffd650 0%, #f8a61a 100%); |
|
line-height: 24rpx; |
|
border-radius: 8rpx 8rpx 8rpx 8rpx; |
|
} |
|
} |
|
} |
|
.btn { |
|
align-self: center; |
|
width: 128rpx; |
|
height: 44rpx; |
|
font-size: 28rpx; |
|
color: #fff; |
|
background: linear-gradient(197deg, #ffbcf9 0%, #b982ff 100%); |
|
border-radius: 420rpx 0 0 420rpx; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
} |
|
} |
|
&.doctor-drugs { |
|
.container { |
|
.btn { |
|
color: #ffffff; |
|
background: rgba(37, 217, 200, 1); |
|
} |
|
} |
|
} |
|
} |
|
.banner { |
|
margin: $page-margin; |
|
.swiper { |
|
width: 100%; |
|
height: 224rpx; |
|
.swiper-item { |
|
display: block; |
|
width: 100%; |
|
height: 224rpx; |
|
box-sizing: border-box; |
|
border-radius: 20rpx; |
|
.swiper-item-img { |
|
width: 100%; |
|
height: 100%; |
|
} |
|
} |
|
|
|
.wx-swiper-dot-active { |
|
width: 30rpx !important; |
|
} |
|
|
|
.wx-swiper-dot { |
|
width: 9rpx; |
|
height: 6rpx; |
|
border-radius: 2rpx; |
|
} |
|
} |
|
} |
|
.live-up-new { |
|
margin: 0 40rpx; |
|
.header { |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
.title { |
|
font-size: 32rpx; |
|
color: rgba(33, 29, 46, 1); |
|
font-weight: bold; |
|
} |
|
.more { |
|
font-size: 24rpx; |
|
color: #cccccc; |
|
} |
|
} |
|
.l-banner { |
|
margin-top: 24rpx; |
|
width: 100%; |
|
height: 336rpx; |
|
border-radius: 24rpx; |
|
.live-img { |
|
width: 100%; |
|
height: 100%; |
|
object-fit: cover; |
|
border-radius: 24rpx 24rpx 0 0; |
|
} |
|
} |
|
.list { |
|
margin: 0 -40rpx; |
|
padding: 16rpx 40rpx 0; |
|
background-color: #fff; |
|
.item { |
|
margin-bottom: 24rpx; |
|
padding: 32rpx 0; |
|
background: #ffffff; |
|
display: flex; |
|
border-bottom: 1px dotted rgba(39, 58, 101, 0.2); |
|
&:last-of-type { |
|
border: none; |
|
} |
|
.photo-wrap { |
|
flex-shrink: 0; |
|
width: 160rpx; |
|
height: 160rpx; |
|
position: relative; |
|
.photo { |
|
width: 100%; |
|
height: 100%; |
|
border-radius: 24rpx; |
|
} |
|
.status { |
|
position: absolute; |
|
bottom: 0; |
|
left: 0; |
|
width: 100%; |
|
height: 40rpx; |
|
font-size: 24rpx; |
|
color: #fff; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
gap: 10rpx; |
|
background-color: rgba(0, 0, 0, 0.46); |
|
border-radius: 0 0 24rpx 24rpx; |
|
.icon { |
|
width: 20rpx; |
|
height: 20rpx; |
|
} |
|
&.active { |
|
background-color: rgba(207, 83, 117, 1); |
|
} |
|
} |
|
} |
|
.content { |
|
flex: 1; |
|
padding-left: 24rpx; |
|
display: flex; |
|
flex-direction: column; |
|
justify-content: space-between; |
|
.name { |
|
font-size: 32rpx; |
|
color: rgba(33, 29, 46, 1); |
|
font-weight: bold; |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
display: -webkit-box; |
|
-webkit-line-clamp: 2; |
|
-webkit-box-orient: vertical; |
|
} |
|
.labels { |
|
margin-top: 16rpx; |
|
max-width: 56vw; |
|
font-size: 28rpx; |
|
color: rgba(173, 172, 178, 1); |
|
white-space: nowrap; |
|
text-overflow: ellipsis; |
|
overflow: hidden; |
|
.line { |
|
margin: 0 4rpx; |
|
vertical-align: baseline; |
|
display: inline-block; |
|
width: 1px; |
|
height: 24rpx; |
|
background-color: rgba(105, 104, 110, 0.2); |
|
} |
|
} |
|
.c-footer { |
|
margin-top: 24rpx; |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
gap: 20rpx; |
|
.date { |
|
font-size: 24rpx; |
|
color: rgba(105, 104, 110, 1); |
|
} |
|
.btn { |
|
width: 128rpx; |
|
height: 48rpx; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
gap: 8rpx; |
|
background: linear-gradient(to right, #f2e6fe 0%, #f5e8ff 100%); |
|
border-radius: 24rpx; |
|
font-size: 24rpx; |
|
color: rgba(185, 130, 255, 1); |
|
.icon { |
|
width: 24rpx; |
|
height: 24rpx; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
.book { |
|
margin: $page-margin; |
|
.header { |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
.title { |
|
font-size: 32rpx; |
|
color: rgba(33, 29, 46, 1); |
|
font-weight: bold; |
|
} |
|
.more { |
|
font-size: 24rpx; |
|
color: #cccccc; |
|
} |
|
} |
|
.swiper { |
|
margin: 0 -40rpx; |
|
height: 700rpx; |
|
.swiper-item { |
|
padding: 32rpx 40rpx; |
|
box-sizing: border-box; |
|
.book-list { |
|
padding: 0 32rpx; |
|
border-radius: 32rpx; |
|
background-color: #fff; |
|
box-shadow: 0 0 32rpx 1rpx rgba(0, 0, 0, 0.08); |
|
|
|
.card { |
|
padding: 32rpx 0; |
|
display: flex; |
|
> view:not(:last-of-type), |
|
> image { |
|
margin-right: 24rpx; |
|
} |
|
|
|
.cover { |
|
flex-shrink: 0; |
|
width: 210rpx; |
|
height: 140rpx; |
|
position: relative; |
|
|
|
.photo { |
|
width: 100%; |
|
height: 100%; |
|
border-radius: 8rpx; |
|
} |
|
|
|
.label { |
|
position: absolute; |
|
top: 12rpx; |
|
left: 0; |
|
font-size: 16rpx; |
|
color: #fff; |
|
padding: 4rpx 10rpx; |
|
background-color: #293b61; |
|
} |
|
} |
|
|
|
.content { |
|
font-size: 32rpx; |
|
color: rgba(33, 29, 46, 1); |
|
font-weight: bold; |
|
.title { |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
display: -webkit-box; |
|
-webkit-line-clamp: 3; |
|
-webkit-box-orient: vertical; |
|
} |
|
} |
|
} |
|
|
|
.card:not(:last-of-type) { |
|
border-bottom: 1rpx dotted rgba(39, 58, 101, 0.2); |
|
} |
|
} |
|
} |
|
|
|
.wx-swiper-dot-active { |
|
width: 30rpx !important; |
|
} |
|
|
|
.wx-swiper-dot { |
|
width: 9rpx; |
|
height: 6rpx; |
|
border-radius: 2rpx; |
|
} |
|
} |
|
} |
|
} |
|
.reg { |
|
position: fixed; |
|
left: 64rpx; |
|
bottom: calc(env(safe-area-inset-bottom) + 120rpx); |
|
width: 622rpx; |
|
background-color: rgba(39, 58, 101, 0.8); |
|
box-shadow: 0 8rpx 24rpx rgba(92, 144, 220, 0.25); |
|
height: 84rpx; |
|
line-height: 84rpx; |
|
border-radius: 24rpx; |
|
font-size: 30rpx; |
|
color: #ffffff; |
|
text-align: center; |
|
.blod { |
|
font-weight: bold; |
|
} |
|
.reg-close { |
|
position: absolute; |
|
right: -10rpx; |
|
top: -10rpx; |
|
width: 40rpx; |
|
height: 40rpx; |
|
} |
|
} |
|
.reg-audit { |
|
position: fixed; |
|
left: 34rpx; |
|
bottom: calc(env(safe-area-inset-bottom) + 120rpx); |
|
width: 682rpx; |
|
background-color: rgba(39, 58, 101, 0.8); |
|
box-shadow: 0 8rpx 24rpx rgba(92, 144, 220, 0.25); |
|
height: 84rpx; |
|
line-height: 84rpx; |
|
border-radius: 24rpx; |
|
font-size: 30rpx; |
|
color: #ffffff; |
|
text-align: center; |
|
.blod { |
|
font-weight: bold; |
|
} |
|
} |
|
.public { |
|
position: fixed; |
|
left: 30rpx; |
|
bottom: calc(env(safe-area-inset-bottom) + 120rpx); |
|
width: 690rpx; |
|
height: 152rpx; |
|
box-shadow: 0rpx 2rpx 16rpx 0rpx #390f1b2d; |
|
border-radius: 24rpx; |
|
background: linear-gradient(346deg, #ffffff 0%, #ffe2eb 100%); |
|
border: 2rpx solid #ffffff; |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
box-sizing: border-box; |
|
padding: 0 48rpx 0 32rpx; |
|
.logo { |
|
flex-shrink: 0; |
|
width: 88rpx; |
|
height: 88rpx; |
|
} |
|
.wrap { |
|
padding: 0 24rpx; |
|
flex: 1; |
|
.title { |
|
font-size: 32rpx; |
|
color: rgba(40, 48, 49, 1); |
|
font-weight: bold; |
|
} |
|
.content { |
|
margin-top: 4rpx; |
|
font-size: 28rpx; |
|
color: rgba(154, 161, 162, 1); |
|
} |
|
} |
|
.btn { |
|
width: 158rpx; |
|
height: 64rpx; |
|
font-size: 32rpx; |
|
color: rgba(255, 255, 255, 1); |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
background: #cf5375; |
|
border-radius: 12rpx 12rpx 12rpx 12rpx; |
|
} |
|
.close { |
|
position: absolute; |
|
top: 0; |
|
right: 0; |
|
width: 48rpx; |
|
height: 48rpx; |
|
} |
|
} |
|
} |
|
|
|
.slidearea { |
|
width: 30rpx; |
|
position: fixed; |
|
right: 0; |
|
top: 0; |
|
height: calc(100vh - env(safe-area-inset-bottom) - 120rpx); |
|
// background-color: #000; |
|
z-index: 10; |
|
.mview { |
|
position: relative; |
|
width: 30rpx; |
|
height: 30rpx; |
|
.slidebar { |
|
position: absolute; |
|
top: 15rpx; |
|
left: 40rpx; |
|
transform: translate(-100%, -50%); |
|
padding: 20rpx; |
|
width: 346rpx; |
|
height: 234rpx; |
|
white-space: nowrap; |
|
} |
|
} |
|
} |
|
|
|
.question { |
|
position: fixed; |
|
z-index: 10; |
|
width: 154rpx; |
|
height: 136rpx; |
|
right: 28rpx; |
|
bottom: 242rpx; |
|
&-img { |
|
width: 100%; |
|
height: 100%; |
|
} |
|
} |
|
|
|
.official-account { |
|
position: fixed; |
|
bottom: 180rpx; |
|
left: 20rpx; |
|
width: calc(100% - 40rpx); |
|
}
|
|
|