childMatch.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /* pages/childMatch/childMatch.wxss */
  2. .child-container {
  3. height: 100%;
  4. padding: 0 26rpx;
  5. box-sizing: border-box;
  6. background:#eaeaea;
  7. }
  8. .search-child {
  9. width: 100%;
  10. height: 95rpx;
  11. background: #fff;
  12. border-radius: 95rpx;
  13. display: flex;
  14. align-items: center;
  15. padding-left: 10rpx;
  16. box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 6px 0 rgba(0, 0, 0, .2);
  17. }
  18. .search-child image {
  19. width: 85rpx;
  20. height: 85rpx;
  21. margin-right: 20rpx;
  22. }
  23. .search-child input {
  24. padding-left: 20rpx;
  25. width:70%;
  26. }
  27. .no-find {
  28. display: flex;
  29. flex-direction: column;
  30. align-items: center;
  31. justify-content: center;
  32. position:absolute;
  33. width:100%;
  34. top:30%;
  35. color: #6a6a6a;
  36. }
  37. .photo {
  38. display: flex;
  39. flex-wrap: wrap;
  40. margin-top: 22rpx;
  41. }
  42. .img {
  43. position: relative;
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. width: 332rpx;
  48. border-radius: 20rpx;
  49. margin-top: 30rpx;
  50. }
  51. .img image{
  52. width: 100%;
  53. height: 241rpx;
  54. border-radius: 20rpx;
  55. }
  56. .img .crown {
  57. position: absolute;
  58. top: -10rpx;
  59. right: -10rpx;
  60. width: 90rpx;
  61. height: 90rpx;
  62. }
  63. .img .ticket {
  64. position: absolute;
  65. bottom: 90rpx;
  66. right: 85rpx;
  67. width: 162rpx;
  68. height: 50rpx;
  69. text-align: center;
  70. background: #fff;
  71. border-radius: 50rpx;
  72. line-height: 50rpx;
  73. font-size: 32rpx;
  74. color: #fe5601;
  75. font-weight: 600;
  76. }
  77. .child-name {
  78. width:332rpx;
  79. display: inline-block;
  80. text-align: center;
  81. overflow: hidden;
  82. margin-top: 26rpx;
  83. font-size: 40rpx;
  84. white-space: nowrap;
  85. text-overflow:ellipsis;
  86. }
  87. .img:nth-child(even) {
  88. margin-left: 26rpx;
  89. }