| | |
| | | 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' |
| | |
| | | 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 { |
| | |
| | | return { action: 'deny' } |
| | | }) |
| | | } |
| | | |
| | | app.whenReady().then(createWindow) |
| | | |
| | | app.on('window-all-closed', () => { |
| | |
| | | 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; |
| | |
| | | text-align: center; |
| | | white-space: nowrap; |
| | | line-height: 38px; |
| | | margin: 17px 0 0 765px; |
| | | margin: 17px 0 0 465px; |
| | | } |
| | | |
| | | .text_2 { |
| | |
| | | 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"> |
| | |
| | | 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> |
| | |
| | | </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> |
| | |
| | | @import './css/common.css'; |
| | | @import './css/index.css'; |
| | | |
| | | |
| | | </style> |