The background color of exit is set on the right side of WeChat Mini Programs's title.

problem description

the environmental background of the problems and what methods you have tried

json

{
  "navigationBarBackgroundColor": "-sharpFFB819",
  "navigationStyle": "custom",
  "navigationBarTextStyle": "white",
  "backgroundTextStyle": "light"
}

set this background color

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

May.07,2021

set custom top navigation and then set the font color at the top to white to achieve translucent capsules, not black.

Menu