初始化黄果短剧 H5 客户端
对接后端 hgmjapi.mfcg.me: - 接口解密 key 更新为 resKey360 - 登录 sysType 使用原生 getDevType(后端已放开 pc/android) - 修正榜单接口路径 /vid/rangking → /vid/ranking,方法改为 GET Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<div id="appView">
|
||||
<router-view></router-view>
|
||||
<!-- 登陆 -->
|
||||
<login-com v-model="showLogin" @regist="showRegist= true" @forgotPasswordFn="showForgotPassword = true" />
|
||||
<!-- 注册 -->
|
||||
<regist-com v-model="showRegist" @login="showLogin = true" />
|
||||
<!-- 忘记密码 -->
|
||||
<forgot-password v-model="showForgotPassword" @login="showLogin = true" />
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import loginCom from '@/components/login/index.vue'
|
||||
import registCom from '@/components/login/regist.vue'
|
||||
import forgotPassword from '@/components/login/forgotPassword.vue'
|
||||
import { eventBus } from "@/utils/eventBus";
|
||||
|
||||
const showLogin = ref(false)
|
||||
|
||||
const showRegist = ref(false)
|
||||
const showForgotPassword = ref(false)
|
||||
|
||||
// 监听登陆
|
||||
eventBus.on('SHOW_LOGIN', () => {
|
||||
showLogin.value = true
|
||||
})
|
||||
</script>
|
||||
<style scoped lang="scss"></style>
|
||||
Reference in New Issue
Block a user