提交 06cad7ab authored 作者: coderBryanFu's avatar coderBryanFu

update

上级 a94961db
...@@ -276,7 +276,7 @@ body { ...@@ -276,7 +276,7 @@ body {
border-radius: 6px; border-radius: 6px;
color: #333; color: #333;
position: absolute; position: absolute;
right: 37px; right: 160px;
.email { .email {
width: 20px; width: 20px;
......
import request from "@/api/request.js";
// 头部信息
/**
* @param { page, size, keyword, type, domains }
*/
export function search(data) {
return request({
method: 'POST',
url: `/temporarySearch/search-info/es/page`,
data:data
})
}
\ No newline at end of file
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</div> </div>
</div> </div>
<div class="btn" @click="handleToPosi('position3')"> <div class="btn" @click="handleToPosi('position3')">
<div class="btn-text">{{ "统计概览" }}</div> <div class="btn-text">{{ "数据总览" }}</div>
<div class="btn-icon"> <div class="btn-icon">
<img src="@/assets/icons/arrow-right-icon.png" alt="" /> <img src="@/assets/icons/arrow-right-icon.png" alt="" />
</div> </div>
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
</div> </div>
</div> </div>
<div class="btn" @click="handleToPosi('position3')"> <div class="btn" @click="handleToPosi('position3')">
<div class="btn-text">{{ "统计概览" }}</div> <div class="btn-text">{{ "数据总览" }}</div>
<div class="btn-icon"> <div class="btn-icon">
<img src="@/assets/icons/arrow-right-icon.png" alt="" /> <img src="@/assets/icons/arrow-right-icon.png" alt="" />
</div> </div>
...@@ -269,7 +269,12 @@ ...@@ -269,7 +269,12 @@
@click="handleClickToNewsDetail(news)" @click="handleClickToNewsDetail(news)"
> >
<div class="left"> <div class="left">
<img :src="getProxyUrl(news.newsImage) || defaultNew" alt="" referrerpolicy="no-referrer" @error="e => e.target.src = News1" /> <img
:src="getProxyUrl(news.newsImage) || defaultNew"
alt=""
referrerpolicy="no-referrer"
@error="e => (e.target.src = News1)"
/>
</div> </div>
<div class="right"> <div class="right">
<div class="right-top"> <div class="right-top">
...@@ -293,7 +298,12 @@ ...@@ -293,7 +298,12 @@
<div class="box4-main"> <div class="box4-main">
<div class="box4-main-item" v-for="(item, index) in messageList" :key="index"> <div class="box4-main-item" v-for="(item, index) in messageList" :key="index">
<div class="left" @click="handleClcikToCharacter(item, index)"> <div class="left" @click="handleClcikToCharacter(item, index)">
<img :src="getProxyUrl(item.personImage) || Message3" alt="" referrerpolicy="no-referrer" @error="e => e.target.src = Message3" /> <img
:src="getProxyUrl(item.personImage) || Message3"
alt=""
referrerpolicy="no-referrer"
@error="e => (e.target.src = Message3)"
/>
</div> </div>
<div class="right"> <div class="right">
<div class="right-top"> <div class="right-top">
...@@ -306,7 +316,7 @@ ...@@ -306,7 +316,7 @@
</div> </div>
</div> </div>
</div> </div>
<DivideHeader id="position3" class="divide3" :titleText="'统计概览'"></DivideHeader> <DivideHeader id="position3" class="divide3" :titleText="'数据总览'"></DivideHeader>
<div class="center-footer"> <div class="center-footer">
<div class="box5"> <div class="box5">
<div class="box5-header"> <div class="box5-header">
...@@ -673,7 +683,14 @@ ...@@ -673,7 +683,14 @@
<div class="item"> <div class="item">
<div class="item-left">{{ "法案进展:" }}</div> <div class="item-left">{{ "法案进展:" }}</div>
<div class="item-right2"> <div class="item-right2">
<div class="tag" v-for="(val, idx) in [...item.progress].reverse()" :key="idx" :style="{ zIndex: item.progress.length - idx }">{{ val }}</div> <div
class="tag"
v-for="(val, idx) in [...item.progress].reverse()"
:key="idx"
:style="{ zIndex: item.progress.length - idx }"
>
{{ val }}
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -751,7 +768,7 @@ import bill10 from "./assets/images/bill10.png"; ...@@ -751,7 +768,7 @@ import bill10 from "./assets/images/bill10.png";
import bill11 from "./assets/images/bill11.png"; import bill11 from "./assets/images/bill11.png";
import bill12 from "./assets/images/bill12.png"; import bill12 from "./assets/images/bill12.png";
import defaultNew from "../assets/images/default-icon-news.png" import defaultNew from "../assets/images/default-icon-news.png";
import News1 from "./assets/images/news1.png"; import News1 from "./assets/images/news1.png";
import News2 from "./assets/images/news2.png"; import News2 from "./assets/images/news2.png";
import News3 from "./assets/images/news3.png"; import News3 from "./assets/images/news3.png";
...@@ -777,15 +794,20 @@ import { iteratee } from "lodash"; ...@@ -777,15 +794,20 @@ import { iteratee } from "lodash";
const searchBillText = ref(""); const searchBillText = ref("");
// 处理图片代理 // 处理图片代理
const getProxyUrl = (url) => { const getProxyUrl = url => {
if (!url) return ""; if (!url) return "";
const urlStr = String(url); const urlStr = String(url);
// 排除非 http 开头(相对路径)、已经是代理链接、或者是本地链接 // 排除非 http 开头(相对路径)、已经是代理链接、或者是本地链接
if (!urlStr.startsWith('http') || urlStr.includes('images.weserv.nl') || urlStr.includes('localhost') || urlStr.includes('127.0.0.1')) { if (
!urlStr.startsWith("http") ||
urlStr.includes("images.weserv.nl") ||
urlStr.includes("localhost") ||
urlStr.includes("127.0.0.1")
) {
return url; return url;
} }
// 移除协议头 http:// 或 https:// // 移除协议头 http:// 或 https://
const cleanUrl = urlStr.replace(/^https?:\/\//i, ''); const cleanUrl = urlStr.replace(/^https?:\/\//i, "");
return `https://images.weserv.nl/?url=${encodeURIComponent(cleanUrl)}`; return `https://images.weserv.nl/?url=${encodeURIComponent(cleanUrl)}`;
}; };
...@@ -887,16 +909,14 @@ const handleToMoreRiskSignal = () => { ...@@ -887,16 +909,14 @@ const handleToMoreRiskSignal = () => {
window.open(route.href, "_blank"); window.open(route.href, "_blank");
}; };
// 跳转新闻详情页 // 跳转新闻详情页
const handleClickToNewsDetail = (news) => { const handleClickToNewsDetail = news => {
// window.sessionStorage.setItem("newsId", "119_HR_1"); // window.sessionStorage.setItem("newsId", "119_HR_1");
const route = router.resolve( const route = router.resolve({
{ path: "/newsAnalysis",
path: "/newsAnalysis", query: {
query: { newsId: news.newsId
newsId: news.newsId
}
} }
); });
window.open(route.href, "_blank"); window.open(route.href, "_blank");
}; };
...@@ -1979,45 +1999,49 @@ onUnmounted(() => {}); ...@@ -1979,45 +1999,49 @@ onUnmounted(() => {});
} }
} }
.home-main-header-btn-box { .home-main-header-btn-box {
margin-top: 36px; width: 688px;
margin: 0 auto;
margin-top: 39px;
display: flex; display: flex;
.btn { justify-content: space-between;
display: flex; .btn {
width: 160px; display: flex;
height: 48px; align-items: center;
border: 1px solid #aed6ff; gap: 9px;
box-sizing: border-box; width: 160px;
border-radius: 24px; height: 48px;
justify-content: center; border: 1px solid #aed6ff;
margin: 0 16px; box-sizing: border-box;
background: #e7f3ff; border-radius: 24px;
cursor: pointer; background: #e7f3ff;
position: relative; cursor: pointer;
&:hover { position: relative;
background: #cae3fc; &:hover {
} background: #cae3fc;
.btn-text { }
color: var(--color-main-active); .btn-text {
font-family: Microsoft YaHei; width: 80px;
font-size: 20px; color: var(--color-main-active);
font-weight: 400; font-family: Microsoft YaHei;
line-height: 42px; font-size: 20px;
margin-left: 5px; font-weight: 400;
text-align: center; line-height: 48px;
} margin-left: 36px;
.btn-icon { text-align: center;
position: absolute; }
top: 16px; .btn-icon {
right: 19px; position: absolute;
width: 6px; top: 16px;
height: 12px; right: 19px;
img { width: 6px;
width: 100%; height: 12px;
height: 100%; img {
} width: 100%;
height: 100%;
} }
} }
} }
}
} }
.divide1 { .divide1 {
margin-top: 64px; margin-top: 64px;
...@@ -3437,7 +3461,7 @@ onUnmounted(() => {}); ...@@ -3437,7 +3461,7 @@ onUnmounted(() => {});
font-weight: 400; font-weight: 400;
&::after { &::after {
content: ''; content: "";
position: absolute; position: absolute;
top: 50%; top: 50%;
right: -8.485px; right: -8.485px;
...@@ -3448,17 +3472,17 @@ onUnmounted(() => {}); ...@@ -3448,17 +3472,17 @@ onUnmounted(() => {});
border-right: 1px solid rgb(234, 236, 238); border-right: 1px solid rgb(234, 236, 238);
transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg);
z-index: 1; z-index: 1;
box-shadow: 2px -2px 2px rgba(0,0,0,0.05); box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.05);
box-sizing: border-box; box-sizing: border-box;
} }
&:first-child { &:first-child {
margin-left: 0; margin-left: 0;
padding-left: 10px; padding-left: 10px;
border-left: 1px solid rgb(234, 236, 238); border-left: 1px solid rgb(234, 236, 238);
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
} }
&:last-child { &:last-child {
background: rgb(59, 65, 75); background: rgb(59, 65, 75);
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="icon"> <div class="icon">
<img src="./assets/images/search-icon1.png" alt="" /> <img src="./assets/images/search-icon1.png" alt="" />
</div> </div>
<el-input :border="false" style="width: 900px; height: 100%" /> <el-input v-model="keyword" :border="false" style="width: 900px; height: 100%" />
</div> </div>
<div class="right"> <div class="right">
<img src="./assets/images/ai-icon.png" alt="" /> <img src="./assets/images/ai-icon.png" alt="" />
...@@ -14,41 +14,55 @@ ...@@ -14,41 +14,55 @@
</div> </div>
<div class="tab-box"> <div class="tab-box">
<div class="tab-left"> <div class="tab-left">
<div class="tab" :class="{ tabActive: item.isActive }" v-for="(item, index) in tabList" :key="index"> <div
class="tab"
:class="{ tabActive: activeTabId === item.id }"
v-for="(item, index) in tabList"
:key="index"
@click="handleClickTab(item.name, item.id)"
>
{{ item.name }} {{ item.name }}
</div> </div>
</div> </div>
<div class="tab-right"> <!-- <div class="tab-right">
<div class="text">{{ "全部国家" }}</div> <div class="text">{{ "全部国家" }}</div>
<div class="icon"> <div class="icon">
<img src="./assets/images/down.png" alt="" /> <img src="./assets/images/down.png" alt="" />
</div> </div>
</div> </div> -->
</div> </div>
<div class="tag-box"> <div class="tag-box">
<div class="tag" v-for="(item, index) in tagList" :key="index">{{ item.name }}</div> <div
class="tag"
:class="{ tagActive: item.selected }"
@click="handleClickDomains(item)"
v-for="item in domains"
:key="item.id"
>
{{ item.name }}
</div>
</div> </div>
<div class="info-box"> <div class="info-box">
<div class="info-left"> <div class="info-left">
<div class="text-box"> <div class="text-box">
搜索结果<span class="text-1">{{ "356" }}</span 搜索结果<span class="text-1">{{ totalNum }}</span
> >
</div> </div>
<div class="text-box"> <div class="text-box">
搜索关键词:<span class="text-2">{{ "金融" }}</span> 搜索关键词:<span class="text-2">{{ keyword }}</span>
</div> </div>
<div class="text-box"> <div class="text-box">
当前领域:<span class="text-2">{{ "科技法案" }}</span> 当前领域:<span class="text-2">{{ curArea }}</span>
</div> </div>
</div> </div>
<div class="info-right"> <!-- <div class="info-right">
<el-select v-model="selectTime" placeholder="选择时间" style="width: 125px"> <el-select v-model="selectTime" placeholder="选择时间" style="width: 125px">
<el-option v-for="item in timeList" :key="item.value" :label="item.label" :value="item.value" /> <el-option v-for="item in timeList" :key="item.value" :label="item.label" :value="item.value" />
</el-select> </el-select>
<el-select v-model="selectRelation" placeholder="选择相关度" style="width: 125px"> <el-select v-model="selectRelation" placeholder="选择相关度" style="width: 125px">
<el-option v-for="item in relationList" :key="item.value" :label="item.label" :value="item.value" /> <el-option v-for="item in relationList" :key="item.value" :label="item.label" :value="item.value" />
</el-select> </el-select>
</div> </div> -->
</div> </div>
<div class="summary-box"> <div class="summary-box">
<div class="summary-header"> <div class="summary-header">
...@@ -75,25 +89,24 @@ ...@@ -75,25 +89,24 @@
<div class="main"> <div class="main">
<div class="item" v-for="(item, index) in searchResults" :key="index"> <div class="item" v-for="(item, index) in searchResults" :key="index">
<div class="item-left" v-if="item.img"> <div class="item-left" v-if="item.img">
<img :src="item.img" alt=""> <img :src="item.img" alt="" />
</div> </div>
<div class="item-right"> <div class="item-right">
<div class="title" v-html="renderContent(item.title)"></div> <div class="title" v-html="renderContent(item.title)"></div>
<div class="content" v-html="renderContent(item.content)"></div> <div class="content" v-html="renderContent(item.description)"></div>
<div class="item-right-footer"> <div class="item-right-footer">
<div class="time">{{ item.time }}</div> <div class="time">{{ item.date }}</div>
<div <div
class="tag" class="tag tag3"
:class="{ tag1: item.tag.status === 1, tag2: item.tag.status === 2, tag3: item.tag.status === 3 }"
> >
{{ item.tag.name }} {{ item.typeStr }}
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="footer"> <div class="footer">
<el-pagination background layout="prev, pager, next" :total="96" /> <el-pagination @current-change="handleChangeCurrentPage" :size="pageSize" :current-page="currentPage" background layout="prev, pager, next" :total="totalNum" />
</div> </div>
</div> </div>
</template> </template>
...@@ -101,81 +114,67 @@ ...@@ -101,81 +114,67 @@
<script setup> <script setup>
import { ref, onMounted } from "vue"; import { ref, onMounted } from "vue";
import Img1 from './assets/images/img1.png' import { search } from "@/api/comprehensiveSearch/index";
import Img2 from './assets/images/img2.png'
import Img3 from './assets/images/img3.png' import Img1 from "./assets/images/img1.png";
import Img2 from "./assets/images/img2.png";
import Img3 from "./assets/images/img3.png";
const selectTime = ref("全部时间"); const selectTime = ref("全部时间");
const selectRelation = ref("相关度优先"); const selectRelation = ref("相关度优先");
const keyword = ref("出口");
const tabList = ref([ const tabList = ref([
{ {
name: "法案", name: "法案",
isActive: true id: 1
}, },
{ {
name: "政令", name: "政令",
isActive: false id: 2
},
{
name: "科技智库",
isActive: false
},
{
name: "企业",
isActive: false
},
{
name: "出口管制",
isActive: false
},
{
name: "市场准入",
isActive: false
},
{
name: "投融资限制",
isActive: false
},
{
name: "重要人物",
isActive: false
}
]);
const tagList = ref([
{
name: "人工智能"
}, },
{ {
name: "集成电路" name: "智库",
id: 3
}, },
{ {
name: "通信网络" name: "智库报告",
id: 4
}, },
{ {
name: "量子科技" name: "实体清单",
id: 5
}, },
{ {
name: "能源" name: "人物",
id: 6
}, },
{ {
name: "生物科技" name: "机构",
id: 7
}, },
{ {
name: "航空航天" name: "新闻",
id: 8
}, },
{ {
name: "海洋" name: "社媒",
}, id: 9
{
name: "新材料"
},
{
name: "先进制造"
} }
]); ]);
const activeTabId = ref(5);
const curArea = ref('实体清单')
const handleClickTab = (name,id) => {
activeTabId.value = id;
curArea.value = name
domains.value = []
selectedDomains.value = []
handleSearch()
};
const timeList = ref([ const timeList = ref([
{ {
label: "全部时间", label: "全部时间",
...@@ -335,6 +334,62 @@ const renderContent = str => { ...@@ -335,6 +334,62 @@ const renderContent = str => {
} }
return str; return str;
}; };
const pageSize = ref(10);
const currentPage = ref(1);
const totalNum = ref(0)
const handleChangeCurrentPage = page => {
currentPage.value = page
handleSearch()
}
const domains = ref([
{
name: "",
id: ""
}
]);
const selectedDomains = ref([]);
const handleClickDomains = domain => {
domain.selected = !domain.selected;
selectedDomains.value = domains.value
.filter(item => {
return item.selected;
})
.map(item => item.name);
console.log("selectedDomains", selectedDomains.value);
handleSearch();
};
const handleSearch = async () => {
const params = {
size: pageSize.value,
page: currentPage.value,
keyword: keyword.value, // "出口"
type: activeTabId.value,
domains: selectedDomains.value
};
try {
const res = await search(params);
console.log("综合搜索结果", res);
if (res.code === 200 && res.data) {
if (!selectedDomains.value.length) {
domains.value = Object.entries(res.data.aggregations).map(([name, id]) => ({
name,
id,
selected: false
}));
}
searchResults.value = res.data.records
totalNum.value = res.data.total
}
} catch (error) {}
};
handleSearch();
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -510,8 +565,10 @@ const renderContent = str => { ...@@ -510,8 +565,10 @@ const renderContent = str => {
.tag-box { .tag-box {
margin-top: 16px; margin-top: 16px;
width: 908px; width: 908px;
height: 32px; min-height: 32px;
max-height: 64px;
display: flex; display: flex;
flex-wrap: wrap;
gap: 12px; gap: 12px;
margin-left: 256px; margin-left: 256px;
.tag { .tag {
...@@ -526,10 +583,16 @@ const renderContent = str => { ...@@ -526,10 +583,16 @@ const renderContent = str => {
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
cursor: pointer;
}
.tagActive {
color: var(--color-main-active);
border: 1px solid var(--color-main-active);
background: rgba(231, 243, 255, 1);
} }
} }
.info-box { .info-box {
margin-top: 16px; margin-top: 26px;
margin-left: 257px; margin-left: 257px;
width: 920px; width: 920px;
height: 32px; height: 32px;
...@@ -567,7 +630,7 @@ const renderContent = str => { ...@@ -567,7 +630,7 @@ const renderContent = str => {
width: 960px; width: 960px;
height: 260px; height: 260px;
margin-left: 240px; margin-left: 240px;
margin-top: 36px; margin-top: 26px;
box-sizing: border-box; box-sizing: border-box;
border: 1px solid rgba(231, 243, 255, 1); border: 1px solid rgba(231, 243, 255, 1);
border-radius: 10px; border-radius: 10px;
...@@ -603,14 +666,16 @@ const renderContent = str => { ...@@ -603,14 +666,16 @@ const renderContent = str => {
margin-left: 264px; margin-left: 264px;
.item { .item {
width: 913px; width: 913px;
height: 132px; min-height: 108px;
max-height: 132px;
padding-bottom: 24px;
margin-bottom: 16px; margin-bottom: 16px;
border-bottom: 1px solid rgba(234, 236, 238, 1); border-bottom: 1px solid rgba(234, 236, 238, 1);
display: flex; display: flex;
.item-left { .item-left {
width: 170px; width: 170px;
height: 115px; height: 115px;
img{ img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
...@@ -633,7 +698,8 @@ const renderContent = str => { ...@@ -633,7 +698,8 @@ const renderContent = str => {
} }
.content { .content {
margin-top: 10px; margin-top: 10px;
height: 48px; min-height: 24px;
max-height: 48px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-size: 16px; font-size: 16px;
color: rgba(59, 65, 75, 1); color: rgba(59, 65, 75, 1);
...@@ -643,14 +709,15 @@ const renderContent = str => { ...@@ -643,14 +709,15 @@ const renderContent = str => {
text-align: left; text-align: left;
} }
.item-right-footer { .item-right-footer {
margin-top: 10px;
display: flex; display: flex;
.time { .time {
height: 22px; height: 24px;
color: rgba(132, 136, 142, 1); color: rgba(132, 136, 142, 1);
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 22px; line-height: 24px;
letter-spacing: 0px; letter-spacing: 0px;
text-align: left; text-align: left;
} }
...@@ -691,4 +758,15 @@ const renderContent = str => { ...@@ -691,4 +758,15 @@ const renderContent = str => {
justify-content: center; justify-content: center;
} }
} }
:deep(.el-input__inner) {
color: rgba(59, 65, 75, 1);
font-family: Microsoft YaHei;
font-style: Regular;
font-size: 16px;
font-weight: 400;
line-height: 24px;
letter-spacing: 0px;
text-align: left;
}
</style> </style>
\ No newline at end of file
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,7 @@
v-for="cate in govInsList" v-for="cate in govInsList"
:key="cate.id" :key="cate.id"
v-model="checkedGovIns" v-model="checkedGovIns"
:label="cate.name" :label="cate.id"
style="width: 180px" style="width: 180px"
class="filter-checkbox" class="filter-checkbox"
@change="handleChangeCheckedGovIns" @change="handleChangeCheckedGovIns"
...@@ -640,7 +640,7 @@ const govInsList = ref([ ...@@ -640,7 +640,7 @@ const govInsList = ref([
// name: "美国财政部" // name: "美国财政部"
// }, // },
]); ]);
const checkedGovIns = ref(["白宫"]); const checkedGovIns = ref([]);
const handleChangeCheckedGovIns = val => {}; const handleChangeCheckedGovIns = val => {};
...@@ -1206,14 +1206,14 @@ const handleGetDecreeOrderList = async () => { ...@@ -1206,14 +1206,14 @@ const handleGetDecreeOrderList = async () => {
}; };
try { try {
const res = await getDecreeOrderList(params); const res = await getDecreeOrderList(params);
console.log("资源库列表", res.data.content); console.log("资源库列表", res);
if (res.code === 200 && res.data) { if (res.code === 200 && res.data) {
totalDecreesNum.value = res.data.totalElements; totalDecreesNum.value = res.data.totalElements;
decreeList.value = res.data.content.map(item => { decreeList.value = res.data.content.map(item => {
return { return {
id: item.id, id: item.id,
time: item.postDate, time: item.postDate,
title: item.name, title: item.proposeOrgName+ ': '+ item.name,
desc: item.describe, desc: item.describe,
img: item.orgImage, img: item.orgImage,
tagList: item.industryList tagList: item.industryList
...@@ -2724,7 +2724,7 @@ onMounted(async () => { ...@@ -2724,7 +2724,7 @@ onMounted(async () => {
.box7 { .box7 {
width: 792px; width: 792px;
height: 450px; height: 450px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box7-header { .box7-header {
...@@ -2829,7 +2829,7 @@ onMounted(async () => { ...@@ -2829,7 +2829,7 @@ onMounted(async () => {
margin-left: 16px; margin-left: 16px;
width: 792px; width: 792px;
height: 450px; height: 450px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box8-header { .box8-header {
...@@ -2873,7 +2873,7 @@ onMounted(async () => { ...@@ -2873,7 +2873,7 @@ onMounted(async () => {
.divide4 { .divide4 {
margin: 0 auto; margin: 0 auto;
margin-top: 52px; margin-top: 52px;
margin-bottom: 36px; margin-bottom: 6px;
} }
.home-main-footer-header { .home-main-footer-header {
width: 1600px; width: 1600px;
......
...@@ -324,7 +324,7 @@ onMounted(() => { ...@@ -324,7 +324,7 @@ onMounted(() => {
margin: 16px auto; margin: 16px auto;
width: 1600px; width: 1600px;
height: 898px; height: 898px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box1-main { .box1-main {
......
...@@ -496,7 +496,7 @@ onMounted(() => { ...@@ -496,7 +496,7 @@ onMounted(() => {
.box1 { .box1 {
width: 480px; width: 480px;
height: 845px; height: 845px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box1-top { .box1-top {
...@@ -618,7 +618,7 @@ onMounted(() => { ...@@ -618,7 +618,7 @@ onMounted(() => {
width: 1105px; width: 1105px;
height: 847px; height: 847px;
background: rgba(255, 255, 255); background: rgba(255, 255, 255);
border-radius: 4px; border-radius: 10px;
position: relative; position: relative;
.box2-main { .box2-main {
height: 799px; height: 799px;
......
...@@ -479,7 +479,7 @@ onMounted(() => { ...@@ -479,7 +479,7 @@ onMounted(() => {
margin-top: 16px; margin-top: 16px;
width: 520px; width: 520px;
height: 845px; height: 845px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box3-main { .box3-main {
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<div class="item"> <div class="item">
<div class="item-left">{{ "执行期限:" }}</div> <div class="item-left">{{ "执行期限:" }}</div>
<div class="item-right text"> <div class="item-right text">
{{ basicInfo.deadline }} {{ basicInfo.deadline+ ' 天' }}
</div> </div>
</div> </div>
</div> </div>
...@@ -421,14 +421,16 @@ onMounted(() => { ...@@ -421,14 +421,16 @@ onMounted(() => {
position: absolute; position: absolute;
z-index: 9999; z-index: 9999;
width: 320px; width: 320px;
height: 56px; height: 64px;
top: 14px; top: 14px;
right: 84px; right: 84px;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
flex-wrap: wrap; flex-wrap: wrap;
gap: 8px; gap: 5px 8px;
white-space: nowrap; white-space: nowrap;
overflow:hidden;
overflow-y: auto;
.btn { .btn {
min-width: min-content; min-width: min-content;
height: 28px; height: 28px;
...@@ -473,7 +475,7 @@ onMounted(() => { ...@@ -473,7 +475,7 @@ onMounted(() => {
margin-top: 16px; margin-top: 16px;
width: 1064px; width: 1064px;
height: 414px; height: 414px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box1-main { .box1-main {
...@@ -536,7 +538,7 @@ onMounted(() => { ...@@ -536,7 +538,7 @@ onMounted(() => {
margin-top: 16px; margin-top: 16px;
width: 1064px; width: 1064px;
height: 415px; height: 415px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box2-main { .box2-main {
...@@ -613,7 +615,7 @@ onMounted(() => { ...@@ -613,7 +615,7 @@ onMounted(() => {
margin-top: 16px; margin-top: 16px;
width: 520px; width: 520px;
height: 845px; height: 845px;
border-radius: 4px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2); box-shadow: 0px 0px 15px 0px rgba(60, 87, 126, 0.2);
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
.box3-top { .box3-top {
......
...@@ -1056,8 +1056,8 @@ const handleToEntityListNoId = item => { ...@@ -1056,8 +1056,8 @@ const handleToEntityListNoId = item => {
}); });
// 打开一个新页面 // 打开一个新页面
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
}else { } else {
return return;
} }
}; };
...@@ -2148,23 +2148,13 @@ const handleMediaClick = item => { ...@@ -2148,23 +2148,13 @@ const handleMediaClick = item => {
background: url("./assets/images/background.png"); background: url("./assets/images/background.png");
background-size: 100% 100%; background-size: 100% 100%;
.home-main-header { .home-main-header {
margin-top: 43px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin-bottom: 20px; margin-bottom: 20px;
.home-main-header-top {
height: 30px;
color: rgba(95, 101, 108, 1);
font-family: Microsoft YaHei;
font-size: 16px;
font-weight: 400;
line-height: 30px;
margin-top: 43px;
}
.home-main-header-center { .home-main-header-center {
margin-top: 20px; margin-top: 51px;
width: 800px; width: 960px;
height: 48px; height: 48px;
border-radius: 10px; border-radius: 10px;
box-shadow: 0px 0px 15px 0px rgba(22, 119, 255, 0.1); box-shadow: 0px 0px 15px 0px rgba(22, 119, 255, 0.1);
...@@ -2208,7 +2198,7 @@ const handleMediaClick = item => { ...@@ -2208,7 +2198,7 @@ const handleMediaClick = item => {
} }
} }
.home-main-header-footer { .home-main-header-footer {
margin-top: 38px; margin-top: 64px;
width: 700px; width: 700px;
height: 64px; height: 64px;
box-sizing: border-box; box-sizing: border-box;
...@@ -2245,6 +2235,9 @@ const handleMediaClick = item => { ...@@ -2245,6 +2235,9 @@ const handleMediaClick = item => {
gap: 16px; gap: 16px;
padding: 30px 0; padding: 30px 0;
} }
.home-main-header-footer-info{
margin-top: 34px;
}
.home-main-header-btn-box { .home-main-header-btn-box {
width: 688px; width: 688px;
margin: 0 auto; margin: 0 auto;
......
...@@ -61,6 +61,11 @@ export default defineConfig({ ...@@ -61,6 +61,11 @@ export default defineConfig({
target: 'http://8.140.26.4:10021/', target: 'http://8.140.26.4:10021/',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/checklistChat/, '') rewrite: (path) => path.replace(/^\/checklistChat/, '')
},
'/temporarySearch': {
target: 'http://106.12.150.59:18826/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/temporarySearch/, '')
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论