From aa22ef8339052cde1e85c40515cd591d516b7543 Mon Sep 17 00:00:00 2001 From: sfmind Date: Sun, 1 May 2022 22:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E5=9C=B0=E5=9D=80=E7=AE=A1?= =?UTF-8?q?=E7=90=86CRUD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-app/app.scss | 2 + yudao-ui-app/pages.json | 4 +- yudao-ui-app/pages/address/add.vue | 17 --- yudao-ui-app/pages/address/create.vue | 148 +++++++++++++++++++++ yudao-ui-app/pages/address/edit.vue | 17 --- yudao-ui-app/pages/address/list.vue | 107 +++++++++++++++- yudao-ui-app/pages/address/update.vue | 178 ++++++++++++++++++++++++++ 7 files changed, 433 insertions(+), 40 deletions(-) delete mode 100644 yudao-ui-app/pages/address/add.vue create mode 100644 yudao-ui-app/pages/address/create.vue delete mode 100644 yudao-ui-app/pages/address/edit.vue create mode 100644 yudao-ui-app/pages/address/update.vue diff --git a/yudao-ui-app/app.scss b/yudao-ui-app/app.scss index ed1608e74..4cff87ce8 100644 --- a/yudao-ui-app/app.scss +++ b/yudao-ui-app/app.scss @@ -1,6 +1,8 @@ /* 页面公共scss */ .container { background-color: $custom-bg-color; + margin: 0; + padding: 0; box-sizing: border-box; height: 100%; } diff --git a/yudao-ui-app/pages.json b/yudao-ui-app/pages.json index 6784ba5dd..f7f7ece1e 100644 --- a/yudao-ui-app/pages.json +++ b/yudao-ui-app/pages.json @@ -67,13 +67,13 @@ } }, { - "path": "pages/address/add", + "path": "pages/address/create", "style": { "navigationBarTitleText": "新增地址" } }, { - "path": "pages/address/edit", + "path": "pages/address/update", "style": { "navigationBarTitleText": "修改地址" } diff --git a/yudao-ui-app/pages/address/add.vue b/yudao-ui-app/pages/address/add.vue deleted file mode 100644 index 7826e199a..000000000 --- a/yudao-ui-app/pages/address/add.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/yudao-ui-app/pages/address/create.vue b/yudao-ui-app/pages/address/create.vue new file mode 100644 index 000000000..66426a052 --- /dev/null +++ b/yudao-ui-app/pages/address/create.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/yudao-ui-app/pages/address/edit.vue b/yudao-ui-app/pages/address/edit.vue deleted file mode 100644 index 7826e199a..000000000 --- a/yudao-ui-app/pages/address/edit.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/yudao-ui-app/pages/address/list.vue b/yudao-ui-app/pages/address/list.vue index 7826e199a..e81409ccd 100644 --- a/yudao-ui-app/pages/address/list.vue +++ b/yudao-ui-app/pages/address/list.vue @@ -1,17 +1,116 @@ - + diff --git a/yudao-ui-app/pages/address/update.vue b/yudao-ui-app/pages/address/update.vue new file mode 100644 index 000000000..cfcb00c6c --- /dev/null +++ b/yudao-ui-app/pages/address/update.vue @@ -0,0 +1,178 @@ + + + + +