Commit 0fb852cb by 陈玉桐

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

parent 2006d5ec
......@@ -18,7 +18,7 @@
"pages/targetList/targetList"
],
"window": {
"backgroundTextStyle": "light",
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#353535",
"navigationBarTitleText": "欧欧家长端",
"navigationBarTextStyle": "white"
......
......@@ -434,7 +434,7 @@ Page({
// 没有孩子跳转完善信息
if(res.data.errno==40010){
wx.navigateTo({
wx.redirectTo({
url: '/pages/childInfo/childInfo'
})
return
......@@ -442,7 +442,7 @@ Page({
// 没有视力信息跳转初始视力
if(res.data.errno==4001){
wx.navigateTo({
wx.redirectTo({
url: '/pages/eyesight/eyesight'
})
return
......@@ -850,5 +850,8 @@ Page({
wx.navigateTo({
url: '/pages/out/out?url='+e.currentTarget.dataset.url
})
}
},
onPullDownRefresh: function() {
wx.stopPullDownRefresh();
},
})
\ No newline at end of file
{
"usingComponents": {
"ec-canvas": "../../component/ec-canvas/ec-canvas"
}
},
"enablePullDownRefresh": true
}
\ No newline at end of file
......@@ -4,8 +4,8 @@
height: 20rpx;
}
.swiperBox{
padding: 20rpx 20rpx;
height: 210rpx;
padding: 10rpx 20rpx 20rpx;
height: 220rpx;
background-color: #e6ece5;
}
.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