262 lines
4.0 KiB
Plaintext
262 lines
4.0 KiB
Plaintext
/* pages/user/index.wxss */
|
|
|
|
@import 'vars.wxss';
|
|
page {
|
|
--tableDataPaddding: 20rpx;
|
|
--subjectWidth: 160rpx;
|
|
--scoreWidth: 100rpx;
|
|
--nameSize: 34rpx;
|
|
--dataTextSize: 24rpx;
|
|
--headerBg:#2ec7a5;
|
|
--headerColor: #fff;
|
|
}
|
|
.user-info .cu-item {
|
|
background: #2ec7a5 !important;
|
|
color: #fff;
|
|
}
|
|
|
|
text.nickname {
|
|
font-size: var(--nameSize);
|
|
/* font-weight: bold; */
|
|
}
|
|
|
|
.user-info .cu-item .action {
|
|
width: 150rpx !important;
|
|
margin-right: 15rpx;
|
|
}
|
|
|
|
checkbox-group,radio-group {
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.cu-dialog .item {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.cu-dialog.item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.cu-dialog .item>label {
|
|
display: flex;
|
|
text-align: left;
|
|
}
|
|
|
|
.cu-dialog .item>label>checkbox,
|
|
.cu-dialog .item>label>radio {
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.medical-info-select,.cu-dialog .list-item-se {
|
|
padding: 20rpx;
|
|
text-align: left;
|
|
background: #fff;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.medical-info-select .item,.cu-dialog .item{
|
|
border-bottom: none;
|
|
}
|
|
.cu-dialog .list-item-se radio-group{
|
|
display: block;
|
|
}
|
|
/* dialog */
|
|
|
|
.toast-box {
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 1;
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
}
|
|
|
|
.toastbg {
|
|
opacity: 0.6;
|
|
background-color: black;
|
|
position: absolute;
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.showToast {
|
|
position: absolute;
|
|
opacity: 1;
|
|
width: 70%;
|
|
margin-left: 15%;
|
|
margin-top: 40%;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.toast-title {
|
|
background-color: white;
|
|
padding-top: 2vh;
|
|
text-align: center;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.toast-main {
|
|
padding-top: 2vh;
|
|
padding-bottom: 2vh;
|
|
background-color: white;
|
|
}
|
|
|
|
.toast-input {
|
|
margin: 0 5%;
|
|
padding: 1vh 2vh;
|
|
}
|
|
|
|
.toast-input input {
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
}
|
|
|
|
.toast-button {
|
|
display: flex;
|
|
}
|
|
|
|
.toast-button button {
|
|
margin: 0;
|
|
border: none;
|
|
border-top: solid 1px rgba(220, 223, 230, 1);
|
|
width: 100%;
|
|
background-color: white;
|
|
border-radius: 0px;
|
|
color: black;
|
|
}
|
|
|
|
.button1, .button2 {
|
|
width: 50%;
|
|
}
|
|
|
|
.button1 button {
|
|
border-right: solid 1px rgba(220, 223, 230, 1);
|
|
}
|
|
|
|
.button2 button {
|
|
color: red;
|
|
}
|
|
|
|
.toast-button button:hover {
|
|
background-color: rgba(220, 223, 230, 0.4) !important;
|
|
color:#000000;
|
|
}
|
|
|
|
.picker {
|
|
padding-top: 1vh;
|
|
padding-bottom: 1vh;
|
|
}
|
|
|
|
.collapse {
|
|
line-height: 30px;
|
|
}
|
|
|
|
.collapse .title {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.collapse .row view {
|
|
padding: var(--tableDataPaddding);
|
|
}
|
|
|
|
.collapse .item .title .col {
|
|
/* padding: 0 var(--tableDataPaddding); */
|
|
margin: 0;
|
|
}
|
|
|
|
.collapse .item .title .col .icon {
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.table-list {
|
|
border-top: solid 1px #eaeaea;
|
|
}
|
|
|
|
.table-list .row, .item {
|
|
border-bottom: solid 1px #eaeaea;
|
|
}
|
|
|
|
.content .result {
|
|
background-color: #eefdf9;
|
|
padding: var(--tableDataPaddding);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.item:last-child .content .result {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.content .row {
|
|
font-size: var(--dataTextSize);
|
|
}
|
|
|
|
.row .subject {
|
|
width: var(--subjectWidth);
|
|
}
|
|
|
|
.row .score {
|
|
width: var(--scoreWidth);
|
|
text-align: center;
|
|
}
|
|
|
|
/* */
|
|
|
|
.evaluation .text-right>text {
|
|
background-color: #259b24;
|
|
border-radius: 8rpx;
|
|
color: #fff;
|
|
display: inline-block;
|
|
padding: 2px 6px;
|
|
line-height: 40rpx;
|
|
}
|
|
|
|
.text-right .level-0 {
|
|
color: #000;
|
|
background: none;
|
|
}
|
|
|
|
.text-right .level-1 {
|
|
background-color: #259b24;
|
|
}
|
|
|
|
.text-right .level-2 {
|
|
background-color: #ff9800;
|
|
}
|
|
|
|
.text-right .level-3 {
|
|
background-color: #e51c23;
|
|
}
|
|
|
|
.result .level-1 {
|
|
color: #259b24;
|
|
}
|
|
|
|
.result .level-2 {
|
|
color: #ff9800;
|
|
}
|
|
|
|
.result .level-3 {
|
|
color: #e51c23;
|
|
}
|
|
|
|
.cu-modal{
|
|
/* background: rgba(220, 223, 230, 0.4); */
|
|
}
|
|
.actionsheet-btns{
|
|
background: #fff;
|
|
padding:20rpx;
|
|
}
|
|
.actionsheet-btns .col{
|
|
margin:0;
|
|
}
|
|
.actionsheet-btns::after{
|
|
content: ' ';
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
.actionsheet-btns .left{
|
|
float:left;
|
|
}
|
|
.actionsheet-btns .right{
|
|
float:right;
|
|
} |