| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 | /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * *//** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 *//* 颜色变量 *//* 行为相关颜色 *//* 文字基本颜色 *//* 背景颜色 *//* 边框颜色 *//* 尺寸变量 *//* 文字尺寸 *//* 图片尺寸 *//* Border Radius *//* 水平间距 *//* 垂直间距 *//* 透明度 *//* 文章场景相关 */body {  height: 100%;}.content {  height: 100vh;}.content .msg-cont {  padding-bottom: 17.1875rem;  width: 100%;  height: calc(100vh - 23.75rem);}.content .msg-cont .msg-scroll {  height: calc(100vh - 23.75rem);}.content .msg-cont .msg-scroll .msgs {  overflow: hidden;  width: 100%;}.content .msg-cont .msg-scroll .msgs .msg-item {  padding: 0.3125rem 0.46875rem;  display: flex;  flex-direction: column;  justify-content: center;  align-items: flex-start;  width: 100%;}.content .msg-cont .msg-scroll .msgs .msg-item .left {  width: 100%;  display: flex;  justify-content: flex-start;  align-items: flex-start;}.content .msg-cont .msg-scroll .msgs .msg-item .left .img {  min-width: 3.125rem;  width: 3.125rem;  height: 3.125rem;  border-radius: 50%;}.content .msg-cont .msg-scroll .msgs .msg-item .left .img uni-image {  width: 100%;  height: 100%;}.content .msg-cont .msg-scroll .msgs .msg-item .left .msg-content {  margin-top: 0.46875rem;  margin-left: 0.3125rem;  border-radius: 0.46875rem;  padding: 0.46875rem;  background-color: #fff;  color: #111;  font-size: 0.875rem;  font-family: PingFang SC;}.content .msg-cont .msg-scroll .msgs .msg-item .right {  width: 100%;  display: flex;  justify-content: flex-end;  align-items: flex-start;}.content .msg-cont .msg-scroll .msgs .msg-item .right .msg-content {  margin-top: 0.46875rem;  margin-right: 0.3125rem;  border-radius: 0.46875rem;  padding: 0.46875rem;  background-color: #d3ad58;  color: #fff;  font-size: 0.875rem;  font-family: PingFang SC;}.content .msg-cont .msg-scroll .msgs .msg-item .right .img {  min-width: 3.125rem;  width: 3.125rem;  height: 3.125rem;  border-radius: 50%;}.content .msg-cont .msg-scroll .msgs .msg-item .right .img uni-image {  width: 100%;  height: 100%;}.content .option-cont {  position: fixed;  bottom: 0;  height: 17.1875rem;  width: 100%;  background-color: #fff;  border-radius: 1.875rem 1.875rem 0 0;  padding: 0.9375rem;}.content .option-cont .option-title {  width: 100%;  padding-bottom: 0.46875rem;  display: flex;  align-items: center;  justify-content: center;  font-size: 1rem;  font-family: PingFang SC;  color: #111;}.content .option-cont .options {  display: flex;  flex-direction: column;  justify-content: center;  align-items: center;}.content .option-cont .options .option-item {  display: flex;  align-items: center;  justify-content: center;  width: 100%;  border: 0.03125rem solid #eee;  margin-bottom: 0.3125rem;  padding: 0.46875rem;  border-radius: 0.15625rem;}.content .title {  padding: 0.46875rem 0.9375rem;  display: flex;  justify-content: center;  align-items: center;  width: 100%;  background-color: #d3ad58;  font-size: 0.75rem;  font-family: PingFang SC;  font-weight: bold;  color: #fff;}.content .patient-cont {  padding: 0.46875rem;}.content .patient-cont .chose-patient {  padding: 0.9375rem;  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);  background-color: #fff;  border-radius: 0.46875rem;}.content .patient-cont .chose-patient .patient-box {  display: flex;  align-items: center;  justify-content: space-between;}.content .patient-cont .chose-patient .patient-box .patient-title {  font-size: 1rem;  font-family: PingFang SC;  font-weight: bold;  color: #111111;}.content .patient-cont .chose-patient .patient-box .right {  height: 100%;  display: flex;  align-items: center;  justify-content: center;}.content .patient-cont .chose-patient .patient-box .right .value {  font-size: 0.875rem;  font-family: PingFang SC;  color: #999;  margin-right: 0.3125rem;}.content .patient-cont .chose-patient .patient-box .right uni-image {  width: 0.46875rem;  height: 0.9375rem;}.content .patient-cont .chose-patient .patient {  display: flex;  align-items: center;  justify-content: space-between;  height: 3.4375rem;}.content .patient-cont .chose-patient .patient .left .name {  font-size: 0.9375rem;  line-height: 1;  font-family: PingFang SC;  font-weight: bold;  color: #111111;}.content .patient-cont .chose-patient .patient .left .info {  margin-top: 0.9375rem;  display: flex;  align-items: center;}.content .patient-cont .chose-patient .patient .left .info .text {  font-size: 0.8125rem;  font-family: PingFang SC;  line-height: 1;  font-weight: 500;  color: #999;  margin-right: 0.59375rem;}.content .patient-cont .chose-patient .patient .right {  display: flex;  align-items: center;}.content .patient-cont .chose-patient .patient .right uni-image {  width: 0.46875rem;  height: 0.9375rem;}.content .items {  padding: 0.46875rem;  width: 100%;  padding: 0.9375rem;  border-radius: 0.46875rem;  background-color: #fff;  display: flex;  flex-direction: column;  align-items: flex-start;  justify-content: flex-start;}.content .items .item {  display: flex;  flex-direction: column;  align-items: flex-start;  justify-content: flex-start;  width: 100%;  background-color: #f8f8f8;  margin-bottom: 0.46875rem;}.content .items .item .name {  font-size: 1rem;  font-family: PingFang SC;  color: #2a2b2e;  font-weight: bold;  margin-bottom: 0.46875rem;}.content .items .item .options {  margin: 0.46875rem 0;  width: 100%;  display: flex;  align-items: center;  justify-content: space-between;}.content .items .item .options .option {  margin-right: 0.3125rem;  margin-bottom: 0.3125rem;  display: flex;  align-items: center;  justify-content: center;  border-radius: 0.3125rem;  width: 20%;  height: 2.5rem;  border: 0.03125rem solid #9b9b9b;  font-size: 0.875rem;  font-family: PingFang SC;  color: #2a2b2e;  background-color: #fff;}.content .items .item .options .option:last-child {  margin-right: 0;  margin-bottom: 0;}.content .items .item .options .active {  border: 0.03125rem solid #d3ad58;  background-color: #d3ad58;  color: #fff;}.content .btns {  display: flex;  align-items: center;  justify-content: space-between;  width: 100%;  padding: 0.9375rem;}.content .btns .btn {  height: 2.5rem;  margin: 0 0.9375rem;  border-radius: 1.875rem;  width: 100%;  border: 0.03125rem solid #d3ad58;  font-size: 32supx;  font-family: PingFang SC;  color: #fff;  font-weight: bold;  background-color: #d3ad58;  display: flex;  align-items: center;  justify-content: center;}.content .tips {  flex-direction: column;  display: flex;  align-items: center;  justify-content: center;  width: 100%;  padding: 0.9375rem;}.content .tips .tip-title {  font-size: 26supx;  font-family: PingFang SC;  color: #888;  font-weight: bold;}.content .tips .desc {  margin-top: 0.46875rem;  font-size: 0.75rem;  font-family: PingFang SC;  color: #b8bdb5;}
 |