96 lines
2.5 KiB
Plaintext
96 lines
2.5 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-5994d25c {
|
||
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-5994d25c {
|
||
opacity: 1;
|
||
pointer-events: auto;
|
||
}
|
||
|
||
/* 遮罩层,半透明黑色 */
|
||
.neuro-mask.data-v-5994d25c {
|
||
position: absolute;
|
||
inset: 0;
|
||
background-color: rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */
|
||
.neuro-box.data-v-5994d25c {
|
||
position: relative;
|
||
width: 550rpx;
|
||
height: 600rpx;
|
||
border-radius: 20rpx;
|
||
background-color: #fff;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
z-index: 1;
|
||
padding: 0 10%;
|
||
}
|
||
.tittle-bgc.data-v-5994d25c {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 300rpx;
|
||
background-image: url("https://www.focusnu.com/media/directive/index/modelbgc.png");
|
||
background-size: 100% auto;
|
||
background-position: top center;
|
||
background-repeat: no-repeat;
|
||
}
|
||
.tittle-bgc .text.data-v-5994d25c {
|
||
color: #47526F;
|
||
font-size: 40rpx;
|
||
margin: 40rpx 0 0 50rpx;
|
||
font-weight: 600;
|
||
}
|
||
.button.data-v-5994d25c {
|
||
position: absolute;
|
||
bottom: 50rpx;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
width: 80%;
|
||
height: 80rpx;
|
||
background: linear-gradient(to right, #00C9FF, #0076FF);
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
color: #fff;
|
||
font-size: 35rpx;
|
||
border-radius: 35rpx;
|
||
} |