mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-10 19:23:42 +08:00
opt: 优化 ItemList 组件样式,调整支付页面布局
This commit is contained in:
@@ -47,7 +47,7 @@ onMounted(() => {
|
||||
const computeSize = () => {
|
||||
const w = container.value.offsetWidth - 8 // 减去滚动条的宽度
|
||||
let cols = Math.floor(w / props.width)
|
||||
itemWidth.value = Math.ceil(w / cols) - 1
|
||||
itemWidth.value = Math.ceil(w / cols)
|
||||
}
|
||||
|
||||
window.onresize = () => {
|
||||
|
||||
Reference in New Issue
Block a user