| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692 |
- .works-wrapper {
- width: 1000px;
- .works-category {
- width: 1000px;
- min-height: 120px;
- padding-bottom: 20px;
- background: #ffffff;
- border-radius: 8px;
- .works-category-one {
- position: relative;
- width: 100%;
- height: 50px;
- padding: 0 50px;
- border-bottom: 1px solid #e9ecee;
- display: flex;
- align-items: center;
- .add-works-btn {
- position: absolute;
- right: 20px;
- width: 136px;
- height: 32px;
- padding: 0;
- border: none;
- background: #308eff;
- border-radius: 5px;
- font-size: 11px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- text-align: center;
- color: #ffffff;
- }
- .works-category-one-item {
- position: relative;
- margin-right: 48px;
- height: 22px;
- line-height: 22px;
- font-size: 16px;
- color: #666666;
- cursor: pointer;
- &.active {
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222222;
- &:after {
- content: " ";
- position: absolute;
- width: 22px;
- height: 3px;
- background: #308eff;
- border-radius: 2px;
- left: calc(50% - 11px);
- bottom: -11px;
- }
- }
- }
- }
- .works-category-two {
- position: relative;
- width: 100%;
- padding: 0 20px;
- margin-top: 7px;
- .search-wrapper {
- position: absolute;
- width: 215px;
- height: 100%;
- top: 10px;
- right: 20px;
- &:after {
- position: absolute;
- content: " ";
- top: 0;
- left: -22px;
- width: 1px;
- height: 100%;
- background: rgba(0,0,0,0.06);
- }
- .search-content {
- position: relative;
- width: 100%;
- height: 34px;
- margin-top: 10px;
- display: flex;
- align-items: center;
- .search-btn {
- position: absolute;
- top: 0;
- right: 0;
- width: 60px;
- height: 100%;
- padding: 0;
- border: none;
- background: #308eff;
- border-radius: 5px;
- font-size: 12px;
- font-family: PingFangSC, PingFangSC-Regular;
- text-align: center;
- color: #ffffff;
- }
- }
- .search-tips {
- margin-top: 10px;
- line-height: 18px;
- font-size: 13px;
- font-family: PingFangSC, PingFangSC-Regular;
- color: #999999;
- span {
- color: #308eff;
- cursor: pointer;
- }
- }
- }
- .works-expand-arrow {
- position: absolute;
- width: 20px;
- height: 20px;
- right: 20px;
- top: 16px;
- cursor: pointer;
- transition: all .3s;
- &.active {
- transform: rotate(180deg);
- }
- }
- .works-category-two-wrapper {
- position: relative;
- width: 720px;
- height: 42px;
- min-height: 84px;
- display: flex;
- // align-items: center;
- flex-wrap: wrap;
- overflow: hidden;
- transition: all .3s;
- &:after {
-
- }
- &.expand {
- height: auto;
- }
- .works-category-two-item {
- // width: 80px;
- height: 32px;
- line-height: 32px;
- margin: 10px 10px 0 0;
- width: auto;
- padding: 0 25px;
- text-align: center;
- font-size: 13px;
- font-family: PingFangSC, PingFangSC-Regular;
- color: #555555;
- cursor: pointer;
- &.active {
- line-height: 30px;
- border: 1px solid #308eff;
- border-radius: 6px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #308eff;
- }
- }
- }
- }
- }
- .pagination-wrapper {
- width: 1000px;
- height: 65px;
- margin-top: 10px;
- background: #ffffff;
- border-radius: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .works-list {
- position: relative;
- min-height: 368px;
- .works-item {
- width: 1000px;
- height: 174px;
- margin-top: 10px;
- padding: 27px 20px;
- background: #ffffff;
- border-radius: 8px;
- display: flex;
- .works-detail-wrapper {
- position: relative;
- width: 806px;
- height: 120px;
- display: flex;
- &:after {
- position: absolute;
- content: " ";
- right: 0;
- top: 0;
- width: 1px;
- height: 120px;
- background: rgba(0,0,0,0.06);
- }
- .works-image {
- width: 120px;
- height: 120px;
- margin-right: 20px;
- border-radius: 8px;
- }
- .works-detail {
- position: relative;
- width: 630px;
- height: 120px;
- display: flex;
- flex-direction: column;
- .works-name {
- width: 100%;
- line-height: 25px;
- font-size: 18px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222222;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- &:hover {
- color: #308eff;
- }
- }
- .works-description {
- width: 100%;
- margin-top: 10px;
- line-height: 20px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- color: #999999;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- white-space: normal;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- word-break: break-all;
- }
- .more-info-wrapper {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 20px;
- display: flex;
- justify-content: space-between;
- .price-info {
- display: flex;
- align-items: center;
- height: 100%;
- .works-price {
- font-size: 18px;
- font-family: DINAlternate, DINAlternate-Bold;
- font-weight: 700;
- color: #ff6600;
- margin-right: 20px;
- }
- .download-count {
- position: relative;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #999999;
- }
- .download-count,
- .file-format {
- padding-right: 30px;
- &:after {
- position: absolute;
- content: " ";
- width: 1px;
- height: 12px;
- right: 14.5px;
- top: 1px;
- background: #999999;
- }
- }
- .file-format,
- .file-size {
- position: relative;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #999999;
- }
- }
- .more-info {
- display: flex;
- align-items: center;
- height: 100%;
- .plus-img {
- width: 16px;
- height: 16px;
- opacity: 0.7;
- }
- .plus-count {
- position: relative;
- height: 20px;
- line-height: 20px;
- padding-right: 16px;
- margin-left: 3px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- text-align: left;
- color: #999999;
- &:after {
- position: absolute;
- content: " ";
- top: 2px;
- right: 0;
- width: 1px;
- height: 16px;
- background: rgba(0,0,0,0.06);
- }
- }
- .time {
- margin-left: 16px;
- line-height: 20px;
- font-size: 12px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #dadada;
- }
- }
- }
- }
- }
- .works-user-wrapper {
- position: relative;
- margin-left: 20px;
- height: 100%;
- width: 126px;
- padding: 10px 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- .user-avatar {
- width: 52px;
- height: 52px;
- opacity: 1;
- border-radius: 50%;
- }
- .username {
- width: 100%;
- height: 20px;
- line-height: 20px;
- margin-top: 3px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- text-align: center;
- color: #222222;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .company {
- width: 100%;
- height: 17px;
- line-height: 17px;
- margin-top: 3px;
- font-size: 12px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- text-align: center;
- color: #999999;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- }
- // 筛选
- .filter-wrapper {
- width: 1000px;
- height: 50px;
- padding: 0 30px;
- margin-top: 10px;
- background: #ffffff;
- border-radius: 10px;
- backdrop-filter: blur(40px);
- display: flex;
- align-items: center;
- .sort-content {
- display: flex;
- align-items: center;
- cursor: pointer;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- color: #222222;
- img {
- width: 18px;
- height: 18px;
- margin-right: 4px;
- }
- }
- .price-filter {
- margin-left: 26px;
- }
- }
- }
- .mobileMain {
- width: 100%;
- margin: 0;
- }
- .works-wrapper-mobile {
- position: relative;
- width: 100%;
- // min-height: 100vh;
- display: flex;
- flex-direction: column;
- .works-category {
- position: fixed;
- width: 100%;
- height: 87px;
- z-index: 11;
- .works-category-one {
- position: relative;
- width: 100%;
- height: 45px;
- background: #ffffff;
- overflow: hidden;
- .category-scroller {
- width: calc(100% - 64px);
- overflow-x: scroll;
- overflow-y: hidden;
- -webkit-overflow-scrolling: touch;
- display: flex;
- &::-webkit-scrollbar {
- display: none;
- }
- }
- .works-category-one-item {
- position: relative;
- flex-shrink: 0;
- width: 76px;
- height: 45px;
- line-height: 45px;
- font-size: 16px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #666666;
- font-size: 15px;
- text-align: center;
- &.active {
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222222;
- &:after {
- position: absolute;
- content: " ";
- bottom: 0;
- left: calc(50% - 7.5px);
- width: 15px;
- height: 3px;
- background: #308eff;
- border-radius: 2px;
- }
- }
- }
- .filter-wrapper {
- position: absolute;
- top: 0;
- right: 0;
- width: 64px;
- height: 45px;
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 12;
- background: #ffffff;
- img {
- width: 24px;
- height: 24px;
- }
- }
- .filter-bg {
- position: absolute;
- width: 11px;
- height: 29px;
- right: 59px;
- top: 8px;
- opacity: 0.1;
- background: #000000;
- border-radius: 6px;
- filter: blur(4px);
- z-index: 11;
- }
- }
- .works-category-two {
- position: relative;
- width: 100%;
- height: 42px;
- background: #ffffff;
- .works-category-two-wrapper {
- position: relative;
- width: 100%;
- height: 42px;
- padding: 0 20px;
- overflow-x: scroll;
- overflow-y: hidden;
- -webkit-overflow-scrolling: touch;
- display: flex;
- &::-webkit-scrollbar {
- display: none;
- }
- .works-category-two-item {
- position: relative;
- flex-shrink: 0;
- height: 42px;
- line-height: 42px;
- margin-right: 20px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #666666;
- &:last-child {
- margin-right: 0;
- }
- &.active {
- color: #308eff;
- }
- }
- }
- }
- }
- .works-list {
- width: 100%;
- height: 100vh;
- padding-top: 87px;
- padding-bottom: 34px;
- overflow-x: hidden;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
- display: flex;
- flex-direction: column;
- align-items: center;
- .works-list-wrapper {
- width: 100%;
- height: auto;
- overflow: visible;
- .works-item {
- width: calc(100% - 20px);
- height: 110px;
- padding: 10px;
- margin: 10px auto 0;
- background: #ffffff;
- border-radius: 8px;
- display: flex;
- align-items: center;
- .works-image {
- width: 90px;
- height: 90px;
- border-radius: 6px;
- }
- .works-detail {
- position: relative;
- width: calc(100% - 100px);
- height: 90px;
- margin-left: 10px;
- display: flex;
- flex-direction: column;
- &.without-img {
- width: 100%;
- margin-left: 0;
- }
- .works-name {
- width: 100%;
- height: 21px;
- line-height: 21px;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222222;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .works-description {
- width: 100%;
- line-height: 16px;
- margin-top: 4px;
- font-size: 11px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #999999;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- white-space: normal;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- word-break: break-all;
- }
- .price-info {
- position: absolute;
- width: 100%;
- bottom: 0;
- left: 0;
- display: flex;
- align-items: center;
- .works-price {
- height: 18px;
- line-height: 18px;
- font-size: 15px;
- font-family: DINAlternate, DINAlternate-Bold;
- font-weight: 700;
- color: #ff6600;
- }
- .download-count {
- height: 18px;
- line-height: 18px;
- margin-left: 10px;
- font-size: 11px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #999999;
- }
- }
- }
- }
- .works-list-tips {
- margin-top: 16px;
- width: 100%;
- text-align: center;
- }
- }
- }
- .works-list__showWxHeader {
- height: calc(100vh - 64px);
- }
- }
- // 寻找源码 modal
- .remark-title {
- width: 100%;
- height: 28px;
- line-height: 28px;
- font-size: 20px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- text-align: center;
- color: #222222;
- }
- .remark-content {
- position: relative;
- width: 100%;
- .remark-description {
- width: 100%;
- line-height: 21px;
- font-size: 13px;
- color: #666666;
- }
- .remark-contact {
- width: 100%;
- line-height: 21px;
- font-size: 13px;
- color: #666666;
- }
- .action-wrapper {
- width: 100%;
- margin-top: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- .confirm-btn {
- width: 170px;
- height: 46px;
- background: #308eff;
- border-radius: 6px;
- margin-right: 12px;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #ffffff;
- border: none !important;
- }
- .cancel-btn {
- width: 170px;
- height: 46px;
- background: #f4f5f9;
- border-radius: 6px;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #666666;
- border: none !important;
- }
- }
- }
|