123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- $base: #0e90d2;
- $no-active: #939393;
- $border: #EAE5E5;
- $color: #555;
- //公共样式
- .am-header .am-header-title {
- margin: 0 10% !important;
- }
- //底部加载线
- .bottom-line {
- color: $no-active;
- font-size: 1.2rem;
- margin-top: 30px;
- margin-bottom: 30px;
- text-align: center;
- span {
- display: inline-block;
- vertical-align: top;
- }
- span:before {
- content: ' ';
- background-color: $border;
- height: 1px;
- width: 6rem;
- display: inline-block;
- vertical-align: top;
- margin: 0.8rem 1.5rem;
- }
- span:after {
- content: ' ';
- background-color: $border;
- height: 1px;
- width: 6rem;
- display: inline-block;
- vertical-align: top;
- margin: 0.8rem 1.5rem;
- }
- }
- .noData {
- width: 100%;
- text-align: center;
- padding: 10rem 0;
- * {
- display: block;
- color: $no-active;
- }
- i {
- font-size: 2rem;
- }
- }
- /*菜单*/
- .tabbar {
- display: block;
- background-color: #fff;
- margin: 0 auto;
- border-top: 1px solid $border;
- position: fixed;
- bottom: 0;
- width: 100%;
- z-index: 999;
- padding-top: 5px;
- span {
- display: block;
- text-align: center;
- font-size: 1rem;
- color: $no-active;
- }
- span.iconfont {
- font-size: 2rem;
- line-height: 1.9rem;
- }
- a.active span {
- color: $base;
- }
- }
- //header
- header {
- background-color: $base;
- color: #fff;
- line-height: 40px !important;
- height: 40px !important;
- .am-header-title {
- font-size: 1.6rem !important;
- }
- }
- /*视频列表页*/
- #videos-index-page {
- .videos-boxs {
- .video {
- width: 97%;
- margin: 0 1.5%;
- border: 1px solid #e6e6e6;
- border-radius: 4px;
- margin-top: 15px;
- display: inline-block;
- position: relative;
- .box_left {
- width: 100%;
- display: inline-block;
- text-align: left;
- /* padding: 1.2rem 1rem; */
- img {
- width: 100%;
- border-radius: 5px;
- background-size: 100%;
- max-height: 200px;
- }
- }
- .box_right {
- display: inline-block;
- width: 100%;
- text-align: left;
- .box_title {
- padding: 1rem 0.3rem 0.5rem;
- text-align: center;
- color: $color;
- }
- .icon-group-box {
- text-align: center;
- line-height: 12px;
- padding-bottom: 10px;
- div.icon-group:first-child {
- margin-right: 10px;
- }
- .icon-group {
- line-height: 12px;
- font-size: 12px;
- vertical-align: top;
- color: #999;
- padding: 5px 0 0;
- display: inline-block;
- }
- }
- }
- .vip{
- position: absolute;
- right: 0;
- top: 0;
- background-color: red;
- color: #fff;
- padding: 2px 10px;
- font-size: 12px;
- }
- }
- .video:first-child {
- margin-top: 5px;
- }
- }
- .category-box {
- position: fixed;
- right: 2rem;
- bottom: 7rem;
- width: 5rem;
- height: 5rem;
- background-color: $base;
- color: #fff;
- line-height: 5rem;
- border-radius: 5rem;
- text-align: center;
- }
- .active {
- color: $base;
- }
- }
- //视频详情
- #videos-show-page {
- .video-des {
- text-align: center;
- margin-top: 10px;
- padding: 0 0 10px;
- border-bottom: 1px solid $border;
- .title {
- margin: 0;
- font-size: 20px;
- }
- .description {
- margin: 5px 5px 11px;
- padding-left: 15px;
- color: $base;
- position: relative;
- font-size: 16px;
- text-align: left;
- }
- .description:after {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- float: left;
- display: block;
- width: 2px;
- height: 100%;
- background-color: #4182FA;
- }
- .tags {
- text-align: center;
- padding: 0 10px;
- .tag {
- padding: 0 10px;
- height: 20px;
- line-height: 20px;
- font-size: 12px;
- display: inline-block;
- color: #fff;
- border-radius: 10px;
- background-color: $base;
- }
- .tag:first-child {
- background-color: #3bb4f2;
- }
- .tag:nth-child(2) {
- background-color: #5eb95e;
- }
- .tag:nth-child(3) {
- background-color: #F37B1D;
- }
- .tag:nth-child(4) {
- background-color: #dd514c;
- }
- .tag:nth-child(5) {
- background-color: #500a6f;
- }
- }
- .date {
- text-align: right;
- padding-right: 15px;
- .icon-group {
- display: inline-block;
- color: $no-active;
- font-size: 12px;
- i {
- margin-right: 5px;
- }
- }
- .icon-group:first-child {
- margin-right: 15px;
- }
- }
- }
- .btn-boxs {
- position: fixed;
- z-index: 200;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 4rem;
- border-top: 1px solid #e9e9e9;
- background: #fff;
- -webkit-box-shadow: 0 0 4px #e5e5e9;
- box-shadow: 0 0 4px #e5e5e9;
- text-align: center;
- ul {
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- flex-direction: row;
- padding-left: 0 !important;
- li:first-child {
- &:after {
- position: absolute;
- content: "";
- right: 0;
- top: 50%;
- -webkit-transform: translate(0, -50%);
- transform: translate(0, -50%);
- width: 1px;
- height: 2rem;
- background: #e9e9e9;
- }
- }
- li {
- text-align: center;
- position: relative;
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- list-style: none;
- a {
- line-height: 4rem;
- i {
- font-size: 20px;
- vertical-align: top !important;
- }
- span {
- display: inline-block;
- vertical-align: top;
- margin-left: 20px;
- font-size: 14px;
- color: #333;
- }
- }
- }
- }
- }
- }
- //答题列表
- #questions-index-page {
- .question {
- margin: 0 10px;
- padding: 8px 0;
- border-bottom: 1px solid $border;
- a {
- color: $color;
- }
- span {
- width: 92%;
- display: inline-block;
- white-space: nowrap;
- cursor: pointer;
- }
- }
- .category-box {
- position: fixed;
- right: 2rem;
- bottom: 7rem;
- width: 5rem;
- height: 5rem;
- background-color: $base;
- color: #fff;
- line-height: 5rem;
- border-radius: 5rem;
- text-align: center;
- }
- .active {
- color: $base;
- }
- }
- //分析详情
- #test-show-page {
- .word {
- margin: 10px 15px;
- padding: 10px;
- background-color: $base;
- color: #fff;
- border-radius: 10px;
- span {
- font-weight: 500;
- font-size: 18px;
- padding: 0 5px;
- }
- }
- .lists {
- padding: 10px 10px 30px;
- & > .title {
- color: $base;
- border-bottom: 2px dashed #999;
- border-top: 2px dashed #999;
- padding: 5px 0;
- //padding-left: 10px;
- font-weight: bold;
- text-align: center;
- }
- .right{
- color: #5eb95e;
- }
- .error{
- color: #dd514c;
- }
- .content {
- margin: 10px 0;
- border: 1px dotted $base;
- padding: 5px;
- .answer {
- border-radius: 5px;
- background-color: #d2d2d2;
- padding: 5px;
- //font-size: 12px;
- span {
- //font-size: 14px;
- color: $base;
- }
- .des{
- font-size: 14px;
- }
- }
- }
- }
- }
|