1002884655 3 vuotta sitten
vanhempi
commit
a93f7f1667
2 muutettua tiedostoa jossa 26 lisäystä ja 12 poistoa
  1. 7
    5
      src/components/BodyCheckItem/index.vue
  2. 19
    7
      src/components/BodyCheckItem/page.scss

+ 7
- 5
src/components/BodyCheckItem/index.vue Näytä tiedosto

@@ -1,10 +1,12 @@
1 1
 <template>
2
-  <view class="BodyCheckItem flex-h">
3
-    <view class="flex-item">
4
-      <text>{{Data.name}}</text>
5
-      <text>{{ToolClass.DateFormat(Data.createDate)}}</text>
2
+  <view class="BodyCheckItem">
3
+    <view class="Title flex-h">
4
+      <text>{{ToolClass.DateFormat(new Date(Data.createDate).getTime())}}</text>
5
+      <view class="flex-item">
6
+        <text>{{Data.name}}</text>
7
+      </view>
6 8
     </view>
7
-    <view>{{Data.attchment}}</view>
9
+    <view class="Desc">{{Data.attchment}}</view>
8 10
     <!-- <navigator url="" hover-class="none">查看报告</navigator> -->
9 11
   </view>
10 12
 </template>

+ 19
- 7
src/components/BodyCheckItem/page.scss Näytä tiedosto

@@ -1,18 +1,30 @@
1 1
 .BodyCheckItem {
2
-  padding: 20px 30px;
2
+  padding: 30px;
3 3
   align-items: center;
4
-  > .flex-item {
4
+  > .Title {
5
+    align-items: center;
5 6
     > text {
6
-      font-size: 26px;
7
+      font-size: 32px;
7 8
       line-height: 40px;
8 9
       display: block;
9
-      color: #999;
10
-      &:first-child {
11
-        font-size: 28px;
12
-        color: #333;
10
+      color: #333;
11
+      font-weight: bold;
12
+    }
13
+    >.flex-item {
14
+      >text {
15
+        font-size: 26px;
16
+        line-height: 40px;
17
+        display: block;
18
+        color: #999;
13 19
       }
14 20
     }
15 21
   }
22
+  >.Desc {
23
+    font-size: 26px;
24
+    color: #333;
25
+    line-height: 40px;
26
+    margin-top: 10px;
27
+  }
16 28
   > navigator {
17 29
     width: 160px;
18 30
     text-align: center;