/* pages/clockIn/index.wxss */ .clockin { // padding-bottom: 130rpx; position: relative; height: 100vh; overflow: hidden; scroll-view { height: 100%; box-sizing: border-box; padding-top: 12rpx; .scroll-view-box { padding: 28rpx; padding-top: 0px; padding-bottom: 280rpx; } } .clockin-img { position: absolute; width: 100%; z-index: 0; top: 0; left: 0; } .new-time { font-size: 28rpx; } .clockin-item { margin-bottom: 28rpx; background-color: #fff; border-radius: 20rpx; padding: 28rpx; position: relative; overflow: hidden; z-index: 1; .margin-16 { position: absolute; top: 0; right: 0; height: 60rpx; line-height: 60rpx; background: rgba(34, 34, 34, 0.1); border-radius: 0rpx 0rpx 0rpx 24rpx; color: #909399; padding: 0 24rpx; font-size: 26rpx; } .success { color: #00B095; background: rgba(0, 176, 149, 0.1); } .primary { color: var(--td-brand-color); background: rgba(237, 243, 248, 1); } .item-top { display: flex; justify-content: space-between; margin-bottom: 10rpx; font-size: 32rpx; font-weight: bold; .active { color: var(--td-brand-color); } } .medicine-name { font-weight: bold; margin-bottom: 12rpx; } .dose { font-size: 28rpx; // margin-bottom: 30rpx; color: #909399; } .t-button { margin-top: 30rpx; } } .footer-example { position: fixed; bottom: 30rpx; display: flex; justify-content: center; width: 100%; left: 0; z-index: 2; view { width: 246rpx; height: 82rpx; background: #FFFFFF; box-shadow: 0rpx 2rpx 14rpx 0rpx rgba(0, 91, 162, 0.08); border-radius: 40rpx; line-height: 82rpx; text-align: center; font-size: 30rpx; color: #222222; text { font-size: 40rpx; color: var(--td-brand-color); vertical-align: middle; } } } } .emergency-access { position: fixed; right: 24rpx; bottom: 80rpx; width: 100rpx; height: 100rpx; z-index: 9999; border-radius: 120rpx; display: flex; align-items: center; justify-content: center; background: linear-gradient(152deg, #FF7954 0%, #D43030 100%); box-shadow: 0rpx 2rpx 20rpx 0rpx rgba(236, 89, 68, 0.21); text { color: #fff; font-size: 48rpx; } }