优化更多

This commit is contained in:
gyq 2024-07-26 10:17:26 +08:00
parent ea0c01bb2b
commit b33086ba04
1 changed files with 8 additions and 14 deletions

View File

@ -1,21 +1,17 @@
<template> <template>
<div class="drawerbox"> <div class="drawerbox">
<el-drawer <el-drawer size="60%" :with-header="false" direction="rtl" v-model="dialogVisible" style="padding: 0">
size="60%"
:with-header="false"
direction="rtl"
v-model="dialogVisible"
style="padding: 0"
>
<div class="drawerbox_box"> <div class="drawerbox_box">
<div class="drawerbox_bo_top"> <div class="drawerbox_bo_top">
<div class="drawerbox_bo_top_left"> <div class="drawerbox_bo_top_left">
<div class="drawerbox_bo_top_left_one"> <div class="drawerbox_bo_top_left_one" style="font-size: 24px;">
{{ store.userInfo.shopName }} {{ store.userInfo.shopName }}
</div> </div>
<div class="drawerbox_bo_top_left_tow" style="margin-top: 10px"> <div class="drawerbox_bo_top_left_tow" style="margin-top: 10px">
收银员{{ store.userInfo.userCode }} 收银员{{ store.userInfo.loginName }}
<span style="color: #666">{{ store.userInfo.loginTime }}</span> </div>
<div>
<span style="color: #666">{{ dayjs(store.userInfo.loginTime).format('YYYY-MM-DD HH:mm:ss') }}</span>
</div> </div>
</div> </div>
<!-- <div class="drawerbox_bo_top_ring"> <!-- <div class="drawerbox_bo_top_ring">
@ -52,10 +48,7 @@
</div> </div>
<div class="drawerbox_bo_box_icontext">叫号</div> <div class="drawerbox_bo_box_icontext">叫号</div>
</div> </div>
<div <div class="drawerbox_bo_box_itembox" @click="router.push({ name: 'device_list' })">
class="drawerbox_bo_box_itembox"
@click="router.push({ name: 'device_list' })"
>
<div class="drawerbox_bo_box_icon"> <div class="drawerbox_bo_box_icon">
<el-icon size="40"> <el-icon size="40">
<TurnOff /> <TurnOff />
@ -100,6 +93,7 @@
<script setup> <script setup>
import { ref } from "vue"; import { ref } from "vue";
import { dayjs } from 'element-plus'
import { useRouter } from "vue-router"; import { useRouter } from "vue-router";
import { useUser } from "@/store/user.js"; import { useUser } from "@/store/user.js";
import screen from "@/components/screen.vue"; import screen from "@/components/screen.vue";