武田基因病B开发环境
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.
 
 
 

449 lines
12 KiB

page {
background-color: rgba(247, 247, 250, 1);
}
.page {
padding: 40rpx 0 0;
height: 100vh;
box-sizing: border-box;
display: flex;
flex-direction: column;
.progress {
flex-shrink: 0;
padding: 0 80rpx 50rpx;
display: flex;
align-items: center;
justify-content: space-between;
gap: 6rpx;
.p-item {
position: relative;
flex-shrink: 0;
.circle {
background: #fff;
padding: 12rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
border: 6rpx solid rgba(231, 231, 236, 1);
border-radius: 50%;
.icon {
display: block;
width: 48rpx;
height: 48rpx;
}
}
.name {
position: absolute;
bottom: -50rpx;
left: 50%;
transform: translateX(-50%);
font-size: 32rpx;
color: rgba(161, 164, 172, 1);
white-space: nowrap;
}
&.active {
.circle {
background-color: rgba(246, 74, 58, 1);
border-color: #fff;
box-shadow: 0rpx 4rpx 24rpx 0rpx rgba(0, 0, 0, 0.13);
}
.name {
color: rgba(1, 1, 5, 1);
}
}
}
.line {
flex: 1;
border-top: 2px dashed rgba(231, 231, 236, 1);
&.active {
border-color: rgba(246, 74, 58, 1);
}
}
}
.tip-card {
flex-shrink: 0;
padding: 12rpx 24rpx;
margin: 0 30rpx;
margin-top: 32rpx;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
font-size: 28rpx;
color: rgba(250, 118, 45, 1);
line-height: 36rpx;
min-height: 82rpx;
box-sizing: border-box;
text-align: center;
background: #fff1e2;
border-radius: 24rpx 24rpx 24rpx 24rpx;
.blod {
font-weight: bold;
}
}
.swiper {
margin-top: 32rpx;
flex: 1;
.swiper-item {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
.scroll-view0 {
padding: 0 30rpx;
flex: 1;
height: 40vh;
box-sizing: border-box;
.card {
margin-bottom: 24rpx;
padding: 0 32rpx;
background: #ffffff;
border-radius: 24rpx 24rpx 24rpx 24rpx;
.row {
display: flex;
border-bottom: 1px solid rgba(247, 247, 250, 1);
line-height: 1.4;
&:last-of-type {
border: none;
}
.label {
width: 6em;
flex-shrink: 0;
padding: 32rpx 0;
font-size: 32rpx;
color: rgba(1, 1, 5, 1);
}
.container {
flex: 1;
.date {
.date-content {
padding: 32rpx 0;
font-size: 32rpx;
color: rgba(1, 1, 5, 1);
display: flex;
justify-content: space-between;
align-items: center;
&:empty:before {
display: inline;
content: attr(data-place);
color: rgba(161, 164, 172, 0.5);
}
&::after {
content: '';
width: 0;
height: 0;
border-style: solid;
border-width: 10rpx 10rpx 0 10rpx;
border-color: rgba(207, 209, 213, 1) transparent transparent transparent;
}
}
}
.input-wrap {
display: flex;
justify-content: space-between;
align-items: center;
.input {
flex: 1;
padding: 32rpx 0;
color: rgba(1, 1, 5, 1);
}
.place-input {
color: rgba(161, 164, 172, 0.5);
}
.unit {
flex-shrink: 0;
}
}
.select {
padding: 20rpx 0;
display: grid;
gap: 14rpx;
&.select3 {
grid-template-columns: repeat(3, 1fr);
}
&.select2 {
grid-template-columns: repeat(2, 1fr);
}
.s-item {
padding: 12rpx;
font-size: 32rpx;
color: rgba(137, 141, 151, 1);
line-height: 40rpx;
background-color: rgba(247, 247, 250, 1);
text-align: center;
border-radius: 12rpx;
&.active {
color: #fff;
background-color: rgba(246, 74, 58, 1);
}
}
}
.tip {
padding-bottom: 32rpx;
font-size: 24rpx;
color: rgba(161, 164, 172, 0.5);
}
}
}
}
}
.scroll-view1 {
padding: 0 30rpx;
flex: 1;
height: 40vh;
box-sizing: border-box;
.card {
margin-bottom: 24rpx;
padding: 0 32rpx;
background: #ffffff;
border-radius: 24rpx 24rpx 24rpx 24rpx;
.row {
display: flex;
align-items: center;
border-bottom: 1px solid rgba(247, 247, 250, 1);
flex-wrap: wrap;
line-height: 1.4;
&.column {
flex-direction: column;
.label {
width: 100%;
padding-bottom: 0;
}
.tip {
margin-top: 16rpx;
font-size: 28rpx;
color: rgba(161, 164, 172, 1);
line-height: 40rpx;
}
.container {
margin-bottom: 10rpx;
}
}
&:last-of-type {
border: none;
}
.label {
width: 9em;
flex-shrink: 0;
padding: 32rpx 0;
font-size: 32rpx;
color: rgba(1, 1, 5, 1);
}
.container {
flex: 1;
.select {
padding: 20rpx 0;
display: grid;
gap: 14rpx;
&.select4 {
grid-template-columns: repeat(4, 1fr);
}
&.select3 {
grid-template-columns: repeat(3, 1fr);
}
&.select2 {
grid-template-columns: repeat(2, 1fr);
}
.s-item {
padding: 12rpx;
font-size: 32rpx;
color: rgba(137, 141, 151, 1);
line-height: 40rpx;
background-color: rgba(247, 247, 250, 1);
text-align: center;
border-radius: 12rpx;
&.active {
color: #fff;
background-color: rgba(246, 74, 58, 1);
}
}
}
.tip {
padding-bottom: 32rpx;
font-size: 24rpx;
color: rgba(161, 164, 172, 0.5);
}
}
}
.row1 {
border-bottom: 1px solid rgba(247, 247, 250, 1);
flex-wrap: wrap;
&:last-of-type {
border: none;
}
.label {
width: 9em;
flex-shrink: 0;
padding: 32rpx 0;
font-size: 32rpx;
color: rgba(1, 1, 5, 1);
}
.container {
flex: 1;
.select {
padding: 0 0 32rpx;
display: grid;
gap: 14rpx;
&.select4 {
grid-template-columns: repeat(4, 1fr);
}
.s-item {
padding: 12rpx;
font-size: 32rpx;
color: rgba(137, 141, 151, 1);
line-height: 40rpx;
background-color: rgba(247, 247, 250, 1);
text-align: center;
border-radius: 12rpx;
&.active {
color: #fff;
background-color: rgba(246, 74, 58, 1);
}
}
}
.tip {
padding-bottom: 32rpx;
font-size: 24rpx;
color: rgba(161, 164, 172, 0.5);
}
}
}
.auto-input {
padding-bottom: 32rpx;
.input {
padding: 22rpx 32rpx;
background: #f7f7fa;
border-radius: 12rpx;
font-size: 32rpx;
color: rgba(1, 1, 5, 1);
}
.place-input {
color: rgba(161, 164, 172, 0.5);
}
}
}
}
.scroll-view2 {
padding: 0 30rpx;
flex: 1;
height: 40vh;
box-sizing: border-box;
.card {
margin-bottom: 24rpx;
padding: 0 32rpx 32rpx;
background: #ffffff;
border-radius: 24rpx 24rpx 24rpx 24rpx;
.title {
padding: 32rpx 0 0;
font-size: 36rpx;
color: rgba(1, 1, 5, 1);
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
.stat-font {
font-size: 24rpx;
color: rgba(137, 141, 151, 1);
font-weight: normal;
.num {
font-size: 28rpx;
color: rgba(246, 74, 58, 1);
}
}
}
.sub-title {
margin-top: 16rpx;
font-size: 24rpx;
color: rgba(161, 164, 172, 1);
}
.body {
position: relative;
margin: 30rpx auto 0;
padding-bottom: 24rpx;
width: 416rpx;
height: 504rpx;
.part {
position: absolute;
width: 32rpx;
height: 32rpx;
background: rgba(255, 186, 148, 0.3);
border-radius: 50%;
&.active {
&::after {
position: absolute;
content: '';
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 16rpx;
height: 16rpx;
border-radius: 50%;
background-color: rgba(246, 74, 58, 1);
}
}
}
}
.part-name {
font-size: 36rpx;
color: rgba(246, 74, 58, 1);
gap: 20rpx;
display: flex;
justify-content: center;
flex-wrap: wrap;
font-weight: bold;
}
.name {
margin-top: 10rpx;
font-size: 28rpx;
color: rgba(161, 164, 172, 1);
text-align: center;
}
.auto-area {
margin-top: 24rpx;
.textarea {
width: 100%;
padding: 22rpx 32rpx;
background: #f7f7fa;
border-radius: 12rpx;
font-size: 32rpx;
color: rgba(1, 1, 5, 1);
height: 150rpx;
box-sizing: border-box;
}
.place-textarea {
color: rgba(161, 164, 172, 0.5);
}
}
}
}
.footer {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 22rpx;
background-color: #fff;
padding: 30rpx 30rpx calc(42rpx + env(safe-area-inset-bottom));
box-shadow: 0rpx -4rpx 15rpx 0rpx rgba(0, 0, 0, 0.05);
.cancel {
flex: 1;
padding: 18rpx;
font-size: 32rpx;
color: rgba(246, 74, 58, 1);
line-height: 44rpx;
border-radius: 112rpx;
border: 2px solid #f64a3a;
text-align: center;
}
.submit {
flex: 1;
padding: 18rpx;
font-size: 32rpx;
color: rgba(255, 255, 255, 1);
line-height: 44rpx;
border-radius: 112rpx;
border: 2px solid #f64a3a;
background-color: #f64a3a;
text-align: center;
}
}
}
}
}