You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
4.0 KiB

3 years ago
<!--pages/user/NeedsManage/index.wxml-->
<view class="manage-page">
<view class="tabs-box acea-row row-between">
<view class="tab {{tabActive == 1 ? 'tab-a' : ''}}" data-i="1" bindtap="tabClick">发布中</view>
<view class="tab {{tabActive == 2 ? 'tab-a' : ''}}" data-i="2" bindtap="tabClick">审核中</view>
<view class="tab {{tabActive == 3 ? 'tab-a' : ''}}" data-i="3" bindtap="tabClick">草稿箱</view>
<view class="tab {{tabActive == 4 ? 'tab-a' : ''}}" data-i="4" bindtap="tabClick">已结束</view>
</view>
<view class="list">
<view class="no-list" wx:if="{{list.length == 0}}">
<image src="../../../images/no-needs.png"></image>
<view>暂无需求</view>
<view class="to-btn" bindtap="toRelease">去发布吧</view>
</view>
<view class="list-item" wx:if="{{list.length > 0}}" wx:for="{{list}}" wx:key="index">
<view class="item-top acea-row row-between">
<view class="top-l">
<view class="n-title">{{item.title}}</view>
<view class="tags-box acea-row">
<view class="tag-item">公司起名</view>
<view class="tag-item colG">LOGO</view>
</view>
</view>
<view class="top-r">
<view class="status" wx:if="{{tabActive == 1}}">发布中</view>
<view class="status" wx:if="{{tabActive == 2}}">审核中</view>
<view class="status" wx:if="{{tabActive == 3}}">编辑未完成</view>
<view class="status" wx:if="{{tabActive == 4}}">项目已圆满结束</view>
<view class="time" wx:if="{{tabActive == 1}}">展示至{{item.resourceEndTime}}</view>
</view>
</view>
<view class="fz28">需求预算<text class="colR">{{item.capital}}</text></view>
<view class="desc">{{item.detailedDescription}}</view>
<view class="btn-box acea-row row-between row-middle">
<view class="time">{{item.resourceStartTime}}申请</view>
<view class="btns acea-row row-middle">
<view class="btn" wx:if="{{tabActive == 1}}" bindtap="xiajiaClick" data-id="{{item.id}}">下架需求</view>
<view class="btn" wx:if="{{tabActive == 2}}" bindtap="withdrawClick" data-id="{{item.id}}">撤回审核</view>
<view class="btn" wx:if="{{tabActive == 3}}" bindtap="editClick" data-id="{{item.id}}">编辑发布</view>
<view class="btn default" wx:if="{{tabActive == 3}}" bindtap="delClick" data-id="{{item.id}}">删除需求</view>
</view>
</view>
</view>
<!-- <view class="list-item">
<view class="item-top acea-row row-between">
<view class="top-l">
<view class="n-title">我需要公司官网设计</view>
<view class="tags-box acea-row">
<view class="tag-item">公司起名</view>
<view class="tag-item colG">LOGO</view>
</view>
</view>
<view class="top-r">
<view class="status" wx:if="{{tabActive == 1}}">发布中</view>
<view class="status" wx:if="{{tabActive == 2}}">审核中</view>
<view class="status" wx:if="{{tabActive == 3}}">编辑未完成</view>
<view class="status" wx:if="{{tabActive == 4}}">项目已圆满结束</view>
<view class="time" wx:if="{{tabActive == 1}}">展示至21/08/31</view>
</view>
</view>
<view class="fz28">需求预算<text class="colR">20000</text>元</view>
<view class="desc">各位禅易才子佳人,本公司业务领域是母婴用品,现在需要设计公司官网,设计风格需要针对国内母婴市场审美。</view>
<view class="btn-box acea-row row-between row-middle">
<view class="time">2021.8.21申请</view>
<view class="btns acea-row row-middle">
<view class="btn" wx:if="{{tabActive == 1}}">下架需求</view>
<view class="btn" wx:if="{{tabActive == 2}}">撤回审核</view>
<view class="btn" wx:if="{{tabActive == 3}}">编辑发布</view>
<view class="btn default" wx:if="{{tabActive == 3}}">删除需求</view>
</view>
</view>
</view> -->
</view>
</view>