123456789101112131415161718192021222324252627282930313233343536373839 |
- <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
- <view slot="info" class="container main">
- <view class="one">
- <view class="one_1">
- <input type="text" value="{{searchInfo.title}}" bindconfirm="onSearch" placeholder="请输入话题名称" />
- </view>
- <view class="one_2">
- <button type="primary" bindtap="toAdd">添加</button>
- </view>
- </view>
- <view class="two">
- <scroll-view scroll-y="true" class="scroll-view" bindscrolltolower="toPage">
- <view class="list-scroll-view">
- <view class="list" wx:for="{{list}}" wx:key="item">
- <view class="name">{{item.title||'暂无'}}</view>
- <view class="other">
- <view class="other_1">
- <text>来源:</text>
- <text>{{item.origin||'暂无'}}</text>
- </view>
- <view class="other_1">
- <text>发布时间:</text>
- <text>{{item.create_time||'暂无'}}</text>
- </view>
- <view class="other_1">
- <text>是否公开:</text>
- <text>{{item.is_show=='0'?'公开':'不公开'}}</text>
- </view>
- </view>
- <view class="btn">
- <button type="primary" bindtap="toEdit" data-id="{{item._id}}" size="mini">信息维护</button>
- <button size="mini" type="warn" bindtap="toDel" data-id="{{item._id}}">信息删除</button>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- </mobile-main>
|