| | |
| | | |
| | | <!-- 说明 --> |
| | | <!--<view class="tool-desc"> |
| | | <p style="color:red;">'使用上限'以下刀时的'使用上限'为计算标准</p> |
| | | <p style="color:red;">寿命比预警值默认为90%</p> |
| | | </view>--> |
| | | <p style="color:red;">'使用上限'以下刀时的'使用上限'为计算标准</p> |
| | | <p style="color:red;">寿命比预警值默认为90%</p> |
| | | </view>--> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | .form-label { |
| | | width: 100px; |
| | | font-weight: bold; |
| | | font-size: 14px; |
| | | font-size: 18px; |
| | | color: #333; |
| | | white-space: nowrap; |
| | | margin-right: 8px; |
| | |
| | | |
| | | .input { |
| | | padding: 8px 12px; |
| | | font-size: 14px; |
| | | font-size: 16px; |
| | | border: 1px solid #dcdfe6; |
| | | flex: 1; |
| | | margin-right: 8px; |
| | |
| | | } |
| | | |
| | | .input.small-font { |
| | | font-size: 13px; |
| | | font-size: 15px; |
| | | } |
| | | |
| | | .input:disabled { |
| | |
| | | padding: 8px 16px; |
| | | border-radius: 4px; |
| | | cursor: pointer; |
| | | font-size: 14px; |
| | | font-size: 16px; |
| | | font-weight: 500; |
| | | white-space: nowrap; |
| | | height: 36px; |
| | |
| | | .button-row { |
| | | display: flex; |
| | | justify-content: center; |
| | | gap: 16px; |
| | | margin: 20px 0; |
| | | padding: 0 20px; |
| | | gap: 32px; |
| | | margin: 2vh 0; |
| | | } |
| | | |
| | | .save-btn, .cancel-btn { |
| | | width: 120px; |
| | | padding: 10px 20px; |
| | | background-color: #1890ff; |
| | | width: 28%; |
| | | padding: 1.5vh; |
| | | background-color: #00A2E9; |
| | | color: white; |
| | | font-size: 14px; |
| | | font-size: 1.2vw; |
| | | border: none; |
| | | text-align: center; |
| | | border-radius: 4px; |
| | | cursor: pointer; |
| | | transition: all 0.3s; |
| | | border-radius: 6px; |
| | | transition: background 0.2s; |
| | | } |
| | | |
| | | .save-btn:hover { |
| | | background-color: #40a9ff; |
| | | } |
| | | |
| | | .save-btn:active { |
| | | background-color: #096dd9; |
| | | } |
| | | |
| | | .cancel-btn { |
| | | background-color: #f5f5f5; |
| | | color: #666; |
| | | border: 1px solid #d9d9d9; |
| | | background-color: #eee; |
| | | color: #333; |
| | | } |
| | | |
| | | .cancel-btn:hover { |
| | | background-color: #fff; |
| | | border-color: #1890ff; |
| | | color: #1890ff; |
| | | } |
| | | .save-btn:hover { |
| | | background-color: #40a9ff; |
| | | } |
| | | |
| | | .save-btn:disabled, .cancel-btn:disabled { |
| | | opacity: 0.6; |
| | | cursor: not-allowed; |
| | | } |
| | | .save-btn:active { |
| | | background-color: #096dd9; |
| | | } |
| | | |
| | | /* 弹窗样式保持原样 */ |
| | | .save-btn:disabled, .cancel-btn:disabled { |
| | | opacity: 0.6; |
| | | cursor: not-allowed; |
| | | } |
| | | |
| | | /* 弹窗样式 */ |
| | | .dialog-overlay { |
| | | position: fixed; |
| | | top: 0; |
| | |
| | | box-shadow: none; |
| | | } |
| | | |
| | | /* 表格样式保持原样 */ |
| | | /* 表格样式 */ |
| | | .table-section { |
| | | display: flex; |
| | | justify-content: center; |
| | |
| | | |
| | | .form-label { |
| | | width: 90px; |
| | | font-size: 13px; |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .input { |
| | | font-size: 13px; |
| | | font-size: 14px; |
| | | padding: 6px 10px; |
| | | } |
| | | |
| | | .btn-blue { |
| | | padding: 6px 12px; |
| | | font-size: 13px; |
| | | font-size: 14px; |
| | | } |
| | | } |
| | | </style> |