/** * 这里是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: 15rem; height: 9.375rem; border-radius: 0.625rem; background-color: #fff; display: flex; justify-content: center; align-items: center; background-image: url("https://www.focusnu.com/media/directive/index/newpink.png"); background-position: top center; background-repeat: no-repeat; z-index: 1; padding: 0 10%; } .tittle-bgc[data-v-5994d25c] { position: absolute; top: 0; left: 0; width: 100%; height: 9.375rem; 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: 1.25rem; margin: 1.25rem 0 0 1.5625rem; font-weight: 600; } .button[data-v-5994d25c] { position: absolute; bottom: 1.5625rem; left: 50%; transform: translateX(-50%); width: 80%; height: 2.5rem; background: linear-gradient(to right, #00C9FF, #0076FF); display: flex; justify-content: center; align-items: center; color: #fff; font-size: 1.09375rem; border-radius: 1.09375rem; } /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果您是插件开发者,建议您使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果您是App开发者(插件使用者),您可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果您的项目同样使用了scss预处理,您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .container[data-v-5fcb8e22] { display: flex; flex-direction: column; min-height: 100vh; width: 100%; background-color: #eff1fc; position: relative; box-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.1); } .container .white-content[data-v-5fcb8e22] { width: 90%; margin-left: 5%; margin-top: 0.9375rem; border-radius: 1.09375rem; background-color: #f5fbfe; } .container .white-content .content-title[data-v-5fcb8e22] { display: flex; height: 3.125rem; position: relative; } .container .white-content .content-title .content-weight[data-v-5fcb8e22] { font-weight: 600; margin-left: 2.1875rem; margin-top: 0.625rem; } .container .white-content .content-title .content-img[data-v-5fcb8e22] { position: absolute; right: 0; top: 0; width: 12.5rem; height: 100%; } .container .white-photo[data-v-5fcb8e22] { width: 90%; margin-left: 5%; height: 9.375rem; border-radius: 1.09375rem; background-color: #fff; box-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.1); justify-content: space-around; align-items: center; display: flex; } .container .white-photo .photo[data-v-5fcb8e22] { width: 9.375rem; height: 6.25rem; } .container .white-message[data-v-5fcb8e22] { width: 90%; margin-left: 5%; margin-top: 0.9375rem; margin-bottom: 0.9375rem; border-radius: 1.09375rem; background-color: #fff; box-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.1); justify-content: space-around; display: flex; flex-direction: column; } .container .white-message .message-title[data-v-5fcb8e22] { width: 100%; height: 3.125rem; align-items: center; display: flex; } .container .white-message .message-title .shu[data-v-5fcb8e22] { width: 0.3125rem; height: 0.9375rem; background-color: #0097FF; border-radius: 0.3125rem; margin: 0 0.625rem 0 0.9375rem; } .container .white-message .message-title .message-weight[data-v-5fcb8e22] { font-size: 0.9375rem; } .container .white-message .one[data-v-5fcb8e22] { width: 90%; margin-left: 5%; border-bottom: 0.03125rem solid #d7d7d7; height: 2.8125rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3125rem; } .container .white-message .one .one-left[data-v-5fcb8e22] { margin-left: 0.3125rem; } .container .white-message .one .one-right[data-v-5fcb8e22] { margin-right: 0.3125rem; color: #999999; overflow: hidden; /* 隐藏超出内容 */ white-space: nowrap; /* 不换行 */ text-overflow: ellipsis; max-width: 9.375rem; } .photo-left .photo-weight[data-v-5fcb8e22] { font-size: 0.8125rem; font-weight: 600; } .photo-left .photo-font[data-v-5fcb8e22] { font-size: 0.71875rem; margin-top: 0.3125rem; } .gray-font[data-v-5fcb8e22] { padding: 0.9375rem 1.875rem; color: #999999; } .finish-button[data-v-5fcb8e22] { display: flex; justify-content: center; align-items: center; width: 80%; height: 3.125rem; margin: 0 auto; margin-bottom: 2.5rem; color: #fff; background: linear-gradient(to right, #00C9FF, #0076FF); border-radius: 1.09375rem; font-size: 1.03125rem; }