Whitelist-only Function (domain name +ips) for lan port device, and Blacklist for wlan device

Help! I am a newbie for OpenWrt
I need to separate lan network to wlan and lan port zone.
And lan port zone hook whitelist-only firewall (block all http/https but whitelist urls and ips)
wlan(wireless device) zone hook blacklist(or adblock) firewall
Environment TP-Link Archer C7 OpenWrt 21.02.3

What is the best way to do that? I'm not an expert so please explain with details
I had read some posts,but i still confuse to do that .
I checked Filtering traffic with IP sets by DNS post, But HowTO modify this example for whitelist purpose

Thanks in advance