Micro letter head applet dynamically change the title and style

wx.setNavigationBarTitle ({
          title: 'to be shipped details' 
        })
 
wx.setNavigationBarColor({
          frontColor: '#ffffff', // will write items
          backgroundColor: '# 980100', // pass color value
          // animation: {// options, plus there will be a display of the animation
          //   duration: 4000,
          //   timingFunc: 'easeIn'
          // }
        })

Guess you like

Origin www.cnblogs.com/lishuang2243/p/12661816.html