123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- .index {
- padding: 18px 16px 0 16px;
- box-sizing: border-box;
- min-height: 100vh;
- background-color: #f9f9f9;
- padding-bottom: 150px;
- .header-card {
- width: 100%;
- height: 256px;
- position: relative;
- padding: 80px 0 0 17px;
- box-sizing: border-box;
- .bg-image {
- width: 100%;
- height: 256px;
- position: absolute;
- top: 0;
- left: 0;
- }
- .user-info {
- position: relative;
- z-index: 1;
- display: flex;
- align-items: center;
- .avatar-wrapper {
- position: relative;
- width: 116px;
- height: 116px;
- margin-right: 28px;
- .avatar {
- width: 116px;
- height: 116px;
- border-radius: 50%;
- }
- .change-avatar-btn {
- position: absolute;
- bottom: -6px;
- left: 50%;
- transform: translateX(-50%);
- width: 85px;
- height: 26px;
- background: #3d3d3d;
- border-radius: 13px;
- color: #FFFFFF;
- font-size: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- .info-content {
- display: flex;
- flex-direction: column;
- color: #FFFFFF;
- .name {
- font-size: 34px;
- line-height: 40px;
- margin-bottom: 14px;
- }
- .desc {
- font-size: 18px;
- line-height: 40px;
- opacity: 0.8;
- }
- }
- }
- .share-shop {
- position: absolute;
- top: 20px;
- right: 20px;
- z-index: 1;
- font-size: 14px;
- Text {
- font-size: 22px;
- line-height: 40px;
- margin-right: 7px;
- color: #FFFFFF;
- }
- }
- }
- // 产品列表
- .product-list {
- background-color: #fff;
- border-radius: 20px;
- margin-top: -20px;
- padding: 30px 0;
- box-sizing: border-box;
- position: relative;
- z-index: 1;
- .product-list-title {
- display: flex;
- flex-direction: column;
- margin-bottom: 24px;
- width: 100%;
- justify-content: center;
- align-items: center;
- .title {
- color: #000000;
- font-size: 28px;
- font-weight: 700;
- line-height: 41px;
- margin-bottom: 15px;
- }
- .icon {
- width: 76px;
- height: 12px;
- background: linear-gradient(180deg, #FBE00F 0%, #FFCC19 100%);
- border-radius: 10px 10px 0px 0px;
- }
- }
- }
- // 底部购买模块
- .bottom-buy {
- width: 100%;
- background-color: #fff;
- height: 126px;
- padding: 19px 35px 19px 44px;
- box-sizing: border-box;
- position: fixed;
- bottom: 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .bottom-buy-left {
- display: flex;
- flex-direction: column;
- align-items: center;
- image {
- width: 36px;
- height: 36px;
- margin-bottom: 7px;
- }
- .bottom-buy-text {
- font-size: 22px;
- line-height: 32px;
- color: #000000;
- }
- }
- .bottom-buy-right {
- width: 100%;
- height: 100%;
- display: flex;
- border-radius: 60px;
- overflow: hidden;
- .bottom-buy-right-self,
- .bottom-buy-right-share {
- line-height: 43px;
- font-size: 30px;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- image {
- margin-right: 9px;
- }
- }
- .bottom-buy-right-self {
- background-color: #fbe00f;
- color: #000000;
- }
- .bottom-buy-right-share {
- background-color: #ff1c14;
- color: #fff;
- }
- }
- }
- }
- // 清除Button默认样式
- Button {
- padding: 0;
- margin: 0;
- background: none;
- border: none;
- line-height: normal;
- height: 100%;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- &::after {
- border: none;
- }
- }
- .button-hover {
- background-color: transparent !important;
- /* 移除背景高亮 */
- box-shadow: none !important;
- /* 移除可能的阴影 */
- }
- // 加载中
- .loading-container {
- width: 100%;
- position: relative;
- height: 60px;
- }
- // 没有更多
- .no-more {
- padding: 20px 0;
-
- &-line {
- position: relative;
- text-align: center;
-
- &::before,
- &::after {
- content: '';
- position: absolute;
- top: 50%;
- width: 30%;
- height: 1px;
- background-color: #e5e5e5;
- }
-
- &::before {
- left: 10%;
- }
-
- &::after {
- right: 10%;
- }
- }
-
- &-text {
- display: inline-block;
- padding: 0 15px;
- font-size: 24px;
- color: #949494;
- }
- }
|