279 lines
4.1 KiB
Plaintext
279 lines
4.1 KiB
Plaintext
view.wrapper {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-size: cover;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
view.camoverlay {
|
|
position: absolute;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: block;
|
|
z-index: -2;
|
|
}
|
|
|
|
image.square {
|
|
width: 750rpx;
|
|
height: 750rpx;
|
|
}
|
|
|
|
image.gray {
|
|
position: absolute;
|
|
top: 750rpx;
|
|
width: 750rpx;
|
|
height: 2000rpx;
|
|
bottom: 0;
|
|
overflow: hidden;
|
|
display: block;
|
|
z-index: -2;
|
|
opacity: 0.44;
|
|
}
|
|
|
|
view.debug {
|
|
position: absolute;
|
|
width: 80%;
|
|
bottom: 240rpx;
|
|
left: 10px;
|
|
padding: 0.3rem;
|
|
border: 1px solid yellow;
|
|
border-radius: 3px;
|
|
color: yellow;
|
|
background-color: rgba(100, 100, 100, 0.8);
|
|
z-index: 1000;
|
|
font-size: 13px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
view.debug image {
|
|
position: fixed;
|
|
right: 10px;
|
|
top: 10px;
|
|
width: 64px;
|
|
height: 64px;
|
|
border: 1px solid green;
|
|
}
|
|
|
|
canvas#straight {
|
|
display: none;
|
|
position: absolute;
|
|
top: 10rpx;
|
|
left: 10rpx;
|
|
width: 100px;
|
|
height: 100px;
|
|
border: 1px solid green;
|
|
}
|
|
|
|
canvas#roi {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 60px;
|
|
height: 60px;
|
|
border: 1px solid green;
|
|
}
|
|
|
|
view.osd {
|
|
position: fixed;
|
|
width: 100%;
|
|
top: 0;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
view.osd .upper {
|
|
border-radius: 20rpx;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
font-size: 1.1rem;
|
|
display: inline-block;
|
|
margin: 130rpx auto 630rpx auto;
|
|
padding: 0.8rem 2rem;
|
|
}
|
|
|
|
.wx-progress-inner-bar {
|
|
border-radius: 10px;
|
|
}
|
|
|
|
view.bottomfixed .wx-switch-input {
|
|
transform: scale(.75);
|
|
background-color: #707070;
|
|
}
|
|
|
|
view.anime {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.video-container {
|
|
position: relative;
|
|
margin: 50rpx auto;
|
|
width: 600rpx;
|
|
height: 1032rpx;
|
|
}
|
|
|
|
view.anime video {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
view.anime image.skip {
|
|
position: absolute;
|
|
top: 24rpx;
|
|
right: 70rpx;
|
|
width: 40rpx;
|
|
height: 80rpx;
|
|
width: 80rpx;
|
|
}
|
|
|
|
camera.camera {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: -3;
|
|
}
|
|
|
|
canvas#output {
|
|
width: 10px;
|
|
height: 10px;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
z-index: -10;
|
|
}
|
|
|
|
view.qrmarkers {
|
|
opacity: 70%;
|
|
margin: 100rpx 0;
|
|
/* animation: fadeInOut 2s linear infinite; */
|
|
}
|
|
|
|
@keyframes fadeInOut {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
view.tooltip {
|
|
position: fixed;
|
|
bottom: 310rpx;
|
|
left: 75rpx;
|
|
}
|
|
|
|
view.bottomfixed {
|
|
position: absolute;
|
|
width: 100%;
|
|
bottom: 0;
|
|
height: 200rpx;
|
|
background-color: #171616;
|
|
text-align: center;
|
|
border-top: 2px solid rgba(239, 72, 35, 0.7);
|
|
color: #707070;
|
|
}
|
|
|
|
view.bottomfixed .subtitle {
|
|
margin-top: 10rpx;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
view.icon {
|
|
font-size: 20rpx;
|
|
margin: 30rpx 0 20rpx;
|
|
}
|
|
|
|
view.icon-box {
|
|
display: inline-block;
|
|
width: 100rpx;
|
|
padding: 1rpx 1rpx !important;
|
|
background-color: #707070;
|
|
color: #aaa;
|
|
border-radius: 5rpx;
|
|
}
|
|
|
|
view.half {
|
|
position: relative;
|
|
width: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
view.text {
|
|
display: block;
|
|
}
|
|
|
|
view.brighter view.icon-box {
|
|
color: #eee;
|
|
background-color: #aaa;
|
|
}
|
|
|
|
view.brighter view.text {
|
|
color: #eee;
|
|
}
|
|
|
|
.actions {
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.actions .icon image {
|
|
height: 30rpx;
|
|
width: 80rpx;
|
|
}
|
|
|
|
view.qrarc {
|
|
width: 550rpx;
|
|
height: 550rpx;
|
|
margin: 260rpx 100rpx;
|
|
position: absolute;
|
|
animation: qrarc-anime 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
view.qrarc image.arc {
|
|
position: absolute;
|
|
width: 15%;
|
|
height: 15%;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
view.qrarc image.arc.topright {
|
|
right: 0;
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
view.qrarc image.arc.bottomleft {
|
|
bottom: 0;
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
view.qrarc image.arc.bottomright {
|
|
bottom: 0;
|
|
right: 0;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
|
|
@keyframes qrarc-anime {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(1.05);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|