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.
312 lines
8.7 KiB
312 lines
8.7 KiB
<template> |
|
<view class="Manager-page"> |
|
<view class="resource-tabs acea-row row-around"> |
|
<view :class="'tab ' + (active == 1 ? 'tab-a' : '')" data-i="1" @tap="tabClick">发布中</view> |
|
<view :class="'tab ' + (active == 2 ? 'tab-a' : '')" data-i="2" @tap="tabClick">审核中</view> |
|
<view :class="'tab ' + (active == 3 ? 'tab-a' : '')" data-i="3" @tap="tabClick">草稿箱</view> |
|
<view :class="'tab ' + (active == 4 ? 'tab-a' : '')" data-i="4" @tap="tabClick">已发布</view> |
|
</view> |
|
<view class="modular-box"> |
|
<viwe class="project-box" v-if="active == 1"> |
|
<view class="project-list" v-for="(item,index) in 2"> |
|
<view class="project-top acea-row row-left"> |
|
<image src="../../../static/images/home/menu6.png" class="project-img"></image> |
|
<view class="right-con acea-row row-column-between"> |
|
<view class="acea-row row-middle title"> |
|
<image src="../../../static/images/new-icon.png" mode="" class="new-icon"> |
|
</image> |
|
<view class="title-h line1">富硒产品</view> |
|
</view> |
|
<view class="title-s line2">农业项目、国家扶贫、乡村振兴、优质资源利用、国家大力支持</view> |
|
<view class="category-box acea-row"> |
|
<view class="tag-item-y tag">持续盈利</view> |
|
<view class="tag-item-b tag">财务规范</view> |
|
<view class="tag-item-p tag">零负债</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="project-bottom acea-row row-middle"> |
|
<view class="finance-price">融资金额</view> |
|
<view class="price line1">200万元-300万元</view> |
|
<view class="tocheck acea-row row-center">取消发布</view> |
|
</view> |
|
</view> |
|
</viwe> |
|
<viwe class="project-box" v-if="active == 2"> |
|
<view class="project-list"> |
|
<view class="project-top acea-row row-left"> |
|
<image src="../../../static/images/home/menu6.png" class="project-img"></image> |
|
<view class="right-con acea-row row-column-between"> |
|
<view class="acea-row row-middle title"> |
|
<image src="../../../static/images/new-icon.png" mode="" class="new-icon"> |
|
</image> |
|
<view class="title-h line1">富硒产品</view> |
|
<view class="colorO">等待审核</view> |
|
</view> |
|
<view class="title-s line2">农业项目、国家扶贫、乡村振兴、优质资源利用、国家大力支持</view> |
|
<view class="category-box acea-row"> |
|
<view class="tag-item-y tag">持续盈利</view> |
|
<view class="tag-item-b tag">财务规范</view> |
|
<view class="tag-item-p tag">零负债</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="project-bottom acea-row row-middle"> |
|
<view class="finance-price">融资金额</view> |
|
<view class="price line1">200万元-300万元</view> |
|
<view class="tocheck acea-row row-center">撤回审核</view> |
|
</view> |
|
</view> |
|
</viwe> |
|
<viwe class="project-box" v-if="active == 3"> |
|
<view class="project-list"> |
|
<view class="project-top acea-row row-left"> |
|
<image src="../../../static/images/home/menu6.png" class="project-img"></image> |
|
<view class="right-con acea-row row-column-between"> |
|
<view class="acea-row row-middle title"> |
|
<image src="../../../static/images/new-icon.png" mode="" class="new-icon"> |
|
</image> |
|
<view class="title-h line1">富硒产品</view> |
|
<view class="colorO">未编辑完成</view> |
|
</view> |
|
<view class="title-s line2">农业项目、国家扶贫、乡村振兴、优质资源利用、国家大力支持</view> |
|
<view class="category-box acea-row"> |
|
<view class="tag-item-y tag">持续盈利</view> |
|
<view class="tag-item-b tag">财务规范</view> |
|
<view class="tag-item-p tag">零负债</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="project-bottom acea-row"> |
|
<view class="tocheck acea-row row-center">编辑发布</view> |
|
<view class="todetail acea-row row-center">删除项目</view> |
|
</view> |
|
</view> |
|
<view class="project-list"> |
|
<view class="project-top acea-row row-left"> |
|
<image src="../../../static/images/home/menu6.png" class="project-img"></image> |
|
<view class="right-con acea-row row-column-between"> |
|
<view class="acea-row row-middle title"> |
|
<image src="../../../static/images/new-icon.png" mode="" class="new-icon"> |
|
</image> |
|
<view class="title-h line1">富硒产品</view> |
|
<view class="colorO">审核未通过</view> |
|
</view> |
|
<view class="title-s line2">农业项目、国家扶贫、乡村振兴、优质资源利用、国家大力支持</view> |
|
<view class="category-box acea-row"> |
|
<view class="tag-item-y tag">持续盈利</view> |
|
<view class="tag-item-b tag">财务规范</view> |
|
<view class="tag-item-p tag">零负债</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="text">未通过原因:不符合项目要求,需要重新修改项目...</view> |
|
<view class="project-bottom acea-row"> |
|
<view class="time acea-row row-bottom">2021.12.21申请</view> |
|
<view class="tocheck acea-row row-center">编辑发布</view> |
|
<view class="todetail acea-row row-center">删除项目</view> |
|
</view> |
|
</view> |
|
</viwe> |
|
<viwe class="project-box" v-if="active == 4"> |
|
12 |
|
</viwe> |
|
</view> |
|
</view> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
data() { |
|
return { |
|
active: '1', |
|
} |
|
}, |
|
methods: { |
|
tabClick(e) { |
|
this.setData({ |
|
active: e.currentTarget.dataset.i, |
|
}) |
|
}, |
|
}, |
|
} |
|
</script> |
|
|
|
<style lang="less"> |
|
.Manager-page { |
|
width: 100%; |
|
height: 100vh; |
|
background-color: #EEEEEE; |
|
} |
|
|
|
.resource-tabs { |
|
width: 100%; |
|
padding-top: 10rpx; |
|
background: #fff; |
|
|
|
.tab { |
|
width: auto; |
|
padding: 25rpx 0; |
|
font-size: 32rpx; |
|
color: #BFBFBF; |
|
position: relative; |
|
font-weight: 500; |
|
text-align: center; |
|
} |
|
|
|
.tab::after { |
|
display: block; |
|
content: ''; |
|
width: 84rpx; |
|
height: 12rpx; |
|
border-radius: 8rpx; |
|
background: #FF5100; |
|
position: absolute; |
|
bottom: -6rpx; |
|
left: 50%; |
|
margin-left: -42rpx; |
|
opacity: 0; |
|
transform: scaleX(0); |
|
transition: all .2s ease, opacity .15s ease; |
|
} |
|
|
|
.tab-a { |
|
color: #FF5100; |
|
} |
|
|
|
.tab-a::after { |
|
opacity: 1; |
|
transform: scaleX(1); |
|
} |
|
} |
|
|
|
.modular-box { |
|
width: 670rpx; |
|
margin: 0 auto; |
|
background-color: #F5F5F5; |
|
margin-bottom: 76rpx; |
|
/* 全部项目 */ |
|
.project-box { |
|
.project-list { |
|
width: 670rpx; |
|
height: auto; |
|
background: #FFFFFF; |
|
border-radius: 12rpx; |
|
margin-top: 32rpx; |
|
padding: 16rpx 22rpx; |
|
.project-top { |
|
width: 630rpx; |
|
height: 160rpx; |
|
margin-bottom: 15rpx; |
|
.project-img { |
|
width: 160rpx; |
|
height: 160rpx; |
|
margin-right: 18rpx; |
|
} |
|
.right-con { |
|
width: 450rpx; |
|
.title { |
|
height: 35rpx; |
|
line-height: 35rpx; |
|
font-weight: 800; |
|
.new-icon { |
|
width: 48rpx; |
|
height: 24rpx; |
|
margin-right: 8rpx; |
|
} |
|
.title-h { |
|
max-width: 250rpx; |
|
height: 35rpx; |
|
color: #1D1D1D; |
|
} |
|
.colorO{ |
|
color: #FF5100; |
|
} |
|
} |
|
.title-s { |
|
width: 450rpx; |
|
height: 70rpx; |
|
font-size: 24rpx; |
|
color: #707070; |
|
} |
|
.category-box { |
|
width: 100%; |
|
height: 36rpx; |
|
overflow: hidden; |
|
.tag { |
|
padding: 0 10rpx; |
|
height: 36rpx; |
|
line-height: 34rpx; |
|
border-radius: 4rpx; |
|
font-size: 20rpx; |
|
margin-right: 16rpx; |
|
text-align: center; |
|
} |
|
|
|
.tag-item-b { |
|
border: 1rpx solid #3A9EFA; |
|
color: #3A9EFA; |
|
} |
|
|
|
.tag-item-y { |
|
border: 1px solid #FFAA00; |
|
color: #FFAA00; |
|
} |
|
|
|
.tag-item-p { |
|
color: #FC9367; |
|
border: 1px solid #FC9367; |
|
} |
|
} |
|
} |
|
} |
|
.text{ |
|
width: 100%; |
|
height: 34rpx; |
|
font-size: 24rpx; |
|
font-weight: 500; |
|
line-height: 34rpx; |
|
color: #FF5100; |
|
margin: 94rpx 0 24rpx 0; |
|
} |
|
.project-bottom { |
|
width: 100%; |
|
height: 56rpx; |
|
color: #FF5100; |
|
font-size: 24rpx; |
|
.finance-price { |
|
margin-right: 20rpx; |
|
font-weight: 900; |
|
} |
|
.price { |
|
width: 300rpx; |
|
font-weight: 900; |
|
} |
|
.time{ |
|
color: #A7A7A7; |
|
} |
|
.tocheck { |
|
margin-left: auto; |
|
width: 150rpx; |
|
height: 56rpx; |
|
line-height: 56rpx; |
|
background: #000; |
|
border-radius: 12rpx; |
|
font-weight: 600; |
|
color: #fff; |
|
} |
|
.todetail{ |
|
margin-left: 16rpx; |
|
width: 150rpx; |
|
height: 56rpx; |
|
line-height: 56rpx; |
|
font-weight: 600; |
|
background: linear-gradient(134deg, #BFBFBF 0%, #BFBFBF 100%); |
|
border-radius: 12rpx; |
|
color: #fff; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
</style>
|
|
|