样式优化

This commit is contained in:
bb_pan 2025-09-04 10:14:48 +08:00
parent 7d3c6f0adb
commit 0c59c4864c
2 changed files with 16 additions and 4 deletions

View File

@ -1,9 +1,9 @@
import { createSSRApp } from 'vue'
import App from './App.vue'
import pinia from './stores/index'
import VConsole from 'vconsole'
// import VConsole from 'vconsole'
new VConsole()
// new VConsole()
import '@/styles/reset.css'
import '@/styles/common.scss'

View File

@ -28,11 +28,18 @@
</div>
<uni-popup ref="popup" type="center" border-radius="6px 6px 6px 6px" background-color="#fff">
<div style="padding: 20px">
<uni-icons
type="close"
size="25"
color="red"
style="margin: 5px 0 0 88%"
@click="popup.close()"
/>
<div style="padding: 0 20px 20px">
<div>编码详情</div>
<div class="code-list">
<div v-for="(item, index) in popupRow" :key="index">
<span>{{ item.maCode }}</span>
<span>{{ index + 1 }}. {{ item.maCode }}</span>
</div>
</div>
</div>
@ -124,4 +131,9 @@ const handleItem = (item) => {
display: flex;
}
}
.code-list {
width: 59vw;
max-height: 70vh;
overflow: auto;
}
</style>