1. Statically modify the page title:
{
"navigationBarTitleText": "古诗猜谜"
}
2. Dynamically modify the title:
onLoad: function (options) {
wx.setNavigationBarTitle({
title: '古诗猜谜'
})
},
Scan the code to view related applets: