Commit 6e6c08e3 by wangzhihui

fixed

1 parent b935ec87
...@@ -24,7 +24,7 @@ Component({ ...@@ -24,7 +24,7 @@ Component({
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
scrollTop: 0
}, },
/** /**
...@@ -43,15 +43,20 @@ Component({ ...@@ -43,15 +43,20 @@ Component({
wx.p.router.go( wx.p.router.go(
'/packageIndex/pages/integral/withdrawalDetail/withdrawalDetail', { '/packageIndex/pages/integral/withdrawalDetail/withdrawalDetail', {
id, id,
channelSource:channelsource channelSource: channelsource
} }
); );
}, },
bindrefresherrefresh() { bindrefresherrefresh() {},
console.log(333)
},
scrollonReachBottom() { scrollonReachBottom() {
this.triggerEvent('scrollonReachBottom') this.triggerEvent('scrollonReachBottom')
}, },
},
pageLifetimes: {
show() {
this.setData({
scrollTop: 0
})
}
} }
}) })
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
收益明细 收益明细
</view> </view>
<block wx:if="{{list.length}}"> <block wx:if="{{list.length}}">
<scroll-view class="list_data_widget" scroll-y="{{true}}"enhanced="{{true}}" show-scrollbar="{{false}}" bindrefresherrefresh="bindrefresherrefresh" bindscrolltolower="scrollonReachBottom" refresher-threshold="104" refresher-triggered="{{triggered}}"> <scroll-view class="list_data_widget" scroll-y="{{true}}"enhanced="{{true}}" show-scrollbar="{{false}}" bindrefresherrefresh="bindrefresherrefresh" bindscrolltolower="scrollonReachBottom" refresher-threshold="104" refresher-triggered="{{triggered}}" scroll-top="{{scrollTop}}">
<block wx:for="{{list}}" wx:key="index"> <block wx:for="{{list}}" wx:key="index">
<view class="element" bind:tap="handleDetail" data-id="{{item.id}}" data-infoName="{{item.infoName}}" data-channelSource="{{item.channelSource}}"> <view class="element" bind:tap="handleDetail" data-id="{{item.id}}" data-infoName="{{item.infoName}}" data-channelSource="{{item.channelSource}}">
<view class="title">{{item.infoName}} <view class="title">{{item.infoName}}
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
.content-item { .content-item {
padding: 24rpx 32rpx; padding: 24rpx 32rpx;
border-bottom: 4rpx solid #F0F0F0; border-bottom: 2rpx solid #F0F0F0;
position:relative; position:relative;
.bankName { .bankName {
font-weight: 400; font-weight: 400;
......
...@@ -122,7 +122,7 @@ page { ...@@ -122,7 +122,7 @@ page {
.date_wrap { .date_wrap {
margin-top: 15rpx; margin-top: 15rpx;
box-sizing: border-box; box-sizing: border-box;
padding-right: 32rpx; // padding-right: 32rpx;
.dateText { .dateText {
font-weight: 400; font-weight: 400;
......
...@@ -89,7 +89,7 @@ class WxValidate { ...@@ -89,7 +89,7 @@ class WxValidate {
* 验证手机格式 * 验证手机格式
*/ */
tel(value) { tel(value) {
return that.optional(value) || /^1[34578]\d{9}$/.test(value) return that.optional(value) || /^1[345789]\d{9}$/.test(value)
}, },
/** /**
* 验证URL格式 * 验证URL格式
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!