1002884655 3 vuotta sitten
vanhempi
commit
a93f7f1667

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

1
 <template>
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
     </view>
8
     </view>
7
-    <view>{{Data.attchment}}</view>
9
+    <view class="Desc">{{Data.attchment}}</view>
8
     <!-- <navigator url="" hover-class="none">查看报告</navigator> -->
10
     <!-- <navigator url="" hover-class="none">查看报告</navigator> -->
9
   </view>
11
   </view>
10
 </template>
12
 </template>

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

1
 .BodyCheckItem {
1
 .BodyCheckItem {
2
-  padding: 20px 30px;
2
+  padding: 30px;
3
   align-items: center;
3
   align-items: center;
4
-  > .flex-item {
4
+  > .Title {
5
+    align-items: center;
5
     > text {
6
     > text {
6
-      font-size: 26px;
7
+      font-size: 32px;
7
       line-height: 40px;
8
       line-height: 40px;
8
       display: block;
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
   > navigator {
28
   > navigator {
17
     width: 160px;
29
     width: 160px;
18
     text-align: center;
30
     text-align: center;