初始化代码
This commit is contained in:
114
uniapp/uni-app/unpackage/dist/dev/mp-weixin/mine/components/xt-verify-code.wxss
vendored
Normal file
114
uniapp/uni-app/unpackage/dist/dev/mp-weixin/mine/components/xt-verify-code.wxss
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.xt__verify-code.data-v-0fcb495b {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.xt__verify-code .xt__input.data-v-0fcb495b {
|
||||
height: 100%;
|
||||
width: 200%;
|
||||
position: absolute;
|
||||
left: -100%;
|
||||
z-index: 1;
|
||||
}
|
||||
.xt__verify-code .xt__cursor.data-v-0fcb495b {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
display: inline-block;
|
||||
width: 2px;
|
||||
-webkit-animation-name: cursor-data-v-0fcb495b;
|
||||
animation-name: cursor-data-v-0fcb495b;
|
||||
-webkit-animation-duration: 0.8s;
|
||||
animation-duration: 0.8s;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
.xt__verify-code .xt__input-ground.data-v-0fcb495b {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.xt__verify-code .xt__input-ground .xt__box.data-v-0fcb495b {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 88rpx;
|
||||
height: 100rpx;
|
||||
background: #F7F7F7;
|
||||
border-radius: 12rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.xt__verify-code .xt__input-ground .xt__box-bottom.data-v-0fcb495b {
|
||||
border-bottom: 1rpx solid #39b54a;
|
||||
}
|
||||
.xt__verify-code .xt__input-ground .xt__box-box.data-v-0fcb495b {
|
||||
border: 1rpx solid #39b54a;
|
||||
}
|
||||
.xt__verify-code .xt__input-ground .xt__box-middle.data-v-0fcb495b {
|
||||
border: none;
|
||||
}
|
||||
.xt__verify-code .xt__input-ground .xt__box .xt__middle-line.data-v-0fcb495b {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
.xt__verify-code .xt__input-ground .xt__box .xt__code-text.data-v-0fcb495b {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
font-size: 58rpx;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.xt__verify-code .xt__input-ground .xt__box.data-v-0fcb495b:nth-child(1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
@-webkit-keyframes cursor-data-v-0fcb495b {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
@keyframes cursor-data-v-0fcb495b {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user