feat: 电子药箱小程序 - 4Tab药品管理

- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡
- 药品百科: 搜索 + 分类筛选 + 20种药品静态数据
- 惠教中心: 4条药品使用指南课程
- 我的: 家庭成员信息管理
- 自定义TabBar + navigation-bar组件
- SVG药品分类插图
This commit is contained in:
陈誉午
2026-07-29 11:20:52 +08:00
commit 994b267f5c
683 changed files with 43849 additions and 0 deletions
@@ -0,0 +1 @@
.questionnaire-drawer .frame{overflow:hidden;padding:0!important}.questionnaire-drawer-wrap{background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.questionnaire-header{padding:24rpx 40rpx 16rpx;background:transparent linear-gradient(180deg,#e7edff,#fff)}.questionnaire-title-row{display:flex;align-items:center;justify-content:space-between}.questionnaire-title{font-size:calc(34rpx + .5 * (1rem - 16px));font-weight:700;color:#1d2129;flex:1;margin-right:24rpx}.questionnaire-close-icon{flex-shrink:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:56rpx;height:56rpx;border-radius:50%;background:0 0}.drawer-close-shadow{box-shadow:none}.questionnaire-desc{margin-top:8rpx;font-size:calc(26rpx + .5 * (1rem - 16px));color:#6f7680;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.questionnaire-count{margin-top:8rpx;font-size:calc(24rpx + .5 * (1rem - 16px));color:#86909c}.questionnaire-body{padding:16rpx 40rpx}.questionnaire-scroll{max-height:500rpx}.question-item{margin-bottom:24rpx}.question-title{display:flex;flex-wrap:wrap;font-size:calc(28rpx + .5 * (1rem - 16px));color:#1d2129;margin-bottom:12rpx}.question-index{margin-right:8rpx}.question-required{margin-right:8rpx;color:#f53f3f}.question-type-tag{margin-left:8rpx;font-size:calc(24rpx + .5 * (1rem - 16px));color:#86909c}.question-input{background-color:#f6f8fa;border-radius:8rpx;padding:20rpx 24rpx}.question-textarea{height:calc(44rpx + .5 * (1rem - 16px));line-height:calc(44rpx + .5 * (1rem - 16px));width:100%;font-size:calc(28rpx + .5 * (1rem - 16px));color:#1d2129}.question-input-disabled{background-color:#f2f3f5}.question-textarea-disabled{color:#86909c}.question-select{background-color:#f6f8fa;border-radius:8rpx;padding:8rpx 0}.error-msg{margin-top:12rpx;line-height:calc(34rpx + .5 * (1rem - 16px));font-size:calc(24rpx + .5 * (1rem - 16px));color:#ff4d4f}.question-option{display:flex;align-items:flex-start;padding:16rpx 24rpx}.question-option-text{flex:1;font-size:calc(28rpx + .5 * (1rem - 16px));color:#1d2129}.questionnaire-footer{padding:20rpx 40rpx 40rpx}.questionnaire-submit-btn{width:100%!important;border-radius:100rpx;background-color:#3370ff!important;font-size:calc(28rpx + .5 * (1rem - 16px));font-weight:400}.questionnaire-submit-btn-disabled{background-color:#8baeff!important;color:#fff!important}.filled-status-container{min-height:600rpx;padding:40rpx 0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.filled-status-icon{width:calc(240rpx + .5 * (1rem - 16px));height:calc(240rpx + .5 * (1rem - 16px))}.filled-status-text{margin-top:24rpx;font-size:calc(28rpx + .5 * (1rem - 16px));line-height:calc(40rpx + .5 * (1rem - 16px));color:#999}.questionnaire-filled{padding:80rpx 60rpx;text-align:center}.questionnaire-filled-title{margin-top:16rpx;font-size:calc(30rpx + .5 * (1rem - 16px));color:#1d2129}.questionnaire-filled-sub{margin-top:8rpx;font-size:calc(24rpx + .5 * (1rem - 16px));color:#86909c}.questionnaire-empty{padding:80rpx 0;text-align:center;font-size:calc(26rpx + .5 * (1rem - 16px));color:#86909c}.questionnaire-drawer-wrap-dark{background-color:#202124}.questionnaire-drawer-wrap-dark .questionnaire-header{background:#202124}.questionnaire-drawer-wrap-dark .questionnaire-title{color:#fff}.questionnaire-drawer-wrap-dark .questionnaire-desc{color:#909090}.questionnaire-drawer-wrap-dark .question-index,.questionnaire-drawer-wrap-dark .question-option-text,.questionnaire-drawer-wrap-dark .question-text{color:#fff}.questionnaire-drawer-wrap-dark .question-input,.questionnaire-drawer-wrap-dark .question-select{background-color:#2c2d30}.questionnaire-drawer-wrap-dark .question-input-disabled{background-color:#26272a}.questionnaire-drawer-wrap-dark .question-textarea{color:#fff}.questionnaire-drawer-wrap-dark .question-textarea-disabled{color:#909090}.questionnaire-drawer-wrap-dark .questionnaire-filled-title{color:#fff}.questionnaire-drawer-wrap-dark .filled-status-text{color:#909090}.questionnaire-drawer-wrap-dark .questionnaire-count,.questionnaire-drawer-wrap-dark .questionnaire-filled-sub{color:#909090}