| 1234567891011121314151617181920212223242526272829303132333435363738 |
- import common from '../../utils/util';
- import main from '../../utils/main';
- const app = getApp();
- Page({
- data: {
- List: [{
- NickName: "昵称1"
- }, {
- NickName: "昵称2"
- }, {
- NickName: "昵称3"
- }, {
- NickName: "本人"
- }],
- },
- onLoad: function (options) {
- var that = this;
- that.data.List[that.data.List.length-1].IsMe="IsMe";
- that.setData({
- Containnerheight: main.getWindowHeight(),
- List:that.data.List,
- });
- },
- onPullDownRefresh: function () {
- wx.stopPullDownRefresh();
- },
- onShareAppMessage: function () {
- return {
- title: app.globalData.ShareTitle,
- path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
- imageUrl: app.globalData.ShareImage,
- }
- },
- })
|