diff --git a/api/auth.js b/api/auth.js index edfb612..935d672 100644 --- a/api/auth.js +++ b/api/auth.js @@ -22,3 +22,10 @@ export const updateUserInfo = async (body) => { data: body, }); }; + +export const reportPrivacy = async () => { + return request({ + url: "/api/common/privacy/report", + method: "POST", + }); +}; diff --git a/components/PrivacyPopup/PrivacyPopup.vue b/components/PrivacyPopup/PrivacyPopup.vue new file mode 100644 index 0000000..d2fcc80 --- /dev/null +++ b/components/PrivacyPopup/PrivacyPopup.vue @@ -0,0 +1,178 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index e55335d..681d9cc 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,5 +1,8 @@