How to set WeChat Mini Programs navigationbartitletext to center the title

in the official document, navigationbartitletext can only set the properties of the top bar in the json settings file. Under real machine debugging, the top bar text automatically runs to the far left side of the phone. How to set the top bar to center like a development tool preview? Only some of the following attributes are given in the official document. How to set them for help?

Feb.28,2021

that's the default IOS centered Android to the left


the official answer is that Apple is in the middle, Android is in the left ui style, and you want to solve all the custom pages title, crap

.
Menu