Commit 0fb852cb by 陈玉桐

首页增加下拉不刷新,跳转不返回

parent 2006d5ec
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"pages/targetList/targetList" "pages/targetList/targetList"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#353535", "navigationBarBackgroundColor": "#353535",
"navigationBarTitleText": "欧欧家长端", "navigationBarTitleText": "欧欧家长端",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
......
...@@ -434,7 +434,7 @@ Page({ ...@@ -434,7 +434,7 @@ Page({
// 没有孩子跳转完善信息 // 没有孩子跳转完善信息
if(res.data.errno==40010){ if(res.data.errno==40010){
wx.navigateTo({ wx.redirectTo({
url: '/pages/childInfo/childInfo' url: '/pages/childInfo/childInfo'
}) })
return return
...@@ -442,7 +442,7 @@ Page({ ...@@ -442,7 +442,7 @@ Page({
// 没有视力信息跳转初始视力 // 没有视力信息跳转初始视力
if(res.data.errno==4001){ if(res.data.errno==4001){
wx.navigateTo({ wx.redirectTo({
url: '/pages/eyesight/eyesight' url: '/pages/eyesight/eyesight'
}) })
return return
...@@ -850,5 +850,8 @@ Page({ ...@@ -850,5 +850,8 @@ Page({
wx.navigateTo({ wx.navigateTo({
url: '/pages/out/out?url='+e.currentTarget.dataset.url url: '/pages/out/out?url='+e.currentTarget.dataset.url
}) })
} },
onPullDownRefresh: function() {
wx.stopPullDownRefresh();
},
}) })
\ No newline at end of file
{ {
"usingComponents": { "usingComponents": {
"ec-canvas": "../../component/ec-canvas/ec-canvas" "ec-canvas": "../../component/ec-canvas/ec-canvas"
} },
"enablePullDownRefresh": true
} }
\ No newline at end of file
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
height: 20rpx; height: 20rpx;
} }
.swiperBox{ .swiperBox{
padding: 20rpx 20rpx; padding: 10rpx 20rpx 20rpx;
height: 210rpx; height: 220rpx;
background-color: #e6ece5; background-color: #e6ece5;
} }
.swiperCon{ .swiperCon{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment