How to realize the background switch of WeChat Mini Programs's bottom TarBar

how to achieve the TarBar switch at the bottom of WeChat Mini Programs, the background is also switched along with it. WeChat Mini Programs"s document only has all the background settings, but I want to achieve the effect as shown in
clipboard.png

.

as a whole, there is a background for clicking. Is there any way or idea to achieve this effect without rewriting the custom TarBar style?

Mar.20,2021

the function you want should not be implemented with the official TabBar for the time being. At present, Mini Program supports dynamically setting the overall text color, text selection color and background color. Individually, only text and icon are supported.
can be implemented by writing tabbar by yourself

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-16de47f-10c8b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-16de47f-10c8b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?