mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
优化
This commit is contained in:
parent
48794d4e21
commit
e947a13b94
@ -52,7 +52,7 @@ const list = computed(() => {
|
||||
});
|
||||
|
||||
// 最后一个节点名称
|
||||
const lastName = computed(() => _.last(list.value).name);
|
||||
const lastName = computed(() => _.last(list.value)?.name);
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
|
||||
<div class="hot-search__container">
|
||||
<el-row class="hot-search__chart" :gutter="100">
|
||||
<el-row class="hot-search__chart" :gutter="20">
|
||||
<el-col :md="12" :xs="24">
|
||||
<div class="block">
|
||||
<div class="count">
|
||||
@ -24,15 +24,15 @@
|
||||
</el-col>
|
||||
|
||||
<el-col :md="12" :xs="24">
|
||||
<div class="block">
|
||||
<div class="block is-last">
|
||||
<div class="count">
|
||||
<div class="number">
|
||||
<span>搜索用户数</span>
|
||||
<span>1242</span>
|
||||
<span>关注用户数</span>
|
||||
<span>365</span>
|
||||
</div>
|
||||
<div class="rise">
|
||||
<i class="el-icon-top-right"></i>
|
||||
<span>+7%</span>
|
||||
<span>+2%</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -55,24 +55,24 @@
|
||||
:columns="[
|
||||
{
|
||||
label: '排名',
|
||||
prop: 'index',
|
||||
type: 'index',
|
||||
width: 60
|
||||
},
|
||||
{
|
||||
label: '搜索关键词',
|
||||
prop: 'keyWord',
|
||||
'min-width': 100
|
||||
minWidth: 100
|
||||
},
|
||||
{
|
||||
label: '用户数',
|
||||
prop: 'users',
|
||||
'min-width': 100
|
||||
minWidth: 100
|
||||
},
|
||||
{
|
||||
label: '周涨幅',
|
||||
prop: 'ud',
|
||||
sortable: 'custom',
|
||||
'min-width': 100
|
||||
minWidth: 100
|
||||
}
|
||||
]"
|
||||
/>
|
||||
|
@ -107,6 +107,7 @@ function changeDate(value: string) {
|
||||
&__filter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 40px;
|
||||
|
||||
ul {
|
||||
@ -114,6 +115,7 @@ function changeDate(value: string) {
|
||||
align-items: center;
|
||||
margin-right: 20px;
|
||||
flex: 1;
|
||||
max-width: 220px;
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
@ -133,6 +135,10 @@ function changeDate(value: string) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.el-date-editor) {
|
||||
width: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
&__list {
|
||||
|
Loading…
Reference in New Issue
Block a user