| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- .mobileMain {
- position: relative;
- width: 100%;
- min-height: calc(100vh - 64px);
- margin: 0 !important;
- }
- .mobileWeb {
- margin-bottom: 30px !important;
- }
- .skill-detail-wrapper {
- position: relative;
- width: 1000px;
- .skill-info {
- width: 1000px;
- height: 328px;
- padding: 34px 30px;
- opacity: 1;
- background: #ffffff;
- border-radius: 10px;
- display: flex;
- .cover {
- flex-shrink: 0;
- width: calc(260px * 16 / 9);
- height: 260px;
- overflow: hidden;
- border-radius: 5px;
- object-fit: cover;
- }
- .info-wrapper {
- flex: 1;
- margin-left: 20px;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- .title {
- width: 100%;
- min-height: 33px;
- line-height: 33px;
- font-size: 24px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #222222;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- white-space: normal;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- .buy-num {
- height: 20px;
- margin-top: 10px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- line-height: 20px;
- color: rgba(153,153,153,1);
- span {
- color: #308eff;
- }
- }
- .price {
- height: 27px;
- line-height: 27px;
- margin-top: 57px;
- font-size: 23px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #ff6600;
- }
- .actions {
- margin-top: 16px;
- height: 50px;
- display: flex;
- align-items: center;
- .btn-1 {
- width: 152px;
- height: 50px;
- opacity: 1;
- background: #308eff;
- border-radius: 4px;
- border: none;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #ffffff;
- }
- .btn-2 {
- width: 162px;
- height: 50px;
- margin-left: 10px;
- background: rgba(48,142,255,0.11);
- border-radius: 4px;
- border: none;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #308eff;
- .btn-content {
- display: flex;
- align-items: center;
- justify-content: center;
- img {
- width: 18px;
- height: 18px;
- margin-right: 4px;
- }
- }
- }
- }
- }
- }
- .skill-content {
- width: 100%;
- height: auto;
- padding: 24px 0 42px;
- margin-top: 20px;
- background: #ffffff;
- border-radius: 10px;
- .skill-image-list {
- margin-top: 10px;
- width: 100%;
- padding: 0 32px;
- display: flex;
- flex-direction: column;
- align-items: center;
- img {
- margin-top: 10px;
- max-width: 100%;
- object-fit: scale-down;
- border-radius: 5px;
- }
- }
- .content-text {
- margin-top: 20px;
- width: 100%;
- padding: 0 32px;
- }
- .extra-wrapper {
- margin: 22px 40px 0;
- width: calc(100% - 80px);
- height: 106px;
- background: #f7f7f7;
- border-radius: 12px;
- }
- }
- .common-title {
- position: relative;
- width: 100%;
- height: 40px;
- line-height: 40px;
- padding-left: 32px;
- font-size: 24px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #222222;
- &:after {
- position: absolute;
- content: " ";
- width: 3px;
- height: 20px;
- opacity: 1;
- background: #308eff;
- top: 10px;
- left: 0;
- }
- }
- .contact-wrapper {
- position: relative;
- .contact-item {
- display: flex;
- align-items: center;
- height: 22px;
- margin-bottom: 20px;
- img {
- width: 22px;
- height: 22px;
- }
- .contact-text {
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #333333;
- margin-left: 10px;
- }
- &:last-of-type {
- margin-bottom: 0;
- }
- }
- }
- }
- .skill-detail-wrapper-mobile {
- position: relative;
- width: 100%;
- padding-bottom: calc(56px + 8px + constant(safe-area-inset-bottom));
- padding-bottom: calc(56px + 8px + env(safe-area-inset-bottom));
- display: flex;
- flex-direction: column;
- .image-list {
- width: 100%;
- height: calc(100vw * 9 / 16);
- .image-swiper {
- position: relative;
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- }
- .swiper-wrapper {
- width: 100%;
- height: 100%;
- .swiper-slide {
- width: 100%;
- height: 100%;
- img {
- width: 100%;
- height: 100%;
- object-fit: scale-down;
- }
- }
- }
- .swiper-pagination {
- position: absolute;
- bottom: 10px;
- left: auto !important;
- }
- }
- .skill-info {
- width: 100%;
- height: 105px;
- padding: 15px 10px;
- background: #ffffff;
- border-radius: 10px 10px 0px 0px;
- .skill-title {
- width: 100%;
- height: 25px;
- line-height: 25px;
- font-size: 18px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222222;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .userinfo-wrapper {
- margin-top: 15px;
- width: 100%;
- height: 34px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .left-info {
- display: flex;
- align-items: center;
- .avatar {
- width: 34px;
- height: 34px;
- border-radius: 50%;
- overflow: hidden;
- }
- .nickname {
- margin-left: 9px;
- height: 20px;
- line-height: 20px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #222222;
- }
- }
- }
- }
- .skill-content {
- margin-top: 10px;
- width: 100%;
- background: #ffffff;
- .ql-editor {
- padding: 20px 12px 30px;
- }
- }
- .pay-wrapper {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: calc(56px + constant(safe-area-inset-bottom));
- height: calc(56px + env(safe-area-inset-bottom));
- padding: 0 10px;
- background: #ffffff;
- display: flex;
- justify-content: space-between;
- .price-info {
- margin-top: 10px;
- display: flex;
- flex-direction: column;
- .price-text {
- height: 18px;
- line-height: 18px;
- font-size: 19px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #ff6600;
- }
- span {
- height: 18px;
- line-height: 18px;
- font-size: 12px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #999999;
- }
- }
- .pay-btn {
- margin-top: 6px;
- width: 122px;
- height: 44px;
- background: #308eff;
- border-radius: 6px;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #ffffff;
- }
- }
- }
|