摘要: // 获取用户信息 getUserMessage() { var phoneText = uni.getStorageSync("user").Phone; // 这里是我项目里全局保存的用户信息,这里拿到了当前登录用户的手机号码 console.log('电话号码:',phoneText) var 阅读全文
posted @ 2021-06-05 15:36 温柔本肉 阅读(512) 评论(1) 推荐(0) 编辑
摘要: exitLogin(){ uni.removeStorageSync('token'); uni.removeStorageSync('user'); uni.reLaunch({ url:"/pages/mainview/tap/tap" }) }, <view class="bottom" @c 阅读全文
posted @ 2021-06-05 15:32 温柔本肉 阅读(3034) 评论(0) 推荐(0) 编辑
摘要: // 上拉加载更多moreData() { var that = this; that.page += 1; var parm = { rows:that.rows, page:that.page } this.requestToken('接口路径?statusList='+ that.status 阅读全文
posted @ 2021-06-05 15:29 温柔本肉 阅读(1223) 评论(0) 推荐(0) 编辑
摘要: "tabBar": { "backgroundColor":"#FFFFFF", "list": [ { "pagePath":"pages/mainview/tap/tap", "text":"首页" }, { "pagePath":"pages/mainview/tap/tap", "text" 阅读全文
posted @ 2021-06-05 14:23 温柔本肉 阅读(850) 评论(0) 推荐(0) 编辑