金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.8 KiB

  1. .preview-box{
  2. /*背景遮罩*/
  3. .category_mask {
  4. position: fixed;
  5. top: 0;
  6. bottom: 0;
  7. width: 100%;
  8. z-index: 61;
  9. background: rgba(0,0,0,.4);
  10. }
  11. .group-list{
  12. position: fixed;
  13. top: 80px;
  14. bottom: 55px;
  15. left: 20px;
  16. right: 20px;
  17. z-index: 62;
  18. .group-box{
  19. width: 100%;
  20. height: 100%;
  21. font-size: 0;
  22. position: relative;
  23. .group-item{
  24. font-size: 10px;
  25. color: #000000;
  26. width: 50%;
  27. height: 50%;
  28. display: inline-block;
  29. box-sizing: border-box;
  30. padding: 5px;
  31. .group-item-content{
  32. width: 100%;
  33. height: 100%;
  34. background: #FFFFFF;
  35. position: relative;
  36. overflow: hidden;
  37. .group-img-box{
  38. //position: absolute;
  39. //top: 0;
  40. width: 100%;
  41. //bottom: 50px;
  42. image{
  43. width: 100%;
  44. }
  45. }
  46. .more-box{
  47. //position: absolute;
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. font-size: 25px;
  52. width: 100%;
  53. height: 100%;
  54. }
  55. }
  56. .goods-money{
  57. //position: absolute;
  58. //bottom: 5px;
  59. padding-left: 10px;
  60. }
  61. .goods-name{
  62. //position: absolute;
  63. //bottom: 25px;
  64. overflow: hidden;
  65. white-space: nowrap;
  66. text-overflow: ellipsis;
  67. width: 100%;
  68. padding-left: 10px;
  69. margin-top: -5px;
  70. }
  71. }
  72. }
  73. .close{
  74. position: absolute;
  75. right: 5px;
  76. top: -30px;
  77. width: 25px;
  78. height: 25px;
  79. pointer-events: none; // 显示元素,但是不响应时间。(只是用来看的)
  80. image{
  81. width: 100%;
  82. }
  83. }
  84. }
  85. }