goodsGift.wxss 5.3 KB

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