瀏覽代碼

页面样式优化

seimin 1 年之前
父節點
當前提交
6624f73439
共有 1 個文件被更改,包括 29 次插入2 次删除
  1. 29 2
      pages/scanning_result_seimin/scanning_result_seimin.vue

+ 29 - 2
pages/scanning_result_seimin/scanning_result_seimin.vue

@@ -26,7 +26,17 @@
26 26
       </view>
27 27
       <view class="Scanning_cont_block"> 所属科室 : {{ queryObj.targetDept || "-" }} </view>
28 28
       <!-- 药品批次列表 -->
29
-      <view class="page_item_wrap" v-for="item in batchNoList" :key="item.id">
29
+      <table class="speTable">
30
+        <tr>
31
+          <td>药包号</td>
32
+          <td>药包状态</td>
33
+        </tr>
34
+        <tr v-for="item in batchNoList" :key="item.id">
35
+          <td class="maxWidth">{{item.packid || "无"}}</td>
36
+          <td>{{item.drugsState ? item.drugsState.name : "无"}}</td>
37
+        </tr>
38
+      </table>
39
+      <!-- <view class="page_item_wrap" v-for="item in batchNoList" :key="item.id">
30 40
         <view class="page_item">
31 41
           <view class="page_item_top">
32 42
             <view class="page_item_top-inner">
@@ -48,7 +58,7 @@
48 58
         </view>
49 59
         <view class="L-l"></view>
50 60
         <view class="R-l"></view>
51
-      </view>
61
+      </view> -->
52 62
     </view>
53 63
     <view class="Scanning_cont" v-if="queryObj.status != 200">
54 64
       <view class="Scanning_cont_center Scanning_cont_block">
@@ -187,6 +197,23 @@ export default {
187 197
 <style lang="less">
188 198
 .Scanning_Result_seimin {
189 199
   padding: 0 20rpx;
200
+  .speTable {
201
+    margin: 32rpx 0;
202
+    width: 100%;
203
+    border-collapse: collapse;
204
+    .green{
205
+      color: green;
206
+    }
207
+    .red{
208
+      color: red;
209
+    }
210
+    .maxWidth{
211
+      width: 60%;
212
+    }
213
+    td{
214
+      border: 2rpx solid #666;
215
+    }
216
+  }
190 217
   .page_item_wrap {
191 218
     position: relative;
192 219
     margin-top: 32rpx;