|
@ -12,14 +12,14 @@ Page({ |
|
|
height: app.globalData.height * 2 + 20, |
|
|
height: app.globalData.height * 2 + 20, |
|
|
}, |
|
|
}, |
|
|
onLoad: function (options) { |
|
|
onLoad: function (options) { |
|
|
wx.setNavigationBarColor({ |
|
|
// wx.setNavigationBarColor({
|
|
|
frontColor: '#ffffff', |
|
|
// frontColor: '#ffffff',
|
|
|
backgroundColor: '#FC383B', |
|
|
// backgroundColor: '#FC383B',
|
|
|
animation: { |
|
|
// animation: {
|
|
|
duration: 400, |
|
|
// duration: 400,
|
|
|
timingFunc: 'easeIn' |
|
|
// timingFunc: 'easeIn'
|
|
|
} |
|
|
// }
|
|
|
}) |
|
|
// })
|
|
|
let that = this |
|
|
let that = this |
|
|
const versionNum = '1.1.2' |
|
|
const versionNum = '1.1.2' |
|
|
api.getScanSwitch(versionNum).then(function (res) { |
|
|
api.getScanSwitch(versionNum).then(function (res) { |
|
|