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.
 

169 lines
6.3 KiB

<view class="container">
<view class="banner">
<image src="{{company.clubBgimg}}"></image>
</view>
<view class="circle">
<view class="com-nav">
<view class="nav-left">
<image src="{{company.clubLogo}}" mode='aspectFill'></image>
</view>
<view class="nav-right">
<view class="right-name">
<text>{{company.clubName}}</text>
<image wx:if="{{isflage<=3}}" src="../../../images/manage.png" bindtap="tomanage"></image>
</view>
<view wx:if="{{company.verifyType==1}}" class="right-user">
<image src="../../../images/person.png"></image>个人认证
</view>
<view wx:elif="{{company.verifyType==2}}" class="right-user">
<image src="../../../images/comp.png"></image>企业认证
</view>
<view wx:else class="right-user">
<image src="../../../images/nouser.png"></image>游客登录
</view>
<view class="nav-detail">
活动:{{company.totalActivity?company.totalActivity:0}}
<text>|</text>
成员:{{company.totalMembers}}
</view>
</view>
</view>
<view class="company-intro">
{{company.clubIntroduction}}
</view>
<view class="company-call" wx:if="{{company.isJoin==false}}">
<view bindtap="tojoinClub">
<image src="../../../images/add.png"></image>加入
</view>
</view>
<view wx:else class="company-called">
<view class="joed" bindtap="tuichu">
<image src="../../../images/ok.png"></image>已加入
</view>
<image src="../../../images/joinshare.png" class="share"></image>
</view>
</view>
<view class="photo">
<view class="title">
<view class="titleone">
<image src="../../../images/clubrank.png"></image>俱乐部排行
<view class="big">{{company.rank}}
<view wx:if="{{company.status=='up'}}">↑</view>
<view wx:else>↓</view>
</view>
</view>
<view class="titletwo" bindtap="jlbchengyuan">
<image src="../../../images/clubgroup.png"></image>俱乐部成员 <text>({{company.totalMembers}})</text>
</view>
</view>
<view class="tophoto" bindtap="toalbum">
<image src="../../../images/photoback.png"></image>
<view>相 册</view>
</view>
</view>
<view class="coupon">
<view>
<block wx:for="{{nouse}}" wx:key="nouse">
<view class="list">
<image src='../../../images/coupon.png'></image>
<view class="list-content">
<view class="content-left">
<view class="big">¥<text>{{item.couponPrice}}</text></view>
<view>满 {{item.couponLimit}} 可用</view>
</view>
<view class="content-right">
<view class="right-top">
<view wx:if="{{item.couponType=='0'}}">适用于所有活动</view>
<view wx:elif="{{item.couponType=='1'}}">适用于该所有俱乐部活动</view>
<view wx:else>适用于指定活动</view>
</view>
<view class="usetime">使用时间</view>
<view class="time">{{item.startTime}}至{{item.endTime}}</view>
<view class="status" bindtap="getCoupon" data-id="{{item.couponId}}">
<text>立即领取</text>
</view>
</view>
</view>
</view>
</block>
</view>
</view>
<view class="other">
<view class="other-top">
<image src="../../../images/left.png"></image>
报名中
</view>
<view class="other-circle" wx:if="{{otheractive.length>0}}">
<block wx:for="{{otheractive}}" i wx:key="item">
<view class="other-list" bindtap="toactiveDetail" data-id="{{item.activityId}}">
<view class="list-top">
<view class="other-left">
<image src="http://47.108.88.80:9000/files/{{item.activityLogo}}" mode='aspectFill'></image>
</view>
<view class="other-right">
<view class="other-name">{{item.activityName}}</view>
<view class="other-time">{{item.startRegisterTime}}至{{item.endRegisterTime}}</view>
<!-- <view class="other-people">{{item.activityName}}</view> -->
</view>
</view>
<view class="numlist">
<view class="numleft">
<text class="joing">报名中</text>
<text class="price">¥128起</text>
</view>
<view class="numright">
<view class="see">
<image src='../../../images/viewk.png'></image>浏览{{item.views}}
</view>
<view>
<image src='../../../images/sharek.png'></image>分享{{item.share}}
</view>
</view>
</view>
</view>
</block>
</view>
<view wx:else class="nodata">暂无数据</view>
</view>
<view class="other last">
<view class="other-top">
<image src="../../../images/left.png"></image>
已结束
</view>
<view class="other-circle" wx:if="{{endactive.length>0}}">
<block wx:for="{{endactive}}" wx:key="endactive">
<view class="other-list">
<view class="list-top">
<view class="other-left">
<image src="{{item.img}}" mode='aspectFill'></image>
</view>
<view class="other-right">
<view class="other-name">{{item.intro}}</view>
<view class="other-time">{{item.time}}</view>
<view class="other-people">{{item.name}}</view>
</view>
</view>
<view class="numlist">
<view class="numleft">
<text class="end">已结束</text>
<text class="price">¥128起</text>
</view>
<view class="numright">
<view class="see">
<image src='../../../images/viewk.png'></image>浏览{{item.views}}
</view>
<view>
<image src='../../../images/sharek.png'></image>分享{{item.share}}
</view>
</view>
</view>
</view>
</block>
</view>
<view wx:else class="nodata">暂无数据</view>
</view>
<view class="bottom" wx:if="{{nojoin}}">
<view>加入</view>
</view>
</view>