diff --git a/css/index.css b/css/index.css index 697eab4..e883f51 100644 --- a/css/index.css +++ b/css/index.css @@ -1,9 +1,17 @@ +.index-footer { + margin-top: 0 !important; +} +header.page-header .box .tab-list .item.pitch { + color: #FDDF6D !important; +} +header.page-header .box .tab-list .item.pitch::after { + background-color: #fddf6d !important; +} * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; - font-style: normal; } /* Webkit浏览器(Chrome、Safari等) */ *::-webkit-scrollbar { @@ -59,6 +67,7 @@ #answer-app { min-width: 1200px; overflow-x: hidden; + word-break: break-all; } #answer-app header { background: #f6f6f6; @@ -102,6 +111,17 @@ height: 20px; cursor: pointer; } +#answer-app header .top .right .searchInput .clear-search .cross-circle-black { + width: 14px; + height: 14px; + cursor: pointer; +} +#answer-app header .top .right .searchInput .clear-search .halving-line { + width: 1px; + height: 13px; + background-color: #ebebeb; + margin: 0 17px; +} #answer-app header .top .right .searchInput .history-box { position: absolute; top: 36px; @@ -168,6 +188,7 @@ } #answer-app header .tab-box { width: 100%; + min-width: 1200px; z-index: 1; background-color: #f6f6f6; padding: 5px 0; @@ -243,7 +264,7 @@ font-size: 14px; height: 20px; cursor: pointer; - width: 400px; + max-width: 400px; padding-right: 20px; margin-right: 20px; border-right: 1px solid #ebebeb; @@ -343,6 +364,9 @@ color: #000000; line-height: 22px; } +#answer-app .main .list-box .list .item .content .issue-title .issue em { + color: #ff0000; +} #answer-app .main .list-box .list .item .content .answer { color: #555; height: 22px; @@ -350,6 +374,9 @@ font-size: 13px; margin-bottom: 18px; } +#answer-app .main .list-box .list .item .content .answer em { + color: #ff0000; +} #answer-app .main .list-box .list .item .content .bottom { font-size: 12px; justify-content: flex-end; @@ -401,6 +428,28 @@ overflow-x: hidden; display: flex; flex-direction: column; + position: relative; +} +#answer-app .main .details-area-box .loading-bj { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1; + background-color: rgba(255, 255, 255, 0.5); +} +#answer-app .main .details-area-box .loading-bj svg { + width: 100px; + animation: spin 2s linear infinite; +} +@keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } } #answer-app .main .details-area-box .details-box { width: 688px; @@ -443,6 +492,7 @@ padding-top: 24px; margin-bottom: 28px; position: relative; + word-break: break-all; } #answer-app .main .details-area-box .details-box .details-issue .icon { background-color: #72db86; @@ -555,6 +605,7 @@ line-height: 26px; padding: 0 24px; margin-bottom: 20px; + word-break: break-all; } #answer-app .main .details-area-box .details-box .answer-box-item .answer-text img { max-width: 100%; @@ -642,12 +693,16 @@ #answer-app .main .details-area-box .details-box .answer-box-item .comments-box .comments-item .comments-header .comments-header-right .menu-box { position: relative; } +#answer-app .main .details-area-box .details-box .answer-box-item .comments-box .comments-item .comments-header .comments-header-right .menu-box:hover .report-box { + display: flex; +} #answer-app .main .details-area-box .details-box .answer-box-item .comments-box .comments-item .comments-header .comments-header-right .menu-box .menu-icon { width: 14px; height: 14px; cursor: pointer; } #answer-app .main .details-area-box .details-box .answer-box-item .comments-box .comments-item .comments-header .comments-header-right .menu-box .report-box { + display: none; position: absolute; top: 24px; right: 0; @@ -658,6 +713,15 @@ border-radius: 5px; font-size: 12px; color: #7F7F7F; + cursor: pointer; +} +#answer-app .main .details-area-box .details-box .answer-box-item .comments-box .comments-item .comments-header .comments-header-right .menu-box .report-box::after { + content: ""; + width: 58px; + height: 36px; + position: absolute; + top: -14px; + right: 0; } #answer-app .main .details-area-box .details-box .answer-box-item .comments-box .comments-item .comments-header .comments-header-right .comment-icon { width: 14px; @@ -844,6 +908,14 @@ #answer-app .main .details-area-box .details-box .operate-box .operate-list .operate-item.operate-transmit { position: relative; } +#answer-app .main .details-area-box .details-box .operate-box .operate-list .operate-item.operate-transmit::after { + content: ""; + width: 100%; + height: 100%; + position: absolute; + top: 20px; + z-index: 10; +} #answer-app .main .details-area-box .details-box .operate-box .operate-list .operate-item.operate-transmit .transmit-box { width: 628px; border: 1px solid #ebebeb; @@ -857,7 +929,7 @@ background: #fff; justify-content: space-between; padding: 40px 35px 42px; - z-index: 1; + z-index: 3; } #answer-app .main .details-area-box .details-box .operate-box .operate-list .operate-item.operate-transmit .transmit-box .transmit-title { font-weight: 650; @@ -1464,6 +1536,7 @@ margin-right: 12px; } #answer-app .i-answer-box .question-middle .question-textarea { + height: 412px; width: 100%; border: none; outline: none; @@ -1555,3 +1628,166 @@ transform: translate(-50%, 0); } } +.alert-form { + display: block; + position: fixed; + z-index: 2100; + left: 0; + top: 0; + width: 100vw; + height: 100vh; + background-color: rgba(0, 0, 0, 0.7); +} +.alert-form * { + box-sizing: border-box; +} +.alert-form .reports { + height: 440px; +} +.alert-form .reports .radio-area { + margin-bottom: 40px; +} +.alert-form .reports .radio-area .radio-area-item { + color: #606266; + font-size: 14px; + margin-right: 10px; + cursor: pointer; +} +.alert-form .reports .radio-area .radio-area-item.pitch .radio-area-frame { + background-color: #50E3C2; + border-color: #50E3C2; +} +.alert-form .reports .radio-area .radio-area-item.pitch .radio-area-frame::after { + -webkit-transform: rotate(45deg) scaleY(1); + transform: rotate(45deg) scaleY(1); +} +.alert-form .reports .radio-area .radio-area-item .radio-area-frame { + border: 1px solid #DCDFE6; + border-radius: 2px; + width: 14px; + height: 14px; + -webkit-transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46); + transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46); + position: relative; + margin-right: 10px; +} +.alert-form .reports .radio-area .radio-area-item .radio-area-frame::after { + -webkit-box-sizing: content-box; + box-sizing: content-box; + content: ""; + border: 1px solid #FFF; + border-left: 0; + border-top: 0; + height: 7px; + left: 4px; + position: absolute; + top: 1px; + -webkit-transform: rotate(45deg) scaleY(0); + transform: rotate(45deg) scaleY(0); + width: 3px; + -webkit-transition: -webkit-transform 0.15s ease-in 0.05s; + transition: -webkit-transform 0.15s ease-in 0.05s; + transition: transform 0.15s ease-in 0.05s; + transition: transform 0.15s ease-in 0.05s, -webkit-transform 0.15s ease-in 0.05s; + -webkit-transform-origin: center; + transform-origin: center; +} +.alert-form .el-checkbox-group { + font-size: 0; +} +.alert-form .comments { + display: block; + position: fixed; + z-index: 11; + left: 50%; + top: 50%; + width: 740px; + height: 440px; + max-width: 90vw; + max-height: 90vh; + transform: translate(-50%, -50%); + background-color: #ffffff; + border: none; + border-radius: 8px 8px 6px 6px; +} +.alert-form .comments .text-box { + position: relative; +} +.alert-form .comments .text-num { + position: absolute; + right: 10px; + bottom: 10px; + color: #999; + font-size: 12px; +} +.alert-form .comments .form { + display: block; + width: 100%; + padding: 34px 30px 40px; +} +.alert-form .comments .form textarea { + height: 172px; + margin-bottom: 30px; + display: block; + width: 100%; + background: #f7f7f7; + padding: 18px; + font-size: 14px; + border: 1px solid #F7F7F7; + border-radius: 5px; + outline: none; + resize: none; + line-height: 22px; +} +.alert-form .head { + padding: 0 18px 0 30px; + display: flex; + height: 56px; + align-items: center; + justify-content: space-between; + background: #333333; + color: #fff; + font-size: 17px; + border-radius: 6px 6px 0 0; +} +.alert-form .head .close { + color: #b3b3b3; + font-size: 14px; + cursor: pointer; +} +.alert-form .footer { + display: flex; + justify-content: center; + align-items: center; +} +.alert-form .footer button[type=button] { + margin-right: 20px; +} +.alert-form .footer button { + border: 1px #999999 solid; + border-radius: 5px; + background-color: #ffffff; + width: 128px; + height: 38px; + color: #333; + font-size: 14px; + outline: none; + cursor: pointer; +} +.alert-form .footer button[type=submit] { + background-color: #50E3C2; + border-color: #50E3C2; + color: #fff; +} +.alert-form .el-checkbox__input.is-checked .el-checkbox__inner, +.alert-form .el-checkbox__input.is-indeterminate .el-checkbox__inner { + background-color: #50E3C2; + border-color: #50E3C2; +} +.alert-form .el-checkbox__input.is-focus .el-checkbox__inner, +.alert-form .el-checkbox__inner:hover { + border-color: #50E3C2; +} +.alert-form .el-checkbox__input.is-checked + .el-checkbox__label { + color: #50E3C2; +} diff --git a/css/index.less b/css/index.less index 92d3407..394ce26 100644 --- a/css/index.less +++ b/css/index.less @@ -1,9 +1,21 @@ +.index-footer { + margin-top: 0 !important; +} + +header.page-header .box .tab-list .item.pitch { + color: #FDDF6D !important; +} + +header.page-header .box .tab-list .item.pitch::after { + background-color: rgba(253, 223, 109, 1) !important; +} + * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; - font-style: normal; + // font-style: normal; } /* Webkit浏览器(Chrome、Safari等) */ @@ -72,6 +84,7 @@ #answer-app { min-width: 1200px; overflow-x: hidden; + word-break: break-all; header { background: rgba(246, 246, 246, 1); @@ -121,6 +134,21 @@ cursor: pointer; } + .clear-search { + .cross-circle-black { + width: 14px; + height: 14px; + cursor: pointer; + } + + .halving-line { + width: 1px; + height: 13px; + background-color: #ebebeb; + margin: 0 17px; + } + } + .history-box { position: absolute; top: 36px; @@ -201,6 +229,7 @@ .tab-box { width: 100%; + min-width: 1200px; z-index: 1; background-color: #f6f6f6; padding: 5px 0; @@ -295,7 +324,7 @@ font-size: 14px; height: 20px; cursor: pointer; - width: 400px; + max-width: 400px; .search-keyword-cross { width: 14px; @@ -440,6 +469,10 @@ font-size: 14px; color: #000000; line-height: 22px; + + em { + color: #ff0000; + } } } @@ -449,6 +482,10 @@ line-height: 22px; font-size: 13px; margin-bottom: 18px; + + em { + color: #ff0000; + } } .bottom { @@ -520,6 +557,32 @@ display: flex; flex-direction: column; + position: relative; + + .loading-bj { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1; + background-color: rgba(255, 255, 255, 0.5); + + svg { + width: 100px; + animation: spin 2s linear infinite; + } + + @keyframes spin { + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } + } + } .details-box { width: 688px; @@ -567,6 +630,7 @@ padding-top: 24px; margin-bottom: 28px; position: relative; + word-break: break-all; // .icon-boxb { // border: 4px solid #fbfbfb; @@ -714,6 +778,7 @@ line-height: 26px; padding: 0 24px; margin-bottom: 20px; + word-break: break-all; img { max-width: 100%; @@ -819,15 +884,22 @@ .comments-header-right { .menu-box { + position: relative; + + &:hover .report-box { + display: flex; + } + .menu-icon { width: 14px; height: 14px; cursor: pointer; + } - position: relative; .report-box { + display: none; position: absolute; top: 24px; right: 0; @@ -838,6 +910,16 @@ border-radius: 5px; font-size: 12px; color: #7F7F7F; + cursor: pointer; + + &::after { + content: ""; + width: 58px; + height: 36px; + position: absolute; + top: -14px; + right: 0; + } } } @@ -1074,8 +1156,24 @@ &.operate-transmit { position: relative; // z-index: 1; + // &:hover { + &::after { + content: ""; + width: 100%; + height: 100%; + position: absolute; + top: 20px; + z-index: 10; + } + + // .transmit-box { + // display: flex; + + // } + // } .transmit-box { + // display: none; width: 628px; // height: 300px; border: 1px solid rgba(235, 235, 235, 1); @@ -1090,7 +1188,7 @@ background: #fff; justify-content: space-between; padding: 40px 35px 42px; - z-index: 1; + z-index: 3; .transmit-title { font-weight: 650; @@ -1870,7 +1968,7 @@ } .question-textarea { - // height: 412px; + height: 412px; width: 100%; border: none; outline: none; @@ -1983,4 +2081,198 @@ opacity: 1; transform: translate(-50%, 0); } +} + +.alert-form { + display: block; + position: fixed; + z-index: 2100; + left: 0; + top: 0; + width: 100vw; + height: 100vh; + background-color: rgba(0, 0, 0, 0.7); +} + +.alert-form * { + box-sizing: border-box; +} + +.alert-form .reports { + height: 440px; +} + +.alert-form .reports .radio-area { + margin-bottom: 40px; + + .radio-area-item { + color: #606266; + font-size: 14px; + margin-right: 10px; + cursor: pointer; + + &.pitch { + .radio-area-frame { + background-color: #50E3C2; + border-color: #50E3C2; + + &::after { + -webkit-transform: rotate(45deg) scaleY(1); + transform: rotate(45deg) scaleY(1); + } + } + } + + .radio-area-frame { + border: 1px solid #DCDFE6; + border-radius: 2px; + width: 14px; + height: 14px; + -webkit-transition: border-color .25s cubic-bezier(.71, -.46, .29, 1.46), background-color .25s cubic-bezier(.71, -.46, .29, 1.46); + transition: border-color .25s cubic-bezier(.71, -.46, .29, 1.46), background-color .25s cubic-bezier(.71, -.46, .29, 1.46); + + position: relative; + margin-right: 10px; + + &::after { + + -webkit-box-sizing: content-box; + box-sizing: content-box; + content: ""; + border: 1px solid #FFF; + border-left: 0; + border-top: 0; + height: 7px; + left: 4px; + position: absolute; + top: 1px; + -webkit-transform: rotate(45deg) scaleY(0); + transform: rotate(45deg) scaleY(0); + width: 3px; + -webkit-transition: -webkit-transform .15s ease-in .05s; + transition: -webkit-transform .15s ease-in .05s; + transition: transform .15s ease-in .05s; + transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s; + -webkit-transform-origin: center; + transform-origin: center; + } + + // } + } + } +} + + +.alert-form .el-checkbox-group { + font-size: 0; +} + +.alert-form .comments { + display: block; + position: fixed; + z-index: 11; + left: 50%; + top: 50%; + width: 740px; + height: 440px; + max-width: 90vw; + max-height: 90vh; + transform: translate(-50%, -50%); + background-color: #ffffff; + border: none; + border-radius: 8px 8px 6px 6px; +} + +.alert-form .comments .text-box { + position: relative; +} + +.alert-form .comments .text-num { + position: absolute; + right: 10px; + bottom: 10px; + color: #999; + font-size: 12px; +} + +.alert-form .comments .form { + display: block; + width: 100%; + padding: 34px 30px 40px; +} + +.alert-form .comments .form textarea { + height: 172px; + margin-bottom: 30px; + display: block; + width: 100%; + background: #f7f7f7; + padding: 18px; + font-size: 14px; + border: 1px solid #F7F7F7; + border-radius: 5px; + outline: none; + resize: none; + line-height: 22px; +} + +.alert-form .head { + padding: 0 18px 0 30px; + display: flex; + height: 56px; + align-items: center; + justify-content: space-between; + background: #333333; + color: #fff; + font-size: 17px; + border-radius: 6px 6px 0 0; +} + +.alert-form .head .close { + color: #b3b3b3; + font-size: 14px; + cursor: pointer; +} + +.alert-form .footer { + display: flex; + justify-content: center; + align-items: center; +} + +.alert-form .footer button[type=button] { + margin-right: 20px; +} + +.alert-form .footer button { + border: 1px #999999 solid; + border-radius: 5px; + background-color: #ffffff; + width: 128px; + height: 38px; + color: #333; + font-size: 14px; + outline: none; + cursor: pointer; +} + +.alert-form .footer button[type=submit] { + background-color: #50E3C2; + border-color: #50E3C2; + color: #fff; +} + +.alert-form .el-checkbox__input.is-checked .el-checkbox__inner, +.alert-form .el-checkbox__input.is-indeterminate .el-checkbox__inner { + background-color: #50E3C2; + border-color: #50E3C2; +} + +.alert-form .el-checkbox__input.is-focus .el-checkbox__inner, +.alert-form .el-checkbox__inner:hover { + border-color: #50E3C2; +} + +.alert-form .el-checkbox__input.is-checked+.el-checkbox__label { + color: #50E3C2; } \ No newline at end of file diff --git a/img/cross-circle-black.png b/img/cross-circle-black.png new file mode 100644 index 0000000..1b7df23 Binary files /dev/null and b/img/cross-circle-black.png differ diff --git a/index.html b/index.html index dcd0977..fb4b10d 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,6 @@ - -
@@ -21,6 +19,10 @@