Browse Source

微调 设置页面loading的大小

master
zhangjiming 4 months ago
parent
commit
8a6b5c339b
  1. 6
      src/pages/Bluetooth.scss
  2. 2
      src/pages/Bluetooth.tsx
  3. 2
      src/pages/Setting.tsx

6
src/pages/Bluetooth.scss

@ -1,4 +1,6 @@
.adm-spin-loading {
.bluetooth-list {
.adm-spin-loading {
width: 16px;
height: 16px;
}
}
}

2
src/pages/Bluetooth.tsx

@ -46,7 +46,7 @@ export default function Bluetooth() {
<NavBar className="bg-white" back={null}>
</NavBar>
<div className="home-page-content overflow-x-hidden overflow-y-auto">
<div className="home-page-content bluetooth-list overflow-x-hidden overflow-y-auto">
<section>
<div className="h-[42px] px-5 flex items-center justify-between">
<h1 className="h-[42px] leading-[42px] text-base text-text font-medium"></h1>

2
src/pages/Setting.tsx

@ -48,8 +48,6 @@ export default function Setting() {
const res = await dispatch(saveConfig({ server, standbyMinutes: selectStandby[0] })).unwrap();
if (res.success) {
Toast.show('保存成功');
} else {
Toast.show(res.message);
}
};

Loading…
Cancel
Save