190 lines
4.2 KiB
Plaintext
190 lines
4.2 KiB
Plaintext
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
/* 页面容器 */
|
||
.container.data-v-ffabd4f6 {
|
||
min-height: 100vh;
|
||
background-color: #f5f5f5;
|
||
}
|
||
|
||
/* 顶部导航栏 */
|
||
.header.data-v-ffabd4f6 {
|
||
background-color: #fff;
|
||
border-bottom: 1px solid #eee;
|
||
/* 状态栏占位 */
|
||
/* 导航栏内容 */
|
||
/* 返回按钮 */
|
||
/* 返回图标 */
|
||
/* 页面标题 */
|
||
/* 右侧占位 */
|
||
}
|
||
.header .status-bar.data-v-ffabd4f6 {
|
||
width: 100%;
|
||
background-color: #fff;
|
||
}
|
||
.header .header-content.data-v-ffabd4f6 {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 0 16px;
|
||
}
|
||
.header .back-button.data-v-ffabd4f6 {
|
||
width: 40px;
|
||
height: 40px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
.header .back-icon.data-v-ffabd4f6 {
|
||
font-size: 44px;
|
||
color: #333;
|
||
font-weight: 300;
|
||
}
|
||
.header .header-title.data-v-ffabd4f6 {
|
||
font-size: 18px;
|
||
font-weight: 600;
|
||
color: #333;
|
||
flex: 1;
|
||
text-align: center;
|
||
}
|
||
.header .header-placeholder.data-v-ffabd4f6 {
|
||
width: 40px;
|
||
}
|
||
|
||
/* 主要内容区域 */
|
||
.content.data-v-ffabd4f6 {
|
||
padding-bottom: 40rpx;
|
||
}
|
||
|
||
/* 头像区域 */
|
||
.avatar-section.data-v-ffabd4f6 {
|
||
display: flex;
|
||
justify-content: center;
|
||
padding: 60rpx 0;
|
||
background-color: #fff;
|
||
margin-bottom: 20rpx;
|
||
/* 头像容器 */
|
||
/* 头像图片 */
|
||
/* 编辑图标 */
|
||
}
|
||
.avatar-section .avatar-wrapper.data-v-ffabd4f6 {
|
||
position: relative;
|
||
width: 160rpx;
|
||
height: 160rpx;
|
||
}
|
||
.avatar-section .avatar.data-v-ffabd4f6 {
|
||
width: 100%;
|
||
height: 100%;
|
||
border-radius: 50%;
|
||
background-color: #e0e0e0;
|
||
}
|
||
.avatar-section .avatar-edit-icon.data-v-ffabd4f6 {
|
||
position: absolute;
|
||
bottom: 0;
|
||
right: 0;
|
||
width: 48rpx;
|
||
height: 48rpx;
|
||
background-color: #17a2b8;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border: 3px solid #fff;
|
||
}
|
||
.avatar-section .avatar-edit-icon .edit-icon.data-v-ffabd4f6 {
|
||
font-size: 20rpx;
|
||
}
|
||
|
||
/* 表单区域 */
|
||
.form-section.data-v-ffabd4f6 {
|
||
background-color: #fff;
|
||
margin-bottom: 20rpx;
|
||
}
|
||
|
||
/* 表单项 */
|
||
.form-item.data-v-ffabd4f6 {
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 28rpx 32rpx;
|
||
border-bottom: 1px solid #f0f0f0;
|
||
/* 只读样式 */
|
||
/* 表单标签 */
|
||
/* 表单输入框 */
|
||
/* 表单值(只读) */
|
||
}
|
||
.form-item.data-v-ffabd4f6:last-child {
|
||
border-bottom: none;
|
||
}
|
||
.form-item.readonly .form-value.data-v-ffabd4f6 {
|
||
color: #999;
|
||
}
|
||
.form-item .form-label.data-v-ffabd4f6 {
|
||
width: 160rpx;
|
||
font-size: 28rpx;
|
||
color: #333;
|
||
flex-shrink: 0;
|
||
}
|
||
.form-item .form-input.data-v-ffabd4f6 {
|
||
flex: 1;
|
||
font-size: 28rpx;
|
||
color: #333;
|
||
text-align: right;
|
||
}
|
||
.form-item .form-value.data-v-ffabd4f6 {
|
||
flex: 1;
|
||
font-size: 28rpx;
|
||
color: #333;
|
||
text-align: right;
|
||
}
|
||
|
||
/* 按钮区域 */
|
||
.button-section.data-v-ffabd4f6 {
|
||
padding: 40rpx 32rpx;
|
||
}
|
||
|
||
/* 保存按钮 */
|
||
.save-button.data-v-ffabd4f6 {
|
||
width: 100%;
|
||
height: 88rpx;
|
||
line-height: 88rpx;
|
||
background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
|
||
color: #fff;
|
||
border-radius: 44rpx;
|
||
font-size: 32rpx;
|
||
font-weight: 600;
|
||
text-align: center;
|
||
border: none;
|
||
box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
|
||
}
|
||
|
||
/* 移除按钮默认边框 */
|
||
.save-button.data-v-ffabd4f6::after {
|
||
border: none;
|
||
}
|
||
|
||
/* 按钮禁用状态 */
|
||
.save-button[disabled].data-v-ffabd4f6 {
|
||
opacity: 0.6;
|
||
} |