ModelTrain.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /* 统一容器样式 */
  2. .picker-title {
  3. font-size: 16px;
  4. color: #333;
  5. margin: 20rpx 0;
  6. padding-left: 20rpx;
  7. }
  8. /* 下拉选择器样式 */
  9. .picker-container {
  10. position: relative;
  11. margin: 0 20rpx 20rpx;
  12. border: 1rpx solid #ddd;
  13. border-radius: 8rpx;
  14. padding: 20rpx;
  15. }
  16. .picker {
  17. color: #666;
  18. }
  19. .picker-arrow {
  20. position: absolute;
  21. right: 20rpx;
  22. top: 50%;
  23. transform: translateY(-50%);
  24. width: 0;
  25. height: 0;
  26. border-left: 10rpx solid transparent;
  27. border-right: 10rpx solid transparent;
  28. border-top: 16rpx solid #999;
  29. }
  30. /* 表格容器 */
  31. .table-container {
  32. width: 100%;
  33. margin-top: 20rpx;
  34. border: 1rpx solid #eee;
  35. border-radius: 8rpx;
  36. overflow: hidden;
  37. }
  38. /* 统一表格样式 */
  39. .table-body {
  40. width: 100%;
  41. }
  42. .table-header,
  43. .table-row {
  44. display: flex;
  45. flex-direction: row;
  46. align-items: center;
  47. padding: 20rpx 10rpx;
  48. }
  49. .table-header {
  50. background-color: #f5f5f5;
  51. font-weight: bold;
  52. border-bottom: 2rpx solid #ddd;
  53. }
  54. .table-row {
  55. display: flex;
  56. align-items: center;
  57. border-bottom: 1rpx solid #eee;
  58. padding: 20rpx 0;
  59. }
  60. .table-row.selected {
  61. background-color: #f0f8ff;
  62. }
  63. .table-cell {
  64. flex: 1;
  65. min-width: 160rpx;
  66. text-align: center;
  67. padding: 0 10rpx;
  68. word-break: break-all;
  69. }
  70. /* 调整单选框列 */
  71. .table-cell:first-child {
  72. flex: 0.5;
  73. display: flex;
  74. justify-content: center;
  75. }
  76. /* 统一按钮样式 */
  77. .button-container {
  78. margin: 40rpx 20rpx 0;
  79. }
  80. .button-container button {
  81. width: 100%;
  82. background-color: #07c160;
  83. color: white;
  84. border-radius: 8rpx;
  85. font-size: 16px;
  86. }
  87. /* 状态提示样式 */
  88. .loading,
  89. .no-data {
  90. text-align: center;
  91. padding: 40rpx;
  92. color: #999;
  93. font-size: 14px;
  94. }
  95. /* 保持单选框样式一致 */
  96. radio .wx-radio-input {
  97. width: 20px;
  98. height: 20px;
  99. }
  100. .radio-checked .wx-radio-input {
  101. border-color: #07c160 !important;
  102. background-color: #07c160 !important;
  103. }