html,
body {
    height: 100%;
    background: #000;
}
.camera {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.cameraState {
    width: 80px;
    margin-top: 400px;
    font-size: 20px;
    background-color: #f74;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 8px;
    display: block;
    width: 40px;
    height: 40px;
}

.flash-button {
    position: absolute;
    top: 72px;
    right: 8px;
    display: block;
    width: 40px;
    height: 40px;
}
.record-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
}

.record-container-x {
    bottom: 20px !important;
}

.record-circle {
    position: absolute;
    bottom: 45px;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
}
.record-circle-x {
    bottom: 65px !important;
}

.switch-camera {
    display: flex;
    width: 210px;
    height: 40px;
    margin: 5px auto 0;
    -webkit-transition: -webkit-transform .5s;
            transition:         transform .5s;
}
.switch-camera cover-view {
    width: 100%;
    font-size: 32rpx;
    text-align: center;
    vertical-align: top;
    white-space: normal;
    opacity: .5;
    color: #fff;
}
.switch-camera cover-view.active {
    opacity: 1;
    color: #fff;
}
.switch-camera.photo-state {
    -webkit-transform: translate(-70px);
            transform: translate(-70px);
}
.action-complete {
    position: absolute;
    bottom: 82rpx;
    display: flex;
    width: 100%;
    height: 116rpx;
    color: #fff;

    align-items: center;
    justify-content: space-between;
}
.action-complete-x {
    bottom: 102rpx !important;
}

.action-complete .giveup-img {
    width: 70rpx;
    height: 70rpx;
    margin-left: 60rpx;
}
.action-complete .share-img {
    width: 116rpx;
    height: 116rpx;
}
.action-complete .save-img {
    width: 70rpx;
    height: 70rpx;
    margin-right: 60rpx;
}
.scan-cover {
    width: 288px;
    margin: 75px auto 0;
}
.scan-cover .corner {
    width: 288px;
    height: 288px;
}
.scan-cover .scan-ing {
    margin-top: 50px;
    text-align: center;
    color: #fff;
}
.scan-cover .scan-tip {
    margin-top: 10px;
    text-align: center;
    color: #fff;
}
.net-cover {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    opacity: .65;
    background: #000;

    align-items: center;
}
.net {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 30%;

    align-items: center;
    justify-content: space-around;
}
.no-net {
    width: 163rpx;
    height: 163rpx;
}
.net-desc {
    width: 80%;
    font: 29rpx;
    text-align: center;
    white-space: normal;
    color: #fff;
}
.reload {
    width: 199rpx;
    height: 69rpx;
    border: 1px solid #fff;
    font: 29rpx;
    line-height: 69rpx;
    text-align: center;
    color: #fff;
    border-radius: 11rpx;
}
.upload-cover {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    opacity: .65;
    background: #000;

    align-items: center;
    justify-content: center;
}
.upload-content {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 198rpx;
    height: 382rpx;
    transform: translate(-50%, -50%);

    justify-content: center;
}
.upload-progress {
    box-sizing: border-box;
    width: 94px;
    height: 94px;
    margin: 0 auto;
    text-align: center;
}
.upload-num {
    box-sizing: border-box;
    width: 160rpx;
    height: 160rpx;
    line-height: 160rpx;
    text-align: center;
    color: #fff;
}
.upload-desc {
    margin: 20px auto;
    font: 29rpx;
    text-align: center;
    color: #fff;
}
.upload-stop {
    width: 199rpx;
    height: 69rpx;
    margin-top: 90rpx;
    border: 1px solid #fff;
    font: 29rpx;
    line-height: 69rpx;
    text-align: center;
    color: #fff;
    border-radius: 3rpx;
}
