Commit 8e9e4105 authored by “yiyousong”'s avatar “yiyousong”

fix:修改页面

parent 481f7b9b
<template> <template>
<div> <div>
<el-drawer size="70%" :visible.sync="drawer" direction="rtl"> <el-drawer size="70%" :visible.sync="drawer" direction="rtl">
<div slot="title" class="title flex aic"> <div slot="title" class="title flex">
<span <span
>材料列表(共{{ >材料列表(共{{
matterInfo.matterDatumList ? matterInfo.matterDatumList.length : 0 matterInfo.matterDatumList ? matterInfo.matterDatumList.length : 0
}}个)</span }}个)</span
> >
<span class="matter-name" <span class="matter-name flex1 flexwrap"
>事项名称:<span v-html="matterInfo.matterName"></span >事项名称:<span v-html="matterInfo.matterName"></span>
></span> </span>
</div> </div>
<!-- 列表 --> <!-- 列表 -->
<div <div
...@@ -110,14 +110,14 @@ export default { ...@@ -110,14 +110,14 @@ export default {
color: #333333; color: #333333;
.matter-name { .matter-name {
display: inline-block; display: inline-block;
width: 1000px; // width: 1000px;
font-size: 20px; font-size: 20px;
font-family: Source Han Sans CN; font-family: Source Han Sans CN;
font-weight: 400; line-height: 34px;
color: #777777; color: #777777;
overflow: hidden; // overflow: hidden;
text-overflow: ellipsis; // text-overflow: ellipsis;
white-space: nowrap; // white-space: nowrap;
} }
} }
.matterDatumList-list { .matterDatumList-list {
...@@ -125,6 +125,19 @@ export default { ...@@ -125,6 +125,19 @@ export default {
height: 100%; height: 100%;
align-content: flex-start; align-content: flex-start;
overflow-y: auto; overflow-y: auto;
&::-webkit-scrollbar {
width: 12px;
overflow-y: auto;
}
&::-webkit-scrollbar-thumb {
border-radius: 6px;
background-color: rgba(144, 147, 153, 0.5);
}
&::-webkit-scrollbar-track {
border-radius: 6px;
background: #fff;
}
.list { .list {
content: ""; content: "";
width: 19%; width: 19%;
......
...@@ -39,7 +39,9 @@ ...@@ -39,7 +39,9 @@
<i class="iconfont icon-dot"></i> <i class="iconfont icon-dot"></i>
<span <span
class="material-name" class="material-name"
:class="{ isMore: index === 2 && v.matterDatumList.length > 3 }" :class="{
isMore: index === 2 && matter.matterDatumList.length > 3,
}"
> >
{{ item.materiaFullName }} {{ item.materiaFullName }}
</span> </span>
...@@ -140,6 +142,7 @@ export default { ...@@ -140,6 +142,7 @@ export default {
this.matterList = data; this.matterList = data;
this.matterTotal = total; this.matterTotal = total;
this.matterDatumTotal = matterDatumTotal; this.matterDatumTotal = matterDatumTotal;
console.log(data);
}, },
// 搜索 // 搜索
handleSearch() { handleSearch() {
......
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
active: 0, active: 0,
scale: 100, scale: 100,
showSidebar: false, // 切换侧边弹窗显示 showSidebar: false, // 切换侧边弹窗显示
width: 600, width: 800,
}; };
}, },
created() { created() {
...@@ -185,6 +185,19 @@ export default { ...@@ -185,6 +185,19 @@ export default {
width: 100%; width: 100%;
position: relative; position: relative;
overflow: auto; overflow: auto;
&::-webkit-scrollbar {
width: 12px;
overflow-y: auto;
}
&::-webkit-scrollbar-thumb {
border-radius: 6px;
background-color: rgba(144, 147, 153, 0.5);
}
&::-webkit-scrollbar-track {
border-radius: 6px;
background: #fff;
}
.sidebar-box { .sidebar-box {
width: 360px; width: 360px;
min-height: 340px; min-height: 340px;
......
...@@ -57,6 +57,19 @@ export default { ...@@ -57,6 +57,19 @@ export default {
height: calc(100vh - 110px); height: calc(100vh - 110px);
padding: 15px 0px; padding: 15px 0px;
overflow-y: auto; overflow-y: auto;
&::-webkit-scrollbar {
width: 6px;
overflow-y: auto;
}
&::-webkit-scrollbar-thumb {
border-radius: 6px;
background-color: rgba(144, 147, 153, 0.5);
}
&::-webkit-scrollbar-track {
border-radius: 6px;
background: #fff;
}
} }
.dept-item { .dept-item {
text-align: center; text-align: center;
......
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