odc.xiaohui
2023-05-12 4b48bacef8646cee8b66f5e10b0ed7124534e93e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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>
            <view slot="right">删除</view>
        </van-swipe-cell>
     
 
        <!-- <van-button type="info" bind:click="causeListAdd">添加</van-button> -->
    </view>
</view>