3
This commit is contained in:
@@ -1,49 +1,220 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 藏青系主色(高亮) */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
/* 表单控件尺寸(统一配置,避免页面内硬编码) */
|
||||
.page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.page { display:flex; flex-direction: column; height: 100vh;
|
||||
/* 顶部分段(如需保留,可以隐藏或后续扩展) */
|
||||
.seg {
|
||||
display: none;
|
||||
}
|
||||
.seg { display:flex; background:#fff;
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
.seg-item { flex:1; padding: 0.6875rem 0; text-align:center; color:#666;
|
||||
.biz-tabs {
|
||||
width: 4.375rem;
|
||||
background: #fff;
|
||||
border-right: 0.0625rem solid #e5e7eb;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.seg-item.active { color:#18b566; font-weight: 600;
|
||||
.biz {
|
||||
flex: 0 0 3.75rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #4C8DFF;
|
||||
}
|
||||
.content { display:flex; flex:1; min-height: 0;
|
||||
.biz.active {
|
||||
background: rgba(76, 141, 255, 0.1);
|
||||
color: #4C8DFF;
|
||||
font-weight: 700;
|
||||
}
|
||||
.biz-tabs { width: 3.75rem; background:#eef6ff; display:flex; flex-direction: column;
|
||||
.panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
margin: 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.375rem;
|
||||
}
|
||||
.biz { flex:0 0 3.75rem; display:flex; align-items:center; justify-content:center; color:#4aa3d6;
|
||||
.toolbar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.3125rem;
|
||||
padding: 0.3125rem 0.1875rem 0.1875rem;
|
||||
border-bottom: 0.0625rem solid #e5e7eb;
|
||||
}
|
||||
.biz.active { background:#3ac1c9; color:#fff; border-radius: 0 0.5rem 0.5rem 0;
|
||||
.period-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
background: #f6f8fb;
|
||||
border-radius: 0.3125rem;
|
||||
padding: 0.25rem 0.3125rem;
|
||||
}
|
||||
.panel { flex:1; display:flex; flex-direction: column; background:#fff; margin: 0.5rem; border-radius: 0.5rem; padding: 0.375rem;
|
||||
.period-label {
|
||||
color: #6b778c;
|
||||
}
|
||||
.toolbar { display:flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.1875rem;
|
||||
.date-chip {
|
||||
padding: 0.25rem 0.375rem;
|
||||
background: #fff;
|
||||
border: 0.0625rem solid #e6ebf2;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
.search { flex:1;
|
||||
.sep {
|
||||
color: #99a2b3;
|
||||
padding: 0 0.1875rem;
|
||||
}
|
||||
.search-input { width:100%; background:#f6f6f6; border-radius: 0.375rem; padding: 0.375rem;
|
||||
.search-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.period { color:#999; font-size: 0.75rem; padding: 0 0.1875rem;
|
||||
.search {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
}
|
||||
.total { color:#18b566; font-weight: 700; padding: 0.1875rem 0.1875rem 0.375rem;
|
||||
.search-input {
|
||||
flex: 1;
|
||||
height: 2.25rem;
|
||||
line-height: 2.25rem;
|
||||
padding: 0 0.75rem;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
border-radius: 0.375rem;
|
||||
color: #111;
|
||||
border: 0.0625rem solid #e6ebf2;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
.list { flex:1;
|
||||
.btn {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 2.25rem;
|
||||
padding: 0 1rem;
|
||||
margin-left: 0.125rem;
|
||||
border-radius: 0.375rem;
|
||||
background: #4C8DFF;
|
||||
color: #fff;
|
||||
border: none;
|
||||
font-size: 0.8125rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.item { display:flex; align-items:center; padding: 0.625rem 0.3125rem; border-bottom: 0.03125rem solid #f1f1f1;
|
||||
.btn::after {
|
||||
border: none;
|
||||
}
|
||||
.item-left { flex:1;
|
||||
.total {
|
||||
color: #4C8DFF;
|
||||
font-weight: 700;
|
||||
padding: 0.3125rem 0.1875rem 0.375rem;
|
||||
background: #fff;
|
||||
}
|
||||
.date { color:#999; font-size: 0.75rem;
|
||||
.list {
|
||||
flex: 1;
|
||||
}
|
||||
.name { color:#333; margin: 0.125rem 0; font-weight: 600;
|
||||
.loading {
|
||||
text-align: center;
|
||||
padding: 0.625rem 0;
|
||||
color: #444;
|
||||
}
|
||||
.no { color:#bbb; font-size: 0.6875rem;
|
||||
.finished {
|
||||
text-align: center;
|
||||
padding: 0.625rem 0;
|
||||
color: #444;
|
||||
}
|
||||
.amount { color:#333; font-weight: 700;
|
||||
.item {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto auto;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.5625rem 0.375rem;
|
||||
border-bottom: 0.03125rem solid #e5e7eb;
|
||||
}
|
||||
.arrow { color:#ccc; font-size: 1.25rem; margin-left: 0.25rem;
|
||||
.item-left {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.empty { height: 50vh; display:flex; align-items:center; justify-content:center; color:#999;
|
||||
.date {
|
||||
color: #444;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
.fab { position: fixed; right: 0.9375rem; bottom: 3.75rem; width: 3.125rem; height: 3.125rem; background:#18b566; color:#fff; border-radius: 1.5625rem; text-align:center; line-height: 3.125rem; font-size: 1.5rem; box-shadow: 0 0.25rem 0.625rem rgba(0,0,0,0.15);
|
||||
.name {
|
||||
color: #111;
|
||||
margin: 0.125rem 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
.no {
|
||||
color: #99a2b3;
|
||||
font-size: 0.6875rem;
|
||||
}
|
||||
.amount {
|
||||
color: #111;
|
||||
font-weight: 700;
|
||||
text-align: right;
|
||||
}
|
||||
.amount.in {
|
||||
color: #16a34a;
|
||||
}
|
||||
.amount.out {
|
||||
color: #dc2626;
|
||||
}
|
||||
.arrow {
|
||||
color: #8c99b0;
|
||||
font-size: 1.25rem;
|
||||
margin-left: 0.25rem;
|
||||
}
|
||||
.empty {
|
||||
height: 50vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #444;
|
||||
}
|
||||
.fab {
|
||||
position: fixed;
|
||||
right: 0.9375rem;
|
||||
bottom: 3.75rem;
|
||||
width: 3.125rem;
|
||||
height: 3.125rem;
|
||||
background: #fff;
|
||||
color: #4C8DFF;
|
||||
border: 0.0625rem solid #4C8DFF;
|
||||
border-radius: 1.5625rem;
|
||||
text-align: center;
|
||||
line-height: 3.125rem;
|
||||
font-size: 1.5rem;
|
||||
box-shadow: 0 0.25rem 0.625rem rgba(76, 141, 255, 0.18);
|
||||
}
|
||||
Reference in New Issue
Block a user