ouyj 5 months ago
parent
commit
aaaa96aac3
1 changed files with 15 additions and 8 deletions
  1. 15 8
      pages/worktime/index.uvue

+ 15 - 8
pages/worktime/index.uvue

@@ -115,10 +115,10 @@
             </view>
             <view class="info-row">
               <view class="info-label">
-                <text>下发时间: {{ formatDate(getPropertyValue(item, 'assignTime')) }}</text>
+                <text class="text-gray">下发时间: {{ formatDate(getPropertyValue(item, 'assignTime')) }}</text>
               </view>
               <view class="info-value">
-                <text>处理时长: {{ formatNumber(parseFloat(getPropertyValue(item, 'handleHour'))) }}小时</text>
+                <text class="text-gray">处理时长: {{ formatNumber(parseFloat(getPropertyValue(item, 'handleHour'))) }}小时</text>
               </view>
             </view>
           </view>
@@ -724,19 +724,25 @@ onMounted(() => {
 
 .item-header {
   flex-direction: row;
-  align-items: center;
+  align-items: flex-start;
   margin-bottom: 16rpx;
 
   .item-title {
-    flex: 1;
-    font-size: 28rpx;
+    font-size: 30rpx;
     color: #333333;
     font-weight: bold;
+    word-wrap: break-word;
+    word-break: break-word;
+    flex: 0 1 70%;
+    min-width: 0;
   }
 
   .info-value {
     font-size: 28rpx;
     color: #999999;
+    margin-left: auto;
+    flex: 0 0 auto;
+    white-space: nowrap;
   }
 }
 
@@ -747,17 +753,18 @@ onMounted(() => {
   
   .info-label {
     font-size: 26rpx;
-    color: #666666;
+    color: #666;
   }
   
   .info-value {
     font-size: 26rpx;
-    color: #333333;
+    color: #666;
   }
 }
 
 .text-gray{
-  color: #999999;
+  font-size: 26rpx;
+  color: #666;
 }
 /* 日期选择弹窗 */
 .date-picker-popup {