|
@@ -118,9 +118,11 @@
|
|
}
|
|
}
|
|
/* code-area */
|
|
/* code-area */
|
|
.code-area {
|
|
.code-area {
|
|
|
|
+ min-height: 458px;
|
|
&-cont {
|
|
&-cont {
|
|
position: relative;
|
|
position: relative;
|
|
width: 610px;
|
|
width: 610px;
|
|
|
|
+ box-shadow: 0px 40px 40px 0px rgba(4, 5, 17, 0.3);
|
|
&-disabled::before {
|
|
&-disabled::before {
|
|
content: "";
|
|
content: "";
|
|
display: block;
|
|
display: block;
|
|
@@ -159,6 +161,7 @@
|
|
left: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
|
+ box-shadow: 0px 40px 40px 0px rgba(4, 5, 17, 0.3);
|
|
}
|
|
}
|
|
&-icon {
|
|
&-icon {
|
|
margin: 20px auto 0;
|
|
margin: 20px auto 0;
|
|
@@ -387,24 +390,28 @@
|
|
|
|
|
|
/* scan */
|
|
/* scan */
|
|
.scan {
|
|
.scan {
|
|
- &-back {
|
|
|
|
- position: fixed;
|
|
|
|
- width: 220px;
|
|
|
|
- height: 70px;
|
|
|
|
- top: 0;
|
|
|
|
- left: 0;
|
|
|
|
- z-index: 200;
|
|
|
|
- }
|
|
|
|
|
|
+ // &-back {
|
|
|
|
+ // position: fixed;
|
|
|
|
+ // width: 220px;
|
|
|
|
+ // height: 70px;
|
|
|
|
+ // padding: 20px 32px;
|
|
|
|
+ // top: 0;
|
|
|
|
+ // left: 0;
|
|
|
|
+ // z-index: 999;
|
|
|
|
+ // background-color: #202442;
|
|
|
|
+ // }
|
|
&-task {
|
|
&-task {
|
|
position: fixed;
|
|
position: fixed;
|
|
width: 220px;
|
|
width: 220px;
|
|
left: 0;
|
|
left: 0;
|
|
- top: 0;
|
|
|
|
|
|
+ top: 70px;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
z-index: 200;
|
|
z-index: 200;
|
|
- padding: 70px 20px 20px;
|
|
|
|
|
|
+ padding: 20px 20px 76px;
|
|
|
|
+ border-top-right-radius: 20px;
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
overflow-x: hidden;
|
|
|
|
+ background-color: #202442;
|
|
|
|
|
|
.task-item {
|
|
.task-item {
|
|
padding: 12px 10px 12px 58px;
|
|
padding: 12px 10px 12px 58px;
|
|
@@ -412,6 +419,7 @@
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
background-color: @backgroundLight;
|
|
background-color: @backgroundLight;
|
|
position: relative;
|
|
position: relative;
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
|
&-icon {
|
|
&-icon {
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -419,32 +427,43 @@
|
|
left: 10px;
|
|
left: 10px;
|
|
width: 38px;
|
|
width: 38px;
|
|
height: 38px;
|
|
height: 38px;
|
|
|
|
+ line-height: 38px;
|
|
|
|
+ text-align: center;
|
|
background: rgba(53, 60, 112, 1);
|
|
background: rgba(53, 60, 112, 1);
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
}
|
|
}
|
|
> p {
|
|
> p {
|
|
- &:last-child {
|
|
|
|
|
|
+ &:nth-of-type(2) {
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
&.task-over {
|
|
&.task-over {
|
|
- p:first-child {
|
|
|
|
|
|
+ p:nth-of-type(1) {
|
|
color: @fontMain;
|
|
color: @fontMain;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
- > span:first-child {
|
|
|
|
- margin-right: 10px;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
&-action {
|
|
&-action {
|
|
position: fixed;
|
|
position: fixed;
|
|
|
|
+ width: 220px;
|
|
left: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
background-color: #2d325a;
|
|
background-color: #2d325a;
|
|
- padding: 20px 15px;
|
|
|
|
|
|
+ padding: 20px 10px;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ > button {
|
|
|
|
+ width: 85px;
|
|
|
|
+ padding: 0 5px;
|
|
|
|
+ &:first-child {
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ background: rgba(34, 192, 255, 1);
|
|
|
|
+
|
|
|
|
+ &:hover {
|
|
|
|
+ background: rgba(34, 192, 255, 0.9);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -457,11 +476,11 @@
|
|
z-index: 99;
|
|
z-index: 99;
|
|
padding: 20px;
|
|
padding: 20px;
|
|
border-top-left-radius: 20px;
|
|
border-top-left-radius: 20px;
|
|
- background-color: @backgroundLight;
|
|
|
|
|
|
+ background-color: #202442;
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
overflow-x: hidden;
|
|
.history-item {
|
|
.history-item {
|
|
- margin-bottom: 20px;
|
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
|
|
&-title {
|
|
&-title {
|
|
margin-top: 6px;
|
|
margin-top: 6px;
|
|
@@ -484,36 +503,28 @@
|
|
}
|
|
}
|
|
|
|
|
|
&-image {
|
|
&-image {
|
|
- margin: 0 240px;
|
|
|
|
- padding: 20px 0;
|
|
|
|
|
|
+ margin: 0 260px;
|
|
|
|
+ padding-bottom: 18px;
|
|
}
|
|
}
|
|
|
|
|
|
&-main {
|
|
&-main {
|
|
- height: 500px;
|
|
|
|
|
|
+ height: 456px;
|
|
background: @backgroundLight;
|
|
background: @backgroundLight;
|
|
- margin-bottom: 30px;
|
|
|
|
|
|
+ margin-bottom: 20px;
|
|
position: relative;
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
|
|
/* scan-wariting */
|
|
/* scan-wariting */
|
|
&-waiting {
|
|
&-waiting {
|
|
padding-top: 140px;
|
|
padding-top: 140px;
|
|
- border: 2px dashed rgb(221, 222, 224);
|
|
|
|
|
|
+ border-radius: 20px;
|
|
&-icon {
|
|
&-icon {
|
|
- width: 240px;
|
|
|
|
- height: 187px;
|
|
|
|
- // background-image: url(../images/bg-camera.png);
|
|
|
|
|
|
+ width: 233px;
|
|
|
|
+ height: 229px;
|
|
|
|
+ background-image: url(../images/camera.png);
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
- box-shadow: 0px 15px 25px 0px rgba(81, 175, 235, 0.3);
|
|
|
|
- margin: 0 auto 32px;
|
|
|
|
- }
|
|
|
|
- &-tips {
|
|
|
|
- font-size: 20px;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: rgba(90, 153, 230, 1);
|
|
|
|
- line-height: 28px;
|
|
|
|
- text-align: center;
|
|
|
|
|
|
+ margin: 0 auto;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -521,21 +532,6 @@
|
|
&-picture {
|
|
&-picture {
|
|
box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
- // scan-progress
|
|
|
|
- &-progress {
|
|
|
|
- position: absolute;
|
|
|
|
- width: 300px;
|
|
|
|
- height: 22px;
|
|
|
|
- line-height: 22px;
|
|
|
|
- top: 34px;
|
|
|
|
- right: 40px;
|
|
|
|
- color: #fff;
|
|
|
|
- font-size: 16px;
|
|
|
|
- > span {
|
|
|
|
- display: inline-block;
|
|
|
|
- vertical-align: middle;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
// scan-info
|
|
// scan-info
|
|
&-info {
|
|
&-info {
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
@@ -563,7 +559,7 @@
|
|
width: 10px;
|
|
width: 10px;
|
|
height: 10px;
|
|
height: 10px;
|
|
border: 2px solid rgba(65, 205, 125, 1);
|
|
border: 2px solid rgba(65, 205, 125, 1);
|
|
- margin-right: 10px;
|
|
|
|
|
|
+ margin-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-upload {
|
|
&-upload {
|
|
@@ -583,281 +579,79 @@
|
|
float: right;
|
|
float: right;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+.line-scan {
|
|
|
|
+ .scan-image {
|
|
|
|
+ margin-left: 40px;
|
|
|
|
+ }
|
|
|
|
+ .scan-student {
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 50%;
|
|
|
|
+ bottom: 10px;
|
|
|
|
+ transform: translateX(-50%);
|
|
|
|
+ padding: 8px 20px;
|
|
|
|
+ background-color: #41cd7d;
|
|
|
|
+ color: @fontMain;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ border-radius: 10px;
|
|
|
|
+ opacity: 0.9;
|
|
|
|
+ z-index: 99;
|
|
|
|
|
|
-/* scan-input */
|
|
|
|
-.scan-input .ivu-modal-header {
|
|
|
|
- display: none;
|
|
|
|
-}
|
|
|
|
-.scan-input .ivu-modal-footer {
|
|
|
|
- padding: 0;
|
|
|
|
-}
|
|
|
|
-.scan-input .ivu-modal-body {
|
|
|
|
- padding-bottom: 30px;
|
|
|
|
-}
|
|
|
|
-.scan-input-title {
|
|
|
|
- color: @pink;
|
|
|
|
- padding: 0 0 30px;
|
|
|
|
- font-size: 24px;
|
|
|
|
- text-align: center;
|
|
|
|
- position: relative;
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
-}
|
|
|
|
-.scan-input-reset {
|
|
|
|
- position: absolute;
|
|
|
|
- bottom: 0;
|
|
|
|
- right: 0;
|
|
|
|
-}
|
|
|
|
-.scan-input-main {
|
|
|
|
- background: @backgroundLight;
|
|
|
|
- position: relative;
|
|
|
|
- margin-bottom: 20px;
|
|
|
|
- min-height: 280px;
|
|
|
|
-}
|
|
|
|
-.scan-input-cont {
|
|
|
|
- position: relative;
|
|
|
|
- width: 420px;
|
|
|
|
- min-height: 280px;
|
|
|
|
-}
|
|
|
|
-.scan-input-cont img {
|
|
|
|
- display: block;
|
|
|
|
- width: 100%;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.scan-input-preview {
|
|
|
|
- width: 240px;
|
|
|
|
-}
|
|
|
|
-.scan-input-spin {
|
|
|
|
- height: 240px;
|
|
|
|
-}
|
|
|
|
-.scan-input-spin-img {
|
|
|
|
- width: 240px;
|
|
|
|
- height: 180px;
|
|
|
|
-}
|
|
|
|
-.scan-input-form {
|
|
|
|
- padding: 20px 20px 0;
|
|
|
|
- text-align: center;
|
|
|
|
-}
|
|
|
|
-.scan-input-footer {
|
|
|
|
- height: 88px;
|
|
|
|
- padding: 19px;
|
|
|
|
- background: rgba(230, 234, 242, 1);
|
|
|
|
- text-align: center;
|
|
|
|
- border-bottom-left-radius: 10px;
|
|
|
|
- border-bottom-right-radius: 10px;
|
|
|
|
-}
|
|
|
|
-.scan-input-btn {
|
|
|
|
- display: inline-block;
|
|
|
|
- vertical-align: middle;
|
|
|
|
- width: 240px;
|
|
|
|
-}
|
|
|
|
-.scan-input-btn:first-child {
|
|
|
|
- margin-right: 20px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/* hand-input */
|
|
|
|
-.hand-input .ivu-modal-header {
|
|
|
|
- background: rgba(71, 195, 233, 1);
|
|
|
|
-}
|
|
|
|
-.hand-input-body {
|
|
|
|
- width: 944px;
|
|
|
|
- margin: 0 auto;
|
|
|
|
-}
|
|
|
|
-.hand-input-main {
|
|
|
|
- background: @backgroundLight;
|
|
|
|
- position: relative;
|
|
|
|
- margin-bottom: 20px;
|
|
|
|
- min-height: 280px;
|
|
|
|
-}
|
|
|
|
-.hand-input-cont {
|
|
|
|
- width: 600px;
|
|
|
|
- min-height: 400px;
|
|
|
|
-}
|
|
|
|
-.hand-input-cont img {
|
|
|
|
- display: block;
|
|
|
|
- width: 100%;
|
|
|
|
-}
|
|
|
|
-.hand-input-spin {
|
|
|
|
- position: absolute;
|
|
|
|
- width: 300px;
|
|
|
|
- height: 200px;
|
|
|
|
- background: #fff;
|
|
|
|
- top: 50%;
|
|
|
|
- right: 20px;
|
|
|
|
- margin-top: -100px;
|
|
|
|
- overflow: hidden;
|
|
|
|
-}
|
|
|
|
-.hand-input-form {
|
|
|
|
- padding: 20px 20px 0;
|
|
|
|
- text-align: center;
|
|
|
|
- background: @backgroundLight;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/* progress-bar */
|
|
|
|
-.progress-bar {
|
|
|
|
- position: relative;
|
|
|
|
- height: 12px;
|
|
|
|
- width: 200px;
|
|
|
|
-}
|
|
|
|
-.progress-line {
|
|
|
|
- display: block;
|
|
|
|
- height: 100%;
|
|
|
|
- border-radius: 10px;
|
|
|
|
- background: rgba(255, 255, 255, 0.2);
|
|
|
|
- overflow: hidden;
|
|
|
|
-}
|
|
|
|
-.progress-rate {
|
|
|
|
- display: inline-block;
|
|
|
|
- vertical-align: top;
|
|
|
|
- height: 100%;
|
|
|
|
- background: linear-gradient(
|
|
|
|
- 90deg,
|
|
|
|
- rgba(255, 255, 132, 1) 0%,
|
|
|
|
- rgba(255, 209, 69, 1) 100%
|
|
|
|
- );
|
|
|
|
-}
|
|
|
|
-.progress-num {
|
|
|
|
- position: absolute;
|
|
|
|
- bottom: -22px;
|
|
|
|
- right: 0;
|
|
|
|
- color: #fff;
|
|
|
|
- font-size: 14px;
|
|
|
|
-}
|
|
|
|
-.progress-num i:first-child {
|
|
|
|
- font-size: 16px;
|
|
|
|
- color: rgba(255, 252, 111, 1);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/* scan-footer */
|
|
|
|
-.scan-footer {
|
|
|
|
- position: relative;
|
|
|
|
- height: 60px;
|
|
|
|
-}
|
|
|
|
-.scan-footer-nums {
|
|
|
|
- position: absolute;
|
|
|
|
- height: 20px;
|
|
|
|
- top: 20px;
|
|
|
|
- left: 0;
|
|
|
|
- line-height: 20px;
|
|
|
|
- color: @midDark;
|
|
|
|
-}
|
|
|
|
-.scan-footer-nums span {
|
|
|
|
- margin-right: 5px;
|
|
|
|
-}
|
|
|
|
-.scan-footer-nums span i:last-child {
|
|
|
|
- color: @dark;
|
|
|
|
- margin-left: 5px;
|
|
|
|
-}
|
|
|
|
-.scan-fonter-task-btn {
|
|
|
|
- position: absolute;
|
|
|
|
- left: 50%;
|
|
|
|
- top: 0;
|
|
|
|
- height: 60px;
|
|
|
|
- width: 200px;
|
|
|
|
- margin-left: -100px;
|
|
|
|
- box-shadow: 0px 10px 10px 0px rgba(237, 81, 90, 0.3);
|
|
|
|
- border-radius: 30px;
|
|
|
|
-}
|
|
|
|
-.scan-fonter-task-btn .ivu-btn-large {
|
|
|
|
- padding: 0 15px;
|
|
|
|
-}
|
|
|
|
-.scan-footer-btn {
|
|
|
|
- position: absolute;
|
|
|
|
- top: 10px;
|
|
|
|
- right: 0;
|
|
|
|
-}
|
|
|
|
-.scan-footer-btn .ivu-btn {
|
|
|
|
- background: rgba(92, 158, 238, 0.2);
|
|
|
|
- color: rgba(90, 153, 230, 1);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/* input-append */
|
|
|
|
-.input-append {
|
|
|
|
- position: relative;
|
|
|
|
-}
|
|
|
|
-.input-append .ivu-input {
|
|
|
|
- padding-right: 40px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.input-append-icon {
|
|
|
|
- height: 100%;
|
|
|
|
- width: 40px;
|
|
|
|
- position: absolute;
|
|
|
|
- top: 0;
|
|
|
|
- right: 0;
|
|
|
|
- z-index: auto;
|
|
|
|
- font-size: 20px;
|
|
|
|
- cursor: pointer;
|
|
|
|
-}
|
|
|
|
-.input-append-icon > i {
|
|
|
|
- position: absolute;
|
|
|
|
- display: block;
|
|
|
|
- top: 50%;
|
|
|
|
- left: 50%;
|
|
|
|
- transform: translate(-50%, -50%);
|
|
|
|
|
|
+ span:first-child {
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
-/* layout-container confirm */
|
|
|
|
-.layout-container {
|
|
|
|
- position: fixed;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100%;
|
|
|
|
- top: 0;
|
|
|
|
- left: 0;
|
|
|
|
- z-index: 9999;
|
|
|
|
- background: rgba(0, 0, 0, 0.5);
|
|
|
|
-}
|
|
|
|
-.layout-content {
|
|
|
|
- position: absolute;
|
|
|
|
- width: 360px;
|
|
|
|
- left: 50%;
|
|
|
|
- top: 50%;
|
|
|
|
- margin-top: -200px;
|
|
|
|
- margin-left: -180px;
|
|
|
|
- overflow: hidden;
|
|
|
|
- text-align: center;
|
|
|
|
- border-radius: 10px;
|
|
|
|
- background: rgba(245, 247, 251, 1);
|
|
|
|
- box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
|
|
|
|
-}
|
|
|
|
-/* .layout-main {
|
|
|
|
- border-radius: 10px;
|
|
|
|
-} */
|
|
|
|
-.layout-message {
|
|
|
|
- padding: 60px 40px;
|
|
|
|
- font-size: 18px;
|
|
|
|
- color: rgba(119, 125, 138, 1);
|
|
|
|
- line-height: 30px;
|
|
|
|
- min-height: 170px;
|
|
|
|
-}
|
|
|
|
-.layout-message > span:first-child {
|
|
|
|
- margin-right: 10px;
|
|
|
|
- vertical-align: middle;
|
|
|
|
-}
|
|
|
|
-.layout-title {
|
|
|
|
- height: 40px;
|
|
|
|
- line-height: 40px;
|
|
|
|
- overflow: hidden;
|
|
|
|
- border-bottom: 1px solid #e0e0e0;
|
|
|
|
-}
|
|
|
|
-.layout-btns {
|
|
|
|
- height: 44px;
|
|
|
|
- font-size: 16px;
|
|
|
|
-}
|
|
|
|
-.layout-btns span {
|
|
|
|
- display: block;
|
|
|
|
- float: left;
|
|
|
|
- width: 50%;
|
|
|
|
- line-height: 44px;
|
|
|
|
- cursor: pointer;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- background: rgba(235, 239, 247, 1);
|
|
|
|
-}
|
|
|
|
-.layout-btns span.btn-bold {
|
|
|
|
- font-weight: bold;
|
|
|
|
-}
|
|
|
|
-.layout-btns span:last-child {
|
|
|
|
- background: rgba(92, 158, 238, 1);
|
|
|
|
- color: #fff;
|
|
|
|
|
|
+/* scan-exception-dialog */
|
|
|
|
+.scan-exception-dialog {
|
|
|
|
+ .exception-body {
|
|
|
|
+ position: relative;
|
|
|
|
+ width: 944px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ border-radius: 20px;
|
|
|
|
+ background-color: #2e325a;
|
|
|
|
+ padding: 0 30px 30px;
|
|
|
|
+ }
|
|
|
|
+ .exception-title {
|
|
|
|
+ position: relative;
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ padding: 20px 0;
|
|
|
|
+ line-height: 24px;
|
|
|
|
+ > i {
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .exception-code-area {
|
|
|
|
+ margin-bottom: 32px;
|
|
|
|
+ }
|
|
|
|
+ .exception-footer {
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ }
|
|
|
|
+ .exception-form {
|
|
|
|
+ float: left;
|
|
|
|
+ }
|
|
|
|
+ .exception-actions {
|
|
|
|
+ float: right;
|
|
|
|
+ > button {
|
|
|
|
+ margin: 0 5px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ // ivu
|
|
|
|
+ .ivu-modal-header {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ .ivu-modal-body {
|
|
|
|
+ top: 0 !important;
|
|
|
|
+ padding: 56px 40px;
|
|
|
|
+ }
|
|
|
|
+ .ivu-modal-content {
|
|
|
|
+ background: #25294a !important;
|
|
|
|
+ }
|
|
|
|
+ .ivu-icon-scan {
|
|
|
|
+ margin-top: 8px;
|
|
|
|
+ margin-right: 5px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
@keyframes zoomIn {
|
|
@keyframes zoomIn {
|