@@ -79,9 +79,9 @@ function filtered(){ return ORDERS.filter(o=>{
return true; }); }
function render(){
const n=advCount();
- document.getElementById('stVal').textContent=state.status;
- document.getElementById('stSel').style.borderColor=state.status==='全部'?'':'var(--primary)';
- document.getElementById('stSel').style.color=state.status==='全部'?'':'var(--primary)';
+ document.getElementById('stIcon').innerHTML='
';
+ const ss=document.getElementById('stSel');
+ ss.classList.toggle('primary',state.status!=='全部'); ss.classList.toggle('ghost',state.status==='全部');
const ab=document.getElementById('advBtn');
ab.classList.toggle('primary',n>0); ab.classList.toggle('ghost',n===0);
const rows=filtered();
diff --git a/.superpowers/prototype/screens/m-stock-out-list.html b/.superpowers/prototype/screens/m-stock-out-list.html
index 2cfd042..0382438 100644
--- a/.superpowers/prototype/screens/m-stock-out-list.html
+++ b/.superpowers/prototype/screens/m-stock-out-list.html
@@ -22,9 +22,9 @@