纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

35 lines
1.7 KiB

<!--pages/moment/host-info/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">纸吧资料</view>
</cu-custom>
<view class="bg-white flex flex-justify" style="padding:30rpx" wx:if="{{hostDetail}}">
<view class="flex">
<wux-image width="{{60}}" height="{{60}}" wux-class="image" shape="rounded" src="{{hostDetail.logoUrl}}" />
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start">
<view class="flex flex-center">
<text style="white-space: nowrap">{{hostDetail.name}}</text>
</view>
<view class="flex" style="font-size:12px;margin-top:12rpx">
<view class="flex flex-center flex-column">
<view class="text-blue text-lg">{{hostDetail.memberQuantity}}</view>
<view class="text-gray" style="font-size:12px">成员</view>
</view>
<view class="flex flex-center flex-column" style="margin-left:60rpx">
<view class="text-blue text-lg">{{hostDetail.postQuantity}}</view>
<view class="text-gray" style="font-size:12px">帖子</view>
</view>
</view>
</view>
</view>
<wux-button type="{{hostDetail.join ? 'assertive' : 'positive'}}" size="join" bind:click="inoutHost">{{hostDetail.join? '退出纸吧' :'加入纸吧'}}</wux-button>
</view>
<view class="bg-white margin-top" style="padding:20rpx 30rpx" wx:if="{{hostDetail}}">
<wux-divider text="纸吧简介" />
<view class="text-content" style="max-height: 36.4em;margin-top:30rpx">{{hostDetail.description || '暂无简介'}}</view>
</view>
<!-- <view style="padding:80rpx 48rpx" wx:if="{{hostDetail}}">
<wux-button block type="{{hostDetail.join ? 'assertive' : 'positive'}}" bind:click="inoutHost">{{hostDetail.join? '退出纸吧' :'加入纸吧'}}</wux-button>
</view> -->