$page-margin: 40rpx; page { background-color: rgba(246, 248, 249, 1); } .page-title { width: 266rpx; height: 34rpx; } .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: 32rpx; display: flex; align-items: center; justify-content: space-between; gap: 24rpx; .avatar { position: relative; flex-shrink: 0; width: 108rpx; height: 108rpx; .a-img { display: block; width: 100%; height: 100%; border-radius: 50%; } .a-icon { position: absolute; top: 0; right: 0; width: 28rpx; height: 28rpx; } } .wrap { flex: 1; .w-header { display: flex; align-items: baseline; .name { margin-right: 8rpx; font-size: 36rpx; color: #211d2e; font-weight: bold; max-width: 6em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .label { width: 172rpx; height: 36rpx; } } .w-content { margin-top: 18rpx; font-size: 28rpx; color: #211d2e; line-height: 32rpx; } .hostipal { margin-top: 16rpx; font-size: 28rpx; color: #adacb2; line-height: 36rpx; overflow: hidden; display: flex; align-items: center; .h-content { margin-right: 16rpx; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tag { flex-shrink: 0; display: inline-block; padding: 6rpx 12rpx 4rpx; font-size: 24rpx; line-height: 1; color: #f8a61b; background: #fff4d2; line-height: 24rpx; border-radius: 8rpx 8rpx 8rpx 8rpx; } } } .more { flex-shrink: 0; width: 48rpx; height: 48rpx; } } .kkd1 { margin: $page-margin; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30rpx; .k-qol { padding: 0 0rpx 22rpx 32rpx; background: linear-gradient( 180deg, rgba(239, 226, 255, 0.52) 0%, rgba(255, 255, 255, 0.96) 26.03%, #ffffff 100% ); border-radius: 32rpx 32rpx 32rpx 32rpx; border: 2rpx solid #ffffff; .title { padding-top: 48rpx; font-size: 36rpx; color: #211d2e; line-height: 48rpx; display: flex; align-items: flex-start; gap: 8rpx; font-weight: bold; .k-question { width: 24rpx; height: 24rpx; } } .none { margin: 30rpx -32rpx -70rpx; width: 318rpx; height: 170rpx; display: block; } .content { height: 128rpx; display: flex; align-self: baseline; justify-content: space-between; .num { padding-top: 22rpx; white-space: nowrap; font-size: 60rpx; color: transparent; font-weight: bold; background-clip: text; -webkit-background-clip: text; .sub { font-size: 28rpx; color: #69686e; font-weight: normal; } } .status1 { background-image: linear-gradient(to bottom, #ffa0a0 0%, #ff7a7a 100%); } .status2 { background-image: linear-gradient(to bottom, #ffbe4a 0%, #ffa300 100%); } .status3 { background-image: linear-gradient(to bottom, #69e7b3 0%, #59cc9c 100%); } .icon { margin-left: -20rpx; width: 128rpx; height: 128rpx; } } .k-footer { margin-top: 28rpx; display: flex; align-items: center; justify-content: space-between; .date { font-size: 32rpx; color: #69686e; } .no-tip { font-size: 28rpx; color: rgba(76, 66, 107, 0.51); } .add { margin-right: 16rpx; flex-shrink: 0; width: 64rpx; height: 64rpx; } } } .k-hormones { position: relative; padding: 0 0rpx 22rpx 32rpx; background: linear-gradient( 180deg, rgba(255, 227, 253, 0.52) 0%, rgba(255, 255, 255, 0.96) 25.17%, #ffffff 100% ); border-radius: 32rpx 32rpx 32rpx 32rpx; border: 2rpx solid #ffffff; .status { position: absolute; top: 10rpx; right: 10rpx; width: 104rpx; height: 104rpx; } .title { padding-top: 48rpx; position: relative; z-index: 1; font-size: 36rpx; color: #211d2e; line-height: 48rpx; display: flex; align-items: flex-start; gap: 8rpx; font-weight: bold; .k-question { width: 24rpx; height: 24rpx; } } .none { margin: 30rpx -32rpx -70rpx; width: 318rpx; height: 170rpx; display: block; } .content { height: 128rpx; display: flex; align-self: baseline; justify-content: space-between; .num { padding-top: 22rpx; white-space: nowrap; font-size: 62rpx; background-image: linear-gradient(to bottom, #e98ff8 0%, #b073ff 100%); background-clip: text; -webkit-background-clip: text; color: transparent; font-weight: bold; .sub { font-size: 28rpx; color: #69686e; font-weight: normal; letter-spacing: normal; } } } .k-footer { margin-top: 28rpx; display: flex; align-items: center; justify-content: space-between; .date { font-size: 32rpx; color: #69686e; } .no-tip { font-size: 28rpx; color: rgba(76, 66, 107, 0.51); } .add { margin-right: 16rpx; flex-shrink: 0; width: 64rpx; height: 64rpx; } } } } .kkd2 { margin: $page-margin; display: flex; align-items: center; gap: 30rpx; .k-item { flex: 1; .wrap { padding: 40rpx 0 40rpx 24rpx; height: 168rpx; box-sizing: border-box; border-radius: 32rpx 32rpx 32rpx 32rpx; .title { font-size: 36rpx; color: #fff; font-weight: bold; } .content { margin-top: 8rpx; font-size: 28rpx; color: rgba(255, 255, 255, 0.6); } } .icon { width: 122rpx; height: 134rpx; } } } .qol { margin: $page-margin; padding: 142rpx 36rpx 0; height: 234rpx; box-sizing: border-box; position: relative; .date { position: absolute; top: -28rpx; right: 0; padding: 0 28rpx; line-height: 52rpx; font-size: 24rpx; color: #b982ff; border-radius: 86rpx; background: linear-gradient(90deg, #ffffff 0%, #f2e7ff 100%); border: 1px solid #fff; &::after { position: absolute; right: 86rpx; bottom: -24rpx; content: ''; width: 0; height: 0; border-style: solid; border-width: 32rpx 16rpx 0 16rpx; border-color: #f4edff transparent transparent transparent; } } .btn { width: 216rpx; height: 70rpx; font-size: 32rpx; color: #b982ff; display: flex; align-items: center; justify-content: center; gap: 8rpx; background: transparent; border-radius: 48rpx 48rpx 48rpx 48rpx; .icon { width: 44rpx; height: 44rpx; } } } .hormones { margin: $page-margin; position: relative; height: 232rpx; .date { position: absolute; top: -28rpx; right: 0; padding: 0 28rpx; line-height: 52rpx; font-size: 24rpx; color: #b982ff; border-radius: 86rpx; background: linear-gradient(90deg, #ffffff 0%, #f2e7ff 100%); border: 1px solid #fff; &::after { position: absolute; right: 86rpx; bottom: -24rpx; content: ''; width: 0; height: 0; border-style: solid; border-width: 32rpx 16rpx 0 16rpx; border-color: #f4edff transparent transparent transparent; } } .btn { position: absolute; top: 140rpx; left: 30rpx; width: 236rpx; height: 70rpx; } } .banner { margin: $page-margin; .swiper { width: 100%; height: 214rpx; .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: 330rpx; 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.1); &: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: 64vw; font-size: 28rpx; color: rgba(173, 172, 178, 1); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; .line { margin: 0 8rpx; 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 { min-width: 90rpx; padding: 0 18rpx; 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: 780rpx; .swiper-item { padding: 32rpx 40rpx; box-sizing: border-box; .book-list { padding: 0 32rpx; height: 100%; border-radius: 32rpx; background-color: #fff; box-shadow: 0 0 32rpx 1rpx rgba(0, 0, 0, 0.08); .card { padding: 32rpx 0; display: flex; border-bottom: 1px dotted rgba(39, 58, 101, 0.1); > 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 { flex: 1; display: flex; flex-direction: column; justify-content: space-between; .title { min-height: 84rpx; font-size: 32rpx; line-height: 42rpx; 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; } .footer { display: flex; justify-content: flex-end; gap: 32rpx; .f-item { display: flex; align-items: center; font-size: 28rpx; color: #adacb2; .icon { margin-right: 8rpx; width: 36rpx; height: 36rpx; } } .share { padding: 0; background-color: transparent; margin: 0; &::after { border: none; outline: none; } } } } } .card:nth-of-type(3) { border: none; } .more { height: 72rpx; font-size: 28rpx; color: #b982ff; display: flex; align-items: center; justify-content: center; background: #f2e8ff; border-radius: 100rpx 100rpx 100rpx 100rpx; } } } .wx-swiper-dot-active { width: 30rpx !important; } .wx-swiper-dot { width: 9rpx; height: 6rpx; border-radius: 2rpx; } } } .new-server { margin: $page-margin; .title { font-size: 36rpx; color: #211d2e; font-weight: bold; line-height: 40rpx; } .one-card { margin-top: -20rpx; display: block; width: 100%; height: 214rpx; } .list { margin-top: 24rpx; padding: 32rpx; border-radius: 24rpx; display: flex; align-items: center; gap: 20rpx; background: linear-gradient(183deg, #f7f1ff 0%, #ffffff 100%); .item { flex: 1; text-align: center; .icon { display: inline-block; width: 104rpx; height: 104rpx; } .name { margin-top: 8rpx; font-size: 32rpx; color: #211d2e; } } } } } .reg { position: fixed; z-index: 10; left: 64rpx; bottom: calc(env(safe-area-inset-bottom) + 120rpx); width: 622rpx; background-color: rgba(33, 29, 46, 0.62); 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); }