goods_attr.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. #page {
  2. text-align: right;
  3. padding: 10px;
  4. }
  5. .custom-panel {
  6. background: #fff;
  7. padding: 10px 20px;
  8. }
  9. .custom-panel .custom-panel-title {
  10. display: flex;
  11. padding-top: 10px;
  12. padding-bottom: 10px;
  13. border-bottom: 1px solid #f5f5f5;
  14. }
  15. .custom-panel .custom-panel-title .panel-pic {
  16. overflow: hidden;
  17. width: 80px;
  18. height: 80px;
  19. line-height: 80px;
  20. text-align: center;
  21. border-radius: 50%;
  22. margin-left: 15px;
  23. }
  24. .custom-panel .custom-panel-title .panel-pic img {
  25. max-width: 100%;
  26. max-height: 100%;
  27. }
  28. .custom-panel .custom-panel-title .panel-content {
  29. align-self: center;
  30. width: calc(100% - 130px);
  31. }
  32. .custom-panel .custom-panel-title .panel-content li {
  33. display: flex;
  34. margin-bottom: 5px;
  35. height: 20px;
  36. line-height: 20px;
  37. }
  38. .custom-panel .custom-panel-title .panel-content li:first-of-type {
  39. margin-top: 5px;
  40. }
  41. .custom-panel .custom-panel-title .panel-content li div {
  42. width: 33.3%;
  43. }
  44. .custom-panel .custom-panel-title .panel-content li span {
  45. overflow: hidden;
  46. white-space: nowrap;
  47. text-overflow: ellipsis;
  48. font-size: 14px;
  49. color: #333;
  50. }
  51. .custom-panel .custom-panel-title .panel-content li span:first-of-type {
  52. width: 90px;
  53. }
  54. .custom-panel .custom-panel-title .panel-operation {
  55. align-self: center;
  56. margin-left: auto;
  57. font-size: 14px;
  58. }
  59. .custom-panel .custom-panel-from {
  60. display: flex;
  61. padding-top: 10px;
  62. padding-bottom: 10px;
  63. border-bottom: 1px solid #f5f5f5;
  64. }
  65. .custom-panel .custom-panel-content {
  66. display: flex;
  67. padding-top: 10px;
  68. padding-bottom: 10px;
  69. border-bottom: 1px solid #f5f5f5;
  70. }
  71. .custom-panel .custom-panel-content .panel-content {
  72. width: calc(100% - 30px);
  73. }
  74. .custom-panel .custom-panel-content .panel-content li {
  75. display: flex;
  76. margin-bottom: 5px;
  77. height: 20px;
  78. line-height: 20px;
  79. }
  80. .custom-panel .custom-panel-content .panel-content li:first-of-type {
  81. margin-top: 5px;
  82. }
  83. .custom-panel .custom-panel-content .panel-content li div {
  84. width: 25%;
  85. }
  86. .custom-panel .custom-panel-content .panel-content li span {
  87. overflow: hidden;
  88. white-space: nowrap;
  89. text-overflow: ellipsis;
  90. font-size: 14px;
  91. color: #333;
  92. }
  93. .custom-panel .custom-panel-content .panel-content li span:first-of-type {
  94. width: 90px;
  95. }
  96. .custom-panel .custom-panel-content .panel-operation {
  97. align-self: center;
  98. margin-left: auto;
  99. font-size: 14px;
  100. }
  101. .attribute-value-list {
  102. margin-bottom: 10px;
  103. }
  104. .attribute-value-list .table-wrap {
  105. margin-bottom: 10px;
  106. }
  107. .attribute-value-list .layui-table {
  108. margin-bottom: 0;
  109. }
  110. .attribute-value-list .layui-table:first-child th {
  111. border-bottom: 0;
  112. }
  113. .attribute-value-list .layui-table:last-child {
  114. margin-top: 0;
  115. }
  116. .custom-panel .custom-panel-content.attribute {
  117. display: block
  118. }
  119. .goods-type-edit {
  120. text-align: center;
  121. }