Browse Source

2020.0606

yinchengnuo 4 years ago
parent
commit
cf2fb80688
2 changed files with 6 additions and 9 deletions
  1. 2 5
      pages/challengeList/challengeList.vue
  2. 4 4
      store.js

+ 2 - 5
pages/challengeList/challengeList.vue

@@ -143,11 +143,8 @@
 				this.request()
 			},
 			refresherrefresh() {
-				console.log('refresherrefresh')
-				if (this.scrollTop < 100) {
-					this.page = 1
-					this.request(true)
-				}
+				this.page = 1
+				this.request(true)
 			},
 			request(refresh) {
 				if (!this.requesting && this.page > 0) {

+ 4 - 4
store.js

@@ -38,9 +38,9 @@ const store = new Vuex.Store({
 			}
 			console.log(payload)
 			
-			payload.cha_nickname = 'TEST1211313123'
-			payload.signuped = true
-			payload.type = 2
+			// payload.cha_nickname = 'TEST1211313123'
+			// payload.signuped = true
+			// payload.type = 2
 			// payload.level_name = '代理公司'
 			// payload.money = 1
 			
@@ -80,7 +80,7 @@ const store = new Vuex.Store({
 				uni.showLoading({ title: '加载中', mask: true })  //显示loading
 				const [getUserWeixinInfoErr, userWeixinInfo] = await uni.getUserInfo()  //首先获取用户微信信息
 				if (getUserWeixinInfoErr) {  //获取用户微信信息失败后,提示用户,同时展示透明按钮
-					uni.$emit('MESSAGE', '获取微信授权信息失败,请点击屏幕允许 大卫博士争霸赛获取您的公开信息(昵称、头像、地区及性别)', 864000000)
+					// uni.$emit('MESSAGE', '获取微信授权信息失败,请点击屏幕允许 大卫博士争霸赛获取您的公开信息(昵称、头像、地区及性别)', 864000000)
 					uni.hideLoading()  //取消loading
 					commit('SHOWGETUSERINFOBUTTON')
 				} else { // 获取用户微信信息成功后,继续进行下一步