Browse Source

云生态h

zys
kk_888 3 years ago
parent
commit
1b25ecd757
  1. 6
      pages.json
  2. 12
      pages/demandHall/enterpriseServer/index.vue
  3. 16
      pages/demandHall/supplyHall/index.vue
  4. 4
      pages/home/index.vue
  5. 30
      pages/release/companyAuth/index.css
  6. 29
      pages/release/index2.vue
  7. 88
      pages/release/investorAuth/index.vue

6
pages.json

@ -295,6 +295,12 @@
"navigationBarTitleText": "企业认证" "navigationBarTitleText": "企业认证"
} }
}, },
{
"path": "pages/release/investorAuth/index",
"style": {
"navigationBarTitleText": "投资方认证"
}
},
{ {
"path": "pages/release/perfectPersonInfo/index", "path": "pages/release/perfectPersonInfo/index",
"style": { "style": {

12
pages/demandHall/enterpriseServer/index.vue

@ -23,7 +23,9 @@
<view class="resource-box" v-if="active == 1"> <view class="resource-box" v-if="active == 1">
<!-- 企业 --> <!-- 企业 -->
<view class="enterprise-list" v-for="(item,index) in 2" :key="index"> <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="'business-lable' + (item.enterpriseType == 2 ? ' bg2' : '')">
{{item.enterpriseType == 1 ? '企业' : '个人'}}
</view>
<view class="enterprise-con acea-row"> <view class="enterprise-con acea-row">
<image src="../../../static/images/home/menu6.png" class="enterprise-img"></image> <image src="../../../static/images/home/menu6.png" class="enterprise-img"></image>
<view class="content-right acea-row row-column-between"> <view class="content-right acea-row row-column-between">
@ -44,7 +46,7 @@
</view> </view>
<view class="company-box" v-if="active == 2"> <view class="company-box" v-if="active == 2">
<view class="business-list" v-for="(item,index) in companyList" :key="index" @tap="toCompanyDetail" :data-id="item.id"> <view class="business-list" v-for="(item,index) in companyList" :key="index" @tap="toCompanyDetail" :data-id="item.id">
<view :class="'business-lable' + (item.enterpriseType == 2 ? 'bg2' : '')"> <view :class="'business-lable' + (item.enterpriseType == 2 ? ' bg2' : '')">
{{item.enterpriseType == 1 ? '企业' : '个人'}} {{item.enterpriseType == 1 ? '企业' : '个人'}}
</view> </view>
<view class="business-con acea-row"> <view class="business-con acea-row">
@ -338,8 +340,8 @@
} }
.tag { .tag {
width: auto; width: auto;
padding: 0 10rpx; padding: 0rpx 10rpx;
height: 36rpx; line-height: 26rpx;
border-radius: 4rpx; border-radius: 4rpx;
font-size: 20rpx; font-size: 20rpx;
margin-right: 8rpx; margin-right: 8rpx;
@ -440,7 +442,7 @@
} }
.bg2 { .bg2 {
background: rgba(255, 170, 0, 0.63); background: linear-gradient(141deg, #FFA782 0%, #FF6D31 100%);
} }

16
pages/demandHall/supplyHall/index.vue

@ -45,7 +45,7 @@
<!-- 企业 --> <!-- 企业 -->
<view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toNeedsDetail" <view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toNeedsDetail"
:data-id="item.id"> :data-id="item.id">
<view :class="'tips-item ' + (item.enterpriseType == 2 ? 'bg2' : '' )"> <view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '')">
{{item.enterpriseType == 1 ? '企业' : '个人'}} {{item.enterpriseType == 1 ? '企业' : '个人'}}
</view> </view>
<view class="enterprise-box acea-row row-column-between"> <view class="enterprise-box acea-row row-column-between">
@ -69,7 +69,7 @@
</view> </view>
<view class="company-box" v-if="active == 2"> <view class="company-box" v-if="active == 2">
<view class="personal-list"> <view class="personal-list">
<view :class="'tips-item ' + (item.enterpriseType == 2 ? 'bg2' : '' )"> <view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '' )">
{{item.enterpriseType == 1 ? '企业' : '个人'}} {{item.enterpriseType == 1 ? '企业' : '个人'}}
</view> </view>
<view class="acea-row row-column-between info-box"> <view class="acea-row row-column-between info-box">
@ -89,7 +89,7 @@
<view class="todetails">查看详情</view> <view class="todetails">查看详情</view>
</view> </view>
<view class="enterprise-list"> <view class="enterprise-list">
<view :class="'tips-item ' + (item.enterpriseType == 2 ? 'bg2' : '' )"> <view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '' )">
{{item.enterpriseType == 1 ? '企业' : '个人'}} {{item.enterpriseType == 1 ? '企业' : '个人'}}
</view> </view>
<view class="enterprise-con acea-row"> <view class="enterprise-con acea-row">
@ -201,7 +201,7 @@
showDialog() { showDialog() {
this.setData({ this.setData({
showScreenDialog: true showScreenDialog: true,
}); });
}, },
cagetoryClick(e) { cagetoryClick(e) {
@ -222,13 +222,11 @@
enterpriseType: type enterpriseType: type
}); });
}, },
finishClick() { finishClick() {
this.setData({ this.setData({
showScreenDialog: false showScreenDialog: false
}); });
}, },
resetClick() { resetClick() {
this.setData({ this.setData({
cName: '', cName: '',
@ -253,7 +251,7 @@
app.http('post', `Resources/listResources?page=${this.pageNumber}&size=${this.pageSize}`, { app.http('post', `Resources/listResources?page=${this.pageNumber}&size=${this.pageSize}`, {
resourceType: this.active, resourceType: this.active,
resourceCagetoryId: this.resourceCagetoryId, resourceCagetoryId: this.resourceCagetoryId,
enterpriseType: this.enterpriseType enterpriseType: this.enterpriseType,
}).then(res => { }).then(res => {
if (res.data.success) { if (res.data.success) {
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
@ -410,7 +408,7 @@
color: #fff; color: #fff;
border-radius: 12rpx 0; border-radius: 12rpx 0;
text-align: center; text-align: center;
background-color: #007AFF; background: rgba(88, 144, 255, 0.91);
margin-bottom: 5rpx; margin-bottom: 5rpx;
} }
@ -461,7 +459,7 @@
.tag { .tag {
width: auto; width: auto;
height: 36rpx; line-height: 28rpx;
border-radius: 4rpx; border-radius: 4rpx;
font-size: 20rpx; font-size: 20rpx;
margin-right: 8rpx; margin-right: 8rpx;

4
pages/home/index.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="productSort"> <view class="productSort">
<!-- 顶部主页 --> <!-- 顶部主页 -->
<skeleton v-if="showSkeleton" ref="<strong>skeleton</strong>" loading="chiaroscuro" selector="skeleton" <skeleton v-if="showSkeleton" ref="skeleton" loading="chiaroscuro" selector="skeleton"
bgcolor="#FFF"></skeleton> bgcolor="#FFF"></skeleton>
<view class="pageTitle-box" :class="isFixed ? 'showPageTitle' : ''" <view class="pageTitle-box" :class="isFixed ? 'showPageTitle' : ''"
:style="{'padding-top':navTopHeight + 'px',height:navHeight*2+ 'px'}"> :style="{'padding-top':navTopHeight + 'px',height:navHeight*2+ 'px'}">
@ -224,7 +224,7 @@
onReady: function() { onReady: function() {
const that = this; const that = this;
// that.$refs.skeleton.attachedAction(); that.$refs.skeleton.attachedAction();
that.$refs.skeleton.readyAction(); that.$refs.skeleton.readyAction();
}, },

30
pages/release/companyAuth/index.css

@ -33,6 +33,31 @@
margin-bottom: 38rpx; margin-bottom: 38rpx;
font-weight: 500; font-weight: 500;
} }
.title-l{
font-size: 36rpx;
line-height: 50rpx;
color: #343434;
font-weight: 600;
}
.title-s{
font-size: 28rpx;
font-weight: 400;
line-height: 40rpx;
color: #666666;
margin: 16rpx 0;
}
.card-bg{
width: 670rpx;
height: 320rpx;
background: #FFFFFF;
box-shadow: 0px 6rpx 12rpx rgba(0, 0, 0, 0.16);
border-radius: 16rpx;
margin-bottom: 60rpx;
}
.card-bg image{
width: 625rpx;
height: 274rpx;
}
.form-item{ .form-item{
font-size: 28rpx; font-size: 28rpx;
color: #666666; color: #666666;
@ -43,6 +68,11 @@
width: 70%; width: 70%;
text-align: right; text-align: right;
} }
.tomore{
width: 10rpx;
height: 18rpx;
margin-left: 10rpx;
}
.yyzz image{ .yyzz image{
width: 670rpx; width: 670rpx;
height: 368rpx; height: 368rpx;

29
pages/release/index2.vue

@ -24,7 +24,7 @@
</view> </view>
<image src="/static/images/home/arrow-r.png" class="tojump"></image> <image src="/static/images/home/arrow-r.png" class="tojump"></image>
</view> </view>
<view class="auth-btn acea-row row-middle" @tap="toPersonlAuth"> <view class="auth-btn acea-row row-middle" @tap="toInvestorAuth">
<view><image src="/static/images/user/investor.png" class="auth-headimg investor-img"></image></view> <view><image src="/static/images/user/investor.png" class="auth-headimg investor-img"></image></view>
<view> <view>
<view class="auth-title">投资方认证</view> <view class="auth-title">投资方认证</view>
@ -180,11 +180,28 @@ export default {
} }
}, },
// //
// toInvestorAuth() { toInvestorAuth() {
// uni.navigateTo({ if (this.authStatus == 0) {
// url: '/pages/release/investorAuth/index' uni.navigateTo({
// }); url: '/pages/release/investorAuth/index'
// }, });
} else if (this.authStatus == 3) {
let authInfo = encodeURIComponent(JSON.stringify(this.authInfo));
uni.navigateTo({
url: '/pages/release/investorAuth/index?authInfo=' + authInfo
});
} else if (this.authStatus == 1) {
uni.showToast({
title: '认证申请审核中,请等待!',
icon: 'none'
});
} else if(this.authStatus == 2){
uni.showToast({
title: '已完成认证',
icon: 'none'
});
}
},
// toPersonlAuth() { // toPersonlAuth() {
// if (this.authStatus == 0) { // if (this.authStatus == 0) {
// uni.navigateTo({ // uni.navigateTo({

88
pages/release/investorAuth/index.vue

@ -2,44 +2,56 @@
<!--pages/release/companyAuth/index.wxml--> <!--pages/release/companyAuth/index.wxml-->
<view class="auth-page"> <view class="auth-page">
<view class="company-info-box"> <view class="company-info-box">
<view class="title-l">请完善资料</view>
<view class="title-s">个人名片</view>
<view class="card-bg acea-row row-center-wrapper"><image src="https://download.cyjyyjy.com/person-card.png" mode=""></image></view>
<view class="form-item acea-row row-between row-middle"> <view class="form-item acea-row row-between row-middle">
<view class="label">姓名</view> <view class="label">姓名</view>
<view class="inp-box"> <view class="inp-box">
<input type="text" :value="form.legalPersonName" @input="inpChange" data-type="name" placeholder="请填写姓名"> <input type="text" :value="form.legalPersonName" @input="inpChange" data-type="name" placeholder="请填写姓名">
</view> </view>
</view> </view>
<view class="form-item acea-row row-between row-middle"> <view class="form-item acea-row row-between row-middle">
<view class="label">手机号</view> <view class="label">企业名称</view>
<view class="inp-box"> <view class="inp-box">
<input type="text" :value="form.legalPhone" @input="inpChange" data-type="phone" placeholder="请填写手机号"> <input type="text" :value="form.enterpriseName" @input="inpChange" data-type="enterpriseName"
</view> placeholder="请填写企业名称">
</view> </view>
<view class="form-item acea-row row-between row-middle"> </view>
<view class="label">身份证号</view> <view class="form-item acea-row row-between row-middle">
<view class="inp-box"> <view class="label">职位</view>
<input type="text" :value="form.legalPersonIdcard" @input="inpChange" data-type="idcard" placeholder="请填写身份证号"> <view class="inp-box">
</view> <input type="text" @input="inpChange" data-type="" placeholder="请填写职位">
</view> </view>
<!-- <view class="form-item noBorder"> </view>
<view class="label">身份证</view> <view class="form-item acea-row row-between row-middle">
<view class="inp-box sfz"> <view class="label">邮箱</view>
<view class="acea-row row-between-wrapper"> <view class="inp-box">
<image src="https://download.cyjyyjy.com/sfz1.png" @tap="upCard" data-type="b" v-if="form.idcardPicBehind == ''"></image> <input type="text" @input="inpChange" data-type="" placeholder="请填写邮箱">
<image :src="form.idcardPicBehind" @tap="upCard" data-type="b" v-else></image> </view>
<image src="https://download.cyjyyjy.com/sfzb.png"></image> </view>
</view> <view class="form-item acea-row row-between row-middle">
<view class="acea-row row-between-wrapper"> <view class="label">微信</view>
<image src="https://download.cyjyyjy.com/sfz2.png" @tap="upCard" data-type="f" v-if="form.idcardPicFront == ''"></image> <view class="inp-box">
<image :src="form.idcardPicFront" @tap="upCard" data-type="f" v-else></image> <input type="text" @input="inpChange" data-type="" placeholder="请填写微信号">
<image src="https://download.cyjyyjy.com/sfzz.png"></image> </view>
</view> </view>
<view class="acea-row row-between-wrapper"> <view class="form-item acea-row row-between row-middle">
<image src="https://download.cyjyyjy.com/sfz3.png" @tap="upCard" data-type="h" v-if="form.idcardPicHold == ''"></image> <view class="label">企业规模</view>
<image :src="form.idcardPicHold" @tap="upCard" data-type="h" v-else></image> <view class="inp-box">
<image src="https://download.cyjyyjy.com/sfzs.png"></image> <picker class="pick-box" @change="" mode="selector">
</view> <view class="picker">{{'请选择'}}</view>
</view> </picker>
</view> --> </view>
</view>
<view class="form-item acea-row row-between row-middle">
<view class="label">意向领域</view>
<view class="inp-box">
<picker class="pick-box" @change="" mode="selector">
<view class="picker">{{'请选择'}}</view>
</picker>
</view>
</view>
</view> </view>
<view class="submit-btn" @tap="submit">保存并提交</view> <view class="submit-btn" @tap="submit">保存并提交</view>
</view> </view>
@ -139,18 +151,6 @@ export default {
icon: 'none' icon: 'none'
}); });
return; return;
} else if (form.legalPhone == '') {
uni.showToast({
title: '请填写手机号',
icon: 'none'
});
return;
} else if (form.legalPersonIdcard == '') {
uni.showToast({
title: '请填写身份证号',
icon: 'none'
});
return;
} else { } else {
if (this.isEdit == false) { if (this.isEdit == false) {
app.http('post', 'EnterpriseAuthentication/createAuthenticInfoOne', this.form).then(res => { app.http('post', 'EnterpriseAuthentication/createAuthenticInfoOne', this.form).then(res => {

Loading…
Cancel
Save