Browse Source

完成工单后禁止物理返回

seimin 3 years ago
parent
commit
6fe376e116
1 changed files with 294 additions and 351 deletions
  1. 294 351
      pages/scanning_djEnd/scanning_djEnd.vue

+ 294 - 351
pages/scanning_djEnd/scanning_djEnd.vue

@@ -9,17 +9,14 @@
9 9
       </view>
10 10
     </view>
11 11
 
12
-    <view
13
-      class="Scanning_top"
14
-      v-if="
12
+    <view class="Scanning_top" v-if="
15 13
         infoDATA.status == 10005 ||
16 14
         infoDATA.status == 100018 ||
17 15
         infoDATA.status == 10004 ||
18 16
         infoDATA.status == 100021 ||
19 17
         infoDATA.status == 500 ||
20 18
         infoDATA.status == 100031
21
-      "
22
-    >
19
+      ">
23 20
       <view class="Scanning_top_icon">
24 21
         <text class="cubeic-close icon_transport transport-shibai"></text>
25 22
       </view>
@@ -28,39 +25,22 @@
28 25
       </view>
29 26
     </view>
30 27
 
31
-    <view
32
-      class="Scanning_cont"
33
-      v-if="
28
+    <view class="Scanning_cont" v-if="
34 29
         (infoDATA.status == 200 && type == 'specimenPlan') ||
35 30
         (infoDATA.status == 200 && type == 'specimen')
36
-      "
37
-    ></view>
38
-    <view
39
-      class="Scanning_cont"
40
-      v-if="
31
+      "></view>
32
+    <view class="Scanning_cont" v-if="
41 33
         (infoDATA.status == 200 && type == 'patientTransport') ||
42 34
         (infoDATA.status == 200 && type == 'inspect')
43
-      "
44
-      >扫描患者腕带并将患者送往目标科室.</view
45
-    >
46
-    <view
47
-      class="Scanning_cont"
48
-      v-if="
35
+      ">扫描患者腕带并将患者送往目标科室.</view>
36
+    <view class="Scanning_cont" v-if="
49 37
         (infoDATA.status == 200 && type == 'drugsBag') ||
50 38
         (infoDATA.status == 200 && type == 'jPBag')
51
-      "
52
-      >已到达目标科室,请扫描药包或静配包.</view
53
-    >
54
-    <view
55
-      class="Scanning_cont"
56
-      v-if="
39
+      ">已到达目标科室,请扫描药包或静配包.</view>
40
+    <view class="Scanning_cont" v-if="
57 41
         infoDATA.status == 200 && type == 'other' && infoDATA.type == 'qt-ddd-1'
58
-      "
59
-      >已到达目标科室,请执行该工单.</view
60
-    >
61
-    <view
62
-      class="Scanning_cont"
63
-      v-if="
42
+      ">已到达目标科室,请执行该工单.</view>
43
+    <view class="Scanning_cont" v-if="
64 44
         (infoDATA.state == 'finish' &&
65 45
           infoDATA.status == 200 &&
66 46
           type == 'specimenPlan' &&
@@ -68,12 +48,8 @@
68 48
         (infoDATA.status == 200 &&
69 49
           type == 'other' &&
70 50
           infoDATA.type == 'qt-dsd-1')
71
-      "
72
-      >已到达目标科室,工单已完成.</view
73
-    >
74
-    <view
75
-      class="Scanning_cont"
76
-      v-if="
51
+      ">已到达目标科室,工单已完成.</view>
52
+    <view class="Scanning_cont" v-if="
77 53
         (infoDATA.status == 200 &&
78 54
           type == 'specimenPlan' &&
79 55
           infoDATA.type != 'plan-spe-ddd-1' &&
@@ -82,24 +58,16 @@
82 58
           type == 'specimen' &&
83 59
           infoDATA.type != 'spe-ddd-1' &&
84 60
           infoDATA.type != 'spe-dsd-1')
85
-      "
86
-      >已到达目标科室,请扫描标本.</view
87
-    >
88
-    <view
89
-      class="Scanning_cont"
90
-      v-if="
61
+      ">已到达目标科室,请扫描标本.</view>
62
+    <view class="Scanning_cont" v-if="
91 63
         (infoDATA.status == 200 &&
92 64
           type == 'specimenPlan' &&
93 65
           infoDATA.type == 'plan-spe-ddd-1') ||
94 66
         (infoDATA.status == 200 &&
95 67
           type == 'specimen' &&
96 68
           infoDATA.type == 'spe-ddd-1')
97
-      "
98
-      >已到达目标科室,请取标本后送达目标科室.</view
99
-    >
100
-    <view
101
-      class="Scanning_cont"
102
-      v-if="
69
+      ">已到达目标科室,请取标本后送达目标科室.</view>
70
+    <view class="Scanning_cont" v-if="
103 71
         (infoDATA.state != 'finish' &&
104 72
           infoDATA.status == 200 &&
105 73
           type == 'specimenPlan' &&
@@ -107,60 +75,44 @@
107 75
         (infoDATA.status == 200 &&
108 76
           type == 'specimen' &&
109 77
           infoDATA.type == 'spe-dsd-1')
110
-      "
111
-      >已到达目标科室,请放置标本完成该工单.</view
112
-    >
78
+      ">已到达目标科室,请放置标本完成该工单.</view>
113 79
     <view class="Scanning_cont" v-if="infoDATA.status != 200">
114 80
       <view>{{ infoDATA.msg }}</view>
115 81
     </view>
116
-    <view
117
-      class="foot_btn"
118
-      v-if="type == 'inspect' || type == 'patientTransport'"
119
-    >
82
+    <view class="foot_btn" v-if="type == 'inspect' || type == 'patientTransport'">
120 83
       <view class="btn3" @click="Scanning_again()">继续扫描</view>
121 84
     </view>
122 85
     <view class="foot_btn" v-if="type == 'drugsBag' || type == 'jPBag'">
123 86
       <view class="btn3" @click="Scanning_again()">继续扫描</view>
124 87
     </view>
125
-    <view
126
-      class="foot_btn"
127
-      v-if="
88
+    <view class="foot_btn" v-if="
128 89
         (type == 'specimenPlan' &&
129 90
           type1 != 'plan-spe-dsd-1' &&
130 91
           (type1 != 'plan-spe-ddd-1') & (type1 != 'plan-spe-ddd-2')) ||
131 92
         (type == 'specimen' &&
132 93
           type1 != 'spe-dsd-1' &&
133 94
           (type1 != 'spe-ddd-1') & (type1 != 'spe-ddd-2'))
134
-      "
135
-    >
95
+      ">
136 96
       <view class="btn1" @click="Scanning_again()">继续扫描</view>
137 97
       <view class="btn2" @click="Scanning_complete(ids)">完成扫描</view>
138 98
     </view>
139
-    <view
140
-      class="foot_btn"
141
-      v-if="
99
+    <view class="foot_btn" v-if="
142 100
         (type == 'specimenPlan' && type1 == 'plan-spe-ddd-2') ||
143 101
         (type == 'specimen' && type1 == 'spe-ddd-2')
144
-      "
145
-    >
102
+      ">
146 103
       <view class="btn1" @click="Scanning_again()">继续扫描</view>
147 104
       <view class="btn2" @click="Scanning_complete(ids)">完成扫描</view>
148 105
     </view>
149
-    <view
150
-      class="foot_btn"
151
-      v-if="
106
+    <view class="foot_btn" v-if="
152 107
         (infoDATA.state != 'finish' &&
153 108
           type == 'specimenPlan' &&
154 109
           type1 == 'plan-spe-dsd-1') ||
155 110
         (type == 'specimen' && type1 == 'spe-dsd-1')
156
-      "
157
-    >
111
+      ">
158 112
       <view class="btn1" @click="Scanning_complete1(ids)">完成工单</view>
159 113
       <view class="btn2" @click="showAlert()">继续配送</view>
160 114
     </view>
161
-    <view
162
-      class="foot_btn"
163
-      v-if="
115
+    <view class="foot_btn" v-if="
164 116
         infoDATA.status != 200 &&
165 117
         type != 'specimenPlan' &&
166 118
         type != 'specimen' &&
@@ -168,197 +120,188 @@
168 120
         type !== 'inspect' &&
169 121
         type !== 'drugsBag' &&
170 122
         type !== 'patientTransport'
171
-      "
172
-    >
123
+      ">
173 124
       <view class="btn3" @click="showAlert()">知道了</view>
174 125
     </view>
175
-    <view
176
-      class="foot_btn"
177
-      v-if="
126
+    <view class="foot_btn" v-if="
178 127
         (infoDATA.status == 200 && type1 == 'spe-ddd-1') ||
179 128
         (infoDATA.status == 200 && type1 == 'plan-spe-ddd-1')
180
-      "
181
-    >
129
+      ">
182 130
       <view class="btn3" @click="showAlert()">知道了</view>
183 131
     </view>
184
-    <view
185
-      class="foot_btn"
186
-      v-if="
132
+    <view class="foot_btn" v-if="
187 133
         (infoDATA.state == 'finish' &&
188 134
           infoDATA.status == 200 &&
189 135
           type == 'specimenPlan' &&
190 136
           type1 == 'plan-spe-dsd-1') ||
191 137
         (infoDATA.status == 200 && type == 'other')
192
-      "
193
-    >
138
+      ">
194 139
       <view class="btn3" @click="showAlert()">知道了</view>
195 140
     </view>
196 141
     <!-- 弹窗 -->
197
-    <showModel
198
-      :title="models.title"
199
-      :icon="models.icon"
200
-      :disjunctor="models.disjunctor"
201
-      :content="models.content"
202
-      @ok="ok"
203
-      @cancel="cancel"
204
-      :operate="models.operate"
205
-    ></showModel>
142
+    <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
143
+      @ok="ok" @cancel="cancel" :operate="models.operate"></showModel>
206 144
   </view>
207 145
 </template>
208 146
 <script>
209
-import showModel from "../../components/showModel/showModel.vue";
210
-import { get, post, SM, webHandle } from "../../http/http.js";
211
-export default {
212
-  data() {
213
-    return {
214
-      // 弹窗model
215
-      models: {
216
-        disjunctor: false,
147
+  import showModel from "../../components/showModel/showModel.vue";
148
+  import {
149
+    get,
150
+    post,
151
+    SM,
152
+    webHandle
153
+  } from "../../http/http.js";
154
+  export default {
155
+    data() {
156
+      return {
157
+        // 弹窗model
158
+        models: {
159
+          disjunctor: false,
160
+        },
161
+        wcId: "", //工单完成ID
162
+        modelFlag: "", //工单完成类型
163
+        infoDATA: [],
164
+        ids: [],
165
+        speNum: 0,
166
+        type: "",
167
+        type1: "",
168
+        queryObj: {}, //路由传递过来的参数
169
+      };
170
+    },
171
+    methods: {
172
+      // 确定
173
+      ok() {
174
+        this.models.disjunctor = false;
175
+        if (this.modelFlag === "complete") {
176
+          //完成扫描
177
+          let postType = "";
178
+          if (this.queryObj.type1 == "plan-spe-ddd-2") {
179
+            postType = "finishPlanSpes";
180
+          } else if (this.queryObj.type1 == "spe-ddd-2") {
181
+            postType = "finishSpes";
182
+          }
183
+          let data = {
184
+            type: this.queryObj.type1,
185
+            ids: this.wcId,
186
+          };
187
+          post("/workerOrder/" + postType, data).then((res) => {
188
+            if (res.status == 200) {
189
+              uni.reLaunch({
190
+                url: "../receiptpage/receiptpage",
191
+              });
192
+            } else {
193
+              uni.showToast({
194
+                icon: "none",
195
+                title: "请求失败!",
196
+              });
197
+            }
198
+          });
199
+        } else if (this.modelFlag === "complete1") {
200
+          //1对1标本完成工单
201
+          let ids = this.wcId;
202
+          post("/workerOrder/finishSpeOrder", ids).then((res) => {
203
+            if (res.status == 200) {
204
+              uni.reLaunch({
205
+                url: "../receiptpage/receiptpage",
206
+              });
207
+            } else {
208
+              uni.showToast({
209
+                icon: "none",
210
+                title: "请求失败!",
211
+              });
212
+            }
213
+          });
214
+        }
215
+      },
216
+      // 取消
217
+      cancel() {
218
+        this.models.disjunctor = false;
217 219
       },
218
-      wcId: "", //工单完成ID
219
-      modelFlag: "", //工单完成类型
220
-      infoDATA: [],
221
-      ids: [],
222
-      speNum: 0,
223
-      type: "",
224
-      type1: "",
225
-      queryObj: {}, //路由传递过来的参数
226
-    };
227
-  },
228
-  methods: {
229
-    // 确定
230
-    ok() {
231
-      this.models.disjunctor = false;
232
-      if (this.modelFlag === "complete") {
233
-        //完成扫描
234
-        let postType = "";
235
-        if (this.queryObj.type1 == "plan-spe-ddd-2") {
236
-          postType = "finishPlanSpes";
237
-        } else if (this.queryObj.type1 == "spe-ddd-2") {
238
-          postType = "finishSpes";
220
+      //完成扫描
221
+      Scanning_complete(id) {
222
+        this.modelFlag = "complete";
223
+        if (
224
+          this.queryObj.type1 == "plan-spe-ddd-2" ||
225
+          this.queryObj.type1 == "spe-ddd-2"
226
+        ) {
227
+          this.wcId = id;
228
+          this.models = {
229
+            disjunctor: true,
230
+            title: "提示",
231
+            content: "是否确定标本已扫描完成?",
232
+            icon: "warn",
233
+            operate: {
234
+              ok: "确定",
235
+              cancel: "取消",
236
+            },
237
+          };
238
+        } else {
239
+          uni.navigateTo({
240
+            url: `../scanning/scanning?type=${this.queryObj.type}&type1=${
241
+            this.queryObj.type1
242
+          }&deptCode=${this.queryObj.code}&dept=${
243
+            this.queryObj.dept
244
+          }&id=${encodeURIComponent(JSON.stringify(this.ids))}`,
245
+          });
239 246
         }
240
-        let data = {
241
-          type: this.queryObj.type1,
242
-          ids: this.wcId,
243
-        };
244
-        post("/workerOrder/" + postType, data).then((res) => {
245
-          if (res.status == 200) {
246
-            uni.navigateTo({
247
-              url: "../receiptpage/receiptpage",
248
-            });
249
-          } else {
250
-            uni.showToast({
251
-              icon: "none",
252
-              title: "请求失败!",
253
-            });
254
-          }
255
-        });
256
-      } else if (this.modelFlag === "complete1") {
257
-        //1对1标本完成工单
258
-        let ids = this.wcId;
259
-        post("/workerOrder/finishSpeOrder", ids).then((res) => {
260
-          if (res.status == 200) {
261
-            uni.navigateTo({
262
-              url: "../receiptpage/receiptpage",
263
-            });
264
-          } else {
265
-            uni.showToast({
266
-              icon: "none",
267
-              title: "请求失败!",
268
-            });
269
-          }
270
-        });
271
-      }
272
-    },
273
-    // 取消
274
-    cancel() {
275
-      this.models.disjunctor = false;
276
-    },
277
-    //完成扫描
278
-    Scanning_complete(id) {
279
-      this.modelFlag = "complete";
280
-      if (
281
-        this.queryObj.type1 == "plan-spe-ddd-2" ||
282
-        this.queryObj.type1 == "spe-ddd-2"
283
-      ) {
247
+      },
248
+      //一对一完成工单
249
+      Scanning_complete1(id) {
250
+        this.modelFlag = "complete1";
284 251
         this.wcId = id;
285 252
         this.models = {
286 253
           disjunctor: true,
287 254
           title: "提示",
288
-          content: "是否确定标本已扫描完成?",
255
+          content: "是否确定标本配送完成?",
289 256
           icon: "warn",
290 257
           operate: {
291 258
             ok: "确定",
292 259
             cancel: "取消",
293 260
           },
294 261
         };
295
-      } else {
296
-        uni.navigateTo({
297
-          url: `../scanning/scanning?type=${this.queryObj.type}&type1=${
298
-            this.queryObj.type1
299
-          }&deptCode=${this.queryObj.code}&dept=${
300
-            this.queryObj.dept
301
-          }&id=${encodeURIComponent(JSON.stringify(this.ids))}`,
302
-        });
303
-      }
304
-    },
305
-    //一对一完成工单
306
-    Scanning_complete1(id) {
307
-      this.modelFlag = "complete1";
308
-      this.wcId = id;
309
-      this.models = {
310
-        disjunctor: true,
311
-        title: "提示",
312
-        content: "是否确定标本配送完成?",
313
-        icon: "warn",
314
-        operate: {
315
-          ok: "确定",
316
-          cancel: "取消",
317
-        },
318
-      };
319
-    },
320
-    //继续扫描
321
-    Scanning_again() {
322
-      SM().then((ress1) => {
323
-        // ----------------
324
-        //检验二维码的有效性
325
-        post("/dept/scanning", {
326
-          content: ress1,
327
-        }).then((result) => {
328
-          if (result.state == 200 || result.state == 201) {
329
-            let ress = result.code;
330
-            let speCode = ress;
331
-            let data = {
332
-              code: speCode,
333
-              type: this.queryObj.type1,
334
-              deptCode: this.code,
335
-              ids: this.ids,
336
-            };
337
-            let postType = "";
338
-            if (this.type == "jPBag" || this.type == "drugsBag") {
339
-              postType = "handleDrugsAndJp";
340
-            }
341
-            if (this.type == "specimen") {
342
-              postType = "handleSpes";
343
-              data["speCode"] = data.code;
344
-              delete data.code;
345
-            }
346
-            if (this.type == "specimenPlan") {
347
-              postType = "handlePlanSpes";
348
-              data["speCode"] = data.code;
349
-              delete data.code;
350
-            }
351
-            if (this.type == "inspect") {
352
-              postType = "handleIns";
353
-            }
354
-            if (this.type == "patientTransport") {
355
-              postType = "handleTrans";
356
-            }
357
-            post("/workerOrder/" + postType, data).then((ress) => {
358
-              if (ress.status == 200) {
359
-                this.speNum++;
360
-                uni.navigateTo({
361
-                  url: `../scanning_djInfo/scanning_djInfo?type=${
262
+      },
263
+      //继续扫描
264
+      Scanning_again() {
265
+        SM().then((ress1) => {
266
+          // ----------------
267
+          //检验二维码的有效性
268
+          post("/dept/scanning", {
269
+            content: ress1,
270
+          }).then((result) => {
271
+            if (result.state == 200 || result.state == 201) {
272
+              let ress = result.code;
273
+              let speCode = ress;
274
+              let data = {
275
+                code: speCode,
276
+                type: this.queryObj.type1,
277
+                deptCode: this.code,
278
+                ids: this.ids,
279
+              };
280
+              let postType = "";
281
+              if (this.type == "jPBag" || this.type == "drugsBag") {
282
+                postType = "handleDrugsAndJp";
283
+              }
284
+              if (this.type == "specimen") {
285
+                postType = "handleSpes";
286
+                data["speCode"] = data.code;
287
+                delete data.code;
288
+              }
289
+              if (this.type == "specimenPlan") {
290
+                postType = "handlePlanSpes";
291
+                data["speCode"] = data.code;
292
+                delete data.code;
293
+              }
294
+              if (this.type == "inspect") {
295
+                postType = "handleIns";
296
+              }
297
+              if (this.type == "patientTransport") {
298
+                postType = "handleTrans";
299
+              }
300
+              post("/workerOrder/" + postType, data).then((ress) => {
301
+                if (ress.status == 200) {
302
+                  this.speNum++;
303
+                  uni.navigateTo({
304
+                    url: `../scanning_djInfo/scanning_djInfo?type=${
362 305
                     this.queryObj.type
363 306
                   }&type1=${this.queryObj.type1}&infoData=${encodeURIComponent(
364 307
                     JSON.stringify(ress.data)
@@ -369,11 +312,11 @@ export default {
369 312
                   )}&speNum=${this.speNum}&model=${encodeURIComponent(
370 313
                     JSON.stringify(ress)
371 314
                   )}`,
372
-                });
373
-                uni.setStorageSync("speNum", this.speNum);
374
-              } else {
375
-                uni.navigateTo({
376
-                  url: `../scanning_djInfo/scanning_djInfo?type=${
315
+                  });
316
+                  uni.setStorageSync("speNum", this.speNum);
317
+                } else {
318
+                  uni.navigateTo({
319
+                    url: `../scanning_djInfo/scanning_djInfo?type=${
377 320
                     this.queryObj.type
378 321
                   }&type1=${this.queryObj.type1}&status=${ress.status}&msg=${
379 322
                     ress.msg
@@ -384,139 +327,139 @@ export default {
384 327
                   )}&speNum=${this.speNum}&infoData=${encodeURIComponent(
385 328
                     JSON.stringify(ress.data)
386 329
                   )}&model=${encodeURIComponent(JSON.stringify(ress))}`,
387
-                });
388
-              }
389
-            });
390
-          } else {
391
-            uni.showToast({
392
-              icon: "none",
393
-              title: "请求失败!",
394
-            });
395
-          }
330
+                  });
331
+                }
332
+              });
333
+            } else {
334
+              uni.showToast({
335
+                icon: "none",
336
+                title: "请求失败!",
337
+              });
338
+            }
339
+          });
340
+          // ------------------------------
396 341
         });
397
-        // ------------------------------
398
-      });
399
-    },
400
-    // 知道了
401
-    showAlert() {
402
-      uni.navigateTo({
403
-        url: "../receiptpage/receiptpage",
404
-      });
342
+      },
343
+      // 知道了
344
+      showAlert() {
345
+        uni.navigateTo({
346
+          url: "../receiptpage/receiptpage",
347
+        });
348
+      },
405 349
     },
406
-  },
407
-  onLoad(options) {
408
-    console.log(options, "djEnd");
409
-    this.queryObj = options;
410
-    let list = JSON.parse(options.model); //签到返回的信息
411
-    this.code = options.code; //二维码code
412
-    this.ids = options.ids && JSON.parse(options.ids); //科室ID数组
413
-    this.infoDATA = list;
414
-    if (options.type) {
415
-      //关联类型
416
-      this.type = options.type;
417
-    } else {
418
-      this.type = list.type;
419
-    }
420
-    this.type1 = options.type1;
421
-    if (options.speNum) {
422
-      this.speNum = options.speNum;
423
-    } else {
424
-      this.speNumLocal = uni.getStorageSync("speNum");
425
-      // 本地存在speNum的时候
426
-      if (this.speNumLocal) {
427
-        this.speNum = Number(this.speNumLocal);
350
+    onLoad(options) {
351
+      console.log(options, "djEnd");
352
+      this.queryObj = options;
353
+      let list = JSON.parse(options.model); //签到返回的信息
354
+      this.code = options.code; //二维码code
355
+      this.ids = options.ids && JSON.parse(options.ids); //科室ID数组
356
+      this.infoDATA = list;
357
+      if (options.type) {
358
+        //关联类型
359
+        this.type = options.type;
360
+      } else {
361
+        this.type = list.type;
428 362
       }
429
-    }
430
-    // #ifdef APP-PLUS
431
-    webHandle("no", "app");
432
-    // #endif
433
-    // #ifdef H5
434
-    webHandle("no", "wx");
435
-    // #endif
436
-  },
437
-};
363
+      this.type1 = options.type1;
364
+      if (options.speNum) {
365
+        this.speNum = options.speNum;
366
+      } else {
367
+        this.speNumLocal = uni.getStorageSync("speNum");
368
+        // 本地存在speNum的时候
369
+        if (this.speNumLocal) {
370
+          this.speNum = Number(this.speNumLocal);
371
+        }
372
+      }
373
+      // #ifdef APP-PLUS
374
+      webHandle("no", "app");
375
+      // #endif
376
+      // #ifdef H5
377
+      webHandle("no", "wx");
378
+      // #endif
379
+    },
380
+  };
438 381
 </script>
439 382
 <style lang="less">
440
-.Scanning_djEnd {
441
-  padding: 0px 74rpx;
383
+  .Scanning_djEnd {
384
+    padding: 0px 74rpx;
442 385
 
443
-  .Scanning_top {
444
-    height: 270rpx;
386
+    .Scanning_top {
387
+      height: 270rpx;
445 388
 
446
-    .Scanning_top_icon {
447
-      width: 140rpx;
448
-      height: 140rpx;
449
-      margin: 0 auto;
450
-      // margin-top: 116rpx;
451
-      border-radius: 50%;
452
-      line-height: 140rpx;
389
+      .Scanning_top_icon {
390
+        width: 140rpx;
391
+        height: 140rpx;
392
+        margin: 0 auto;
393
+        // margin-top: 116rpx;
394
+        border-radius: 50%;
395
+        line-height: 140rpx;
453 396
 
454
-      .cubeic-ok {
455
-        font-size: 140rpx;
456
-        color: #35b34a;
457
-      }
397
+        .cubeic-ok {
398
+          font-size: 140rpx;
399
+          color: #35b34a;
400
+        }
458 401
 
459
-      .cubeic-close {
460
-        font-size: 140rpx;
461
-        color: #ff3b53;
402
+        .cubeic-close {
403
+          font-size: 140rpx;
404
+          color: #ff3b53;
405
+        }
462 406
       }
463
-    }
464 407
 
465
-    .Scanning_top_text {
466
-      .text1 {
467
-        margin-top: 40rpx;
468
-        font-size: 48rpx;
469
-        text-align: center;
408
+      .Scanning_top_text {
409
+        .text1 {
410
+          margin-top: 40rpx;
411
+          font-size: 48rpx;
412
+          text-align: center;
413
+        }
470 414
       }
471 415
     }
472
-  }
473 416
 
474
-  .Scanning_cont {
475
-    font-size: 32rpx;
476
-    text-align: center;
417
+    .Scanning_cont {
418
+      font-size: 32rpx;
419
+      text-align: center;
477 420
 
478
-    view {
479
-      margin-bottom: 16rpx;
480
-    }
421
+      view {
422
+        margin-bottom: 16rpx;
423
+      }
481 424
 
482
-    .text {
483
-      margin-top: 24rpx;
484
-      color: #35b34a;
485
-    }
425
+      .text {
426
+        margin-top: 24rpx;
427
+        color: #35b34a;
428
+      }
486 429
 
487
-    .text1 {
488
-      margin-top: 24rpx;
489
-      color: #ff3b53;
430
+      .text1 {
431
+        margin-top: 24rpx;
432
+        color: #ff3b53;
433
+      }
490 434
     }
491
-  }
492 435
 
493
-  .foot_btn {
494
-    line-height: 88rpx;
495
-    height: 100rpx;
496
-    margin-top: 40rpx;
497
-    text-align: center;
436
+    .foot_btn {
437
+      line-height: 88rpx;
438
+      height: 100rpx;
439
+      margin-top: 40rpx;
440
+      text-align: center;
498 441
 
499
-    view {
500
-      height: 88rpx;
501
-      width: 45%;
502
-      background-image: linear-gradient(to right, #72c172, #3bb197);
503
-      color: #fff;
504
-      border-radius: 8rpx;
505
-      font-size: 32rpx;
506
-      margin-top: 16rpx;
507
-    }
442
+      view {
443
+        height: 88rpx;
444
+        width: 45%;
445
+        background-image: linear-gradient(to right, #72c172, #3bb197);
446
+        color: #fff;
447
+        border-radius: 8rpx;
448
+        font-size: 32rpx;
449
+        margin-top: 16rpx;
450
+      }
508 451
 
509
-    .btn1 {
510
-      float: left;
511
-    }
452
+      .btn1 {
453
+        float: left;
454
+      }
512 455
 
513
-    .btn2 {
514
-      float: right;
515
-    }
456
+      .btn2 {
457
+        float: right;
458
+      }
516 459
 
517
-    .btn3 {
518
-      margin: 0 auto;
460
+      .btn3 {
461
+        margin: 0 auto;
462
+      }
519 463
     }
520 464
   }
521
-}
522 465
 </style>