From 7befb78ba5ff288d87bfd01c5fb2e7eac8bc780d Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Sun, 5 Aug 2018 23:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=87=E7=AB=A0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E3=80=81=E5=BA=94=E7=94=A8=E5=88=97=E8=A1=A8=E3=80=81?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/form/FormRow.vue | 51 +++++++++ .../list/Search/ApplicationList.vue | 105 +++++++++++++++++- src/components/list/Search/ArticleList.vue | 67 ++++++++++- src/components/list/Search/ProjectList.vue | 45 +++++++- src/components/list/Search/SearchForm.vue | 98 ++++++++++++---- src/components/list/Search/SearchLayout.vue | 1 - 6 files changed, 328 insertions(+), 39 deletions(-) create mode 100644 src/components/form/FormRow.vue diff --git a/src/components/form/FormRow.vue b/src/components/form/FormRow.vue new file mode 100644 index 0000000..364c902 --- /dev/null +++ b/src/components/form/FormRow.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/components/list/Search/ApplicationList.vue b/src/components/list/Search/ApplicationList.vue index ca1e2f8..fe3e684 100644 --- a/src/components/list/Search/ApplicationList.vue +++ b/src/components/list/Search/ApplicationList.vue @@ -1,21 +1,114 @@ - diff --git a/src/components/list/Search/ArticleList.vue b/src/components/list/Search/ArticleList.vue index c1e9859..94576f3 100644 --- a/src/components/list/Search/ArticleList.vue +++ b/src/components/list/Search/ArticleList.vue @@ -2,7 +2,32 @@
- contentA + + + +
+ Ant Design + 设计语言 + 蚂蚁金服 +
+
+
+
+ 段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 + ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。 +
+
+ + ICZER发布在 + https://github.com/iczer + 2018-08-05 22:23 +
+
+ 156 + 1435 + 4 +
+
@@ -10,12 +35,46 @@ - diff --git a/src/components/list/Search/ProjectList.vue b/src/components/list/Search/ProjectList.vue index 31b20d5..ec36f29 100644 --- a/src/components/list/Search/ProjectList.vue +++ b/src/components/list/Search/ProjectList.vue @@ -1,21 +1,54 @@ - diff --git a/src/components/list/Search/SearchForm.vue b/src/components/list/Search/SearchForm.vue index 4b32320..bc7ee07 100644 --- a/src/components/list/Search/SearchForm.vue +++ b/src/components/list/Search/SearchForm.vue @@ -1,26 +1,68 @@ @@ -31,12 +73,24 @@ import AForm from 'vue-antd-ui/es/form/Form' import AFormItem from 'vue-antd-ui/es/form/FormItem' import AInput from 'vue-antd-ui/es/input/Input' import TagSelect from '../../tool/TagSelect' +import FormRow from '../../form/FormRow' +import ASelect from 'vue-antd-ui/es/select/index' +import ARow from 'vue-antd-ui/es/grid/Row' +import ACol from 'vue-antd-ui/es/grid/Col' const TagSelectOption = TagSelect.Option +const ASelectOption = ASelect.Option export default { name: 'SearchForm', - components: {TagSelectOption, TagSelect, AInput, AFormItem, AForm, ACard} + components: {ACol, ARow, ASelectOption, ASelect, FormRow, TagSelectOption, TagSelect, AInput, AFormItem, AForm, ACard}, + methods: { + lookMyself () { + this.form.setFieldsValue({ + owner: '3' + }) + } + } } diff --git a/src/components/list/Search/SearchLayout.vue b/src/components/list/Search/SearchLayout.vue index ee38b7e..9ac31a7 100644 --- a/src/components/list/Search/SearchLayout.vue +++ b/src/components/list/Search/SearchLayout.vue @@ -46,7 +46,6 @@ export default { }, methods: { navigate (key) { - this.activeKey = key switch (key) { case '1': this.$router.push('/list/search/article')