| | |
| | | <view class="content"> |
| | | <van-dialog id="van-dialog" /> |
| | | <van-empty class="empty" description="暂无数据" wx:if="{{causeList.length === 0}}"></van-empty> |
| | | <view class="foot"> <button class="button" bindtap="addCause">新 增 群 公 告</button></view> |
| | | <van-dialog use-slot title="群公告" show="{{ show }}" show-cancel-button bind:close="onClose" bind:confirm="getUserInfo"> |
| | | <van-field value="{{ value }}" placeholder="请输入群公告" border="{{ false }}" bind:change="onChange" /> |
| | | </van-dialog> |
| | | <view class="lists" wx:for="{{causeList}}" wx:key="id"> |
| | | <van-swipe-cell class="list-swipe" id="swipe-cell" right-width="{{ 65 }}" async-close bind:close="ondel" data-id="{{item}}"> |
| | | <view class="item2"> |
| | | <image class="icon" src="../../../../icon/notice.png"></image> |
| | | <span class="content">群公告</span> |
| | | <view class="item">{{item.ctime}}</view> |
| | | </view> |
| | | |
| | | <view class="item3">{{item.text}}</view> |
| | | <image class="icon" src="../../../../icon/notice.png"></image> |
| | | <span class="content">群公告</span> |
| | | <view class="item">{{item.ctime}}</view> |
| | | </view> |
| | | |
| | | <view class="item3">{{item.text}}</view> |
| | | <view slot="right">删除</view> |
| | | </van-swipe-cell> |
| | | |
| | | |
| | | <!-- <van-button type="info" bind:click="causeListAdd">添加</van-button> --> |
| | | </view> |
| | | </view> |