Files
小鱼开发 3bf5c948d8 Initial commit
2024-05-24 14:16:05 +08:00

69 lines
3.8 KiB
Plaintext

<view class="fixed top-0 left-0 bottom-0 bg-f8 con-160 z-index-0" style='overflow-y:auto'>
<view class="bg-fff">
<block wx:for='{{cate_list}}' wx:for-item='item' wx:key='index'>
<view class="relative topicSort pt40 pb40 pl20 font-24 {{cateIndex == index?'active bg-fff':'bg-f8 color-666'}} {{cateIndex == index-1?'ulib-rtr20':''}} {{cateIndex == index+1?'ulib-rbr20':''}}" bindtap='choosingCate' data-index='{{index}}'>
<view class="pl5">{{item.name}}</view>
</view>
</block>
</view>
</view>
<view class="ml160">
<view class="height-100 relative">
<view class="fixed top-0 left-0 right-0 ml160 bg-fff-op95 pt20 pb20 pl120 pr120">
<view class="fn-flex bg-fff font-24 color-666 text-center bds-1-eb ulib-r750" style="padding:3rpx;">
<block wx:for='{{list_type}}' wx:key='index'>
<view class="fn-flex-item relative pt10 pb10 ulib-r750 {{typeIndex == index?'bg-f9394d color-fff':'bg-fff'}}" data-index="{{index}}" bindtap="changeTab" >{{item.name}}</view>
</block>
</view>
</view>
</view>
<view class="mt10 fn-clear" wx:if="{{show=='image'}}">
<block wx:for='{{list}}' wx:for-item='item' wx:key='index'>
<image bindtap="showPoster" data-index="{{index}}" class='block fn-fl mb30 ml30 img-250x445 box-shadow-000-3-5 ulib-r10' lazy-load="{{true}}" mode="aspectFill" src="{{item.cover}}"></image>
</block>
</view>
<view wx:if="{{show=='text'}}">
<block wx:for='{{list}}' wx:for-item='item' wx:key='index'>
<view class="bg-fff mt30 ml30 mr30 inner30 box-shadow-000-10-10 ulib-r10">
<view class="font-32 color-666 line-height-16">{{item.content}}</view>
<view class="mt10 text-right">
<view class="inline-block bg-333 pt5 pb5 pl20 pr20 font-22 color-fff ulib-r750" bindtap="copyWord" data-tx="{{item.content}}">复制</view>
</view>
</view>
</block>
</view>
<lcb-listmore isLoading='{{loading}}' isEnd='{{end&&list.length>6}}' isNoData='{{noData}}'></lcb-listmore>
</view>
<distributePoster isShow="{{poster.isShow}}" customImg="{{poster.customPoster}}" isCreateQrcode="{{poster.isCreateQrcode}}" qccodeid="{{poster.qrcodeid}}" slogan="{{poster.slogan}}" moments="{{poster.moments}}"></distributePoster>
<view class="poster fixed" wx:if="{{showPoster}}">
<view class="poster-bg absolute top-0 bottom-0 left-0 right-0" bindtap="hidePoster"></view>
<view class="poster-main poster-main-img absolute box-center-middle">
<view class="overflowhidden ulib-r10">
<scroll-view scroll-y="true" style="max-height:900rpx;">
<image class="block wp100 ulib-r10" src="{{list[currentIndex].cover}}" mode="widthFix" />
</scroll-view>
</view>
<view class="mt40 fn-flex">
<button class="fn-flex-item bds-2-fff btn-no-bg font-32 color-fff ulib-r750 text-center ml20 mr20" bindtap="pushLink" data-url="/pages/distribute/special/index?id={{list[currentIndex].id}}">专题预览</button>
<button class="fn-flex-item btn-f9394d font-32 color-fff ulib-r750 text-center ml20 mr20" hover-class="btn-f9394d-hover" catchtap="putMaterialHomeTopic">生成专题</button>
</view>
</view>
</view>
<!-- <lcb-msg isShow="{{showPoster}}" isTransparent='{{true}}'>
<view slot="content">
<view style="width:580rpx;">
<image class="block wp100 ulib-r10" src="{{list[currentIndex].cover}}" mode="widthFix" />
</view>
<view class="mt40 fn-flex">
<button class="fn-flex-item bds-2-fff btn-no-bg font-32 color-fff ulib-r750 text-center ml20 mr20" bindtap="pushLink" data-url="/pages/distribute/special/index?id={{list[currentIndex].id}}">专题预览</button>
<button class="fn-flex-item btn-f9394d font-32 color-fff ulib-r750 text-center ml20 mr20" hover-class="btn-f9394d-hover" catchtap="putMaterialHomeTopic">生成专题</button>
</view>
</view>
</lcb-msg> -->