Commit ae8b3dda authored by “yiyousong”'s avatar “yiyousong”

pref:修改页面样式

parent fdb92551
...@@ -393,3 +393,23 @@ ...@@ -393,3 +393,23 @@
.el-drawer__body{ .el-drawer__body{
border-top:1px solid #ececec; border-top:1px solid #ececec;
} }
.el-button--primary{
background: linear-gradient(90deg, #5ab6ff, #2e9aff) !important;
border: none !important;
border-color: transparent !important;
}
.el-dialog__header{
.el-dialog__title{
color: #1890FF !important;
font-size: 18px;
font-weight: bold;
}
.el-dialog__close{
color: #188fff !important;
font-size: 26px;
font-weight: bold;
}
}
.el-pagination__jump{
margin-left: 0px !important;
}
\ No newline at end of file
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
v-loading="loading" v-loading="loading"
border border
:data="tableData" :data="tableData"
size="small"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
max-height="676px" max-height="676px"
...@@ -156,7 +155,7 @@ ...@@ -156,7 +155,7 @@
<div class="pagination" v-if="total"> <div class="pagination" v-if="total">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="total" :total="total"
:current-page="current" :current-page="current"
......
...@@ -19,9 +19,11 @@ ...@@ -19,9 +19,11 @@
:key="v.id" :key="v.id"
> >
<div class="flex aic jcb"> <div class="flex aic jcb">
<p class="matter-item-title"> <el-tooltip :content="v.matterName" placement="top">
{{ v.matterName }} <p class="matter-item-title">
</p> {{ v.matterName }}
</p>
</el-tooltip>
<i class="el-icon-delete delete" @click="handleDel(v.id)"></i> <i class="el-icon-delete delete" @click="handleDel(v.id)"></i>
</div> </div>
<div class="matter-item-count"> <div class="matter-item-count">
...@@ -73,9 +75,9 @@ ...@@ -73,9 +75,9 @@
@keyup.native.enter="handleSearch" @keyup.native.enter="handleSearch"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearch" <el-button size="small" type="primary" @click="handleSearch"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
...@@ -147,7 +149,7 @@ ...@@ -147,7 +149,7 @@
<div class="pagination" v-if="total"> <div class="pagination" v-if="total">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="total" :total="total"
:current-page="current" :current-page="current"
...@@ -385,6 +387,7 @@ export default { ...@@ -385,6 +387,7 @@ export default {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
cursor: default;
} }
.matter-item-count { .matter-item-count {
margin-top: 4px; margin-top: 4px;
......
...@@ -57,9 +57,9 @@ ...@@ -57,9 +57,9 @@
</el-button> </el-button>
</div> </div>
<div class="mt50"> <div class="mt50">
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset"> </el-button>
<el-button size="small" type="primary" @click="handleOk" <el-button size="small" type="primary" @click="handleOk"
>确定 >
</el-button> </el-button>
</div> </div>
</el-card> </el-card>
...@@ -116,6 +116,7 @@ export default { ...@@ -116,6 +116,7 @@ export default {
showInput() { showInput() {
if (this.baseSetInfo.hotwords.length >= 10) { if (this.baseSetInfo.hotwords.length >= 10) {
this.$message.warning("最多添加10个热门词汇!");
return; return;
} }
this.inputVisible = true; this.inputVisible = true;
......
...@@ -43,9 +43,9 @@ ...@@ -43,9 +43,9 @@
@keyup.native.enter="handleSearch" @keyup.native.enter="handleSearch"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearch" <el-button size="small" type="primary" @click="handleSearch"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<div class="pagination" v-if="total"> <div class="pagination" v-if="total">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="total" :total="total"
:current-page="current" :current-page="current"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<TableHeader> <TableHeader>
<div slot="left"> <div slot="left">
<el-button size="small" @click="setCurrent">{{ <el-button size="small" type="primary" @click="setCurrent">{{
activeDep.id ? "取消选择" : "全部材料" activeDep.id ? "取消选择" : "全部材料"
}}</el-button> }}</el-button>
</div> </div>
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
@keyup.native.enter="handleSearchLeft" @keyup.native.enter="handleSearchLeft"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearchLeft" <el-button size="small" type="primary" @click="handleSearchLeft"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="leftReset">重置</el-button> <el-button size="small" @click="leftReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
v-loading="loadingLeft" v-loading="loadingLeft"
:data="LeftTableData" :data="LeftTableData"
size="small" size="small"
border
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
max-height="676px" max-height="676px"
...@@ -103,7 +104,7 @@ ...@@ -103,7 +104,7 @@
<div class="pagination" v-if="leftTotal"> <div class="pagination" v-if="leftTotal">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="leftTotal" :total="leftTotal"
:current-page="leftCurrent" :current-page="leftCurrent"
...@@ -165,9 +166,9 @@ ...@@ -165,9 +166,9 @@
@keyup.native.enter="handleSearchRight" @keyup.native.enter="handleSearchRight"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearchRight" <el-button size="small" type="primary" @click="handleSearchRight"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="rightReset">重置</el-button> <el-button size="small" @click="rightReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
...@@ -212,7 +213,7 @@ ...@@ -212,7 +213,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="total" prop="total"
label="填写次数" label="查看次数"
align="center" align="center"
width="80" width="80"
> >
...@@ -255,7 +256,7 @@ ...@@ -255,7 +256,7 @@
<div class="pagination" v-if="rightTotal"> <div class="pagination" v-if="rightTotal">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="rightTotal" :total="rightTotal"
:current-page="rightCurrent" :current-page="rightCurrent"
......
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
@keyup.native.enter="handleSarch" @keyup.native.enter="handleSarch"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSarch" <el-button size="small" type="primary" @click="handleSarch"
>搜索 >
</el-button> </el-button>
<el-button size="small" @click="resetSearch">重置</el-button> <el-button size="small" @click="resetSearch"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<el-table <el-table
......
...@@ -112,20 +112,20 @@ export default { ...@@ -112,20 +112,20 @@ export default {
height: 100%; height: 100%;
background-color: #e8e8e8; background-color: #e8e8e8;
overflow-y: auto; overflow-y: auto;
&::-webkit-scrollbar { // &::-webkit-scrollbar {
width: 10px; // width: 10px;
overflow-y: auto; // overflow-y: auto;
} // }
&::-webkit-scrollbar-thumb { // &::-webkit-scrollbar-thumb {
border-radius: 6px; // border-radius: 6px;
background-color: rgba(144, 147, 153, 0.5); // background-color: rgba(144, 147, 153, 0.5);
} // }
&::-webkit-scrollbar-track { // &::-webkit-scrollbar-track {
border-radius: 6px; // border-radius: 6px;
background: #fff; // background: #fff;
} // }
.left-header { .left-header {
height: 80px; height: 80px;
......
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
placeholder="请输入事项全称搜索" placeholder="请输入事项全称搜索"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="searchLeft" <el-button size="small" type="primary" @click="searchLeft"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="leftReset">重置</el-button> <el-button size="small" @click="leftReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
<div class="pagination" v-if="leftTotal"> <div class="pagination" v-if="leftTotal">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="leftTotal" :total="leftTotal"
:current-page="leftCurrent" :current-page="leftCurrent"
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<!-- 内容 --> <!-- 内容 -->
<TableHeader> <TableHeader>
<div slot="left"> <div slot="left">
<el-button size="small" type="success" @click="handleAllJoin" <el-button size="small" type="primary" @click="handleAllJoin"
>批量加入</el-button >批量加入</el-button
> >
</div> </div>
...@@ -200,9 +200,9 @@ ...@@ -200,9 +200,9 @@
@keyup.native.enter="handleSearchRight" @keyup.native.enter="handleSearchRight"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearchRight" <el-button size="small" type="primary" @click="handleSearchRight"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="rightReset">重置</el-button> <el-button size="small" @click="rightReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
<div class="pagination" v-if="rightTotal"> <div class="pagination" v-if="rightTotal">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="rightTotal" :total="rightTotal"
:current-page="rightCurrent" :current-page="rightCurrent"
......
...@@ -19,16 +19,15 @@ ...@@ -19,16 +19,15 @@
@keyup.native.enter="handleSearch" @keyup.native.enter="handleSearch"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearch" <el-button size="small" type="primary" @click="handleSearch"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
<div class="table-content"> <div class="table-content">
<el-table <el-table
ref="multipleTable" ref="multipleTable"
size="small"
v-loading="loading" v-loading="loading"
:data="tableData" :data="tableData"
border border
...@@ -93,7 +92,7 @@ ...@@ -93,7 +92,7 @@
<div class="pagination" v-if="total"> <div class="pagination" v-if="total">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="total" :total="total"
:current-page="current" :current-page="current"
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
@keyup.native.enter="handleSearch" @keyup.native.enter="handleSearch"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearch" <el-button size="small" type="primary" @click="handleSearch"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<div class="pagination" v-if="total"> <div class="pagination" v-if="total">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="total" :total="total"
:current-page="current" :current-page="current"
......
...@@ -19,16 +19,15 @@ ...@@ -19,16 +19,15 @@
@keyup.native.enter="handleSearch" @keyup.native.enter="handleSearch"
></el-input> ></el-input>
<el-button size="small" type="primary" @click="handleSearch" <el-button size="small" type="primary" @click="handleSearch"
>搜索</el-button > </el-button
> >
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset"> </el-button>
</div> </div>
</TableHeader> </TableHeader>
<!-- 表格 --> <!-- 表格 -->
<div class="table-content"> <div class="table-content">
<el-table <el-table
ref="multipleTable" ref="multipleTable"
size="small"
v-loading="loading" v-loading="loading"
:data="tableData" :data="tableData"
border border
...@@ -103,7 +102,7 @@ ...@@ -103,7 +102,7 @@
<div class="pagination" v-if="total"> <div class="pagination" v-if="total">
<el-pagination <el-pagination
background background
layout="total,sizes,prev,pager,next,jumper" layout="total,prev,pager,next,sizes,jumper"
:pager-count="5" :pager-count="5"
:total="total" :total="total"
:current-page="current" :current-page="current"
......
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