.developer-container { width: 1100px; margin-left: auto; margin-right: auto; overflow: hidden; } .block { padding: 24px; background: #fff; border-radius: 8px; margin-bottom: 20px; } .title { font-size: 20px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; line-height: 28px; } .tips { margin-top: 2px; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 21px; } .developer-left { float: left; width: 730px; } .developer-right { float: right; width: 350px; } // 接单流程 .developer-process-list { margin-top: 24px; display: flex; justify-content: space-between; } .developer-process-item { width: 139px; flex: 1; &:nth-last-child(1) { flex: 0; } &.cur { .developer-process-step { background-color: #288bff; color: #fff; } .developer-process-step-icon { background-image: url("~@/assets/img/developer/process1.png") !important; } } } .developer-process-step { width: 139px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; border: 1px solid #ced3d9; background: #ffffff; color: #0b121a; &.line { position: relative; &::after { position: absolute; right: 0; top: 50%; transform: translate(100%, -50%); content: ""; width: 43px; height: 1px; // border-top: 1px solid #ced3d9; background-color: #ced3d9; } } } .developer-process-tips { margin-top: 12px; width: 139px; text-align: center; font-size: 13px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 18px; } .developer-process-step-icon { width: 20px; height: 20px; background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; margin-right: 8px; } @for $i from 1 through 4 { .developer-process-step-icon.icon-#{$i} { background-image: url("~@/assets/img/developer/process#{$i}.png"); } } // 新人接单 .developer-order-list { font-size: 0; } .developer-order-item { width: 333px; height: 116px; background: #ffffff; border-radius: 16px; border: 1px solid #ebeced; box-sizing: border-box; padding: 16px 16px 0; float: left; box-sizing: border-box; margin-top: 16px; &:nth-child(2n + 1) { margin-right: 16px; } } .developer-order-list { overflow: hidden; } .developer-order-title-area { display: flex; align-items: center; } .developer-order-tips { margin-top: 8px; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #4b5d73; line-height: 20px; } .developer-order-icon { width: 32px; height: 32px; margin-right: 10px; background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; } @for $i from 1 through 5 { .developer-order-icon.icon-#{$i} { background-image: url("~@/assets/img/developer/order-#{$i}.png"); } } .developer-order-title { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; line-height: 22px; margin-right: 16px; } .developer-order-link { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #308eff; line-height: 20px; } // 热门课程 .developer-hot { overflow: hidden; } .developer-hot-class { float: left; width: 288px; // height:100px; // background-color: #f00 } .developer-hot-resource { float: left; width: 288px; margin-left: 71px; // background-color: #f00; // height:100px; } .developer-hot-list { margin-top: 20px; height: 160px; } .developer-hot-item { margin-bottom: 12px; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #0b121a; line-height: 22px; padding-left: 21px; position: relative; a { color: #0b121a; } &:nth-last-child(1) { margin-bottom: 0; } &:nth-child(1) { .index { background: #ff4e33; border-radius: 2px; color: #fff; font-size: 12px; } } &:nth-child(2) { .index { background: #ff4e33; border-radius: 2px; color: #fff; font-size: 12px; } } &:nth-child(3) { .index { background: #ff4e33; border-radius: 2px; color: #fff; font-size: 12px; } } .index { position: absolute; line-height: 1; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; font-size: 16px; font-weight: 600; color: #4a5d74; display: flex; align-items: center; justify-content: center; } } .developer-workbench-user { display: flex; } .developer-user-avatar { width: 48px; height: 48px; margin-right: 6px; img { width: 48px; height: 48px; border-radius: 100%; overflow: hidden; } } .developer-user-info { flex: 1; display: flex; flex-direction: column; justify-content: space-around; } .developer-user-name { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; line-height: 22px; } .developer-user-level { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 20px; } .user-title { margin-top: 30px; font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; line-height: 22px; } .developer-work-list { margin-top: 16px; display: flex; justify-content: space-between; } .developer-work-item { width: 40px; text-align: center; cursor: pointer; } .developer-work-count { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; line-height: 22px; } .developer-work-tips { font-size: 13px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 18px; } .developer-setting-area { margin-top: 36px; display: flex; position: relative; } .developer-setting-item { flex: 1; width: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; } .developer-setting-icon { width: 22px; height: 22px; margin-right: 5px; background-repeat: no-repeat; background-position: 50% 50%; background-size: 100% auto; } .setting-icon { background-image: url("~@/assets/img/developer/setting.png"); } .ping-icon { background-image: url("~@/assets/img/developer/ping.png"); } .developer-setting-tips { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #0b111a; line-height: 21px; } .developer-setting-line { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 1px; height: 12px; background: #aeb6ca; // border: 1px solid #AEB6CA; } .developer-reward-title { display: flex; justify-content: space-between; align-items: center; p { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 20px; cursor: pointer; } } .developer-reward-show-setting { width: 20px; height: 20px; // border: 1px solid #aeb6ca; background-position: 50% 50%; background-repeat: no-repeat; background-size: 100% auto; cursor: pointer; &.show { background-image: url("~@/assets/img/developer/show.png"); } &.hide { background-image: url("~@/assets/img/developer/hide.png"); } } .developer-reward-count { margin-top: 8px; font-size: 20px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; line-height: 28px; } .developer-reward-detail { margin-top: 22px; overflow: hidden; } .developer-reward-item { width: 50%; float: left; font-size: 13px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 18px; margin-bottom: 10px; span { margin-left: 6px; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #0b121a; line-height: 22px; } } .developer-skill.block { padding: 0; display: flex; flex-wrap: wrap; } .developer-skill-item { width: 175px; height: 55px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #0b121a; cursor: pointer; transition: all 0.3s; &:nth-child(2n + 1) { border-right: 1px solid #ebeced; } &:nth-last-child(n + 3) { border-bottom: 1px solid #ebeced; } &.cur { color: #288bff; } &:hover { color: #288bff; } } .developer-skill-icon { width: 18px; height: 18px; margin-right: 6px; background-size: 100% auto; } @for $i from 1 through 4 { .developer-skill-item { .icon#{$i} { transition: all 0.3s; background-image: url("~@/assets/img/developer/sk_icno_#{$i}.png"); } &:hover, &.cur { .icon#{$i} { background-image: url("~@/assets/img/developer/sk_icno_#{$i}_hover.png"); } } } } .developer-tab { background-color: #fff; border-radius: 8px; } .developer-tab-title-list { display: flex; position: relative; border-bottom: 1px solid #ebeced; } .developer-tab-title-item { width: 122px; height: 62px; flex: 1; display: flex; justify-content: center; align-items: center; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #4b5d73; cursor: pointer; transition: all 0.5s; &.cur { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; } } .developer-tab-title-line { position: absolute; left: 0; bottom: 0; width: 24px; height: 4px; background: #308eff; border-radius: 3px; transition: all 0.5s; } .developer-tab-main { padding: 24px 0; } .developer-tab-tips { margin-left: 24px; padding-left: 24px; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; background: url("~@/assets/img/developer/notice.png") no-repeat left 50%; background-size: contain; } .developer-dynamic-list { overflow: hidden; margin-top: 24px; padding-left: 24px; padding-right: 24px; } .dynamic-empty { margin-top: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; p { margin-top: 24px; text-align: center; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 21px; } } .developer-dynamic-item { margin-bottom: 41px; border-bottom: 1px solid #ebeced; &:nth-last-child(1) { border-bottom: none; } } .dynamic-user { display: flex; position: relative; // left: -50px; } .dynamic-user-avatar { width: 40px; height: 40px; font-size: 0; margin-right: 10px; img { width: 40px; height: 40px; overflow: hidden; border-radius: 100%; } } .dynamic-user-info { flex: 1; display: flex; flex-direction: column; } .dynamic-user-nickname { font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #0b121a; line-height: 20px; vertical-align: baseline; } .dynamic-level { display: inline-block; margin-left: 8px; // width: 26px; padding: 0 6px; height: 14px; background: #4b5d73; border-radius: 9px; text-align: center; line-height: 16px; font-size: 10px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ffffff; } .dynamic-job { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #828c99; line-height: 17px; margin-top: 3px; } .dynamic-margin { margin-left: 50px; margin-right: 24px; } .dynamic-title { margin-top: 12px; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #0b111a; line-height: 21px; } .dynamic-type-list { margin-top: 10px; } .dynamic-type-item { display: inline-block; padding: 0 10px; height: 23px; background: #ebf4ff; border-radius: 12px; line-height: 23px; font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #288bff; } .dynamic-img-area { margin-top: 16px; overflow: hidden; } .dynamic-img-item { float: left; margin-right: 10px; width: 90px; height: 90px; margin-bottom: 10px; } .dynamic-link-area { display: flex; height: 50px; background: #f7f8fa; align-items: center; margin-top: 10px; } .dynamic-link-img-area { width: 34px; height: 34px; margin-left: 8px; margin-right: 8px; } .dynamic-link-content { a { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #0b111a; line-height: 21px; } } .dynamic-control { margin-top: 16px; margin-bottom: 16px; display: flex; align-items: center; } .dynamic-control-item { width: 30%; flex: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; line-height: 20px; } .dynamic-icon{ display: inline-block; width:20px; height:20px; background-position: 50% 50%; background-repeat: no-repeat; background-size:20px auto; margin-right: 6px;; } .icon-share{ background-image: url('~@/assets/img/developer/ic_ community_share@2x.png'); } .icon-comment{ background-image: url('~@/assets/img/developer/ic_ community_comment@2x.png'); } .icon-like{ background-image: url('~@/assets/img/developer/ic_ community_praise_s@2x.png'); } .arrow_icon{ display: inline-block; position: relative; width:15px; height:15px; &::after{ content: ""; position:absolute; left: 50%; top: 50%; width:6px; height:6px; transform:rotate(-45deg) translate(-50%, -50%); border-right: 1px solid #828C9A; border-bottom: 1px solid #828C9A; } }