1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <!--index.wxml-->
- <view class="container">
- <!-- <navBar
- title-text="CoffeeTalk"
- back-icon="/img/nav/back@3x.png"
- background="none"
- bindback="back"/> -->
- <!-- <navBar title-text="CoffeeTalk" background="none" /> -->
- <view class="title-img"></view>
- <view class="list">
- <scroll-view style="height: 100%;" scroll-y>
- <view class="black-112"></view>
- <view class="no-msg" wx:if='{{!list.length}}'>暂无数据~</view>
- <block wx:else>
- <view wx:for='{{list}}' wx:key='index'>
- <view class="item" catchtap="goDetail" data-id='{{item.id}}'>
- <!-- <view class="me-active" wx:if='{{item.organizer == userInfo.phone}}'>
- <image src="../../img/me.png"></image>
- </view> -->
- <view class="item-img">
- <image src="{{item.imgList[0]}}" mode='aspectFill'></image>
- </view>
- <view class="item-content">
- <view class="content-title">{{item.title}}</view>
- <view class="content-addr">
- <view class='addr-icon'>
- <image src="../../img/location.png"></image>
- </view>
- <view>
- <text class="addr">{{item.location}}</text>
- <text class="addr-m" wx:if='{{item.distance}}'>距您{{item.distance}} m</text>
- </view>
- </view>
- <view class="content-time">
- <view class="time-icon">
- <image src="../../img/time.png"></image>
- </view>
- <view>
- <text class="time">{{item.starttime}}</text>
- <text class="number">(最多{{item.capacity}} 人)</text>
- </view>
- </view>
- </view>
- <view class="line"></view>
- <view class="item-fn">
- <view class="fn-l">
- <view class="fn-t" wx:if='{{item.attendfee == 0}}'>免费</view>
- <view class="fn-d" wx:else>{{item.attendfee}}/人</view>
- </view>
- <view class="fn-r" catchtap="touchHandler">
- <view class="go-detail" catchtap='goEdit' data-id='{{item.id}}'>
- 编 辑
- </view>
- </view>
- </view>
- </view>
- <view class="black-38"></view>
- </view>
- </block>
- </scroll-view>
- </view>
- <view class="get-info" wx:if='{{!userInfo.avatar}}'>
- <view class="in">
- <view class="get-info-head">提示</view>
- <view class="get-info-content">请授权您的个人信息!</view>
- <view class="get-info-footer">
- <text>确定</text>
- <button open-type="getUserInfo" bindgetuserinfo="userInfoHandler"></button>
- </view>
- </view>
- </view>
- </view>
|