105 lines
2.6 KiB
Plaintext
105 lines
2.6 KiB
Plaintext
|
/**
|
|||
|
* 这里是uni-app内置的常用样式变量
|
|||
|
*
|
|||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|||
|
*
|
|||
|
*/
|
|||
|
/**
|
|||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|||
|
*
|
|||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|||
|
*/
|
|||
|
/* 颜色变量 */
|
|||
|
/* 行为相关颜色 */
|
|||
|
/* 文字基本颜色 */
|
|||
|
/* 背景颜色 */
|
|||
|
/* 边框颜色 */
|
|||
|
/* 尺寸变量 */
|
|||
|
/* 文字尺寸 */
|
|||
|
/* 图片尺寸 */
|
|||
|
/* Border Radius */
|
|||
|
/* 水平间距 */
|
|||
|
/* 垂直间距 */
|
|||
|
/* 透明度 */
|
|||
|
/* 文章场景相关 */
|
|||
|
/* 容器默认隐藏,透明度为 0,不接受点击 */
|
|||
|
.neuro-wrapper.data-v-af075e65 {
|
|||
|
position: fixed;
|
|||
|
inset: 0;
|
|||
|
display: flex;
|
|||
|
justify-content: center;
|
|||
|
align-items: center;
|
|||
|
z-index: 999;
|
|||
|
opacity: 0;
|
|||
|
pointer-events: none;
|
|||
|
transition: opacity 0.3s ease;
|
|||
|
}
|
|||
|
|
|||
|
/* 显示时透明度过渡到 1,可接受点击 */
|
|||
|
.neuro-wrapper.is-active.data-v-af075e65 {
|
|||
|
opacity: 1;
|
|||
|
pointer-events: auto;
|
|||
|
}
|
|||
|
|
|||
|
/* 遮罩层,半透明黑色 */
|
|||
|
.neuro-mask.data-v-af075e65 {
|
|||
|
position: absolute;
|
|||
|
inset: 0;
|
|||
|
background-color: rgba(0, 0, 0, 0.3);
|
|||
|
}
|
|||
|
|
|||
|
/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */
|
|||
|
.neuro-box.data-v-af075e65 {
|
|||
|
position: relative;
|
|||
|
width: 600rpx;
|
|||
|
height: 450rpx;
|
|||
|
border-radius: 30rpx;
|
|||
|
background-color: #fff;
|
|||
|
display: flex;
|
|||
|
flex-direction: column;
|
|||
|
align-items: center;
|
|||
|
z-index: 1;
|
|||
|
padding: 0 10%;
|
|||
|
}
|
|||
|
.button.data-v-af075e65 {
|
|||
|
width: 47%;
|
|||
|
background-color: #ddf0ff;
|
|||
|
display: flex;
|
|||
|
justify-content: center;
|
|||
|
align-items: center;
|
|||
|
color: #007CFF;
|
|||
|
border: 1rpx solid #007CFF;
|
|||
|
font-size: 25rpx;
|
|||
|
border-radius: 30rpx;
|
|||
|
}
|
|||
|
.title.data-v-af075e65 {
|
|||
|
margin-top: 70rpx;
|
|||
|
}
|
|||
|
.card-font.data-v-af075e65 {
|
|||
|
margin-top: 70rpx;
|
|||
|
width: 600rpx;
|
|||
|
justify-content: center;
|
|||
|
display: flex;
|
|||
|
}
|
|||
|
.button-white.data-v-af075e65 {
|
|||
|
width: 47%;
|
|||
|
border: 2rpx solid #c3cacd;
|
|||
|
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
|
|||
|
display: flex;
|
|||
|
justify-content: center;
|
|||
|
align-items: center;
|
|||
|
font-size: 25rpx;
|
|||
|
border-radius: 30rpx;
|
|||
|
}
|
|||
|
.button-father.data-v-af075e65 {
|
|||
|
position: absolute;
|
|||
|
bottom: 60rpx;
|
|||
|
left: 50%;
|
|||
|
transform: translateX(-50%);
|
|||
|
width: 100%;
|
|||
|
height: 70rpx;
|
|||
|
display: flex;
|
|||
|
justify-content: space-between;
|
|||
|
padding: 0 50rpx;
|
|||
|
}
|