| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- var app = getApp();
- var util = require('../../utils/util.js');
- Page({
- /**
- * 页面的初始数据
- */
- data: {
- openid: null,
- nick: null,
- headIcon: null,
- hiddenmodalput: true,
- nickTempInputValue: '',
- hiddenlogin: true,
- user:'',
- pw:''
- },
- onLoad: function (options) {
-
- },
- onUnload: function(){
- wx.closeSocket()
- },
- onReady: function () {
- },
- onShow: function () {
- //this.getShowBoxList();
- },
- onPullDownRefresh: function () {
- console.log("+++++onPullDownRefresh");
- },
- onReachBottom: function () {
- // Do something when page reach bottom.
- console.log("+++++onReachBottom");
- },
- onPageScroll: function () {
- // Do something when page scroll
- },
- bindNickInput: function (e) {
- this.setData({
- user: e.detail.value
- })
- },
- bindPwInput:function(e){
- this.setData({
- pw: e.detail.value
- })
- }
- })
|