Authored by 梁志锋

升级版本 merge王水玲的潮流教室的优化。

1 { 1 {
2 "name": "m-yohobuy-node", 2 "name": "m-yohobuy-node",
3 - "version": "0.1.7", 3 + "version": "0.1.8",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {
@@ -5573,11 +5573,12 @@ a{ @@ -5573,11 +5573,12 @@ a{
5573 font-weight: bold; 5573 font-weight: bold;
5574 } 5574 }
5575 .star-page .head-tab{ 5575 .star-page .head-tab{
5576 - position: relative; 5576 + position: fixed;
  5577 + top: 0;
5577 width: 100%; 5578 width: 100%;
5578 height: 2.2rem; 5579 height: 2.2rem;
5579 background: #000; 5580 background: #000;
5580 - z-index: 1; 5581 + z-index: 3;
5581 transform-origin: top; 5582 transform-origin: top;
5582 transform: scale(1, 1); 5583 transform: scale(1, 1);
5583 transition: transform 400ms; 5584 transition: transform 400ms;
@@ -5653,6 +5654,10 @@ a{ @@ -5653,6 +5654,10 @@ a{
5653 .star-page .avatar-wrap{ 5654 .star-page .avatar-wrap{
5654 height: 4.5rem; 5655 height: 4.5rem;
5655 } 5656 }
  5657 +.star-page .star-main{
  5658 + position: relative;
  5659 + margin-top: 2.2rem;
  5660 +}
5656 .star-page .avatar-swiper{ 5661 .star-page .avatar-swiper{
5657 overflow: hidden; 5662 overflow: hidden;
5658 margin-top: 0.75rem; 5663 margin-top: 0.75rem;
@@ -5663,7 +5668,7 @@ a{ @@ -5663,7 +5668,7 @@ a{
5663 width: auto; 5668 width: auto;
5664 width: 2.75rem; 5669 width: 2.75rem;
5665 height: 2.75rem; 5670 height: 2.75rem;
5666 - margin-top: 0.85rem; 5671 + margin-top: 0.9rem;
5667 background: #000; 5672 background: #000;
5668 } 5673 }
5669 .star-page .avatar-swiper li span{ 5674 .star-page .avatar-swiper li span{
@@ -5876,19 +5881,41 @@ a{ @@ -5876,19 +5881,41 @@ a{
5876 background-repeat: no-repeat; 5881 background-repeat: no-repeat;
5877 background-size: contain; 5882 background-size: contain;
5878 } 5883 }
  5884 +.star-page .star{
  5885 + display: block;
  5886 + width: 100%;
  5887 + height: 100%;
  5888 + background-color: #000;
  5889 + background-repeat: no-repeat;
  5890 + background-size: contain;
  5891 +}
5879 .star-page .default-avater{ 5892 .star-page .default-avater{
5880 background-image: url('../img/guang/star/user-avatar.png'); 5893 background-image: url('../img/guang/star/user-avatar.png');
5881 } 5894 }
5882 .star-page .loading-tip{ 5895 .star-page .loading-tip{
  5896 + position: absolute;
  5897 + top: 0;
  5898 + left: 50%;
  5899 + transform: translate(-50%, 0);
  5900 + padding: 0.75rem 0;
5883 display: none; 5901 display: none;
5884 text-align: center; 5902 text-align: center;
5885 color: #ccc; 5903 color: #ccc;
5886 font-size: 0.45rem; 5904 font-size: 0.45rem;
5887 - margin: 0.75rem 0;  
5888 } 5905 }
5889 .star-page .swiper-num{ 5906 .star-page .swiper-num{
5890 - width: 1.375rem;  
5891 - display: none; 5907 + position: fixed;
  5908 + top: 0;
  5909 + z-index: -1;
  5910 +}
  5911 +.star-page .swiper-num1{
  5912 + width: 2.75rem;
  5913 +}
  5914 +.star-page .swiper-num2{
  5915 + width: 3.25rem;
  5916 +}
  5917 +.star-page .swiper-num3{
  5918 + width: 4.5rem;
5892 } 5919 }
5893 .star-index-bg{ 5920 .star-index-bg{
5894 background: #000; 5921 background: #000;
@@ -5910,6 +5937,7 @@ a{ @@ -5910,6 +5937,7 @@ a{
5910 } 5937 }
5911 .star-page .special-list li img{ 5938 .star-page .special-list li img{
5912 width: 100%; 5939 width: 100%;
  5940 + min-height: 7.75rem;
5913 } 5941 }
5914 .star-page .special-list li p{ 5942 .star-page .special-list li p{
5915 width: 100%; 5943 width: 100%;
@@ -5951,6 +5979,7 @@ a{ @@ -5951,6 +5979,7 @@ a{
5951 } 5979 }
5952 .star-page .collocation-list li img, .star-page .detail-list li img{ 5980 .star-page .collocation-list li img, .star-page .detail-list li img{
5953 width: 100%; 5981 width: 100%;
  5982 + min-height: 7.75rem;
5954 } 5983 }
5955 .star-page .collocation-list li .title, .star-page .detail-list li .title{ 5984 .star-page .collocation-list li .title, .star-page .detail-list li .title{
5956 font-size: 1rem; 5985 font-size: 1rem;
@@ -6012,6 +6041,8 @@ a{ @@ -6012,6 +6041,8 @@ a{
6012 color: #b0b0b0; 6041 color: #b0b0b0;
6013 height: 0.8rem; 6042 height: 0.8rem;
6014 line-height: 0.8rem; 6043 line-height: 0.8rem;
  6044 + position: relative;
  6045 + top: -1px;
6015 } 6046 }
6016 .star-class-body{ 6047 .star-class-body{
6017 background: #333; 6048 background: #333;
This diff could not be displayed because it is too large.