12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!--pages/publics/fileList/fileList.wxml-->
- <wxs module="filter" src="./util.wxs"></wxs>
- <!-- 政策文件 -->
- <view style="height: {{height}}">
- <view style="height: {{height}};width: 730rpx;margin-left: 10rpx;">
- <view style="height: 5%;display: flex;background-color: #ffffff;">
- <!-- 规范性文件 -->
- <view style="position: relative;margin-left: 35rpx;" class="tab-item {{fileTab==0?'active':''}}" bindtap="clickFileTab" data-item="0">
- <view style="height:50rpx;">规范性文件</view>
- </view>
- <!-- 其他文件 -->
- <view style="position: relative;margin-left: 50rpx;" class="tab-item {{fileTab==1?'active':''}}" bindtap="clickFileTab" data-item="1">
- <view style="height:50rpx;">其他文件</view>
- </view>
- <!-- 废止和失效文件 -->
- <view style="position: relative;margin-left: 50rpx;" class="tab-item {{fileTab==2?'active':''}}" bindtap="clickFileTab" data-item="2">
- <view style="height:50rpx;">废止和失效文件</view>
- </view>
- </view>
- <view style="height: 95%;">
- <swiper duration="200" current="{{fileItem}}" bindchange="changeFileTab" style="height: 97%;">
- <swiper-item>
- <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
- <include src="file.wxml" />
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
- <include src="file.wxml" />
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
- <include src="file.wxml" />
- </scroll-view>
- </swiper-item>
- </swiper>
- </view>
- </view>
- </view>
|