diff --git a/api/pet.js b/api/pet.js index 989e7cc..f94615d 100644 --- a/api/pet.js +++ b/api/pet.js @@ -57,4 +57,19 @@ export function editPet(data){ method:'post', data:data }) +} + +/** + * 删除宠物 + * @param id + * @returns {Promise | Promise} + */ +export function delPet(id){ + return request({ + url:'user/pet-delete', + method:'post', + data:{ + id:id + } + }) } \ No newline at end of file diff --git a/components/FooterNav/components/index.scss b/components/FooterNav/components/index.scss index b0d9d5f..0c5bbf9 100644 --- a/components/FooterNav/components/index.scss +++ b/components/FooterNav/components/index.scss @@ -17,6 +17,7 @@ .foot-nav-button-group{ width:100%; height:100%; + justify-content: space-around; padding:{ left:33rpx; right:33rpx; diff --git a/pages/AboutUs/AboutUs.vue b/pages/AboutUs/AboutUs.vue index 953d5fe..65b56b7 100644 --- a/pages/AboutUs/AboutUs.vue +++ b/pages/AboutUs/AboutUs.vue @@ -1,13 +1,30 @@