From c3ee2bfc637798972c0b53d407ba12054dbb121c Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Wed, 18 Sep 2024 13:47:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- api/api.js | 50 ++++++++++++++++++++++++- components/config/configPopup.vue | 7 ++-- components/content/contentControls.vue | 68 ++++++++++++++++++++++++++++++---- components/post/actorList.vue | 8 ++-- components/post/postList.vue | 2 +- pages/index/index.vue | 17 ++++++--- pages/publish/actorDetail.vue | 17 +++++++-- pages/publish/actorList.vue | 4 +- pages/publish/actorRelease.vue | 12 +++--- pages/publish/postDetail.vue | 12 +++--- pages/publish/postList.vue | 33 +++++++++++------ pages/publish/publishPost.vue | 33 +++++++++++++++-- pages_mine/publish/addWorks.vue | 22 +++++------ pages_mine/publish/competition.vue | 20 ++++++++-- pages_mine/publish/worksDetail.vue | 18 +++++---- store/store.js | 16 ++++++-- 17 files changed, 259 insertions(+), 82 deletions(-) diff --git a/App.vue b/App.vue index 6321230..045a58a 100644 --- a/App.vue +++ b/App.vue @@ -3,7 +3,7 @@ onLaunch: function() { }, onShow: function() { - // this.$store.commit('initConfig') + this.$store.commit('initConfig') }, onHide: function() { } diff --git a/api/api.js b/api/api.js index 077b278..c31766a 100644 --- a/api/api.js +++ b/api/api.js @@ -211,10 +211,49 @@ const config = { auth: true, showLoading : true, }, + // 踩type-作品0-演员1-动态2 + infoDislike: { + url: '/api/info/dislike', + method: 'GET', + auth: true, + showLoading : true, + }, + // 点赞type-作品0-演员1-动态2 + infoLike: { + url: '/api/info/like', + method: 'GET', + auth: true, + showLoading : true, + }, + // 举报type-作品0-演员1-动态2 + infoReport: { + url: '/api/info/report', + method: 'GET', + auth: true, + showLoading : true, + }, + // 发布作品 + releaseWorks: { + url: '/api/info/releaseWorks', + method: 'POST', + auth: true, + showLoading : true, + }, //小程序-登录相关接口 - + + // 获取隐私政策 + getPrivacyPolicy: { + url: '/api/login/getPrivacyPolicy', + method: 'GET', + }, + // 获取用户协议 + getUserAgreement: { + url: '/api/login/getUserAgreement', + method: 'GET', + }, + //绑定手机接口 loginBindPhone: { url: '/api/login/bindPhone', @@ -253,6 +292,15 @@ const config = { method: 'GET', showLoading : true, }, + + + // 立即支付 + payOrder: { + url: '/api/order/payOrder', + method: 'POST', + showLoading : true, + }, + } export function api(key, data, callback, loadingTitle) { diff --git a/components/config/configPopup.vue b/components/config/configPopup.vue index f0ed9f8..5b25223 100644 --- a/components/config/configPopup.vue +++ b/components/config/configPopup.vue @@ -9,7 +9,7 @@ diff --git a/components/content/contentControls.vue b/components/content/contentControls.vue index 5c76eef..495c15b 100644 --- a/components/content/contentControls.vue +++ b/components/content/contentControls.vue @@ -1,22 +1,22 @@