|
@@ -1,7 +1,7 @@
|
|
|
import { useEffect, useState } from 'react'
|
|
|
import { useParams } from 'react-router-dom';
|
|
|
import wxLogin from './wxLogin'
|
|
|
-import { Spin } from 'antd';
|
|
|
+import { Spin, Button } from 'antd';
|
|
|
import { UserInfo } from './type';
|
|
|
import http from '@src/http/index';
|
|
|
import { getBindPQUserInfo, bindPQUser } from "@src/http/api";
|
|
@@ -78,6 +78,10 @@ const Setting = () => {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+ const postVideo = () => {
|
|
|
+ window.location.href = '/publishContent/videos'
|
|
|
+ }
|
|
|
+
|
|
|
return (
|
|
|
<div className='w-full h-full'>
|
|
|
<div className='px-6 py-1 flex flex-row justify-between items-center border-b border-gray-300'>
|
|
@@ -85,14 +89,17 @@ const Setting = () => {
|
|
|
</div>
|
|
|
{
|
|
|
pqUserInfo || code ? ( isLoading ? <Spin spinning={isLoading} className='mt-10! ml-10!' tip='账号关联中...'></Spin> : (
|
|
|
- <div className="w-[450px] m-auto mt-[50px]">
|
|
|
- <div className='text-xl text-black-800 font-bold'>已完成视频归属用户的绑定!</div>
|
|
|
- <div className='text-black-600 mt-4'>
|
|
|
+ <div className="w-[450px] m-auto mt-[50px] text-center">
|
|
|
+ <div className='text-xl text-black-800 font-bold'>已完成视频归属用户的绑定!</div>
|
|
|
+ <div className='text-black-600 mt-8'>
|
|
|
视频归属用户的微信昵称:{pqUserInfo?.nickName}
|
|
|
</div>
|
|
|
<div className='text-black-600 mt-4'>
|
|
|
视频归属用户的票圈UID:{pqUserInfo?.uid}
|
|
|
</div>
|
|
|
+ <div className='text-black-600 mt-10'>
|
|
|
+ <Button type="primary" onClick={postVideo}>去发视频</Button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
)
|
|
|
) : (
|