12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import { sharePage, isFn } from '../../utils/util.js'
- const { init, globalData } = getApp()
- const { tempOptions } = globalData
- Page({
-
- data: {
- },
-
- onLoad: function (options) {
- getApp().globalData.options = tempOptions
- if (isFn(init)) init()
- },
-
- onReady: function () {
-
- },
-
- onShow: function () {
- },
-
- onHide: function () {
- },
-
- onUnload: function () {
- },
-
- onPullDownRefresh: function () {
- },
-
- onReachBottom: function () {
- },
-
- onShareAppMessage: function () {
- if (isFn(sharePage)) return sharePage()
- }
- })
|