44 lines
2.4 KiB
Plaintext
44 lines
2.4 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 pt35 pb35 pl15 pr15 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="text-nowrap line-height-90">{{item.name}}</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
<view class="ml160">
|
|
<view class="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 mt30 ml30 img-250x445 box-shadow-000-3-5' lazy-load="{{true}}" mode="aspectFit" 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}}"></distributePoster>
|
|
|
|
<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> |