|
@@ -35,6 +35,7 @@ import { ACCESS_TOKEN } from '@/store/mutation-types';
|
|
import MWxTip from '@/components/m-wx-tip';
|
|
import MWxTip from '@/components/m-wx-tip';
|
|
import { usePageVisibility } from '@vant/use';
|
|
import { usePageVisibility } from '@vant/use';
|
|
import videoBg from './images/video-bg.png';
|
|
import videoBg from './images/video-bg.png';
|
|
|
|
+import LoginChangeModel from './login-change-model';
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
name: 'creation-detail',
|
|
name: 'creation-detail',
|
|
@@ -47,6 +48,7 @@ export default defineComponent({
|
|
id: route.query.id,
|
|
id: route.query.id,
|
|
loginTag: false, // 是否登录标识
|
|
loginTag: false, // 是否登录标识
|
|
loginStatus: false,
|
|
loginStatus: false,
|
|
|
|
+ loginChangeState: false, // 切换账号
|
|
playType: '' as 'Audio' | 'Video' | '', // 播放类型
|
|
playType: '' as 'Audio' | 'Video' | '', // 播放类型
|
|
musicDetail: {} as any,
|
|
musicDetail: {} as any,
|
|
timer: null as any,
|
|
timer: null as any,
|
|
@@ -479,6 +481,22 @@ export default defineComponent({
|
|
/>
|
|
/>
|
|
</Popup>
|
|
</Popup>
|
|
|
|
|
|
|
|
+ <Popup
|
|
|
|
+ v-model:show={state.loginChangeState}
|
|
|
|
+ style={{ background: 'transparent', overflow: 'inherit' }}>
|
|
|
|
+ {/* <LoginModel
|
|
|
|
+ isRegister
|
|
|
|
+ onClose={() => (state.loginChangeState = false)}
|
|
|
|
+ onConfirm={async (val: boolean) => {
|
|
|
|
+ state.loginTag = val;
|
|
|
|
+ state.loginChangeState = false;
|
|
|
|
+ const { data } = await api_openUserMusicDetail(state.id);
|
|
|
|
+ state.musicDetail = data;
|
|
|
|
+ }}
|
|
|
|
+ /> */}
|
|
|
|
+ <LoginChangeModel onClose={() => (state.loginChangeState = false)} />
|
|
|
|
+ </Popup>
|
|
|
|
+
|
|
<MWxTip
|
|
<MWxTip
|
|
v-model:show={state.messageStatus}
|
|
v-model:show={state.messageStatus}
|
|
message={state.message}
|
|
message={state.message}
|