up
chenyc
2022-07-25 7293cdfb022066c67ba12b9374181366e7ab4c12
up
3个文件已修改
34 ■■■■ 已修改文件
electron/main/index.ts 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/css/index.css 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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', () => {
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 {
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>