| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- /* 页面背景 */
- .anomaly-container {
- min-height: 100vh;
- background-color: #F7F8FA;
- display: flex;
- flex-direction: column;
- }
- .anomaly-scroll {
- flex: 1;
- padding: 0.625rem 0.9375rem 0;
- box-sizing: border-box;
- }
- /* 内容卡片 */
- .ano-card {
- background-color: #fff;
- border-radius: 0.5rem;
- padding: 0.9375rem;
- margin-bottom: 0.625rem;
- }
- /* 节标题 */
- .ano-section-title {
- display: flex;
- align-items: center;
- margin-bottom: 0.625rem;
- }
- .ano-title-bar {
- width: 0.1875rem;
- height: 0.9375rem;
- background-color: #FF9800;
- border-radius: 0.09375rem;
- margin-right: 0.375rem;
- }
- .ano-title-text {
- font-size: 0.9375rem;
- font-weight: bold;
- color: #333;
- }
- /* 异常类型行 */
- .ano-type-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0.3125rem 0;
- }
- .ano-type-val {
- font-size: 0.875rem;
- color: #333;
- flex: 1;
- }
- .ano-type-val.placeholder {
- color: #ccc;
- }
- .ano-right-arrow {
- width: 0.625rem;
- height: 0.625rem;
- }
- /* 描述文本框 */
- .ano-textarea {
- width: 100%;
- min-height: 6.25rem;
- font-size: 0.875rem;
- color: #333;
- line-height: 1.6;
- background-color: #FAFAFA;
- border-radius: 0.3125rem;
- padding: 0.625rem;
- box-sizing: border-box;
- }
- /* 照片网格 */
- .ano-photo-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 0.5rem;
- }
- .ano-photo-item {
- width: 4.6875rem;
- height: 4.6875rem;
- border-radius: 0.375rem;
- position: relative;
- overflow: hidden;
- }
- .ano-photo-preview {
- width: 100%;
- height: 100%;
- }
- .ano-photo-del {
- position: absolute;
- top: 0.125rem;
- right: 0.125rem;
- width: 1.125rem;
- height: 1.125rem;
- line-height: 1rem;
- text-align: center;
- background-color: rgba(0, 0, 0, 0.5);
- color: #fff;
- border-radius: 50%;
- font-size: 0.875rem;
- }
- .ano-photo-add {
- width: 4.6875rem;
- height: 4.6875rem;
- border: 0.0625rem dashed #E0E0E0;
- border-radius: 0.375rem;
- background-color: #FAFAFA;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .ano-add-icon {
- width: 1.5625rem;
- height: 1.5625rem;
- margin-bottom: 0.3125rem;
- opacity: 0.5;
- }
- .ano-add-text {
- font-size: 0.75rem;
- color: #999;
- }
- /* 底部提交 */
- .ano-footer {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- background-color: #FF9800;
- padding: 0.625rem 1.25rem;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- box-sizing: border-box;
- }
- .ano-submit-btn {
- width: 100%;
- height: 2.8125rem;
- line-height: 2.8125rem;
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- font-size: 1rem;
- font-weight: bold;
- border-radius: 1.40625rem;
- border: none;
- }
- .ano-submit-btn::after {
- border: none;
- }
- /* 异常类型选择器 */
- .ano-sheet-mask {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999;
- display: flex;
- align-items: flex-end;
- }
- .ano-sheet {
- width: 100%;
- background-color: #fff;
- border-radius: 0.75rem 0.75rem 0 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- .ano-sheet-title {
- display: block;
- text-align: center;
- font-size: 0.875rem;
- color: #999;
- padding: 0.9375rem 0 0.625rem;
- border-bottom: 1px solid #f5f5f5;
- }
- .ano-sheet-list {
- max-height: 60vh;
- }
- .ano-sheet-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0.9375rem 1.25rem;
- border-bottom: 1px solid #f9f9f9;
- }
- .ano-sheet-item-text {
- font-size: 1rem;
- color: #333;
- }
- .ano-sheet-item-text.selected {
- color: #FF9800;
- font-weight: bold;
- }
- .ano-check-icon {
- width: 0.625rem;
- height: 0.625rem;
- }
- .ano-sheet-cancel {
- text-align: center;
- font-size: 1rem;
- color: #999;
- padding: 0.9375rem 0;
- border-top: 0.5rem solid #F7F8FA;
- }
|