摘要:
// 获取用户信息 getUserMessage() { var phoneText = uni.getStorageSync("user").Phone; // 这里是我项目里全局保存的用户信息,这里拿到了当前登录用户的手机号码 console.log('电话号码:',phoneText) var 阅读全文
摘要:
exitLogin(){ uni.removeStorageSync('token'); uni.removeStorageSync('user'); uni.reLaunch({ url:"/pages/mainview/tap/tap" }) }, <view class="bottom" @c 阅读全文
摘要:
// 上拉加载更多moreData() { var that = this; that.page += 1; var parm = { rows:that.rows, page:that.page } this.requestToken('接口路径?statusList='+ that.status 阅读全文
摘要:
"tabBar": { "backgroundColor":"#FFFFFF", "list": [ { "pagePath":"pages/mainview/tap/tap", "text":"首页" }, { "pagePath":"pages/mainview/tap/tap", "text" 阅读全文