Commit 1fd5fa13 by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 90889caa e3a81e46
...@@ -6,19 +6,19 @@ ...@@ -6,19 +6,19 @@
</template> </template>
<div class="notice-container"> <div class="notice-container">
<el-scrollbar style="height: 100%;padding-right: 10px;"> <el-scrollbar style="height: 100%">
<div class="notice-item" v-for="(item, idx) in testData" :key="idx"> <div style="padding-right: 10px">
<div class="notice-title" :class="{ active: idx === 0 }"> <div class="notice-item" v-for="(item, idx) in testData" :key="idx">
<a :href="item.url" target="_blank" rel="noopener noreferrer"> <div class="notice-title" :class="{ active: idx === 0 }">
<!-- <router-link :to="'/Display/'+item.tid"> --> <a :href="item.url" target="_blank" rel="noopener noreferrer">
<!-- <router-link :to="'/Display/'+item.tid"> -->
{{ item.title }}
{{ item.title }} <!-- </router-link> -->
<!-- </router-link> --> </a>
</a> </div>
</div> <div class="notice-date">
<div class="notice-date"> {{ item.date }}
{{ item.date }} </div>
</div> </div>
</div> </div>
</el-scrollbar> </el-scrollbar>
...@@ -31,7 +31,7 @@ import CellWrapper from "../common/CellWrapper.vue"; ...@@ -31,7 +31,7 @@ import CellWrapper from "../common/CellWrapper.vue";
export default { export default {
name: "NoticeAnnouncement", name: "NoticeAnnouncement",
props: ['cellContentHeight'], props: ["cellContentHeight"],
components: { CellWrapper }, components: { CellWrapper },
data() { data() {
return { return {
...@@ -130,10 +130,9 @@ export default { ...@@ -130,10 +130,9 @@ export default {
// 查询加载数据 // 查询加载数据
this.noticeList = this.testData; this.noticeList = this.testData;
}, },
opening(){ opening() {
window.location.href="#/business/notice" window.location.href = "#/business/notice";
},
}
}, },
}; };
</script> </script>
...@@ -155,7 +154,7 @@ export default { ...@@ -155,7 +154,7 @@ export default {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
max-width: 75%; flex: 1;
} }
.notice-item .notice-title a { .notice-item .notice-title a {
color: #4e4e4e; color: #4e4e4e;
......
...@@ -27,12 +27,17 @@ export default { ...@@ -27,12 +27,17 @@ export default {
} }
.cell-header_title::before { .cell-header_title::before {
content: ""; content: "";
border-left: 5px solid #647092; border-left: 5px solid var(--themecolor);
margin-right: 10px; margin-right: 10px;
border-radius: 2.5px;
} }
.cell-header [class^="el-icon-"] { .cell-header [class^="el-icon-"] {
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
color: var(--themecolor);
/* color: #95979b; */
}
.cell-header .el-icon-more {
color: #95979b; color: #95979b;
} }
.cell-header [class^="el-icon-"]:hover { .cell-header [class^="el-icon-"]:hover {
......
<template> <template>
<el-scrollbar style="height: 100%"> <el-scrollbar style="height: 100%">
<router-link <div style="padding: 15px;">
v-for="(item, index) in quickVisitItem" <router-link
:key="index" v-for="(item, index) in quickVisitItem"
:to="item.path" :key="index"
> :to="item.path"
<div
class="content-wrapper"
:style="{ height: Math.floor(cellContentHeight * 0.33) + 'px' }"
> >
<div class="visit-item-wrapper"> <div
<div class="visit-item"> class="content-wrapper"
<img :src="item.icon" alt="" /> :style="{ height: Math.floor((cellContentHeight - 30) * 0.33) + 'px' }"
<span>{{ item.name }}</span> >
<div class="visit-item-wrapper">
<div class="visit-item">
<img :src="item.icon" alt="" />
<span>{{ item.name }}</span>
</div>
</div> </div>
</div> </div>
</div> </router-link>
</router-link> </div>
<el-dialog <el-dialog
:visible="visible" :visible="visible"
title="设置" title="设置"
...@@ -177,7 +178,7 @@ export default { ...@@ -177,7 +178,7 @@ export default {
} }
.visit-item span { .visit-item span {
color: #303133; color: #303133;
font-size: 14px; font-size: 12px;
margin-top: 10px; margin-top: 10px;
} }
.visit-item:hover span { .visit-item:hover span {
......
<template> <template>
<div class="self-header"> <div class="self-header">
<div style="display: inline-block; margin: 5px 15px 5px 0; height: 50px"> <div style="display: inline-block; height: 40px">
<img src="../../assets/logo.png" alt="" style="height: 100%" /> <img src="../../assets/logo.png" alt="" style="height: 100%" />
</div> </div>
<div class="self_header_label"> <div class="self_header_label">
<h2 style="font-size: 30px">国际结算系统</h2> <h2>国际结算系统</h2>
<h2 style="margin-left: 15px;">International Settlement System</h2>
</div> </div>
<div class="header-tool"> <div class="header-tool">
<div class="header-subInstName"> <div class="header-subInstName">
...@@ -390,50 +391,46 @@ export default { ...@@ -390,50 +391,46 @@ export default {
</script> </script>
<style> <style>
.self-header {
height: 100%;
/* background-color: #eeeeee; */
/* margin-bottom: 5px; */
background-image: url("../../assets/head_bg.png");
}
.self-header h2 {
margin: 0;
padding: 0;
}
.header-subInstName { .header-subInstName {
display: inline-block; display: inline-block;
margin-right: 12px; margin-right: 12px;
text-align: right; text-align: right;
color: #fff;
font-size: 12px; font-size: 12px;
padding: 0px 15px 0px 0px; padding: 0px 15px 0px 0px;
border-right: 1px solid antiquewhite; border-right: 1px solid #707070;
} }
.self-header { .self-header {
height: 100%; height: 100%;
/* background-color: #eeeeee; */ /* background-color: #eeeeee; */
/* margin-bottom: 5px; */ /* margin-bottom: 5px; */
background-image: url("../../assets/head_bg.png"); /* background-image: url("../../assets/head_bg.png"); */
position: relative; /* position: relative; */
padding: 0px 0px 0px 12px; padding: 0px 0px 0px 30px;
background-size: cover; /* background-size: cover; */
background-image: linear-gradient(#ededed, #dbebfc);
border-bottom: solid 5px #2346dd;
box-sizing: border-box;
display: flex;
align-items: center;
} }
.self-header h2 { .self-header h2 {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 22px;
display: inline; display: inline;
font-weight: unset;
font-size: 22px;
} }
.self_header_label { .self_header_label {
/* color: antiquewhite; */ /* color: antiquewhite; */
color: #fff; color: #1b54b8;
/* margin-top: 10px !important; */ /* margin-top: 10px !important; */
position: relative; /* position: relative; */
top: 12.778px; /* top: 12.778px; */
/* left: 10px; */ /* left: 10px; */
padding: 0px 15px; padding: 0px 15px;
margin-left: 15px;
display: inline-table; display: inline-table;
vertical-align: top; vertical-align: top;
font-family: "黑体"; font-family: "黑体";
...@@ -441,6 +438,7 @@ export default { ...@@ -441,6 +438,7 @@ export default {
border-left: 1px solid #fff; border-left: 1px solid #fff;
/* ui美化 */ /* ui美化 */
font-size: 30px; font-size: 30px;
border-image: radial-gradient(#2244d4,transparent) 1 20;
} }
.self_header_label p { .self_header_label p {
font-family: "Times New Roman", Times, serif; font-family: "Times New Roman", Times, serif;
...@@ -452,12 +450,14 @@ export default { ...@@ -452,12 +450,14 @@ export default {
display: inline; display: inline;
} }
.header-tool { .header-tool {
position: absolute; /* position: absolute; */
text-align: right; text-align: right;
right: 35px; /* right: 35px; */
top: 22px; /* top: 22px; */
color: #fff; color: #707070;
font-size: 14px; font-size: 14px;
margin-right: 35px;
flex: 1;
} }
.header-tool-item { .header-tool-item {
display: inline-block; display: inline-block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment