// 公用less @font-size: 13.33333333vw !important; // @theme-color:#4F50FF; // 命名空间和访问符,映射 #colors(){ theme:#6678FF; //主题色,选中色 text:#7C828E; //患者信息及选项文字颜色 quest:#333333; //问题颜色 exclu:#e6e7e9; //互斥文字颜色 btn:#6678FF;//按钮颜色 line:#E6E6E6;//按钮颜色 bgques:#F9F9F9;//问题背景颜色 } .mask{ width:100%; height: 100%; position: fixed; top:0; left: 0; background:rgba(0,0,0,.5); } .footer{ width:100%; text-align: center; position: absolute; bottom: 0; left: 0; z-index: 998; padding: .22rem .3rem .18rem .3rem; box-sizing: border-box; box-shadow:0px -2px 10px 0px rgba(0,0,0,0.06); font-size: .32rem; background-color: #fff; .nextBtn { color:#fff; height: .88rem; line-height: .88rem; background: #colors[btn]; border-radius: 5px; } } .dbfooter{ width:100%; font-size: .32rem; position: absolute; bottom: 0; left: 0; background: #fff; z-index: 66; padding: .22rem .3rem .18rem .3rem; box-sizing: border-box; box-shadow:0px -2px 10px 0px rgba(0,0,0,0.06); display: flex; justify-content: space-between; overflow: hidden; .back,.next{ display: inline-block; height: .88rem; line-height: .88rem; text-align: center; vertical-align: top; border: 1px solid #colors[theme]; box-sizing: border-box; border-radius: 5px; } .back{ width: 48%; float: left; color: #colors[theme]; } .next{ width: 48%; color: #fff; float: right; background: #colors[theme]; } } .over{ font-size: .24rem !important; } .label{ padding-bottom: .2rem; .symp{ display: inline-block; min-width:2rem; height: .74rem; line-height: .74rem; border: 1px solid #DFE0E4; border-radius: .08rem; text-align: center; // color: #7C828E; color: #colors[text]; margin: 0 .25rem .3rem 0; padding: 0 .05rem; box-sizing: border-box; } /* .symp:nth-child(3n+2){ margin-left: 0; } */ .tip{ color: #AAAAAA; margin-top: .2rem; font-size: .24rem; } .over{ font-size: .24rem !important; } } .result{ // padding-right: .3rem; .title{ color: #333; // padding-left: .1rem; margin-bottom: .19rem; font-weight: 700; .line { width: .08rem; height: .32rem; background-color: #colors[btn]; display: inline-block; border-radius: .04rem; position: relative; top: .03rem; margin-right: .08rem; } } p { color: #666; line-height: .44rem; } .bgResult { background-color: #f5f5f5; padding: .24rem; border-radius: 5px; } } .btscroll { position: absolute; height: 100%; width: 100%; left: 0; top: 0; padding-left: .3rem; padding-right: .3rem; z-index: 99; box-sizing: border-box; background-color: #fff; .content { padding-bottom: 1.5rem; box-sizing: border-box; padding-top:1rem; } } .toastWrapper { background-color: #colors[quest]; } .bgques {//问题内容 padding: .24rem .3rem .2rem .3rem; // display: none; } .pubques {//问题题目 font-size: .32rem; // font-weight: 800; padding: .4rem 0.5rem .4rem .3rem; word-break: break-all; background-color: #fff; box-shadow:0px 2px 8px 0px rgba(0,0,0,0.07); } .displayBlock { display: block !important; } .displayNone { display: none !important; }