@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; }