forked from nsjcy/frontEnd/nsjcy

LAPTOP-RI7D261L\Mr Ke
2020-02-13 a2789abb73725738127b03d95c95081b66954916
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<view style="{{ style }}" bindtouchstart="onTouchStart" catchtouchmove="{{ refreshing || loading ? 'noop' : '' }}" capture-bind:touchmove="onTouchMove" bindtouchend="onTouchEnd">
    <view class="{{ classes.wrap }}">
        <view class="{{ classes.content }}">
            <view class="{{ classes.iconPulling }}">
                <text class="{{ classes.pIcon }}"></text>
            </view>
            <view class="{{ classes.textPulling }}">{{ pullingText }}</view>
            <view class="{{ classes.iconRefreshing }}">
                <text class="{{ classes.rIcon }}"></text>
            </view>
            <view class="{{ classes.textRefreshing }}">{{ refreshingText }}</view>
        </view>
    </view>
    <slot></slot>
    <view class="{{ classes.lWrap }}">
        <view class="{{ classes.lContent }}">
            <text wx:if="{{ !noData }}" class="{{ classes.rIcon }}"></text>
            <text class="{{ classes.loadingText }}" wx:if="{{ !noData && isShowLoadingText }}">{{ loadingText }}</text>
            <view wx:if="{{ noData }}">{{ loadNoDataText }}</view>
        </view>
    </view>
</view>