feat: 接入 UserHome 前端业务代码(含真实 src/依赖,保留 projman 标准 CI)
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
.widget-wrap {
|
||||
width: 380px;
|
||||
min-height: 200px;
|
||||
z-index: 100;
|
||||
border-radius: 5px;
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
.widget-header {
|
||||
display: flex;
|
||||
height: 48px;
|
||||
.widget-header-drag {
|
||||
flex: 2 auto;
|
||||
cursor: move;
|
||||
}
|
||||
.operate-btn {
|
||||
padding: 12px;
|
||||
height: 38px;
|
||||
svg {
|
||||
cursor: pointer;
|
||||
width: 24px;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
}
|
||||
.operate-btn:nth-child(2) {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-body {
|
||||
padding: 0 4px 18px;
|
||||
height: calc(100% - 48px);
|
||||
.widget-item {
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
overflow: hidden;
|
||||
margin: 18px 14px 0 14px;
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-app-header {
|
||||
height: 46px;
|
||||
display: flex;
|
||||
padding: 0 16px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
color: #344449;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
svg {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
iframe {
|
||||
width: 100%;
|
||||
display: block;
|
||||
min-height: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
&__drag {
|
||||
.widget-header {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
background: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
.widget-empty-box {
|
||||
height: calc(100% - 30px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
color: #828c96;
|
||||
|
||||
h4 {
|
||||
font-weight: 500;
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user