|
@ -1,12 +1,18 @@ |
|
|
<script> |
|
|
<script> |
|
|
import config from "common/config.js"; |
|
|
import config from "common/config.js"; |
|
|
|
|
|
import { |
|
|
|
|
|
navParams |
|
|
|
|
|
} from "common/nav-calc-utils.js"; |
|
|
export default { |
|
|
export default { |
|
|
globalData: { |
|
|
globalData: { |
|
|
wxSilentLoginURL: config.baseUrl + "/lpkcustomer/wxSilentLogin", |
|
|
wxSilentLoginURL: config.baseUrl + "/lpkcustomer/wxSilentLogin", |
|
|
sid: "" |
|
|
sid: "", |
|
|
|
|
|
navInfo: { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLaunch: function() { |
|
|
onLaunch: function() { |
|
|
console.log('App onLaunch') |
|
|
this.globalData.navInfo = navParams() |
|
|
}, |
|
|
}, |
|
|
onShow: function() { |
|
|
onShow: function() { |
|
|
console.log('App Show') |
|
|
console.log('App Show') |
|
|