| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736 |
- @import "../../themes/page.scss";
- @import "../../themes/draggable-sheet.scss";
- @import "../../themes/t.cell.scss";
- @import "../../themes/card.scss";
- .body-img {
- position: relative;
- .body-bg-image {
- position: absolute;
- top: 0;
- right: -140rpx;
- height: 100%;
- width: fit-content;
- z-index: 0;
- image-rendering: -webkit-optimize-contrast;
- image-rendering: crisp-edges;
- -webkit-image-rendering: crisp-edges;
- -moz-image-rendering: crisp-edges;
- -ms-image-rendering: crisp-edges;
- }
- > view:not(.chat-status),
- > text,
- > image {
- // position: relative;
- // z-index: 1;
- }
- }
- .fullscreen-bg {
- background-image: url("/assets/bg/bg_home.png");
- background-repeat: no-repeat;
- width: 100%;
- // height: 90vh;
- height: calc(100vh - 180rpx) !important;
- background-size: cover;
- background-position: center;
- position: relative;
- padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
- }
- .steps-container {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
- padding: 0px 15px 0 25px;
- .warn-box {
- display: flex;
- align-items: flex-start;
- background-image: url("/assets/bg/bg_wave@3x.png");
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
- color: #ff5a1e;
- font-size: 13px;
- background-color: #ffefef;
- border-radius: 6px;
- padding: 10rpx 30rpx 10rpx 10rpx;
- // height: 60px;
- font-weight: bold;
- border: 2px solid white;
- box-shadow: inset 0 0 3px rgb(255, 90, 30, 0.2);
- .right-box {
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .warn-img {
- width: 20rpx;
- height: 20rpx;
- margin: 10rpx 15rpx 0 10rpx;
- }
- }
- }
- .follow-container {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 10rpx 20rpx;
- background: #d6e6ef;
- margin-top: 15rpx;
- }
- .pieces {
- color: #2ba471;
- font-size: 30rpx;
- margin: 0px 20rpx 0px 20rpx;
- }
- .follow-text {
- color: #191919;
- font-size: 28rpx;
- }
- .notice-icon {
- width: 30rpx;
- height: 30rpx;
- }
- .follow-box {
- display: flex;
- align-items: center;
- }
- .scroll_live {
- width: 100%;
- height: 45vh;
- overflow-y: scroll;
- }
- .container-bg-image {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- .block {
- padding: 50px;
- background: white;
- }
- .block-box {
- display: flex;
- }
- .user-box {
- display: flex;
- align-items: center;
- margin-bottom: 15rpx;
- position: relative;
- }
- .report-container {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- z-index: 10;
- pointer-events: auto;
- .report-box {
- display: flex;
- align-items: center;
- height: 45px;
- line-height: 45px;
- justify-content: center;
- border: 2px solid white;
- background: linear-gradient(to bottom, #d9e7fb, #c1d5f5);
- // 渐变蓝色
- width: 95%;
- border-radius: 6px;
- // margin: auto;
- .report-img {
- width: 35rpx;
- height: 38rpx;
- }
- .text-box {
- display: flex;
- .text-one {
- font-size: 28rpx;
- color: #1f457f;
- font-weight: bold;
- margin: 0 15rpx 0 15rpx;
- }
- .text-two {
- font-size: 24rpx;
- color: #35578c;
- }
- }
- }
- }
- $scale: 0.5;
- .header-container {
- padding: 12px;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- box-sizing: border-box;
- }
- .user-info-wrapper {
- position: relative;
- align-items: center;
- padding: 0 8px;
- // width: 254px * $scale;
- // height: 66px * $scale;
- box-sizing: border-box;
- .user {
- &-icon {
- flex: none;
- margin-left: 4px;
- width: 12px * $scale;
- height: 16px * $scale;
- }
- &-select-icon {
- flex: none;
- margin-left: 4px;
- width: 8px;
- height: 4px;
- }
- &-name {
- flex: none;
- margin-left: 4px;
- font-size: 36rpx;
- color: #191919;
- margin-right: 10rpx;
- font-weight: 500;
- }
- &-age {
- flex: none;
- margin-left: 4px;
- font-size: 24rpx;
- }
- &-description {
- flex: auto;
- margin-left: 4px;
- font-size: 24rpx;
- }
- }
- }
- .tool-bar-wrapper {
- display: flex;
- flex-direction: row;
- font-size: 12px;
- .tool {
- display: flex;
- flex-direction: row;
- align-items: center;
- color: #666666;
- image {
- width: 15px;
- height: 14px;
- margin-right: 4px;
- }
- }
- .tool + .tool {
- margin-left: 8px;
- }
- }
- .banner-wrapper {
- padding-top: 12px;
- .container-bg-image {
- position: static;
- margin: auto;
- width: calc(100% - 24px);
- }
- }
- .health-scheme-wrapper {
- padding: 0 12px 12px 12px;
- }
- .draggable-sheet-wrapper {
- .bottom-wrapper {
- display: flex;
- justify-content: center;
- padding: 6px 0 24px;
- }
- .row + .row {
- margin-top: 8px;
- }
- .picture-wrapper {
- display: flex;
- flex-direction: row;
- justify-content: center;
- image {
- margin: 12px;
- width: 128px;
- height: 128px;
- }
- }
- }
- .fab-wrapper {
- position: absolute;
- top: 50%;
- right: -36px;
- .fab-main {
- width: 72px;
- height: 72px;
- transform: translateY(6px);
- }
- .fab {
- position: absolute;
- top: 6px;
- right: 6px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- width: 60px;
- height: 60px;
- background-color: var(--td-bg-color-container);
- border-radius: 50%;
- }
- }
- .CT.row {
- padding: 0 var(--td-cell-horizontal-padding, 32rpx);
- }
- .science-list-wrapper {
- padding: 0 10px;
- .list-title {
- display: flex;
- flex-direction: row;
- align-items: center;
- font-weight: bold;
- margin-top: 20px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .missionary {
- color: #191919;
- font-size: 32rpx;
- font-weight: bold;
- }
- .title-box {
- display: flex;
- align-items: center;
- }
- .serch {
- color: #1d6ff6;
- font-size: 12px;
- }
- }
- .waterfall-container {
- display: flex;
- gap: 3px;
- margin-top: 12px;
- .waterfall-column {
- flex: 1;
- display: flex;
- flex-direction: column;
- waterfall-card {
- width: 100%;
- box-sizing: border-box;
- margin-bottom: 10px;
- }
- }
- }
- .loading-more {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 20px 0;
- margin-top: 12px;
- .loading-text {
- font-size: 14px;
- color: #8C8C8C;
- margin-top: 8px;
- }
- }
- }
- .popup-container {
- position: relative;
- width: 70vw;
- height: 45vh;
- background: white;
- padding: 20rpx 30rpx;
- border-radius: 20rpx;
- }
- .popup-block {
- background: white;
- overflow: hidden;
- height: 45vh !important;
- }
- .close-btn {
- position: absolute;
- left: 50%;
- margin-left: -32rpx;
- bottom: calc(-1 * (48rpx + 64rpx));
- }
- .popup-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 15px 0;
- border-bottom: 1px solid #f0f0f0;
- min-height: 44px; // 确保有足够的点击区域
- cursor: pointer;
- -webkit-tap-highlight-color: transparent; // 移除点击高亮
- position: relative; // 确保点击区域正确
- z-index: 1; // 确保在 scroll-view 中可点击
- &:last-child {
- border-bottom: none;
- }
- }
- .popup-text {
- font-size: 16px;
- color: #333;
- flex: 1;
- // 移除 pointer-events,让事件冒泡到父元素
- }
- .popup-action {
- font-size: 14px;
- color: #37b473;
- // 移除 pointer-events,让事件冒泡到父元素
- }
- .t-popup__close {
- width: 20px !important;
- height: 20px !important;
- color: #000 !important;
- }
- .tabbar-container {
- position: fixed;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 100;
- background-color: #fff;
- padding-bottom: env(safe-area-inset-bottom);
- // 适配底部安全区域
- box-shadow: 0 -2rpx 6rpx rgba(0, 0, 0, 0.1);
- }
- .page-scroll__container {
- position: relative;
- height: calc(100vh - 180rpx) !important;
- padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
- box-sizing: border-box;
- }
- .user-pageBox {
- display: flex;
- align-items: center;
- }
- .care-container {
- margin-top: 10px;
- border-radius: 12rpx;
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
- padding: 0px 9px 0 9px;
- }
- .care-list {
- background: #fff;
- transition: height 0.3s;
- overflow: hidden;
- }
- .care-header {
- background: linear-gradient(90deg, #4165f4, #78acff);
- color: #fff;
- font-weight: bold;
- font-size: 32rpx;
- border-radius: 12rpx 12rpx 0 0;
- padding: 20rpx;
- display: flex;
- align-items: center;
- }
- .care-icon {
- width: 43rpx;
- height: 43rpx;
- margin-right: 5rpx;
- }
- .care-item {
- border-bottom: 1px solid #f0f0f0;
- padding: 24rpx 20rpx;
- }
- .detail-box {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .item-main {
- display: flex;
- align-items: center;
- }
- .dot {
- width: 12rpx;
- height: 12rpx;
- background: #1d6ff6;
- border-radius: 50%;
- margin-right: 16rpx;
- }
- .item-title {
- flex: 1;
- font-size: 30rpx;
- }
- .item-next-time {
- color: #2ec4b6;
- font-size: 28rpx;
- // margin-left: 16rpx;
- }
- .item-arrow {
- width: 24rpx;
- height: 24rpx;
- margin-left: 12rpx;
- }
- .expand-all {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 16rpx 0;
- background-color: white;
- border-radius: 0px 0px 10px 10px;
- }
- .expand-arrow {
- width: 32rpx;
- height: 32rpx;
- }
- // 详细内容
- .detail-image {
- width: 120rpx;
- height: 80rpx;
- display: block;
- margin: 10rpx auto 12rpx auto;
- }
- .flex {
- display: flex;
- align-items: center;
- margin-bottom: 8rpx;
- }
- .item-detail {
- font-size: 28rpx;
- color: #222;
- margin-top: 12rpx;
- line-height: 1.7;
- border-top: 1px solid #f0f0f0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .item-box {
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding-top: 10px;
- }
- .verify-record {
- cursor: pointer;
- color: #1976d2;
- border: 1px solid #1976d2;
- padding: 7rpx 10px;
- border-radius: 10rpx;
- // width: 17%;
- text-align: center;
- // margin-right: 10px;
- margin-bottom: 20rpx;
- }
- .carousel-container {
- margin-top: 20rpx;
- border-radius: 16rpx;
- overflow: hidden;
- height: 200rpx;
- width: 100%;
- position: relative;
- .media-carousel {
- height: 100%;
- }
- .carousel-loading {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: rgba(248, 249, 250, 0.95);
- border-radius: 16rpx;
- z-index: 10;
- }
- .loading-overlay {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: rgba(248, 249, 250, 0.95);
- border-radius: 16rpx;
- z-index: 10;
- .loading-spinner {
- width: 40rpx;
- height: 40rpx;
- border: 4rpx solid #e9ecef;
- border-top: 4rpx solid #2ec4b6;
- border-radius: 50%;
- animation: spin 1s linear infinite;
- margin-bottom: 16rpx;
- }
- .loading-text {
- font-size: 24rpx;
- color: #6c757d;
- }
- }
- }
- @keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- .healthyAnalyze {
- font-size: 40rpx;
- text-align: center;
- color: #1976d2;
- margin-bottom: 15px;
- }
- .loading-center {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 180rpx;
- width: 100%;
- }
- .chat-status {
- pointer-events: auto;
- display: inline-flex;
- align-items: center;
- background: #e5eaff;
- box-shadow: 0rpx 6rpx 6rpx 0rpx rgba(43, 78, 135, 0.12);
- border: 2rpx solid rgba(29, 111, 246, 0.3);
- border-radius: 40rpx 0rpx 0rpx 40rpx;
- padding: 15rpx 30rpx 15rpx 30rpx;
- position: absolute !important;
- right: 0;
- top: 25rpx;
- color: #1d6ff6;
- font-weight: 500;
- font-size: 24rpx;
- z-index: 999999 !important;
- &__dot {
- width: 20rpx;
- height: 20rpx;
- background-color: #6df28c; // 绿色圆点
- border-radius: 50%;
- position: absolute;
- left: -5rpx;
- top: -5rpx;
- border: 2rpx solid #ffffff;
- z-index: 10;
- }
- &__text {
- font-size: 22rpx;
- color: #1f457f; // 深蓝色文字
- line-height: 1;
- white-space: nowrap;
- }
- }
- .right-btn {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- }
- .ins-box {
- display: flex;
- align-items: center;
- }
|