Browse Source

云资讯2

zys
kk_888 3 years ago
parent
commit
ad9245fd9f
  1. 20
      pages.json
  2. 328
      pages/demandHall/enterpriseServer/index.vue
  3. 366
      pages/demandHall/supplyHall/index.vue
  4. 4
      pages/life/yunInfo/index.vue
  5. 431
      pages/release/index2.vue
  6. BIN
      static/images/arror-r-s.png
  7. BIN
      static/images/arror-right.png
  8. BIN
      static/images/auth-icon1.png
  9. BIN
      static/images/auth-icon2.png
  10. BIN
      static/images/auth-icon3.png
  11. BIN
      static/images/close-icon.png
  12. BIN
      static/images/ear.png
  13. BIN
      static/images/user/business.png
  14. BIN
      static/images/user/investor.png
  15. BIN
      static/images/user/person.png

20
pages.json

@ -222,12 +222,32 @@
"enablePullDownRefresh": true
}
},
{
"path": "pages/demandHall/supplyHall/index",
"style": {
"navigationBarTitleText": "供需大厅",
"enablePullDownRefresh": true
}
},
{
"path": "pages/demandHall/enterpriseServer/index",
"style": {
"navigationBarTitleText": "企业服务",
"enablePullDownRefresh": true
}
},
{
"path": "pages/release/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/release/index2",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/release/personAuth/index",
"style": {

328
pages/demandHall/enterpriseServer/index.vue

@ -0,0 +1,328 @@
<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>

366
pages/demandHall/supplyHall/index.vue

@ -0,0 +1,366 @@
<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="personal-list" v-for="(item,index) in 2" :key="index">
<image src="../../../static/images/backhome.png" mode="" class="lable-img"></image>
<view class="user-info acea-row row-middle">
<image src="../../../static/images/cart.png" mode="" class="head-img"></image>
<view class="user-name">大老虎</view>
<view class="user-address">武汉</view>
<view class="user-price">20,000</view>
</view>
<view class="supply-con">李先生需要景区方面资源洽谈相关合作</view>
<view class="supply-screen acea-row">
<view class="tag-item-b tag">商务合作</view>
<view class="tag-item-y tag">场地租赁</view>
</view>
<view class="time-end">2021.8.30截止报名</view>
<view class="todetails">查看详情</view>
</view>
<!-- 企业 -->
<view class="enterprise-list">
<image src="../../../static/images/act-time.png" mode="" class="lable-img"></image>
<view class="title-h">招聘前端工程师若干名</view>
<view class="enterprise-price">2K-10K</view>
<view class="supply-screen acea-row">
<view class="tag-item-y tag">网站建设</view>
<view class="tag-item-p tag">APP开发</view>
<view class="time-end-t">2021.8.30截止报名</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="personal-list">
<image src="../../../static/images/backhome.png" mode="" class="lable-img"></image>
<view class="user-info acea-row row-middle">
<image src="../../../static/images/cart.png" mode="" class="head-img"></image>
<view class="user-name">大老虎</view>
<view class="user-address">武汉</view>
<view class="user-price">20,000</view>
</view>
<view class="supply-con">李先生需要景区方面资源洽谈相关合作</view>
<view class="supply-screen acea-row">
<view class="tag-item-b tag">商务合作</view>
<view class="tag-item-y tag">场地租赁</view>
</view>
<view class="time-end">2021.8.30截止报名</view>
<view class="todetails">查看详情</view>
</view>
<view class="enterprise-list">
<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="user-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>
</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%;
}
/* 个人 */
.personal-list{
width: 100%;
border-radius: 12rpx;
background: #FFF;
position: relative;
margin-top: 34rpx;
}
.lable-img{
width: 60rpx;
height: 32rpx;
background: #FFFFFF;
border-radius: 12rpx;
}
.user-info{
margin: 8rpx 0 0rpx 20rpx;
padding-bottom: 16rpx;
}
.head-img{
width: 64rpx;
height: 64rpx;
}
.user-name{
height: 40rpx;
color: #1D1D1D;
margin: 0 10rpx 0 16rpx;
}
.user-address{
width: 80rpx;
height: 28rpx;
line-height: 28rpx;
background: #FF5100;
border-radius: 16rpx;
font-size: 24rpx;
color: #FFFFFF;
text-align: center;
}
.user-price{
position: absolute;
right: 58rpx;
height: 40rpx;
color: #FF5100;
}
.supply-con{
height: 40rpx;
color: #1D1D1D;
margin: 0 0 16rpx 20rpx;
}
.supply-screen{
margin: 8rpx 0 12rpx 20rpx;
}
.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;
}
.time-end{
height: 34rpx;
font-size: 24rpx;
color: #707070;
margin-left: 20rpx;
padding-bottom: 65rpx;
}
.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;
}
.title-h{
width: 456rpx;
height: 44rpx;
font-size: 32rpx;
color: #1D1D1D;
margin: 0rpx 0 5rpx 24rpx;
}
.enterprise-price{
height: 40rpx;
font-size: 28rpx;
color: #FF5100;
margin-left: 24rpx;
}
.head-logo{
width: 72rpx;
height: 72rpx;
}
.time-end-t{
position: absolute;
right: 15rpx;
height: 34rpx;
font-size: 24rpx;
color: #707070;
}
.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;
}
.content-right>.user-price{
left: 0;
}
</style>

4
pages/life/yunInfo/index.vue

@ -35,7 +35,7 @@
<view>云资讯</view>
<view>1小时前</view>
<view class="acea-row row-middle">203
<image src="../../../static/images/ear.png" mode="" ></image>
<image src="../../../static/images/eye.png" mode="" ></image>
</view>
</view>
</view>
@ -67,7 +67,7 @@
<view>云资讯</view>
<view>1小时前</view>
<view class="acea-row row-middle">203
<image src="../../../static/images/ear.png" mode="" ></image>
<image src="../../../static/images/eye.png" mode="" ></image>
</view>
</view>
</view>

431
pages/release/index2.vue

@ -0,0 +1,431 @@
<template>
<!--pages/release/index.wxml-->
<view class="release-page">
<view class="guid-box acea-row">
<view class="guid-title">发布指南</view>
<image src="../../static/images/handbook.png" class="handbook-img"></image>
<view class="title-s">详细阅读有助于让你快速了解云生态发布规则更准确地发布内容</view>
<image src="../../static/images/arror-right.png" class="arror-r"></image>
</view>
<view class="auth-btn-box acea-row row-column row-middle">
<view class="auth-btn acea-row row-middle" @tap="toCompanyAuth" v-if="authStatus == 0 || authStatus == 3">
<view><image src="/static/images/user/person.png" class="auth-headimg person-img"></image></view>
<view>
<view class="auth-title">个人认证</view>
<view class="auth-title-h">个人认证后可发布资源项目及需求</view>
</view>
<image src="/static/images/home/arrow-r.png" class="tojump"></image>
</view>
<view class="auth-btn acea-row row-middle" @tap="toPersonlAuth" v-if="authStatus == 0 || authStatus == 3">
<view><image src="/static/images/user/business.png" class="auth-headimg business-img"></image></view>
<view>
<view class="auth-title">企业认证</view>
<view class="auth-title-h">企业认证后可发布资源项目及需求展示企业相关服务</view>
</view>
<image src="/static/images/home/arrow-r.png" class="tojump"></image>
</view>
<view class="auth-btn acea-row row-middle" @tap="toPersonlAuth" v-if="authStatus == 0 || authStatus == 3">
<view><image src="/static/images/user/investor.png" class="auth-headimg investor-img"></image></view>
<view>
<view class="auth-title">投资方认证</view>
<view class="auth-title-h">投资方认证后可查看项目方发布项目详情</view>
</view>
<image src="/static/images/home/arrow-r.png" class="tojump"></image>
</view>
</view>
<view :class="'posi ' + (authStatus == 1 || authStatus == 2 ? 'top30' : '')">
<view class="tips-box">
<view class="tips acea-row-nowrap row-middle" v-if="authStatus == 0 || authStatus == 3">
<!-- <view class="icon">!</view> -->
<view>完成企业认证后可以发布资源及需求个人认证后只可发布需求</view>
</view>
<view class="tips acea-row row-middle" v-if="authStatus == 0">
<view class="icon">!</view>
<view>请先完成认证</view>
</view>
<view class="tips acea-row row-middle" v-if="authStatus == 1">
<view class="icon">!</view>
<view>{{authType == 1 ? '企业信息审核中,请耐心等待!' : '个人信息审核中, 请耐心等待'}}</view>
</view>
<view class="tips acea-row row-middle" v-if="authStatus == 2">
<view class="icon">!</view>
<view>{{authType == 1 ? '企业信息审核通过,可以发布资源和需求!' : '个人信息审核通过,可以发布需求'}}</view>
</view>
<view class="tips acea-row row-middle" v-if="authStatus == 3">
<view class="icon">!</view>
<view>{{authType == 1 ? '企业信息未审核通过, 请重新提交审核信息!' : '个人信息未审核通过, 请重新提交审核信息!'}}</view>
<view>未通过理由{{reason}}</view>
</view>
</view>
<view class="btn-box ">
<view :class="'btn ' + (authStatus == 2 && authType == 1 ? 'auth' : '' )" @tap="toResources" class="acea-row row-middle btn-res">
<image :class="authStatus == 2 && authType == 1 ? '' : 'default'" src="/static/images/auth-icon1.png"></image>
<view>
<view class="tip">发布资源</view>
<view class="tip-s">我要发布我的资源展示在供应广场</view>
</view>
</view>
<view :class="'btn ' + (authStatus == 2 ? 'auth' : '' )" @tap="toNeeds" class="acea-row row-middle btn-need">
<image :class="authStatus == 2 ? '' : 'default'" src="/static/images/auth-icon2.png"></image>
<view>
<view class="tip">发布资源</view>
<view class="tip-s">我要发布我的资源展示在供应广场</view>
</view>
</view>
<view :class="'btn ' + (authStatus == 2 ? 'auth' : '' )" @tap="toNeeds" class="acea-row row-middle btn-demo">
<image :class="authStatus == 2 ? '' : 'default'" src="/static/images/auth-icon3.png"></image>
<view>
<view class="tip">发布项目</view>
<view class="tip-s">发布优质项目精准推荐投资方</view>
</view>
</view>
</view>
<view class="close" @tap="back"><image src="/static/images/close-icon.png"></image></view>
</view>
</view>
</template>
<script>
// pages/release/index.js
const app = getApp();
export default {
data() {
return {
userInfo: {},
authStatus: 0,
authType: null,
completeState: null,
authInfo: {}
};
},
components: {},
props: {},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
this.isAuthentication();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {},
methods: {
back() {
let pages = getCurrentPages();
console.log(pages)
// let pagePath = '/' + pages[pages.length - 2].route;
// if(pagePath){
// uni.navigateTo({
// url: pagePath
// });
// } else{
// uni.switchTab({
// url: '/pages/home/index'
// });
// }
uni.switchTab({
url: '/pages/user/index'
});
},
toPersonlAuth() {
if (this.authStatus == 0) {
uni.navigateTo({
url: '/pages/release/personAuth/index'
});
} else if (this.authStatus == 3) {
let authInfo = encodeURIComponent(JSON.stringify(this.authInfo));
uni.navigateTo({
url: '/pages/release/personAuth/index?authInfo=' + authInfo
});
} else if (this.authStatus == 1) {
uni.showToast({
title: '认证申请审核中,请等待!',
icon: 'none'
});
}
},
toCompanyAuth() {
if (this.authStatus == 0) {
uni.navigateTo({
url: '/pages/release/companyAuth/index'
});
} else if (this.authStatus == 3) {
let authInfo = encodeURIComponent(JSON.stringify(this.authInfo));
uni.navigateTo({
url: '/pages/release/companyAuth/index?authInfo=' + authInfo
});
} else if (this.authStatus == 1) {
uni.showToast({
title: '认证申请审核中,请等待!',
icon: 'none'
});
}
},
isAuthentication() {
app.http('get', 'user/isAuthentication').then(res => {
if (res.data.success) {
this.setData({
authStatus: res.data.data.authenticationState,
authType: res.data.data.authorizationType,
completeState: res.data.data.completeState,
authInfo: res.data.data.authInfo,
reason: res.data.data.authInfo.reason
});
}
});
},
toResources() {
let that = this;
console.log(this.authStatus, 'authStatus');
console.log(this.authType, 'authType');
console.log(this.completeState, 'completeState');
if (this.authStatus == 2 && this.authType == 1 && this.completeState == true) {
uni.navigateTo({
url: '/pages/user/editNeeds/index?type=1'
});
} else if (this.authStatus == 2 && this.authType == 1 && this.completeState == false) {
uni.showModal({
title: '提示!',
content: '您还未完善企业信息,点击确定去完善吧~',
success(res) {
if (res.confirm) {
uni.navigateTo({
url: '/pages/release/perfectCompanyInfo/index'
});
}
}
});
} else if (this.authStatus == 0 && (this.authType == 1 || this.authType == 0) && this.completeState == false) {
uni.showModal({
title: '提示!',
content: '您还未完成企业认证,点击确定去认证吧~',
success(res) {
if (res.confirm) {
uni.navigateTo({
url: '/pages/release/companyAuth/index'
});
}
}
});
}
},
toNeeds() {
if (this.authStatus == 2 && (this.authType == 2 || this.authType == 1) && this.completeState == true) {
uni.navigateTo({
url: '/pages/user/editNeeds/index?type=2'
});
} else if (this.authStatus == 2 && (this.authType == 2 || this.authType == 0) && this.completeState == false) {
uni.showModal({
title: '提示!',
content: '您还未完善个人信息,点击确定去完善吧~',
success(res) {
uni.navigateTo({
url: '/pages/release/perfectPersonInfo/index'
});
}
});
} else if (this.authStatus == 0 && (this.authType == 2 || this.authType == 0) && this.completeState == false) {
uni.showModal({
title: '提示!',
content: '您还未完成认证,点击上方按钮去认证吧!'
});
}
}
}
};
</script>
<style>
/* pages/release/index.wxss */
.guid-box{
width: 662rpx;
height: 140rpx;
margin: 196rpx 46rpx 60rpx 40rpx;
position: relative;
}
.guid-title{
width: 192rpx;
height: 56rpx;
font-size: 42rpx;
color: #1D1D1D;
}
.handbook-img{
width: 200rpx;
height: 56rpx;
}
.title-s{
width: 650rpx;
height: 74rpx;
font-size: 24rpx;
color: #1D1D1D;
margin-top: 10rpx;
}
.arror-r{
width: 21rpx;
height: 39rpx;
position: absolute;
right: 0;
top: 16rpx;
}
.auth-btn-box{
width: 100%;
margin-top: 60rpx;
}
.auth-btn{
width: 666rpx;
height: 134rpx;
box-shadow: 0px 0px 12rpx rgba(164, 164, 164, 0.16);
border-radius: 12rpx;
margin-bottom: 22rpx;
background: #FFFFFF;
position: relative;
}
.auth-headimg{
margin: 0 44rpx 0 44rpx;
}
.person-img{
width: 73rpx;
height: 68rpx;
}
.business-img{
width: 65rpx;
height: 73rpx;
}
.investor-img{
width: 71rpx;
height: 79rpx;
}
.auth-title{
width: 454rpx;
height: 40rpx;
}
.auth-title-h{
width: 445rpx;
font-size: 24rpx;
color: #686868;
}
.tojump{
width: 21rpx;
height: 39rpx;
position: absolute;
right: 32rpx;
}
.posi{
width: 100%;
bottom: 100rpx;
margin-top: 50rpx;
}
.top30{
bottom: 30%;
}
.tips-box{
/* margin-top: 15%; */
}
.tips{
color: #FF0000;
font-size: 26rpx;
padding-left: 54rpx;
margin-bottom: 10rpx;
}
.icon{
width: 26rpx;
height: 26rpx;
border: 1rpx solid #FF0000;
text-align: center;
line-height: 22rpx;
border-radius: 50%;
font-size: 20rpx;
margin-right: 10rpx;
}
.btn-box{
width: 598rpx;
margin: 0 auto;
}
.btn{
width: 598rpx;
height: 150rpx;
background: #F8F8F8;
border-radius: 148px;
position: relative;
margin-bottom: 42rpx;
}
.btn-res{
background: #FF783A;
}
.btn-need{
background: #6AA5FF;
}
.btn-demo{
background: #ACAAFF;
}
.btn-box image{
width: 98rpx;
height: 98rpx;
margin: 0 32rpx 0 42rpx;
}
.btn-box .default{
filter: grayscale(1);
}
.btn .tip{
color: #FFFFFF;
font-weight: 500;
font-size: 32rpx;
margin-bottom: 12rpx;
}
.tip-s{
font-size: 24rpx;
color: #FFFFFF;
}
.close {
text-align: center;
margin: 114rpx 0 180rpx 0;
}
.close image{
width: 40rpx;
height: 40rpx;
}
</style>

BIN
static/images/arror-r-s.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 B

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/images/arror-right.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/images/auth-icon1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
static/images/auth-icon2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
static/images/auth-icon3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
static/images/close-icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/images/ear.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 557 B

BIN
static/images/user/business.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
static/images/user/investor.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
static/images/user/person.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Loading…
Cancel
Save