12345678910111213141516171819202122232425262728293031323334 |
- <!--pages/tagDetail/tagDetail.wxml-->
- <view class="tag-detail-page">
- <view id="fixedTop">
- <nav-bar id="navBar" bind:back="tapNavBarAction" background="#12264D" background-color-top="#12264D"
- left-btn-bg-color="rgba(255,255,255,0.6)">
- </nav-bar>
- <view class="topic-info-wrap">
- <view class="flex flex-center flex-bet margin-bottom-18">
- <text class="tag-title">{{topicInfo.tagName}}</text>
- <attention-btn is-attention="{{!!topicInfo.isAttention}}" type="{{2}}" attention-id="{{topicInfo.id}}"
- bind:attention="tapAttentionAction"></attention-btn>
- </view>
- <view class="flex flex-center">
- <text class="txt">{{topicInfo.views}}人浏览</text>
- <text class="txt">{{topicInfo.attentionNum}}人关注</text>
- </view>
- </view>
- <view wx:if="{{topicInfo.content}}" class="content">{{topicInfo.content}}</view>
- <view class="tabs-wrap" wx:if="{{categoryList.length}}">
- <tabs titles="{{ categoryList }}" is-center='{{true}}' bind:tab="handleTabAction"></tabs>
- </view>
- </view>
- <scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height: {{ scrollH }}px;background-color:#ffffff"
- upper-threshold="{{ 100 }}" bindscrolltoupper="scrollToUpper" bindscrolltolower="scrollToLower">
- <block wx:if="{{ listData.length }}">
- <block wx:for="{{ listData }}" wx:key="index">
- <post-cell wx:if="{{item.type == 3}}" data="{{ item }}"></post-cell>
- <new-cell wx:else data="{{ item }}"></new-cell>
- </block>
- </block>
- <view wx:if="isEnd" class="end-txt">已显示全部内容</view>
- </scroll-view>
- <publish-btn data="{{topicInfo}}"></publish-btn>
- </view>
|