mynavbar.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /* 顶部要固定定位 标题要居中 自定义按钮和标题要和右边微信原生的胶囊上下对齐 */
  2. .nav-wrap {
  3. position: fixed;
  4. width: 100vw;
  5. top: 0;
  6. z-index: 300;
  7. }
  8. .style1{
  9. top: 50%!important;
  10. transform:translateY(-50%)!important;
  11. }
  12. .style2{display:block;white-space:nowrap;text-overflow:ellipsis;overflow: hidden;}
  13. .nav-bottom{
  14. position: fixed;
  15. width: 100%;
  16. height: 5px;
  17. color: #000;
  18. z-index: 300;
  19. }
  20. /* 标题要居中 */
  21. .nav-title {
  22. position: absolute;
  23. text-align: center;
  24. max-width: 400px;
  25. /* overflow: hidden; */
  26. text-overflow: ellipsis;
  27. white-space: nowrap;
  28. top: 0;
  29. left: 0;
  30. right: 0;
  31. bottom: 0;
  32. margin: auto;
  33. color: #fff;
  34. font-size: 32px;
  35. font-weight: bold;
  36. }
  37. .nav-capsule {
  38. position: absolute;
  39. display: flex;
  40. align-items: center;
  41. /*margin-left: 30px;*/
  42. width: 180px;
  43. justify-content: space-between;
  44. height: 100%;
  45. z-index: 4;
  46. }
  47. .nav-buildStyle {
  48. display: flex;
  49. align-items: center;
  50. justify-content: space-between;
  51. height: 100%;
  52. background-color: initial!important;
  53. }
  54. .nav-buildCityStyle {
  55. display: flex;
  56. align-items: center;
  57. justify-content: space-between;
  58. height: 100%;
  59. /*background-color: #2ab4ff;*/
  60. }
  61. .back-pre {
  62. width: 24px;
  63. height: 24px;
  64. border-top: 4px solid #fff;
  65. border-left: 4px solid #fff;
  66. transform: rotate(-45deg);
  67. margin-left: 30px;
  68. }
  69. .nav-padding {
  70. width: 100%;
  71. background-color: #000;
  72. position: relative;
  73. }
  74. .icon_xiala{
  75. width: 16px;
  76. height: 10px;
  77. position: absolute;
  78. right: 0px;
  79. top: 50%;
  80. transform:translateY(-50%);
  81. }
  82. .icon-gengduo1{
  83. transform: rotate(90deg);
  84. font-size: 20px;
  85. color: #fff;
  86. display: inline-block;
  87. }
  88. .icon-weizhibai1{
  89. font-size: 26px;
  90. }
  91. .noticeBtnContainer{
  92. position: absolute;
  93. left: 70px;
  94. }
  95. .noticeBtn{
  96. width: 140px;
  97. height:60px;
  98. background:rgba(255,255,255,0.3);
  99. border-radius:30px;
  100. }
  101. .justContentCenter{
  102. display:flex;
  103. justify-content:center;
  104. align-items:center;
  105. align-content: center;
  106. }
  107. .adver-name{
  108. font-weight: 400;
  109. font-size: 30px;
  110. text-align: center;
  111. color: #212121;
  112. }
  113. .adver-head{
  114. font-size: 0px;
  115. margin-right: 20px;
  116. position: relative;
  117. }
  118. .head-img{
  119. width: 50px;
  120. height: 50px;
  121. border-radius: 50%;
  122. }
  123. .adver-online{
  124. position: absolute;
  125. width: 32px;
  126. height: 32px;
  127. right: -5px;
  128. bottom: -2px;
  129. box-sizing: border-box;
  130. background: #75cf4a;
  131. border: 4px solid #fff;
  132. border-radius: 50%;
  133. }
  134. .adver-tag{
  135. width: 120px;
  136. height: 36px;
  137. border-radius: 18px;
  138. background: #3e87f7;
  139. font-weight: 600;
  140. font-size: 22px;
  141. color: #fff;
  142. box-sizing: border-box;
  143. margin-left: 20px;
  144. justify-content: center;
  145. }
  146. .adver-status{
  147. font-weight: 400;
  148. font-size: 28px;
  149. letter-spacing: 0.08px;
  150. text-align: left;
  151. color: rgba(0, 0, 0, 0.3);
  152. line-height: 28px;
  153. }
  154. /* 朋友页面头部样式 */
  155. .friend-tab{
  156. width: 750px;
  157. height: 100%;
  158. text-align: center;
  159. border-bottom: 1px solid #ededed;
  160. box-sizing: border-box;
  161. }
  162. .tab-area{
  163. display: flex;
  164. align-items: center;
  165. justify-content: space-between;
  166. background: transparent;
  167. width: 300px;
  168. height: 100%;
  169. margin: auto;
  170. }
  171. .tab-item{
  172. position: relative;
  173. font-family: "Verdana";
  174. font-size: 30px;
  175. color: rgba(22, 23, 34,0.5);
  176. height: 100%;
  177. display: flex;
  178. align-items: center;
  179. }
  180. .tabActive{
  181. font-weight: bold;
  182. font-size: 15px;
  183. text-align: left;
  184. color: #161722;
  185. }
  186. .tabActive:after{
  187. position: absolute;
  188. bottom: 0;
  189. content: ' ';
  190. width: 100%;
  191. height: 4px;
  192. background-color: #161722;
  193. left: 0;
  194. }