فهرست منبع

Merge branch 'feature_20260313_生动化陈列任务序号后面加任务名称' into release

zhujindu 3 هفته پیش
والد
کامیت
3e2dec7af5
1فایلهای تغییر یافته به همراه11 افزوده شده و 4 حذف شده
  1. 11 4
      src/views/deviceWithin/taskPhotoTaking.vue

+ 11 - 4
src/views/deviceWithin/taskPhotoTaking.vue

@@ -66,7 +66,9 @@
         <div class="dataItem" v-for="(item, index) in dataList">
           <div class="itemTop">
             <div class="itemIndex">
-              <p>{{ index + 1 }}、</p>
+              <p style="margin: 5px 0 10px 0">
+                {{ index + 1 }}、<span>{{ item.taskName }}</span>
+              </p>
             </div>
             <div class="itemHtml" v-html="item.displayInstructions"></div>
           </div>
@@ -251,7 +253,7 @@ export default {
   },
 };
 </script>
-<style lang="scss" scoped>
+<style lang="scss">
 .taskPhotoTaking {
   display: flex;
   flex-direction: column;
@@ -339,12 +341,14 @@ export default {
       display: flex;
       // border-radius: 6px;
       flex-direction: row;
-      margin-bottom: 10px;
+      margin-bottom: 5px;
       // padding: 10px;
       font-size: 16px;
       margin-left: 20px;
       border-bottom: 1px solid #e2e1e1;
       .itemIndex {
+        display: flex;
+        flex-direction: row;
       }
       .itemTop {
         flex: 1;
@@ -352,9 +356,12 @@ export default {
         padding-bottom: 10px;
         .itemHtml {
           overflow-x: auto;
+          margin-left: 20px;
+          p {
+            margin: 0;
+          }
         }
       }
-      .itemTop,
       .itemBottom {
         display: flex;
         flex-direction: row;