From 7293cdfb022066c67ba12b9374181366e7ab4c12 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 25 七月 2022 09:53:41 +0800
Subject: [PATCH] up

---
 src/views/home/index.vue     |   19 +++++++++++++++----
 src/views/home/css/index.css |   10 ++++++++--
 electron/main/index.ts       |    5 ++---
 3 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/electron/main/index.ts b/electron/main/index.ts
index 7ac32b5..bed1464 100644
--- a/electron/main/index.ts
+++ b/electron/main/index.ts
@@ -1,4 +1,4 @@
-import { app, BrowserWindow, shell, ipcMain } from 'electron'
+import { app, BrowserWindow, shell, ipcMain,Menu } from 'electron'
 import { release } from 'os'
 import { join } from 'path'
 import fs from 'fs'
@@ -37,13 +37,13 @@
   win = new BrowserWindow({
     title: 'Main window',
     fullscreen: true,
+    autoHideMenuBar:true, 
     webPreferences: {
       preload: splash,
       nodeIntegration: true,
       contextIsolation: false,
     },
   })
-
   if (app.isPackaged) {
     win.loadFile(join(__dirname, '../../index.html'))
   } else {
@@ -66,7 +66,6 @@
     return { action: 'deny' }
   })
 }
-
 app.whenReady().then(createWindow)
 
 app.on('window-all-closed', () => {
diff --git a/src/views/home/css/index.css b/src/views/home/css/index.css
index 1632230..763d6e5 100644
--- a/src/views/home/css/index.css
+++ b/src/views/home/css/index.css
@@ -18,7 +18,13 @@
   height: 40px;
   margin: 16px 0 0 36px;
 }
-
+.inputCode{
+  width: 300px;
+  margin-left: 20px;
+  margin: 17px 0 0 20px;
+  height: 38px;
+  line-height: 38px;
+}
 .text_1 {
   width: 115px;
   height: 38px;
@@ -29,7 +35,7 @@
   text-align: center;
   white-space: nowrap;
   line-height: 38px;
-  margin: 17px 0 0 765px;
+  margin: 17px 0 0 465px;
 }
 
 .text_2 {
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 77c3d32..6b21551 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -245,6 +245,15 @@
           referrerpolicy="no-referrer"
           :src="logo"
         />
+        <el-input
+              v-model="inputCode"
+              ref="inputRef"
+              id="inputCode"
+              class="inputCode"
+              @change="inputChabge"
+              placeholder="请输入患者卡号或扫描条码"
+              :prefix-icon="Search"
+            />
         <span class="text_1">自助签到</span> <span class="text_2">{{clockNum}}</span>
       </div>
       <div class="body flex-col">
@@ -255,6 +264,11 @@
               referrerpolicy="no-referrer"
               :src="patientInfo.patientAvatarIcon"
             />
+            
+            <!-- <div class="inputDeep">
+              <input id="inputCode"  type="text" @change="inputChabge" ref="inputRef" :value="inputCode">
+            
+            </div> -->
             <div class="group_9 flex-col">
               <div class="text-wrapper_31 flex-row justify-between">
                 <span class="text_3">姓名:</span>
@@ -337,10 +351,6 @@
           </div>
         </div>
       </div>
-      <div class="inputDeep" style="display:none;">1
-        <input id="inputCode" style="border-style: none;" type="text" @change="inputChabge" ref="inputRef" :value="inputCode">
-        <!-- <input  @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" /> -->
-      </div>
     </div>
 
 </template>
@@ -348,4 +358,5 @@
 @import './css/common.css';
 @import './css/index.css';
 
+
 </style>

--
Gitblit v1.8.0