123456789101112131415161718192021222324252627 |
- //index.js
- const util = require("../../utils/util")
- //获取应用实例
- const app = getApp()
- Page({
- data: {
- buyModel:false,
- system: "",
- userInfo:{},
- },
- onLoad: function(){
- let that = this
- app.checkLogin(res=>{
- console.log("login", res)
- })
- },
- onPullDownRefresh() {
- if (!this.loading) {
- this.indexLoad( this.stopPullDownRefresh )
- }
- },
- onShareAppMessage: function(){
- }
- })
|