diff --git a/api/api.js b/api/api.js index e5c9851..1cde47d 100644 --- a/api/api.js +++ b/api/api.js @@ -157,7 +157,6 @@ const config = { loginLogin: { url: '/api/login/login', method: 'GET', - auth: true }, // 退出接口 loginLogout: { @@ -169,13 +168,11 @@ const config = { loginRegister: { url: '/api/login/register', method: 'GET', - auth: true }, // 发送验证码接口 loginSendcode: { url: '/api/login/sendCode', method: 'GET', - auth: true }, } @@ -209,9 +206,9 @@ export function api(key, data, callback, loadingTitle) { //必须登录 if (req.auth) { if (!uni.getStorageSync('token')) { - uni.navigateTo({ - url: '/pages/auth/login' - }) + // uni.navigateTo({ + // url: '/pages/auth/login' + // }) console.error('需要登录') return } diff --git a/api/http.js b/api/http.js index 92037cf..ceacc7b 100644 --- a/api/http.js +++ b/api/http.js @@ -29,15 +29,17 @@ function http(uri, data, callback, method = 'GET', showLoading, title) { uni.removeStorageSync('token') console.error('登录过期'); uni.navigateTo({ - url: '/pages/auth/login' + url: '/pages/index/index' }) } - if(res.statusCode == 200 && res.data.code != 200){ + if(res.statusCode == 200 && + res.data.code != 200){ uni.showToast({ mask: true, duration: 1000, title: res.data.message, + icon:'none' }); } diff --git a/components/config/showLogin.vue b/components/config/showLogin.vue new file mode 100644 index 0000000..754c2a2 --- /dev/null +++ b/components/config/showLogin.vue @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git a/components/config/showPrivacyAgreement.vue b/components/config/showPrivacyAgreement.vue new file mode 100644 index 0000000..99b6bb4 --- /dev/null +++ b/components/config/showPrivacyAgreement.vue @@ -0,0 +1,118 @@ + + + + + + + diff --git a/components/content/submit.vue b/components/content/submit.vue index 8131352..75ca08c 100644 --- a/components/content/submit.vue +++ b/components/content/submit.vue @@ -1,6 +1,7 @@ + + diff --git a/pages/publish/actorDetail.vue b/pages/publish/actorDetail.vue new file mode 100644 index 0000000..141c609 --- /dev/null +++ b/pages/publish/actorDetail.vue @@ -0,0 +1,152 @@ + + + + + \ No newline at end of file diff --git a/pages/publish/actorRelease.vue b/pages/publish/actorRelease.vue index 6b300f8..9bbaaa7 100644 --- a/pages/publish/actorRelease.vue +++ b/pages/publish/actorRelease.vue @@ -68,7 +68,7 @@ labelSize="28rpx" name="0"> - + @@ -91,7 +91,7 @@ labelSize="28rpx" name="0"> - + @@ -114,7 +114,7 @@ labelSize="28rpx" name="0"> - + @@ -141,14 +141,30 @@ @preview="preview" @draft="draft" /> + + + + + + 已由平台进行审核,时间周期为24小时 + + +