提交 a3bd46b6 authored 作者: quanlili's avatar quanlili

修改我的提交

上级 38e33e63
......@@ -575,6 +575,7 @@ p.divider {
}
}
}
// 修改资源状态按钮
.status_btn{
display: inline-block;
line-height: 1;
......@@ -596,9 +597,11 @@ p.divider {
border-radius: 3px;
margin-left: 10px;
}
.status_btn.statusActive{
background-color: #00B5B8 !important;
border-color: #00B5B8 !important;
color: #fff !important;
}
.totalCount{
white-space: nowrap;
}
\ No newline at end of file
......@@ -11,6 +11,9 @@
<span @click="formationSort" class="btn" :class="[formation?'active':'']">形成时间<i :class="[formation=='desc'?'icon-projectjiantouxia':'icon-projectjiantoushang']"></i></span>
<span @click="sizeSort" class="btn" :class="[size?'active':'']">资源大小<i :class="[size=='desc'?'icon-projectjiantouxia':'icon-projectjiantoushang']"></i></span>
<span @click="createTimeSort" class="btn" :class="[createTime?'active':'']">提交时间<i :class="[createTime=='desc'?'icon-projectjiantouxia':'icon-projectjiantoushang']"></i></span>
<span class="status_btn" :class="[searchForm.status==item.value?'statusActive':'']" v-for="item in optionsStatus" :key="item.value" @click="changeStatus(item)">
{{item.label}}
</span>
</div>
<div class="screeningConditionsRight">
<!-- <label for="">检索:</label> -->
......@@ -23,15 +26,15 @@
:value="item.value">
</el-option>
</el-select>
<el-select v-model="searchForm.status" placeholder="请选择" @change="changeResourceStatus" style="width:160px">
<!-- <el-select v-model="searchForm.status" placeholder="请选择" @change="changeResourceStatus" style="width:160px">
<el-option
v-for="item in optionsStatus"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<span>共找到{{totalCount}}条数据</span>
</el-select> -->
<span class="totalCount">共找到{{totalCount}}条数据</span>
</div>
</div>
<div class="list_wrap clearfix">
......@@ -115,9 +118,6 @@ export default {
label: '三维文件'
}],
optionsStatus: [{
value: '',
label: '全部'
},{
value: '0',
label: '待录入',
}, {
......@@ -266,6 +266,11 @@ export default {
this.getList();
this.searchUserVisible=false;
},
changeStatus(item){
let {value }=item;
this.searchForm.status=value;
this.getList();
},
changeResourceType(){//根据资源类型搜索
this.getList();
},
......@@ -349,14 +354,15 @@ export default {
}
.screeningConditions {
width:100%;
height:50px;
line-height:50px;
color:#62738D;
font-size:14px;
background:#F9FAFC;
border-bottom:1px solid #DCE1E9;
min-height: 50px;
line-height: 50px;
display: flex;
justify-content: space-between;
.screeningConditionsLeft {
float:left;
padding-left: 26px;
.iconfont{
font-size: 14px;
......@@ -401,7 +407,6 @@ export default {
}
}
.screeningConditionsRight {
float:right;
margin-right:26px;
label {
font-weight:400;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论