How do you add a background picture to the tabbar at the bottom of Mini Program?

clipboard.png

< hr >

like this kind of background picture, Mini Program tabbar can only modify the background color. How to add the background picture?

Apr.05,2021

it's you at a glance. Let me show you the code directly

iconPath sets the icon that is displayed, and selectedIconPath is the icon that is selected and displayed


cannot. Mini Program does not open a custom tabbar style, so you have to simulate a tabbar

yourself.
Menu