quanzi-info.wxml 5.0 KB

1
  1. <view class="quanzi-info data-v-42944c64"><block wx:if="{{detail.image}}"><image class="quanzi-top data-v-42944c64" src="{{detail.image}}" mode="aspectFill"></image></block><block wx:else><image class="quanzi-top data-v-42944c64" src="static/quanzi-top.png" mode></image></block><u-navbar vue-id="8920fae6-1" fixed="{{false}}" bgColor="rgba(0,0,0,0)" placeholder="{{true}}" safeAreaInsetTop="{{true}}" class="data-v-42944c64" bind:__l="__l"></u-navbar><view class="quanzi-header u-flex-col u-row-center data-v-42944c64"><view class="header-top u-flex data-v-42944c64"><image src="static/quanzi-img.png" mode class="data-v-42944c64"></image><text class="u-flex-1 u-line-1 data-v-42944c64">{{"#"+(detail.title||'')}}</text></view><view class="header-down u-flex u-row-between data-v-42944c64"><view class="u-flex data-v-42944c64"><text class="text1 data-v-42944c64">{{detail.article_count||0}}</text><text class="text2 data-v-42944c64">条帖子</text><text class="text3 data-v-42944c64"></text><text class="text1 data-v-42944c64">{{detail.follow_count||0}}</text><text class="text2 data-v-42944c64">关注</text></view><block wx:if="{{detail.is_follow}}"><view data-event-opts="{{[['tap',[['guanzhuquanzi',['$event']]]]]}}" class="down-guanzhu1 u-flex u-row-center data-v-42944c64" bindtap="__e">已关注</view></block><block wx:else><view data-event-opts="{{[['tap',[['guanzhuquanzi',['$event']]]]]}}" class="down-guanzhu u-flex u-row-center data-v-42944c64" bindtap="__e"><image src="static/plus.png" mode class="data-v-42944c64"></image><text class="data-v-42944c64">关注圈子</text></view></block></view></view><view class="quanzi-title u-flex u-row-between data-v-42944c64"><text class="text data-v-42944c64">动态</text><view class="subsection data-v-42944c64" style="width:182rpx;"><u-subsection style="border:0 solid #fff;" vue-id="8920fae6-2" mode="button" fontSize="12" list="{{tabslist}}" bgColor="#ECECEC" current="{{current}}" data-event-opts="{{[['^change',[['changetabs']]]]}}" bind:change="__e" class="data-v-42944c64" bind:__l="__l"></u-subsection></view></view><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toinfo',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e" class="data-v-42944c64"><view class="luntan-item data-v-42944c64"><view class="luntan-user u-flex u-row-between data-v-42944c64"><image class="user-head data-v-42944c64" src="{{item.$orig.userinfo.avatar}}" mode data-event-opts="{{[['tap',[['touser',['$0'],[[['list','',index]]]]]]]}}" catchtap="__e"></image><view class="user-center u-flex-1 u-flex-col data-v-42944c64"><text class="data-v-42944c64">{{item.$orig.userinfo.name}}</text><text class="data-v-42944c64">{{item.$orig.userinfo.company_name.name}}</text></view><text data-event-opts="{{[['tap',[['guanzhu',['$0'],[[['list','',index]]]]]]]}}" class="guanzhu-btn data-v-42944c64" catchtap="__e">{{item.$orig.is_follow?'已关注':'关注'}}</text></view><zhao-text vue-id="{{'8920fae6-3-'+index}}" text="{{item.$orig.content}}" class="data-v-42944c64" bind:__l="__l"></zhao-text><block wx:if="{{item.$orig.images}}"><view class="luntan-img u-flex u-flex-wrap u-row-between data-v-42944c64"><block wx:for="{{item.l0}}" wx:for-item="a" wx:for-index="b" wx:key="b"><image src="{{a}}" mode="aspectFill" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig,b})}}" catchtap="__e" class="data-v-42944c64"></image></block><view style="width:210rpx;" class="data-v-42944c64"></view></view></block><view class="item-down u-flex u-row-between data-v-42944c64"><view data-event-opts="{{[['tap',[['dianzan',['$0'],[[['list','',index]]]]]]]}}" class="u-flex u-row-center down-item data-v-42944c64" catchtap="__e"><block wx:if="{{item.$orig.is_like}}"><image src="../static/images/dianzan1.png" mode class="data-v-42944c64"></image></block><block wx:else><image src="../static/images/dianzan.png" mode class="data-v-42944c64"></image></block><text class="text1 data-v-42944c64">{{item.$orig.like_count}}</text></view><view class="u-flex u-row-center down-item data-v-42944c64"><image src="../static/images/pinglun.png" mode class="data-v-42944c64"></image><text class="text1 data-v-42944c64">{{item.$orig.comment_count}}</text></view><view class="u-flex u-row-center down-item data-v-42944c64"><image src="../static/images/liulan.png" mode class="data-v-42944c64"></image><text class="text1 data-v-42944c64">{{item.$orig.read}}</text></view></view></view><u-gap vue-id="{{'8920fae6-4-'+index}}" height="20" bg-color="#F6F6F6" class="data-v-42944c64" bind:__l="__l"></u-gap></view></block><view style="height:150rpx;" class="data-v-42944c64"></view><view class="safe-area-inset-bottom data-v-42944c64"></view><view class="quanzi-down data-v-42944c64"><view data-event-opts="{{[['tap',[['toadd',['$event']]]]]}}" class="down-btn u-flex u-row-center data-v-42944c64" bindtap="__e"><image src="static/add.png" mode class="data-v-42944c64"></image><text class="data-v-42944c64">发布帖子</text></view><view class="safe-area-inset-bottom data-v-42944c64"></view></view></view>