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.
329 lines
7.1 KiB
329 lines
7.1 KiB
3 years ago
|
<template>
|
||
|
<view class="supplyHall-page">
|
||
|
<!-- 导航栏 -->
|
||
|
<view class="navigation-box">
|
||
|
<view class="search-box acea-row row-middle" >
|
||
|
<image src="../../../static/images/search-icon.png" mode=""></image>
|
||
|
<input type="text" value="" placeholder="请输入企业名或服务进行搜索"/>
|
||
|
<view class="search acea-row row-center-wrapper">搜一下</view>
|
||
|
</view>
|
||
|
<view class="resource-tabs acea-row">
|
||
|
<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="screen-box acea-row row-between-wrapper" >
|
||
|
<!-- <view class="screen-result">
|
||
|
{{choseCagetory}}
|
||
|
<text v-if="choseCagetory != '' && choseBusiness != ''">-</text>
|
||
|
{{choseBusiness}}
|
||
|
</view> -->
|
||
|
<view class="screen acea-row row-middle">
|
||
|
<text>筛选</text>
|
||
|
<image src="/static/images/home/screen.png"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
</view>
|
||
|
<view class="supplyHall-box" >
|
||
|
<view class="resource-box" v-if="active == 1" >
|
||
|
<!-- 企业 -->
|
||
|
<view class="enterprise-list" v-for="(item,index) in 2" :key="index">
|
||
|
<image src="../../../static/images/act-time.png" mode="" class="lable-img"></image>
|
||
|
<view class="enterprise-con acea-row">
|
||
|
<view><image src="../../../static/images/home/menu6.png" class="enterprise-img"></image></view>
|
||
|
<view class="content-right">
|
||
|
<view>APP开发平台搭建外卖小程序返现H5定制一站式解决</view>
|
||
|
<view class="supply-screen acea-row">
|
||
|
<view class="tag-item-b tag">商务合作</view>
|
||
|
<view class="tag-item-y tag">场地租赁</view>
|
||
|
</view>
|
||
|
<view class="enterprise-price">¥20,000</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="user-info acea-row row-middle">
|
||
|
<image src="../../../static/images/cart.png" mode="" class="head-logo"></image>
|
||
|
<view class="user-name">湖北知音动漫有限公司</view>
|
||
|
</view>
|
||
|
<view class="todetails">查看详情</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="company-box" v-if="active == 2">
|
||
|
<view class="business-list" v-for="(item,index) in 2" :key="index">
|
||
|
<view class="business-lable">企业</view>
|
||
|
<view class="business-con acea-row">
|
||
|
<view><image src="../../../static/images/home/menu6.png" class="logo-img"></image></view>
|
||
|
<view>
|
||
|
<view class="title-h">招聘前端工程师若干名</view>
|
||
|
<view class="supply-screen acea-row">
|
||
|
<view class="tag-item-b tag">商务合作</view>
|
||
|
<view class="tag-item-y tag">场地租赁</view>
|
||
|
</view>
|
||
|
<view class="title-s">专注微信小程序及微信公众号开发,模板定制化服务,十年经...</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<vie class="business-img acea-row row-around">
|
||
|
<image src="../../../static/images/home/menu10.png"></image>
|
||
|
<image src="../../../static/images/home/menu10.png"></image>
|
||
|
</vie>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
active: '1',
|
||
|
}
|
||
|
},
|
||
|
methods:{
|
||
|
tabClick(e) {
|
||
|
this.setData({
|
||
|
active: e.currentTarget.dataset.i,
|
||
|
})
|
||
|
},
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
.supplyHall-page{
|
||
|
width: 100%;
|
||
|
min-height: 100vh;
|
||
|
background: #F5F5F5;
|
||
|
font-size: 28rpx;
|
||
|
}
|
||
|
/* 导航栏 */
|
||
|
.navigation-box{
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
background: #fff;
|
||
|
padding-top: 20rpx;
|
||
|
}
|
||
|
.search-box{
|
||
|
width: 670rpx;
|
||
|
height: 68rpx;
|
||
|
border: 2rpx solid #FF5100;
|
||
|
border-radius: 8rpx;
|
||
|
margin: 0 auto;
|
||
|
position: relative;
|
||
|
}
|
||
|
.search-box image{
|
||
|
width: 35rpx;
|
||
|
height: 35rpx;
|
||
|
margin: 0 29rpx 0 52rpx;
|
||
|
}
|
||
|
.search{
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
width: 132rpx;
|
||
|
height: 68rpx;
|
||
|
background: linear-gradient(39deg, #FF5100 0%, #FFA074 100%);
|
||
|
border-radius: 8rpx;
|
||
|
color: #fff;
|
||
|
}
|
||
|
.resource-tabs{
|
||
|
width: 100%;
|
||
|
padding-top: 10rpx;
|
||
|
background: #fff;
|
||
|
border-bottom: 2rpx solid #EEEEEE;
|
||
|
padding-left: 20rpx;
|
||
|
}
|
||
|
.tab{
|
||
|
width: 150rpx;
|
||
|
padding: 26rpx 0;
|
||
|
font-size: 32rpx;
|
||
|
color: #BFBFBF;
|
||
|
position: relative;
|
||
|
font-weight: 500;
|
||
|
text-align: center;
|
||
|
margin-left: 115rpx;
|
||
|
}
|
||
|
.tab::after{
|
||
|
display: block;
|
||
|
content: '';
|
||
|
width: 80rpx;
|
||
|
height: 8rpx;
|
||
|
border-radius: 8rpx;
|
||
|
background: #FF5100;
|
||
|
position: absolute;
|
||
|
bottom: 0rpx;
|
||
|
left: 50%;
|
||
|
margin-left: -40rpx;
|
||
|
opacity: 0;
|
||
|
transform:scaleX(0);
|
||
|
transition: all .2s ease,opacity .15s ease;
|
||
|
}
|
||
|
.tab-a{
|
||
|
color: #FF5100;
|
||
|
}
|
||
|
.tab-a::after{
|
||
|
opacity: 1;
|
||
|
transform: scaleX(1);
|
||
|
}
|
||
|
|
||
|
.screen-box{
|
||
|
height: 94rpx;
|
||
|
padding: 0 38rpx;
|
||
|
color: #666;
|
||
|
background: #fff;
|
||
|
position: absolute;
|
||
|
right: 0rpx;
|
||
|
}
|
||
|
.screen-result{
|
||
|
color: #FF5100;
|
||
|
}
|
||
|
.screen image{
|
||
|
width: 27rpx;
|
||
|
height: 27rpx;
|
||
|
margin-left: 6rpx;
|
||
|
}
|
||
|
.supplyHall-box{
|
||
|
width: 670rpx;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
.resource-box{
|
||
|
width: 100%;
|
||
|
}
|
||
|
/* 企业 */
|
||
|
.lable-img{
|
||
|
width: 60rpx;
|
||
|
height: 32rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 12rpx;
|
||
|
}
|
||
|
.user-info{
|
||
|
margin: 8rpx 0 0rpx 20rpx;
|
||
|
padding-bottom: 16rpx;
|
||
|
}
|
||
|
.user-name{
|
||
|
height: 40rpx;
|
||
|
color: #1D1D1D;
|
||
|
margin: 0 10rpx 0 16rpx;
|
||
|
}
|
||
|
|
||
|
.tag{
|
||
|
width: 112rpx;
|
||
|
height: 36rpx;
|
||
|
border-radius: 4rpx;
|
||
|
font-size: 20rpx;
|
||
|
margin-right: 8rpx;
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
.todetails{
|
||
|
width: 148rpx;
|
||
|
height: 44rpx;
|
||
|
line-height: 44rpx;
|
||
|
background: linear-gradient(141deg, #FFA782 0%, #FF6D31 100%);
|
||
|
border-radius: 8rpx;
|
||
|
position: absolute;
|
||
|
right: 18rpx;
|
||
|
bottom: 38rpx;
|
||
|
text-align: center;
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.enterprise-list{
|
||
|
width: 670rpx;
|
||
|
background: #FFFFFF;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 32rpx;
|
||
|
border-radius: 12rpx;
|
||
|
position: relative;
|
||
|
}
|
||
|
.enterprise-price{
|
||
|
height: 40rpx;
|
||
|
font-size: 28rpx;
|
||
|
color: #FF5100;
|
||
|
}
|
||
|
.head-logo{
|
||
|
width: 72rpx;
|
||
|
height: 72rpx;
|
||
|
}
|
||
|
.enterprise-con{
|
||
|
width: 100%;
|
||
|
height: 192rpx;
|
||
|
margin: 6rpx 20rpx 10rpx 20rpx;
|
||
|
}
|
||
|
.enterprise-img{
|
||
|
width: 150rpx;
|
||
|
height: 192rpx;
|
||
|
margin-right: 30rpx;
|
||
|
}
|
||
|
.content-right{
|
||
|
width: 456rpx;
|
||
|
position: relative;
|
||
|
}
|
||
|
.content-right>.supply-screen{
|
||
|
margin: 16rpx 0 20rpx 0;
|
||
|
}
|
||
|
.company-box{
|
||
|
width: 670rpx;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
.business-list{
|
||
|
width: 670rpx;
|
||
|
background: #FFFFFF;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 32rpx;
|
||
|
border-radius: 12rpx;
|
||
|
position: relative;
|
||
|
}
|
||
|
.business-lable{
|
||
|
width: 60rpx;
|
||
|
height: 32rpx;
|
||
|
background: rgba(88, 144, 255, 0.91);
|
||
|
border-radius: 12rpx 0rpx 14rpx 0rpx;
|
||
|
color: #fff;
|
||
|
text-align: center;
|
||
|
font-size: 20rpx;
|
||
|
}
|
||
|
.business-con{
|
||
|
margin: 8rpx 20rpx 16rpx 20rpx;
|
||
|
}
|
||
|
.logo-img{
|
||
|
width: 154rpx;
|
||
|
height: 154rpx;
|
||
|
margin-right: 20rpx;
|
||
|
}
|
||
|
.title-h{
|
||
|
height: 44rpx;
|
||
|
font-size: 32rpx;
|
||
|
color: #1D1D1D;
|
||
|
margin-bottom: 8rpx;
|
||
|
}
|
||
|
.title-s{
|
||
|
width: 456rpx;
|
||
|
height: 72rpx;
|
||
|
font-size: 24rpx;
|
||
|
color: #666666;
|
||
|
margin-top: 10rpx;
|
||
|
}
|
||
|
.business-img{
|
||
|
width: 630rpx;
|
||
|
height: 176rpx;
|
||
|
margin: 0 20rpx;
|
||
|
padding-bottom: 30rpx;
|
||
|
}
|
||
|
.business-img image{
|
||
|
width: 305rpx;
|
||
|
height: 176rpx;
|
||
|
}
|
||
|
</style>
|