通知公告、企业需求页面初始化

This commit is contained in:
熊丽君
2021-08-04 17:58:42 +08:00
parent 99d35969a0
commit 1594091f49
5 changed files with 770 additions and 126 deletions

View File

@ -10,7 +10,8 @@ body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
Microsoft YaHei, Arial, sans-serif;
}
label {
@ -90,7 +91,7 @@ div:focus {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
content: ' ';
clear: both;
height: 0;
}
@ -104,7 +105,8 @@ aside {
display: block;
line-height: 32px;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
color: #2c3e50;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@ -129,12 +131,12 @@ aside {
position: relative;
}
.pagination-container {
margin-top: 30px;
}
// .pagination-container {
// margin-top: 30px;
// }
.text-center {
text-align: center
text-align: center;
}
.sub-navbar {
@ -145,7 +147,13 @@ aside {
text-align: right;
padding-right: 20px;
transition: 600ms ease position;
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
background: linear-gradient(
90deg,
rgba(32, 182, 249, 1) 0%,
rgba(32, 182, 249, 1) 0%,
rgba(33, 120, 241, 1) 100%,
rgba(33, 120, 241, 1) 100%
);
.subtitle {
font-size: 20px;
@ -199,6 +207,6 @@ aside {
margin-top: 20px;
}
// 操作栏样式
.operate-container{
.operate-container {
margin-top: 20px;
}
}

View File

@ -1,240 +1,241 @@
/**
/**
* 通用css样式布局处理
* Copyright (c) 2019 ruoyi
*/
/** 基础通用 **/
/** 基础通用 **/
.pt5 {
padding-top: 5px;
padding-top: 5px;
}
.pr5 {
padding-right: 5px;
padding-right: 5px;
}
.pb5 {
padding-bottom: 5px;
padding-bottom: 5px;
}
.mt5 {
margin-top: 5px;
margin-top: 5px;
}
.mr5 {
margin-right: 5px;
margin-right: 5px;
}
.mb5 {
margin-bottom: 5px;
margin-bottom: 5px;
}
.mb8 {
margin-bottom: 8px;
margin-bottom: 8px;
}
.ml5 {
margin-left: 5px;
margin-left: 5px;
}
.mt10 {
margin-top: 10px;
margin-top: 10px;
}
.mr10 {
margin-right: 10px;
margin-right: 10px;
}
.mb10 {
margin-bottom: 10px;
margin-bottom: 10px;
}
.ml0 {
margin-left: 10px;
margin-left: 10px;
}
.mt20 {
margin-top: 20px;
margin-top: 20px;
}
.mr20 {
margin-right: 20px;
margin-right: 20px;
}
.mb20 {
margin-bottom: 20px;
margin-bottom: 20px;
}
.m20 {
margin-left: 20px;
margin-left: 20px;
}
.el-dialog:not(.is-fullscreen){
margin-top: 6vh !important;
.el-dialog:not(.is-fullscreen) {
margin-top: 6vh !important;
}
.el-table {
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
th {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
height: 40px;
font-size: 13px;
}
}
.el-table__body-wrapper {
.el-button [class*="el-icon-"] + span {
margin-left: 1px;
}
}
.el-table__header-wrapper,
.el-table__fixed-header-wrapper {
th {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
height: 40px;
font-size: 13px;
}
}
.el-table__body-wrapper {
.el-button [class*='el-icon-'] + span {
margin-left: 1px;
}
}
}
/** 表单布局 **/
.form-header {
font-size:15px;
color:#6379bb;
border-bottom:1px solid #ddd;
margin:8px 10px 25px 10px;
padding-bottom:5px
font-size: 15px;
color: #6379bb;
border-bottom: 1px solid #ddd;
margin: 8px 10px 25px 10px;
padding-bottom: 5px;
}
/** 表格布局 **/
.pagination-container {
position: relative;
height: 25px;
margin-bottom: 10px;
margin-top: 15px;
padding: 10px 20px !important;
position: relative;
height: 25px;
margin-bottom: 10px;
// margin-top: 15px;
// padding: 10px 20px !important;
}
/* tree border */
.tree-border {
margin-top: 5px;
border: 1px solid #e5e6e7;
background: #FFFFFF none;
border-radius:4px;
margin-top: 5px;
border: 1px solid #e5e6e7;
background: #ffffff none;
border-radius: 4px;
}
.pagination-container .el-pagination {
right: 0;
position: absolute;
right: 0;
position: absolute;
}
.el-table .fixed-width .el-button--mini {
color: #409EFF;
padding-left: 0;
padding-right: 0;
width: inherit;
color: #409eff;
padding-left: 0;
padding-right: 0;
width: inherit;
}
.el-tree-node__content > .el-checkbox {
margin-right: 8px;
margin-right: 8px;
}
.list-group-striped > .list-group-item {
border-left: 0;
border-right: 0;
border-radius: 0;
padding-left: 0;
padding-right: 0;
border-left: 0;
border-right: 0;
border-radius: 0;
padding-left: 0;
padding-right: 0;
}
.list-group {
padding-left: 0px;
list-style: none;
padding-left: 0px;
list-style: none;
}
.list-group-item {
border-bottom: 1px solid #e7eaec;
border-top: 1px solid #e7eaec;
margin-bottom: -1px;
padding: 11px 0px;
font-size: 13px;
border-bottom: 1px solid #e7eaec;
border-top: 1px solid #e7eaec;
margin-bottom: -1px;
padding: 11px 0px;
font-size: 13px;
}
.pull-right {
float: right !important;
float: right !important;
}
.el-card__header {
padding: 14px 15px 7px;
min-height: 40px;
padding: 14px 15px 7px;
min-height: 40px;
}
.el-card__body {
padding: 15px 20px 20px 20px;
padding: 15px 20px 20px 20px;
}
.card-box {
padding-right: 15px;
padding-left: 15px;
margin-bottom: 10px;
padding-right: 15px;
padding-left: 15px;
margin-bottom: 10px;
}
/* button color */
.el-button--cyan.is-active,
.el-button--cyan:active {
background: #20B2AA;
border-color: #20B2AA;
color: #FFFFFF;
background: #20b2aa;
border-color: #20b2aa;
color: #ffffff;
}
.el-button--cyan:focus,
.el-button--cyan:hover {
background: #48D1CC;
border-color: #48D1CC;
color: #FFFFFF;
background: #48d1cc;
border-color: #48d1cc;
color: #ffffff;
}
.el-button--cyan {
background-color: #20B2AA;
border-color: #20B2AA;
color: #FFFFFF;
background-color: #20b2aa;
border-color: #20b2aa;
color: #ffffff;
}
/* text color */
.text-navy {
color: #1ab394;
color: #1ab394;
}
.text-primary {
color: inherit;
color: inherit;
}
.text-success {
color: #1c84c6;
color: #1c84c6;
}
.text-info {
color: #23c6c8;
color: #23c6c8;
}
.text-warning {
color: #f8ac59;
color: #f8ac59;
}
.text-danger {
color: #ed5565;
color: #ed5565;
}
.text-muted {
color: #888888;
color: #888888;
}
/* image */
.img-circle {
border-radius: 50%;
border-radius: 50%;
}
.img-lg {
width: 120px;
height: 120px;
width: 120px;
height: 120px;
}
.avatar-upload-preview {
position: absolute;
top: 50%;
transform: translate(50%, -50%);
width: 180px;
height: 180px;
border-radius: 50%;
box-shadow: 0 0 4px #ccc;
overflow: hidden;
position: absolute;
top: 50%;
transform: translate(50%, -50%);
width: 180px;
height: 180px;
border-radius: 50%;
box-shadow: 0 0 4px #ccc;
overflow: hidden;
}
/* 拖拽列样式 */
.sortable-ghost{
opacity: .8;
color: #fff!important;
background: #42b983!important;
.sortable-ghost {
opacity: 0.8;
color: #fff !important;
background: #42b983 !important;
}
.top-right-btn {
position: relative;
float: right;
}
position: relative;
float: right;
}

View File

@ -1,5 +1,332 @@
<template>
<div>
demand
<div class="notice_page p0-100">
<!-- 搜索部分 -->
<div class="search">
<div class="search_input" style="display:flex">
<span>企业需求检索</span>
<el-input v-model="input" placeholder="请输入搜索关键字"></el-input>
<el-button type="warning">搜索</el-button>
</div>
</div>
<!-- 筛选部分 -->
<div class="screen">
<div class="screen_l">
<!-- 检索条件 -->
<div class="screen_l_t">
<div class="screen_l_t_item">
<span class="text_col">技术领域:</span>
<el-radio-group v-model="queryParams.radio1" size="medium">
<el-radio-button
:label="item.label"
v-for="item in levelList"
:key="item.label"
>
{{ item.name }}
</el-radio-button>
</el-radio-group>
</div>
<div class="screen_l_t_item">
<span class="text_col">需求类型:</span>
<el-radio-group v-model="queryParams.radio2" size="medium">
<el-radio-button label="">不限</el-radio-button>
<el-radio-button :label="item" v-for="item in 3" :key="item">
{{ item }}
</el-radio-button>
</el-radio-group>
</div>
</div>
<!-- 检索列表 -->
<div class="screen_l_b">
<div class="screen_item" v-for="item in 6" :key="item">
<div class="title text_hidden_one">
<span class="txt">100</span
><span>寻求电梯导轨更高效的方法寻求电梯导轨更高效的方法</span>
</div>
<div class="tags">
<el-tag effect="dark">装备制造</el-tag>
<el-tag effect="dark">技术需求</el-tag>
</div>
<p>
企业主要做电梯配件中的电梯导轨2020年产值2亿元左右属于重金属加工重量很大生产时没有办法直接靠体力故而已引进第一代设备从三利电机张运机械采购中国市场第一代...
</p>
<div class="time">2021-07-23发布</div>
</div>
</div>
<!-- 分页 -->
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="queryParams.pageNum"
:page-sizes="[6, 12, 18, 24]"
:page-size="queryParams.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="36"
>
</el-pagination>
<!-- <pagination
v-show="10 > 0"
:total="24"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/> -->
</div>
</div>
</div>
</template>
<script>
import { mapGetters } from 'vuex';
export default {
data() {
return {
activeName: '1',
input: '',
queryParams: {
pageNum: 1,
pageSize: 10,
radio1: '',
radio2: ''
},
levelList: [
{
label: '1',
name: '信息技术'
},
{
label: '2',
name: '装备制造'
},
{
label: '3',
name: '新材料'
},
{
label: '4',
name: '新能源'
},
{
label: '5',
name: '生物医药'
},
{
label: '6',
name: '节能环保'
},
{
label: '7',
name: '数字创意'
},
{
label: '8',
name: '检验检测'
},
{
label: '9',
name: '教育教学'
},
{
label: '10',
name: '检验检测'
}
]
};
},
computed: {
...mapGetters(['token'])
},
methods: {
getList() {},
handleClick() {},
handleSizeChange() {},
handleCurrentChange() {}
},
created() {
this.levelList.unshift({
label: '',
name: '不限'
});
}
};
</script>
<style lang="scss" scoped>
.notice_page {
.search {
padding-top: 52px;
padding-bottom: 52px;
text-align: center;
.search_input {
display: flex;
justify-content: center;
align-items: center;
/deep/.el-input--medium .el-input__inner {
height: 40px;
line-height: 40px;
border-radius: 6px 0 0 6px;
border: 1px solid #ffa32c;
border-right: 0;
}
span:nth-child(1) {
color: #333;
font-size: 24px;
margin-right: 21px;
}
.el-input {
width: 304px;
}
.el-button {
border-radius: 0 6px 6px 0;
background-color: #ffa32c;
font-size: 18px;
}
}
.tags {
margin-top: 26px;
.txt {
font-size: 18px;
color: #999;
}
.el-tag {
border-radius: 20px;
margin-right: 18px;
}
}
}
.screen {
display: flex;
.screen_l {
flex: 2;
.screen_l_t {
border-radius: 6px;
background-color: #f8f8f8;
.screen_l_t_item {
// height: 50px;
// line-height: 50px;
display: flex;
align-items: center;
padding: 0 20px;
.text_col {
min-width: 100px;
color: #333;
font-size: 18px;
}
.el-radio-group {
display: flex;
flex-wrap: wrap;
align-items: center;
.el-radio-button {
margin: 10px 0;
}
}
}
}
.screen_l_b {
margin-top: 10px;
padding: 10px 0;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
.screen_item {
width: calc((100% - 24px) / 3);
height: 292px;
margin-right: 12px;
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.08);
margin-bottom: 14px;
cursor: pointer;
border-radius: 6px;
overflow: hidden;
padding: 30px 20px;
.title {
font-size: 18px;
color: #333;
.txt {
color: #ffa32c;
}
}
.tags {
margin-top: 22px;
.el-tag {
margin-right: 10px;
}
}
p {
font-size: 16px;
color: #666;
line-height: 27px;
}
.time {
text-align: right;
font-size: 16px;
color: #999;
}
}
.screen_item:nth-of-type(3n + 0) {
margin-right: 0;
}
}
.el-pagination {
text-align: right;
}
}
.screen_r {
flex: 1;
margin-left: 10px;
max-width: 310px;
.title {
color: #ffffff;
height: 60px;
line-height: 60px;
font-size: 20px;
text-align: center;
background: #3394ff;
border-radius: 6px 6px 0px 0px;
}
.tabs {
height: 551px;
background: #f8f8f8;
padding: 0px 14px;
.tabs_row {
display: flex;
align-items: center;
.span {
width: 30%;
min-width: 84px;
}
.el-tabs {
// width: 240px;
width: 70%;
/deep/.el-tabs__nav-wrap::after {
height: 0;
}
/deep/.el-tabs__item.is-active {
font-weight: bold;
color: #1890ff;
}
}
}
.tabs_item {
height: 110px;
display: flex;
flex-direction: column;
justify-content: center;
border-bottom: 1px solid #e3e3e3;
div:nth-child(1) {
font-size: 18px;
color: #333333;
}
div:nth-child(2) {
margin-top: 16px;
font-size: 16px;
color: #999999;
}
}
.more {
text-align: center;
.el-button {
margin-top: 12px;
}
}
}
}
}
}
</style>

View File

@ -1,5 +1,312 @@
<template>
<div>
notice
<div class="notice_page p0-100">
<!-- 搜索部分 -->
<div class="search">
<div class="search_input" style="display:flex">
<span>通知公告检索</span>
<el-input v-model="input" placeholder="请输入搜索关键字"></el-input>
<el-button type="warning">搜索</el-button>
</div>
<div class="tags">
<span class="txt">热门搜索:</span>
<el-tag effect="dark">高新技术企业</el-tag>
<el-tag effect="dark">科技型中小企业</el-tag>
<el-tag effect="dark">科技孵化器</el-tag>
<!-- <el-button type="primary" size="mini" round>高新技术企业</el-button> -->
<!-- <el-button type="primary" size="mini" round>科技型中小企业</el-button> -->
<!-- <el-button type="primary" size="mini" round>科技孵化器</el-button> -->
</div>
</div>
<!-- 筛选部分 -->
<div class="screen">
<div class="screen_l">
<!-- 检索条件 -->
<div class="screen_l_t">
<div class="screen_l_t_item">
<span class="text_col">级别:</span>
<el-radio-group v-model="queryParams.radio1" size="medium">
<el-radio-button
:label="item.label"
v-for="item in levelList"
:key="item.label"
>
{{ item.name }}
</el-radio-button>
</el-radio-group>
</div>
<div class="screen_l_t_item">
<span class="text_col">归口:</span>
<el-radio-group v-model="queryParams.radio2" size="medium">
<el-radio-button label="">不限</el-radio-button>
<el-radio-button :label="item" v-for="item in 10" :key="item">
{{ item }}
</el-radio-button>
</el-radio-group>
</div>
</div>
<!-- 检索列表 -->
<div class="screen_l_b" v-for="item in 10" :key="item">
<div class="l">
<div class="title text_hidden_one" style="width:500px">
安徽出台若干措施一安徽出台若干措施安徽出台若干措施一安徽出台若干措施安徽出台若干措施一安徽出台若干措施台若干措施安徽出台若干措施一安徽出台若干措施
</div>
<div class="info">
<span>来源:安徽省经济和信息化厅</span>
<span>发布2021-06-04</span>
</div>
</div>
<div class="r" style="min-width:310px">
<el-tag type="warning" effect="dark">截至到2021-08-20</el-tag>
<span v-if="token">
<el-button type="primary" size="mini">
<i class="el-icon-star-on"></i><span>收藏</span>
</el-button>
<el-button type="info" size="mini">
<i class="el-icon-star-on"></i><span>取消收藏</span>
</el-button>
</span>
</div>
</div>
<!-- 分页 -->
<pagination
v-show="10 > 0"
:total="100"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
</div>
<div class="screen_r" v-if="token">
<div class="title">政策匹配</div>
<div class="tabs">
<div class="tabs_row">
<span class="span">企业画像:</span>
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="制造业" name="1"></el-tab-pane>
<el-tab-pane label="大型企业" name="2"></el-tab-pane>
<el-tab-pane label="生产业" name="3"></el-tab-pane>
<el-tab-pane label="小型企业" name="4"></el-tab-pane>
</el-tabs>
</div>
<div class="tabs_item" v-for="item in 4" :key="item">
<div class="text_hidden_one">
安徽出台若干措施一步优化营商安徽出台若干措施一步优化营商安徽出台若干措施一步优化营商
</div>
<div>来源安徽省经济和信息化厅</div>
</div>
<div class="more">
<el-button type="primary" size="mini">查看更多</el-button>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { mapGetters } from 'vuex';
export default {
data() {
return {
activeName: '1',
input: '',
queryParams: {
pageNum: 1,
pageSize: 10,
radio1: '',
radio2: ''
},
levelList: [
{
label: '1',
name: '安徽省'
},
{
label: '2',
name: '地级市'
},
{
label: '3',
name: '合肥区县'
}
]
};
},
computed: {
...mapGetters(['token'])
},
methods: {
getList() {},
handleClick() {}
},
created() {
this.levelList.unshift({
label: '',
name: '不限'
});
}
};
</script>
<style lang="scss" scoped>
.notice_page {
.search {
padding-top: 52px;
padding-bottom: 52px;
text-align: center;
.search_input {
display: flex;
justify-content: center;
align-items: center;
/deep/.el-input--medium .el-input__inner {
height: 40px;
line-height: 40px;
border-radius: 6px 0 0 6px;
border: 1px solid #ffa32c;
border-right: 0;
}
span:nth-child(1) {
color: #333;
font-size: 24px;
margin-right: 21px;
}
.el-input {
width: 304px;
}
.el-button {
border-radius: 0 6px 6px 0;
background-color: #ffa32c;
font-size: 18px;
}
}
.tags {
margin-top: 26px;
.txt {
font-size: 18px;
color: #999;
}
.el-tag {
border-radius: 20px;
margin-right: 18px;
}
}
}
.screen {
display: flex;
.screen_l {
flex: 2;
.screen_l_t {
border-radius: 6px;
background-color: #f8f8f8;
.screen_l_t_item {
// height: 50px;
// line-height: 50px;
display: flex;
align-items: center;
padding: 0 20px;
.text_col {
min-width: 100px;
color: #333;
font-size: 18px;
}
.el-radio-group {
display: flex;
flex-wrap: wrap;
align-items: center;
.el-radio-button {
margin: 10px 0;
}
}
}
}
.screen_l_b {
// .screen_l_b_item {
padding: 0 20px;
height: 110px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e3e3e3;
// }
.l {
.title {
font-size: 18px;
color: #333;
margin-bottom: 16px;
}
.info {
font-size: 16px;
color: #999;
span {
margin-right: 30px;
}
}
}
.r {
.el-button {
margin-left: 10px;
}
}
}
}
.screen_r {
flex: 1;
margin-left: 10px;
max-width: 310px;
.title {
color: #ffffff;
height: 60px;
line-height: 60px;
font-size: 20px;
text-align: center;
background: #3394ff;
border-radius: 6px 6px 0px 0px;
}
.tabs {
height: 551px;
background: #f8f8f8;
padding: 0px 14px;
.tabs_row {
display: flex;
align-items: center;
.span {
width: 30%;
min-width: 84px;
}
.el-tabs {
// width: 240px;
width: 70%;
/deep/.el-tabs__nav-wrap::after {
height: 0;
}
/deep/.el-tabs__item.is-active {
font-weight: bold;
color: #1890ff;
}
}
}
.tabs_item {
height: 110px;
display: flex;
flex-direction: column;
justify-content: center;
border-bottom: 1px solid #e3e3e3;
div:nth-child(1) {
font-size: 18px;
color: #333333;
}
div:nth-child(2) {
margin-top: 16px;
font-size: 16px;
color: #999999;
}
}
.more {
text-align: center;
.el-button {
margin-top: 12px;
}
}
}
}
}
}
</style>

View File

@ -1,7 +1,7 @@
<template>
<div class="index_page">
<!-- 右侧悬浮 -->
<div class="slid">
<div class="slid" v-if="path == '/home'">
<div class="item-box">
<el-tooltip class="item" effect="dark" placement="left-start">
<div class="tip_img" slot="content">
@ -173,7 +173,7 @@ export default {
};
},
computed: {
...mapGetters(['sidebar', 'avatar', 'device'])
...mapGetters(['avatar'])
},
methods: {
handlePage() {
@ -258,14 +258,15 @@ export default {
/deep/.el-input--medium .el-input__inner {
height: 40px;
line-height: 40px;
border-radius: 0;
border-radius: 6px 0 0 6px;
border: 1px solid #ffa32c;
border-right: 0;
}
.search {
display: flex;
height: 40px;
.el-button {
border-radius: 0;
border-radius: 0 6px 6px 0;
background-color: #ffa32c;
font-size: 18px;
}