mrr.sj.front/unpackage/dist/dev/mp-weixin/components/service-code-input/service-code-input.wxss

156 lines
3.8 KiB
Plaintext
Raw Normal View History

2026-03-24 11:45:13 +08:00
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.service-code-modal.data-v-57ba0784 {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 999999;
}
.service-code-modal .modal-mask.data-v-57ba0784 {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.15);
}
.service-code-modal .modal-content.data-v-57ba0784 {
position: absolute;
left: 0;
right: 0;
bottom: 0;
background: #fff;
border-radius: 32rpx 32rpx 0 0;
padding: 56rpx 40rpx 40rpx 40rpx;
box-shadow: 0 -8rpx 32rpx rgba(0, 0, 0, 0.08);
min-height: 340rpx;
align-items: center;
display: flex;
flex-direction: column;
-webkit-animation: modalUp-data-v-57ba0784 0.25s;
animation: modalUp-data-v-57ba0784 0.25s;
}
.service-code-modal .modal-title.data-v-57ba0784 {
font-size: 36rpx;
font-weight: bold;
color: #222;
text-align: center;
}
.service-code-modal .modal-subtitle.data-v-57ba0784 {
font-size: 28rpx;
color: #888;
margin: 24rpx 0 40rpx 0;
text-align: center;
}
.service-code-modal .code-box.data-v-57ba0784 {
flex-direction: row;
display: flex;
justify-content: center;
margin-bottom: 48rpx;
position: relative;
}
.service-code-modal .code-box .code-cell.data-v-57ba0784 {
width: 72rpx;
height: 72rpx;
border: 2rpx solid #eee;
border-radius: 16rpx;
margin-right: 24rpx;
font-size: 40rpx;
color: #ff4d8d;
background: #fff;
text-align: center;
line-height: 72rpx;
box-sizing: border-box;
transition: border-color 0.2s;
}
.service-code-modal .code-box .code-cell.active.data-v-57ba0784 {
border-color: #ff4d8d;
}
.service-code-modal .code-box .code-cell.filled.data-v-57ba0784 {
border-color: #ff4d8d;
}
.service-code-modal .code-box .code-cell.data-v-57ba0784:last-child {
margin-right: 0;
}
.service-code-modal .code-box .real-input.data-v-57ba0784 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
z-index: 2;
}
.service-code-modal .confirm-btn.data-v-57ba0784 {
width: 100%;
height: 88rpx;
background: #ff4d8d;
color: #fff;
font-size: 32rpx;
border-radius: 16rpx;
margin-top: 16rpx;
text-align: center;
line-height: 88rpx;
border: none;
}
.service-code-modal .confirm-btn.data-v-57ba0784:disabled {
background: #ffd1e3;
color: #fff;
}
.service-code-modal .close-btn.data-v-57ba0784 {
position: absolute;
right: 32rpx;
top: 32rpx;
font-size: 48rpx;
color: #bbb;
z-index: 10;
font-weight: bold;
line-height: 1;
}
@-webkit-keyframes modalUp-data-v-57ba0784 {
from {
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
to {
-webkit-transform: translateY(0);
transform: translateY(0);
}
}
@keyframes modalUp-data-v-57ba0784 {
from {
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
to {
-webkit-transform: translateY(0);
transform: translateY(0);
}
}