1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--pages/log/log.wxml-->
<view class='quanzi'>
<view class='topQuanzi'>
<image src='../../img/search.png'></image>
<input class="input" name="keyword" placeholder="请输入圈子名称" bindinput ="keywordInput"/>
<view bindtap='searchCircle'>搜索</view>
</view>
<view class='newQuanzi'>
<view class='btn_newQuanzi' bindtap='creatCircle'>
新建圈子<image src='../../img/jia.png'></image>
</view>
<view class='myQuanzi'>
<text>我的圈子</text>
<view class='myQuanzilist'>
<view wx:for="{{userCircleList}}" wx:key="{{index}}">
<view>
<image src='{{item.front_image}}'></image>
<text>{{item.circle_title}}</text>
</view>
<van-button type="default" size='small' bind:click="circleDetails">进入</van-button>
</view>
</view>
</view>
</view>
<view class='conQuanzi'>
<view class='top_conQuanzi'>
<image src='../../img/sanjiao.png'></image>附近志愿者圈子
</view>
<view class='quanziSearch' wx:if="{{showNearCircles==0}}">
<view class='con_quanziSearch' bindtap='searchCircleNearby'>搜索</view>
</view>
<view class='con_conQuanzi' wx:if="{{showNearCircles==1}}">
<view class='quanziList' wx:for="{{circleList}}" wx:key="{{index}}">
<view>
<image src='{{item.front_image}}'></image>{{item.circle_title}}
<text>({{item.member_count}}人)</text>
</view>
<van-button type="default" size='mini' bind:click="joinCircle">进圈</van-button>
</view>
</view>
</view>
<van-toast id="van-toast" />
</view>
<!-- <van-tabbar active="{{ active }}" bind:change="onChange">
<van-tabbar-item>首页</van-tabbar-item>
<van-tabbar-item><view class='circle'>圈子</view></van-tabbar-item>
<van-tabbar-item>我的</van-tabbar-item>
</van-tabbar> -->