feat: 电子药箱小程序 - 4Tab药品管理
- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
/* pages/live/wxroom/index.wxss */
|
||||
page {
|
||||
height: 100%;
|
||||
background: #081120;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.wxroom {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 18% 12%, rgba(83, 214, 255, 0.14), transparent 28%),
|
||||
radial-gradient(circle at 88% 18%, rgba(47, 140, 255, 0.2), transparent 24%),
|
||||
linear-gradient(180deg, #0d1b31 0%, #09121f 52%, #050b15 100%);
|
||||
}
|
||||
|
||||
.wxroom__overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 30;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 32rpx;
|
||||
box-sizing: border-box;
|
||||
background: rgba(4, 10, 18, 0.72);
|
||||
}
|
||||
|
||||
.wxroom__panel {
|
||||
width: 100%;
|
||||
max-width: 620rpx;
|
||||
padding: 48rpx 40rpx;
|
||||
border-radius: 28rpx;
|
||||
box-sizing: border-box;
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(19, 31, 54, 0.96) 0%,
|
||||
rgba(10, 18, 33, 0.98) 100%
|
||||
);
|
||||
border: 1rpx solid rgba(115, 191, 255, 0.18);
|
||||
box-shadow: 0 24rpx 64rpx rgba(0, 0, 0, 0.28);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wxroom__panel--error {
|
||||
border-color: rgba(255, 138, 138, 0.24);
|
||||
box-shadow: 0 24rpx 64rpx rgba(0, 0, 0, 0.32);
|
||||
}
|
||||
|
||||
.wxroom__spinner {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
margin: 0 auto 28rpx;
|
||||
border-radius: 50%;
|
||||
border: 6rpx solid rgba(255, 255, 255, 0.1);
|
||||
border-top-color: #71c1ff;
|
||||
animation: wxroom-spin 0.9s linear infinite;
|
||||
}
|
||||
|
||||
.wxroom__title {
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.4;
|
||||
color: #f4f8ff;
|
||||
}
|
||||
|
||||
.wxroom__message {
|
||||
margin-top: 20rpx;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.7;
|
||||
color: rgba(233, 242, 255, 0.8);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.wxroom__actions {
|
||||
display: flex;
|
||||
margin-top: 36rpx;
|
||||
}
|
||||
|
||||
.wxroom__button {
|
||||
flex: 1;
|
||||
height: 84rpx;
|
||||
border-radius: 999rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
color: #f4f8ff;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.wxroom__button + .wxroom__button {
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
|
||||
.wxroom__button--primary {
|
||||
background: linear-gradient(135deg, #53d6ff 0%, #2f8cff 100%);
|
||||
box-shadow: 0 16rpx 36rpx rgba(47, 140, 255, 0.24);
|
||||
}
|
||||
|
||||
.wxroom__button--secondary {
|
||||
border: 1rpx solid rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
@keyframes wxroom-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user