Skip to content

Commit

Permalink
add:ui
Browse files Browse the repository at this point in the history
  • Loading branch information
xyctruth committed Dec 24, 2021
1 parent 06a9636 commit aa01505
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions ui/src/view/index/components/selectProject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:multiple="true"
:collapse-tags="true"
placeholder="选择服务"
clearable="true"
filterable>
<el-option
v-for="(item,index) in options"
Expand Down
1 change: 1 addition & 0 deletions ui/src/view/index/components/selectTypes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:collapse-tags="true"
:multiple="true"
placeholder="选择类型"
clearable="true"
filterable>
<el-option-group
v-for="group in options"
Expand Down
14 changes: 7 additions & 7 deletions ui/src/view/index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
<el-row :gutter="30">
<!-- 这里按照视图分层-->

<el-col :xs="24" :sm="24" :md="8" :lg="9" :xl="6">
<selectTypes style="margin-right: 20px; width: 90%" v-model:selectTypes="types"></selectTypes>
<el-col :xs="24" :sm="24" :md="5" :lg="5" :xl="5">
<selectTypes style="width: 100%" v-model:selectTypes="types"></selectTypes>
</el-col>
<el-col :xs="24" :sm="24" :md="8" :lg="9" :xl="6">
<selectProject style="margin-right: 20px;width: 90%"
<el-col :xs="24" :sm="24" :md="5" :lg="5" :xl="5">
<selectProject style="width: 100%"
v-model:selectProjects="projects"></selectProject>
</el-col>
<el-col :xs="24" :sm="24" :md="8" :lg="9" :xl={span:6,offset:6} >
<el-col :xs="24" :sm="24" :md={span:4,offset:10} :lg={span:4,offset:10} :xl={span:4,offset:10} >
<selectTimeRange class="time-range-container" v-model:timeRange="timeRange"
style="width: 90%"></selectTimeRange>
style="width: 100%"></selectTimeRange>
</el-col>

</el-row>
Expand All @@ -28,7 +28,7 @@
</el-card>

<div>
<el-col :xs="24" :sm="24" :md="0" :lg="0" :xl="0" style="padding-right: 0px;padding-left: 0px; width: 100%">
<el-col :xs="24" :sm="24" :md="24" :lg="0" :xl="0" style="padding-right: 0px;padding-left: 0px; width: 100%">
<el-affix :offset="10" class="guid">
<el-card>
<el-button
Expand Down

0 comments on commit aa01505

Please sign in to comment.