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.

71 lines
4.0 KiB

3 years ago
<!--pages/user/resourcesManage/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-order.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="number acea-row row-between row-middle">
<text>项目编号 17262626272727</text>
<view class="status" wx:if="{{tabActive == 2 || tabActive == 3}}">{{tabActive == 2 ? '等待审核' : '未编辑完成'}}</view>
</view>
<view class="info-box acea-row row-middle">
<image src="{{item.resourceImgs[0]}}"></image>
<view class="info">
<view class="i-title">{{item.title}}</view>
<view class="i-desc">{{item.detailedDescription}}</view>
</view>
</view>
<view class="colO" wx:if="{{tabActive == 1 || tabActive == 4 }}">项目合作数量(6)</view>
<view class="btn-box acea-row row-between row-middle">
<view wx:if="{{tabActive == 1}}">成交金额 50000元</view>
<view wx:if="{{tabActive == 4}}">赚取 50000元</view>
<view class="time" wx:if="{{tabActive == 2 || tabActive == 3}}">{{item.createTime}}申请</view>
<view class="btns acea-row">
<view class="btn" wx:if="{{tabActive == 1}}" data-id="{{item.id}}" bindtap="xiajiaClick">下架资源</view>
<view class="btn" wx:if="{{tabActive == 2}}" data-id="{{item.id}}" bindtap="withdrawClick">撤回审核</view>
<view class="btn" wx:if="{{tabActive == 3}}" data-id="{{item.id}}" bindtap="editClick">编辑发布</view>
<view class="btn default" wx:if="{{tabActive == 3}}" data-id="{{item.id}}" bindtap="delClick">删除项目</view>
<view class="text" wx:if="{{tabActive == 4}}" data-id="{{item.id}}">项目已圆满结束</view>
</view>
</view>
</view>
<!-- <view class="list-item">
<view class="number acea-row row-between row-middle">
<text>项目编号 17262626272727</text>
<view class="status" wx:if="{{tabActive == 2 || tabActive == 3}}">{{tabActive == 2 ? '等待审核' : '未编辑完成'}}</view>
</view>
<view class="info-box acea-row row-middle">
<image src="../../../images/home/company-img.png"></image>
<view class="info">
<view class="i-title">教育类学校官网网站建设</view>
<view class="i-desc">针对中小学教育机构、课外培训辅导机构,提供官网升级优化和专业的网站建设定制化服务。</view>
</view>
</view>
<view class="colO" wx:if="{{tabActive == 1 || tabActive == 4 }}">项目合作数量(6)</view>
<view class="btn-box acea-row row-between row-middle">
<view wx:if="{{tabActive == 1}}">成交金额 50000元</view>
<view wx:if="{{tabActive == 4}}">赚取 50000元</view>
<view class="time" wx:if="{{tabActive == 2 || tabActive == 3}}">2021.8.21申请</view>
<view class="btns acea-row">
<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 class="text" wx:if="{{tabActive == 4}}">项目已圆满结束</view>
</view>
</view>
</view> -->
</view>
</view>