View uni-app's official website, buttons can be configured
example:
{ "Pages": [ // Pages array entry indicates a first application launch page, Reference: HTTPS: //uniapp.dcloud.io/collocation/pages { "path": "Pages / index / index" , "style" : { "App-PLUS" : { "titleNView" : { "searchInput" : { "align = left": "Center" , "the backgroundColor": "#eee" , "borderRadius": "5px", // only in px as a unit . "placeholder ":" Please enter content " , " placeholderColor ":" #ccc " }, "Buttons" : [{ "Color": "# F0AD4E" , "colorPressed": "#eee" , "a float": "left" , "the fontSize": "22px" , "fontSrc": "/ static / iconfont.ttf ", // font files " text ":" "\ ue65d // fonts icon \ beginning u, plus four behind unicode font icon }, { " Color ":" # 333 " , "colorPressed": "#eee", "float": "right", "FontSize": "22px" , "fontSrc": "/static/iconfont.ttf", // font files "text": "\ ue678" // \ beginning of the font icon u, plus four behind unicode font icon } ] } } } } ], "globalStyle" : { "navigationBarTextStyle": "Black" , "navigationBarTitleText": "UNI-App" , "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" } }
effect: