@import '/variable.less'; @home-tab-item-height: 96rpx; .home-container { height: calc(100vh - @tab-bar-height); .home-content { // height: calc(100% - @nav-bar-height); padding: 30rpx; padding-bottom: 160rpx; .item-content { background-color: #fff; border-radius: 12rpx; padding: 30rpx; margin-bottom: 30rpx; .item-title { font-size: 32rpx; font-weight: bold; color: #323030; } .echarts-canvas-container { width: 100%; height: 600rpx; } .echarts-canvas { width: 100%; height: 100%; } .echarts-legend { display: flex; margin-bottom: 20rpx; margin-top: 20rpx; view { margin-right: 20rpx; } .active { color: #0091cc; text-decoration: underline; } } .item-title { position: relative; .item-title-right-text { position: absolute; right: 0; top: 0; color: #0091cc; font-size: 24rpx; } } .item-box { background-color: #f5f5f5; border-radius: 12rpx; padding: 26rpx; margin-top: 20rpx; position: relative; .item-box-title { display: flex; justify-content: space-between; box-sizing: border-box; margin-bottom: 20rpx; .item-box-title-left { font-size: 28rpx; color: #323030; } .item-box-title-right { font-size: 24rpx; color: #949798; } } .drug-name { font-size: 30rpx; color: #323030; margin-bottom: 8rpx; } .drug-usage { font-size: 26rpx; color: #323030; margin-bottom: 20rpx; } .follow-up-itme { font-size: 24rpx; } .follow-itme-ed { color: #0091cc; font-size: 30rpx; position: absolute; right: 30rpx; top: 50%; transform: translateY(-50%); } .article-content { margin-top: 10rpx; font-size: 26rpx; line-height: 36rpx; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; word-break: break-word; } } } } } .emergency-access { position: fixed; right: 40rpx; bottom: 220rpx; background-color: red; color: #fff; width: 90rpx; height: 90rpx; z-index: 9999; border-radius: 120rpx; display: flex; align-items: center; justify-content: center; box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08); }