kindSecondList.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. /* kindSecondList.wxss */
  2. page{
  3. background-color: #fff;
  4. }
  5. .container{
  6. height: 100%;
  7. /* overflow: hidden; */
  8. }
  9. ::-webkit-scrollbar{
  10. width: 0;
  11. height: 0;
  12. color: transparent;
  13. }
  14. ::-webkit-scrollbar-thumb{
  15. color:transparent;
  16. }
  17. ::-webkit-scrollbar-track-piece{
  18. color: transparent;
  19. }
  20. .header_nav_wrap{
  21. width: 100%;
  22. height:80rpx;
  23. font-size: 24rpx;
  24. color: #7f7f7f;
  25. border-bottom: 1rpx solid #f0f0f0;
  26. position: fixed;
  27. top: 0;
  28. left: 0;
  29. z-index: 10;
  30. }
  31. .header_nav{
  32. /* display: flex; */
  33. white-space: nowrap;
  34. background-color: #fff;
  35. }
  36. .each_nav_wrap{
  37. display: inline-block;
  38. width: 33%;
  39. }
  40. .header_nav_title{
  41. display: inline-block;
  42. width: 100%;
  43. text-align: center;
  44. color:#a0b0b5;
  45. border-bottom: 3rpx solid #fff;
  46. box-sizing: border-box;
  47. }
  48. .nav_item_active{
  49. color:#b4a078;
  50. border-bottom:3rpx solid #a08c64;
  51. box-sizing: border-box;
  52. }
  53. .each_nav{
  54. width: 50%;
  55. display: flex;
  56. flex-flow: row;
  57. justify-content: center;
  58. align-items: center;
  59. }
  60. .nav_item{
  61. display: inline-block;
  62. height: 91rpx;
  63. padding:0 3rpx 0 23rpx;
  64. box-sizing: border-box;
  65. }
  66. .header_nav_title{
  67. line-height: 80rpx;
  68. }
  69. .tab-content{
  70. position:relative;
  71. }
  72. /* 标题 */
  73. .content_title_wrap{
  74. width:100%;
  75. height:50rpx;
  76. position:relative;
  77. margin:0 auto;
  78. padding: 15rpx 0;
  79. background-color: #fff;
  80. text-align: center;
  81. }
  82. .title_line{
  83. width:100%;
  84. height:1px;
  85. background-color: #c4cdd3;
  86. position:absolute;
  87. top:50%;
  88. left:0;
  89. margin-top:-0.5px;
  90. }
  91. .title_contemt{
  92. display: inline-block;
  93. padding:0 20rpx;
  94. height:50rpx;
  95. font-size: 32rpx;
  96. line-height: 50rpx;
  97. text-align: center;
  98. position: relative;
  99. margin-top:0;
  100. z-index: 2;
  101. color: #6f7478;
  102. background-color: #fff;
  103. max-width: 600rpx;
  104. text-overflow: ellipsis;
  105. overflow: hidden;
  106. white-space: nowrap;
  107. }
  108. /* 列表 */
  109. .list{
  110. display: flex;
  111. justify-content: space-between;
  112. flex-wrap: wrap;
  113. background-color: #fff;
  114. margin-top:80rpx;
  115. }
  116. .list_item_wrap{
  117. width: 50%;
  118. box-sizing: border-box;
  119. border-bottom:1px solid #f0f0f0;
  120. }
  121. .list_item_wrap:nth-child(odd){
  122. border-right:1px solid #f0f0f0;
  123. }
  124. .list_item_wrap:nth-child(even){
  125. border-left:1px solid #f0f0f0;
  126. }
  127. /* .list_list{
  128. display: flex;
  129. flex-wrap: wrap;
  130. justify-content: space-between;
  131. padding: 0 0 20rpx;
  132. } */
  133. .list_item{
  134. width: 100%;
  135. /* height:340rpx; */
  136. overflow: hidden;
  137. position: relative;
  138. margin: 0 auto;
  139. }
  140. .full_image{
  141. display: block;
  142. width: 100%;
  143. }
  144. .full_img_footer{
  145. width:100%;
  146. height:50rpx;
  147. font-size: 24rpx;
  148. line-height: 50rpx;
  149. color:#fff;
  150. text-align: center;
  151. background-color: rgba(0,0,0,0.6);
  152. position: absolute;
  153. left: 0;
  154. bottom: 0;
  155. }
  156. .full_title{
  157. height:72rpx;
  158. font-size: 30rpx;
  159. line-height: 36rpx;
  160. color:#444;
  161. text-overflow: ellipsis;
  162. overflow: hidden;
  163. display: -webkit-box;
  164. -webkit-line-clamp: 2;
  165. -webkit-box-orient: vertical;
  166. padding: 23rpx 20rpx 0 32rpx ;
  167. }
  168. .full_price{
  169. font:bold 30rpx "Microsoft Yahei";
  170. color:#b4a078;
  171. padding: 34rpx 0 30rpx 32rpx;
  172. }
  173. .full_price_unit{
  174. font: normal normal 22rpx Arial;
  175. text-decoration: line-through;
  176. color:#c8c8c8;
  177. padding-left:26rpx;
  178. }
  179. /* 列表结束 */
  180. /*头部整体样式*/
  181. .topContainsView {
  182. display: flex;
  183. flex-direction: row;
  184. align-items: center;
  185. margin-top: 10rpx;
  186. margin-bottom: 25rpx;
  187. border-bottom: solid 2px #ebebeb;
  188. }
  189. /**
  190. * 商品样式
  191. */
  192. .goodsImage {
  193. width: 200rpx;
  194. height: 200rpx;
  195. }
  196. /*右侧文本整体样式*/
  197. .topRightView {
  198. width: 250px;
  199. margin-left: 15rpx;
  200. display: flex;
  201. flex-direction: column;
  202. }
  203. /*用户名称样式*/
  204. .topRightName {
  205. font-size: 25rpx;
  206. }
  207. /*时间样式*/
  208. .topRightTime {
  209. font-size: 25rpx;
  210. color: red;
  211. margin-top: 10rpx;
  212. }
  213. /*Item样式中的图标样式 */
  214. .header_nav_icon {
  215. width: 14rpx;
  216. height: 8rpx;
  217. }
  218. /*Item中的文字样式*/
  219. .headerItemText {
  220. font-size: 30rpx;
  221. color: #b8b2b2;
  222. margin-left: 10rpx;
  223. margin-top: 8rpx;
  224. }
  225. /*销量和评价那一条*/
  226. .saleAndcom {
  227. margin-top: 8rpx;
  228. flex-direction: row;
  229. }
  230. .saletext {
  231. font-size: 25rpx;
  232. }
  233. .saleRightText {
  234. position: absolute;
  235. right: 0;
  236. margin-right: 10rpx;
  237. font-size: 25rpx;
  238. }
  239. /*整体view样式*/
  240. .containsView {
  241. box-sizing: border-box;
  242. height: 100%;
  243. width: 100%;
  244. background-color: white;
  245. flex-direction: column;
  246. }
  247. /*顶部view整体样式*/
  248. .headerView {
  249. z-index: 1;
  250. top: 0;
  251. position: fixed;
  252. background: #fff;
  253. width: 100%;
  254. height: 72rpx;
  255. display: flex;
  256. flex-direction: row;
  257. align-items: center;
  258. }
  259. /*每个Item样式*/
  260. .headerNavView {
  261. display: flex;
  262. flex-direction: row;
  263. align-items: center;
  264. justify-content: center;
  265. margin-top: 18rpx;
  266. }
  267. /*内容会被修剪,并且其余内容是不可见的。*/
  268. .scrollview-list {
  269. margin-top: 72rpx;
  270. }
  271. .scoll-h{
  272. height: 100vh;
  273. overflow: hidden;
  274. }