jwyu 1 год назад
Родитель
Сommit
b96cbfd187
1 измененных файлов с 18 добавлено и 1 удалено
  1. 18 1
      src/views/report/List.vue

+ 18 - 1
src/views/report/List.vue

@@ -407,7 +407,7 @@ async function handleReportEdit(e){
                         </div>
                     </div>
                 </van-dropdown-item>
-                <van-dropdown-item title="报告状态" ref="statusDropMenuIns">
+                <van-dropdown-item title="推送状态" ref="statusDropMenuIns">
                     <div class="report-status-box">
                         <ul>
                             <li 
@@ -445,6 +445,7 @@ async function handleReportEdit(e){
                     <h2 class="van-ellipsis title">
                         <span :class="['tag',item.ChapterType]">{{['周报','晨报'].includes(item.ClassifyNameFirst)?item.ClassifyNameFirst:'研报'}}</span>
                         {{item.Title}}
+                        <span v-if="item.CreateTime">({{item.CreateTime.substring(5,7)}}{{item.CreateTime.substring(8,10)}})</span>
                     </h2>
                     <p class="van-multi-ellipsis--l2 des">{{item.Abstract}}</p>
                     <div class="bot-info">
@@ -546,12 +547,17 @@ async function handleReportEdit(e){
             :min-date="calendarMinDate"
             @confirm="handleCalendarChange" 
             :style="{ height: '500px' }"
+            class="calendar-box"
         >
             <template #title>
                 <div style="position: relative;">
                     <span style="color:#666;position: absolute;left:16px" @click="handleResetCalendar">重置</span>
                     <span>日期选择</span>
                 </div>
+                <div class="time-type-box">
+                    <span>发布时间</span>
+                    <span>更新时间</span>
+                </div>
             </template>
         </van-calendar>
     </van-popup>
@@ -777,6 +783,17 @@ async function handleReportEdit(e){
     }
 }
 
+.calendar-box{
+    :deep(.van-calendar__header-title){
+        height: auto;
+        min-height: var(--van-calendar-header-title-height);
+    }
+    .time-type-box{
+        font-weight: normal;
+        text-align: left;
+    }
+}
+
 @media screen and (min-width:$media-width){
     .add-report-btn{
         svg{