patternList.wxss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. /* pages/patternList/patternList.wxss */
  2. page{
  3. background-color: #fff;
  4. }
  5. .container{
  6. /* display: flex;
  7. max-height: 100vh;
  8. overflow:hidden; */
  9. }
  10. ::-webkit-scrollbar{
  11. width: 0;
  12. height: 0;
  13. color: transparent;
  14. }
  15. ::-webkit-scrollbar-thumb{
  16. color:transparent;
  17. }
  18. ::-webkit-scrollbar-track-piece{
  19. color: transparent;
  20. }
  21. .header{
  22. display: flex;
  23. flex-direction: row;
  24. height:104rpx;
  25. background-color:#1a1d1f;
  26. align-items: center;
  27. }
  28. .header_logo{
  29. width:126rpx;
  30. height:39rpx;
  31. margin-left:30rpx;
  32. }
  33. .header_search_wrap{
  34. flex: 1;
  35. padding:0 39rpx 0 24rpx;
  36. }
  37. .header_search{
  38. height:64rpx;
  39. border-radius:30rpx;
  40. color:#fff;
  41. background-color:#282c2f;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. }
  46. .header_search_icon{
  47. width:28rpx;
  48. height:28rpx;
  49. margin-right:8rpx;
  50. }
  51. .header_search_placeholder{
  52. color:#929aa0;
  53. font-size: 28rpx;
  54. }
  55. .header_nav_wrap{
  56. width:100%;
  57. height:78rpx;
  58. color:#fff;
  59. background-color:#131617;
  60. /* overflow:hidden; */
  61. }
  62. .header_nav{
  63. white-space: nowrap;
  64. display: flex;
  65. }
  66. .header_nav_each{
  67. height:42rpx;
  68. font-size: 28rpx;
  69. line-height:42rpx;
  70. padding: 0 20rpx;
  71. display: inline-block;
  72. margin:18rpx 20rpx;
  73. border:1px solid #131617;
  74. }
  75. .header_nav_active{
  76. border:1px solid #fff;
  77. border-radius: 20rpx;
  78. }
  79. .header_fixed{
  80. width: 100%;
  81. position: fixed;
  82. top: 0;
  83. left: 0;
  84. z-index: 2;
  85. }
  86. .header_nav{
  87. width: 100%;
  88. height:91rpx;
  89. font-size: 24rpx;
  90. color: #2d2d2d;
  91. background-color: #fff;
  92. padding-top:4rpx;
  93. }
  94. .each_nav{
  95. width: 50%;
  96. display: flex;
  97. flex-flow: row;
  98. justify-content: center;
  99. align-items: center;
  100. }
  101. .nav_item{
  102. display: inline-block;
  103. height: 91rpx;
  104. padding:0 3rpx 0 23rpx;
  105. box-sizing: border-box;
  106. }
  107. .nav_item_active{
  108. color:#b4a078;
  109. border-bottom:3rpx solid #b4a078;
  110. }
  111. .header_nav_title,.header_nav_icon{
  112. display: block;
  113. float: left;
  114. }
  115. .header_nav_title{
  116. line-height: 91rpx;
  117. }
  118. .header_nav_icon{
  119. margin:45rpx 0 0 10rpx;
  120. }
  121. .header_nav_icon_price{
  122. display: block;
  123. float: left;
  124. width: 14rpx;
  125. height: 19rpx;
  126. margin:35rpx 0 0 10rpx;
  127. }
  128. /* 列表 */
  129. .list{
  130. display: flex;
  131. justify-content: space-between;
  132. flex-wrap: wrap;
  133. background-color: #fff;
  134. margin-top:175rpx;
  135. }
  136. .list_item_wrap{
  137. width: 50%;
  138. box-sizing: border-box;
  139. border-bottom:1px solid #f0f0f0;
  140. position: relative;
  141. }
  142. .list_item_nav{
  143. display: block;
  144. }
  145. .list_item_wrap:nth-child(odd){
  146. border-right:1px solid #f0f0f0;
  147. }
  148. .list_item_wrap:nth-child(even){
  149. border-left:1px solid #f0f0f0;
  150. }
  151. .list_item{
  152. width: 100%;
  153. /* height:340rpx; */
  154. overflow: hidden;
  155. position: relative;
  156. margin: 0 auto;
  157. }
  158. .full_image{
  159. display: block;
  160. width: 100%;
  161. }
  162. .full_img_footer{
  163. width:100%;
  164. height:50rpx;
  165. font-size: 24rpx;
  166. line-height: 50rpx;
  167. color:#fff;
  168. text-align: center;
  169. background-color: rgba(0,0,0,0.6);
  170. position: absolute;
  171. left: 0;
  172. bottom: 0;
  173. }
  174. .full_title{
  175. height:72rpx;
  176. font-size: 30rpx;
  177. line-height: 36rpx;
  178. color:#444;
  179. text-overflow: ellipsis;
  180. overflow: hidden;
  181. display: -webkit-box;
  182. -webkit-line-clamp: 2;
  183. -webkit-box-orient: vertical;
  184. padding: 23rpx 20rpx 0 32rpx ;
  185. }
  186. .full_price{
  187. font:bold 30rpx "Microsoft Yahei";
  188. color:#b4a078;
  189. padding: 34rpx 0 30rpx 32rpx;
  190. }
  191. .full_price_unit{
  192. font: normal normal 22rpx Arial;
  193. text-decoration: line-through;
  194. color:#c8c8c8;
  195. padding-left:26rpx;
  196. }
  197. /* 列表结束 */
  198. /*头部整体样式*/
  199. .topContainsView {
  200. display: flex;
  201. flex-direction: row;
  202. align-items: center;
  203. margin-top: 10rpx;
  204. margin-bottom: 25rpx;
  205. border-bottom: solid 2px #ebebeb;
  206. }
  207. /**
  208. * 商品样式
  209. */
  210. .goodsImage {
  211. width: 200rpx;
  212. height: 200rpx;
  213. }
  214. /*右侧文本整体样式*/
  215. .topRightView {
  216. width: 250px;
  217. margin-left: 15rpx;
  218. display: flex;
  219. flex-direction: column;
  220. }
  221. /*用户名称样式*/
  222. .topRightName {
  223. font-size: 25rpx;
  224. }
  225. /*时间样式*/
  226. .topRightTime {
  227. font-size: 25rpx;
  228. color: red;
  229. margin-top: 10rpx;
  230. }
  231. /*Item样式中的图标样式 */
  232. .header_nav_icon {
  233. width: 14rpx;
  234. height: 8rpx;
  235. }
  236. /*Item中的文字样式*/
  237. .headerItemText {
  238. font-size: 30rpx;
  239. color: #b8b2b2;
  240. margin-left: 10rpx;
  241. margin-top: 8rpx;
  242. }
  243. /*销量和评价那一条*/
  244. .saleAndcom {
  245. margin-top: 8rpx;
  246. flex-direction: row;
  247. }
  248. .saletext {
  249. font-size: 25rpx;
  250. }
  251. .saleRightText {
  252. position: absolute;
  253. right: 0;
  254. margin-right: 10rpx;
  255. font-size: 25rpx;
  256. }
  257. /*整体view样式*/
  258. .containsView {
  259. box-sizing: border-box;
  260. height: 100%;
  261. width: 100%;
  262. background-color: white;
  263. flex-direction: column;
  264. }
  265. /*顶部view整体样式*/
  266. .headerView {
  267. z-index: 1;
  268. top: 0;
  269. position: fixed;
  270. background: #fff;
  271. width: 100%;
  272. height: 72rpx;
  273. display: flex;
  274. flex-direction: row;
  275. align-items: center;
  276. }
  277. /* .top-bar-item {
  278. display: inline-block;
  279. width: 25%;
  280. color: gray;
  281. text-align: center;
  282. font-size: 28rpx;
  283. } */
  284. /* .top-bar-active {
  285. color: red;
  286. font-size: 32rpx;
  287. } */
  288. /*每个Item样式*/
  289. .headerNavView {
  290. display: flex;
  291. flex-direction: row;
  292. align-items: center;
  293. justify-content: center;
  294. margin-top: 18rpx;
  295. }
  296. /*内容会被修剪,并且其余内容是不可见的。*/
  297. .scrollview-list {
  298. margin-top: 72rpx;
  299. }
  300. .loading{
  301. text-align: center;
  302. font-size: 30rpx;
  303. line-height: 60rpx;
  304. color: #c8c8c8;
  305. }
  306. /* 筛选条件 */
  307. .pattern_result_wrap{
  308. width: 100%;
  309. height: 80rpx;
  310. background-color: #fff;
  311. position:relative;
  312. }
  313. .each_result_wrap{
  314. float: left;
  315. position: relative;
  316. top:25rpx;
  317. left: 6rpx;
  318. }
  319. .each_result_cont{
  320. font-size: 18rpx;
  321. line-height: 30rpx;
  322. color: #a16161;
  323. height: 30rpx;
  324. padding: 0 12rpx;
  325. border:1px solid #a16161;
  326. margin: 0 0 0 26rpx;
  327. }
  328. .each_result_icon{
  329. width: 20rpx;
  330. height: 20rpx;
  331. position: absolute;
  332. top:-8rpx;
  333. right: -12rpx;
  334. }
  335. .pattern_result_cont{
  336. height: 80rpx;
  337. }
  338. .pattern_result_model{
  339. height: 80rpx;
  340. background-color: rgba(184,176,159,0.3);
  341. position: absolute;
  342. top: 0;
  343. left: 0;
  344. right: 0;
  345. z-index: 2;
  346. }
  347. .pattern_return_cont{
  348. float:right;
  349. margin:18rpx 25rpx 0 0;
  350. border-bottom: 1px dashed #fff;
  351. }
  352. .return_icon{
  353. float: left;
  354. display: block;
  355. width: 24rpx;
  356. height: 26rpx;
  357. margin: 7rpx 0 0 10rpx;
  358. }
  359. .return_choose{
  360. float: left;
  361. font-size: 18rpx;
  362. line-height: 36rpx;
  363. color: #fff;
  364. }
  365. /* 收藏icon */
  366. .collect_icon{
  367. display: block;
  368. width: 30rpx;
  369. height: 26rpx;
  370. position: absolute;
  371. right: 28rpx;
  372. bottom: 226rpx;
  373. z-index: 2;
  374. }
  375. /* 右侧 */
  376. .right_btn_wrap{
  377. position: fixed;
  378. right: 25rpx;
  379. bottom: 264rpx;
  380. z-index: 20;
  381. }
  382. .right_btn{
  383. margin-top:12rpx ;
  384. }
  385. .right_icon{
  386. display: block;
  387. width: 100rpx;
  388. height: 100rpx;
  389. }
  390. /* 切换弹层 */
  391. .change_msg_bg{
  392. width: 100%;
  393. height: 100%;
  394. position: fixed;
  395. top: 0;
  396. left: 0;
  397. z-index: 19;
  398. background-color: rgba(0,0,0,0.6);
  399. }
  400. .change_msg_wrap{
  401. position: fixed;
  402. right: 154rpx;
  403. bottom: 314rpx;
  404. border-radius:6px;
  405. overflow: hidden;
  406. }
  407. .change_msg_cont{
  408. width: 272rpx;
  409. padding: 36rpx 30rpx;
  410. font-size: 26rpx;
  411. line-height: 36rpx;
  412. color: #fff;
  413. background-color: #bdbdbd;
  414. position: relative;
  415. }
  416. .change_msg_close{
  417. display: block;
  418. width: 20rpx;
  419. height: 20rpx;
  420. cursor: pointer;
  421. position: absolute;
  422. top: 15rpx;
  423. right: 15rpx;
  424. z-index: 20;
  425. }
  426. .change_msg_icon{
  427. width: 14rpx;
  428. height: 21rpx;
  429. position: fixed;
  430. right:140rpx ;
  431. bottom: 417rpx;
  432. }
  433. /* 切换确认提示弹窗 */
  434. .change_model_wrap{
  435. width: 100%;
  436. height: 100%;
  437. position: fixed;
  438. top: 0;
  439. left: 0;
  440. z-index: 21;
  441. background-color: rgba(0, 0, 0, 0.6);
  442. }
  443. .change_model_content{
  444. width: 596rpx;
  445. height: 348rpx;
  446. position: fixed;
  447. top: 50%;
  448. left: 50%;
  449. margin: -198rpx 0 0 -298rpx;
  450. overflow: hidden;
  451. border-radius: 4px;
  452. background-color: #fcfffe;
  453. padding:48rpx 0 0 0;
  454. }
  455. .change_model_cont{
  456. height: 100%;
  457. position: relative;
  458. }
  459. .change_model_close{
  460. width: 34rpx;
  461. height: 34rpx;
  462. position: absolute;
  463. top: 15rpx;
  464. right: 15rpx;
  465. }
  466. .change_model_title1,.change_model_title2,.change_model_title3{
  467. font-size: 24rpx;
  468. color: #a4a4a4;
  469. text-align: center;
  470. }
  471. .change_model_title1{
  472. padding: 0 0 18rpx 0;
  473. }
  474. .change_model_title2{
  475. padding: 0 0 30rpx 0;
  476. }
  477. .change_model_title2{
  478. font-size: 38rpx;
  479. }
  480. .change_model_bg{
  481. display: block;
  482. width: 596rpx;
  483. height: 84rpx;
  484. }
  485. .change_btn_wrap{
  486. position: absolute;
  487. left: 0;
  488. right: 0;
  489. bottom: 0;
  490. }
  491. .each_change_btn{
  492. float: left;
  493. width: 50%;
  494. height: 80rpx;
  495. font-size: 30rpx;
  496. line-height: 80rpx;
  497. text-align: center;
  498. color: #fff;
  499. background-color: #adadad;
  500. }
  501. .each_change_btn.btn_left{
  502. background-color: #ab2a2b;
  503. }