Explorar o código

feature_20260313_生动化陈列任务序号后面加任务名称

zhujindu hai 11 horas
pai
achega
403733cbdc
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      src/views/deviceWithin/taskPhotoTaking.vue

+ 6 - 2
src/views/deviceWithin/taskPhotoTaking.vue

@@ -61,7 +61,9 @@
         <div class="dataItem" v-for="(item, index) in dataList">
           <div class="itemTop">
             <div class="itemIndex">
-              <p>{{ index + 1 }}、</p>
+              <p>
+                {{ index + 1 }}、<span>{{ item.taskName }}</span>
+              </p>
             </div>
             <div class="itemHtml" v-html="item.displayInstructions"></div>
           </div>
@@ -340,6 +342,8 @@ export default {
       margin-left: 20px;
       border-bottom: 1px solid #e2e1e1;
       .itemIndex {
+        display: flex;
+        flex-direction: row;
       }
       .itemTop {
         flex: 1;
@@ -347,9 +351,9 @@ export default {
         padding-bottom: 10px;
         .itemHtml {
           overflow-x: auto;
+          margin-left: 20px;
         }
       }
-      .itemTop,
       .itemBottom {
         display: flex;
         flex-direction: row;