12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!--pages/publics/interpretation/interpretation.wxml-->
- <wxs module="filter" src="./util.wxs"></wxs>
- <view style="background: #FFFFFF;">
- <scroll-view class="scroll-wrapper" scroll-x scroll-with-animation="true" scroll-into-view="item{{currentTab < 2 ? 0 : currentTab - 1}}">
- <view class="navigate-item" id="item{{index}}" wx:for="{{interpretationList}}" wx:key="index" data-index="{{index}}" bindtap="tabNav">
- <view class="names {{currentTab === index ? 'active' : ''}}">{{item.title}}</view>
- <view class="currtline {{currentTab === index ? 'active' : ''}}" wx:if="{{currentTab === index}}"></view>
- </view>
- </scroll-view>
- <swiper current="{{currentTab}}" style="width: 100%;height: 90vh;" bindchange="handleSwiper">
- <!-- 文字解读 -->
- <swiper-item>
- <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
- <view bindtap="gotoDetailByDocId" data-url="{{item.DOCPUBURL}}" data-channelid="{{item.CHNLID}}" data-docid="{{item.DOCID}}" wx:for-item="item" wx:for-index="index" wx:key="index" wx:for="{{interpretationListInfo}}" style="display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;height: 120rpx;font-size: 28rpx;color: #666666;width: 700rpx;margin-left: 23rpx;border-bottom: 2rpx solid #CCCCCC;">
- <view class="limit-text-1" style="width: 600rpx;-webkit-line-clamp:2;overflow:hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient:vertical;">{{item.DOCTITLE}}</view>
- <view>{{filter.formateDate(item.DOCRELTIME)}}</view>
- </view>
- </scroll-view>
- </swiper-item>
- <!-- 图片解读 -->
- <swiper-item>
- <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
- <view style="display: flex;justify-content: flex-start;flex-wrap: wrap;">
- <view bindtap="gotoDetailByDocId" data-url="{{item.DOCPUBURL}}" data-docid="{{item.DOCID}}" data-channelid="{{item.CHNLID}}" style="margin-top: 20rpx;margin-left: 33rpx;width: 327rpx;" wx:for="{{interpretationListInfo}}" wx:key="index">
- <view style="width: 327rpx;height: 185rpx;background-image: url({{item.logoImg}});background-size:cover;"></view>
- <!-- <image src="{{item.logoImg}}" mode="aspectFill" style="width: 327rpx;height: 185rpx;"></image> -->
- <view style="font-size: 25rpx;font-family: PingFang SC;color: #666666;-webkit-line-clamp:2;overflow:hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient:vertical;">{{item.DOCTITLE}}</view>
- </view>
- </view>
- </scroll-view>
- </swiper-item>
- <!-- 视频解读 -->
- <swiper-item>
- <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
- <!-- <view style="height: 100%;display: flex;align-items: center;justify-content: center;">
- <t-empty icon="info-circle-filled" description="暂无数据" />
- </view> -->
- <view style="display: flex;justify-content: space-around;flex-wrap: wrap;">
- <view bindtap="gotoWeb" data-url="{{item.DOCPUBURL}}" data-docid="{{item.DOCID}}" data-channelid="{{item.CHNLID}}" style="margin-top: 20rpx;margin-left: 33rpx;width: 327rpx;" wx:for="{{interpretationListInfo}}" wx:key="index">
- <view style="width: 327rpx;height: 185rpx;background-image: url({{item.logoImg}});background-size:cover;"></view>
- <!-- <image src="{{item.logoImg}}" mode="aspectFill" style="width: 327rpx;height: 185rpx;"></image> -->
- <view style="font-size: 25rpx;font-family: PingFang SC;color: #666666;-webkit-line-clamp:2;overflow:hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient:vertical;">{{item.DOCTITLE}}</view>
- </view>
- <!-- <view bindtap="gotoDetail" data-channelid="{{item.CHNLID}}" style="width: 327rpx;" wx:for="{{interpretationListInfo}}" wx:key="index">
- <image src="{{imgUrl}}图层 3261.png" style="width: 327rpx;height: 227rpx;"></image>
- <view style="font-size: 25rpx;font-family: PingFang SC;color: #666666;-webkit-line-clamp:2;overflow:hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient:vertical;">{{item.DOCTITLE}}</view>
- </view> -->
- </view>
- </scroll-view>
- </swiper-item>
- <!-- 媒体解读 -->
- <swiper-item>
- <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
- <!-- <view style="height: 100%;display: flex;align-items: center;justify-content: center;">
- <t-empty icon="info-circle-filled" description="暂无数据" />
- </view> -->
- <view bindtap="gotoDetail" data-channelid="{{item.CHNLID}}" wx:for-item="item" wx:for-index="index" wx:key="index" wx:for="{{interpretationListInfo}}" style="display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;height: 120rpx;font-size: 28rpx;color: #666666;width: 700rpx;margin-left: 23rpx;border-bottom: 2rpx solid #CCCCCC;">
- <view class="limit-text-1" style="width: 600rpx;-webkit-line-clamp:2;overflow:hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient:vertical;">{{item.DOCTITLE}}</view>
- <view>{{filter.formateDate(item.DOCPUBTIME)}}</view>
- </view>
- </scroll-view>
- </swiper-item>
- </swiper>
- </view>
|