提交 67c800a6 编写于 作者: M min 提交者: Ian Luo

change search bar style (#97)

* add restController

* controller

* add adminLTE

* update

* add routing rule page

* reconstruction

* update readme and configuration

* change file name to satisfy travis ci

* change title to dubbo ops

* relocation restful controller

* remove author & add license

* import specific class instead of *

* add ASF License & change theme

* change model name & serviceDetail page

* change search style & update routing rule page

* update

* add routing rule page

* update readme and configuration

* change model name & serviceDetail page

* search style change & routing rule page

* delete useless file

* change search bar style

* reformat
上级 b95c9e84
...@@ -19,22 +19,38 @@ ...@@ -19,22 +19,38 @@
<v-container grid-list-xl fluid > <v-container grid-list-xl fluid >
<div> <div>
<v-layout row wrap> <v-layout row wrap>
<v-flex xs12 class="justify-space-between"> <v-flex xs12 >
<v-form> <!--<v-form>-->
<v-layout row wrap> <!--<v-layout row wrap>-->
<v-flex xs11> <!--<v-flex xs11>-->
<v-text-field label="Search dubbo service" <!--<v-text-field label="Search dubbo service"-->
v-model="filter"></v-text-field> <!--v-model="filter"></v-text-field>-->
</v-flex> <!--</v-flex>-->
<v-flex xs1> <!--<v-flex xs1>-->
<v-btn @click="submit" color="primary" >Search</v-btn> <!--<v-btn @click="submit" color="primary" >Search</v-btn>-->
</v-flex> <!--</v-flex>-->
</v-layout> <!--</v-layout>-->
</v-form> <!--</v-form>-->
<v-card flat>
<v-card-text>
<v-layout row wrap >
<!--<v-flex xs10>-->
<v-text-field label="Search dubbo service"
v-model="filter"></v-text-field>
<!--</v-flex>-->
<!--<v-flex xs1>-->
<v-btn @click="submit" color="primary" >Search</v-btn>
<!--</v-flex>-->
</v-layout>
</v-card-text>
</v-card>
</v-flex> </v-flex>
</v-layout> </v-layout>
<v-toolbar flat color="white"> <v-toolbar class="elevation-1" flat color="white">
<v-toolbar-title>Search Result</v-toolbar-title> <v-toolbar-title>Search Result</v-toolbar-title>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn outline color="primary" @click.stop="dialog = true" class="mb-2">CREATE</v-btn> <v-btn outline color="primary" @click.stop="dialog = true" class="mb-2">CREATE</v-btn>
...@@ -215,9 +231,3 @@ ...@@ -215,9 +231,3 @@
} }
</script> </script>
<style scoped>
div.btn__content {
padding: 0;
}
</style>
...@@ -18,42 +18,50 @@ ...@@ -18,42 +18,50 @@
<template> <template>
<v-container id="search" grid-list-xl fluid > <v-container id="search" grid-list-xl fluid >
<v-layout row wrap> <v-layout row wrap>
<v-flex xs12 class="justify-center"> <v-flex xs12 >
<v-form> <v-card flat>
<v-layout row wrap> <v-card-text>
<v-flex xs10> <v-form>
<v-text-field label="Search dubbo service" <v-layout row wrap>
v-bind:suffix="queryBy" <!--<v-flex xs10>-->
v-model="filter"></v-text-field> <v-text-field label="Search dubbo service"
</v-flex> v-bind:suffix="queryBy"
v-model="filter"></v-text-field>
<!--</v-flex>-->
<v-flex xs2> <!--<v-flex xs2>-->
<v-menu bottom left class="hidden-xs-only"> <v-menu bottom left class="hidden-xs-only">
<v-btn <v-btn
slot="activator" slot="activator"
icon> icon>
<v-icon>unfold_more</v-icon> <v-icon>unfold_more</v-icon>
</v-btn> </v-btn>
<v-list> <v-list>
<v-list-tile <v-list-tile
v-for="(item, i) in items" v-for="(item, i) in items"
:key="i" :key="i"
@click="selected = i"> @click="selected = i">
<v-list-tile-title>{{ item.title }}</v-list-tile-title> <v-list-tile-title>{{ item.title }}</v-list-tile-title>
</v-list-tile> </v-list-tile>
</v-list> </v-list>
</v-menu> </v-menu>
<v-btn @click="submit" color="primary" class="ml-4" large>Search</v-btn> <v-btn @click="submit" color="primary" >Search</v-btn>
</v-flex> <!--</v-flex>-->
</v-layout> </v-layout>
</v-form> </v-form>
</v-card-text>
</v-card>
</v-flex> </v-flex>
</v-layout> </v-layout>
<v-flex sm12> <!--<v-flex sm12>-->
<h3>Search Result</h3> <!--<h3>Search Result</h3>-->
</v-flex> <!--</v-flex>-->
<v-flex lg12> <v-flex lg12>
<v-toolbar class="elevation-1" flat color="white">
<v-toolbar-title>Search Result</v-toolbar-title>
</v-toolbar>
<v-data-table <v-data-table
class="elevation-1" class="elevation-1"
:headers="headers" :headers="headers"
...@@ -141,8 +149,6 @@ ...@@ -141,8 +149,6 @@
} }
}) })
if (filter !== '' && pattern !== '') { if (filter !== '' && pattern !== '') {
this.pattern = pattern
this.filter = filter
this.search(filter, pattern, false) this.search(filter, pattern, false)
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册