- 新增card-plugin组件,包含完整的卡片结构,支持头部、内容、底部插槽 - 组件具有显示更多功能,可控制内容展开收起 - 集成t-icon组件用于显示展开收起图标 - 修复popup-plugin组件的wxml格式缩进问题 - 调整processEntry页面高度计算,从calc(100vh - 50px)改为100vh
51 lines
1002 B
Plaintext
51 lines
1002 B
Plaintext
.log-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 12px;
|
|
border: 1rpx solid #ddd;
|
|
align-items: center;
|
|
margin-left: 12px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.log-box {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 12px 12px 12px 12px;
|
|
border: 1rpx solid #ddd;
|
|
margin-left: 12px;
|
|
margin-right: 12px;
|
|
/* margin-bottom: calc(constant(safe-area-inset-bottom) + 12px); */
|
|
/*兼容 IOS<11.2*/
|
|
/* margin-bottom: calc(env(safe-area-inset-bottom) + 12px); */
|
|
margin-bottom: 12px;
|
|
border-top: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
/* height: calc(100vh - 50px - env(safe-area-inset-bottom)); */
|
|
}
|
|
|
|
.process-item {
|
|
height: 34px;
|
|
padding: 0 8px;
|
|
border: 1rpx solid #ddd;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.process-item.active {
|
|
background: #1989fa;
|
|
border-color: #1989fa;
|
|
color: #fff;
|
|
}
|