优化:已知问题
This commit is contained in:
@@ -35,7 +35,7 @@ const Header = (props: any) => {
|
||||
success: function () {
|
||||
if (code) {
|
||||
Taro.request({
|
||||
url: 'https://server.gxwebsoft.com/api/wx-login/loginByMpWxPhone',
|
||||
url: 'https://server.websoft.top/api/wx-login/loginByMpWxPhone',
|
||||
method: 'POST',
|
||||
data: {
|
||||
code,
|
||||
|
||||
@@ -16,7 +16,7 @@ const Login = (props:any) => {
|
||||
success: function () {
|
||||
if (code) {
|
||||
Taro.request({
|
||||
url: 'https://server.gxwebsoft.com/api/wx-login/loginByMpWxPhone',
|
||||
url: 'https://server.websoft.top/api/wx-login/loginByMpWxPhone',
|
||||
method: 'POST',
|
||||
data: {
|
||||
code,
|
||||
|
||||
@@ -7,8 +7,12 @@ const MyPage = () => {
|
||||
|
||||
return (
|
||||
<div className={'px-3'}>
|
||||
<video controls className="w-full max-w-2xl mx-auto">
|
||||
<source src="https://oss.wsdns.cn/20250722/018be1bd1c8b4cc4a15076ad0578b88d.mp4" type="video/mp4" />
|
||||
<video
|
||||
controls
|
||||
className='w-full max-w-2xl mx-auto'
|
||||
poster='https://oss.wsdns.cn/20250722/018be1bd1c8b4cc4a15076ad0578b88d.mp4?x-oss-process=video/snapshot,t_1000,f_jpg,w_396,h_222,m_fast'
|
||||
>
|
||||
<source src='https://oss.wsdns.cn/20250722/018be1bd1c8b4cc4a15076ad0578b88d.mp4' type='video/mp4' />
|
||||
您的浏览器不支持视频播放
|
||||
</video>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@ page {
|
||||
|
||||
.mobile-container {
|
||||
width: 100%;
|
||||
min-height: 90vh;
|
||||
min-height: 100vh;
|
||||
|
||||
// PC端样式
|
||||
//@media screen and (min-width: 768px) {
|
||||
|
||||
@@ -47,6 +47,7 @@ function Home() {
|
||||
<Menu/>
|
||||
{/*<Banner/>*/}
|
||||
<Video />
|
||||
<div className={'h-20'}></div>
|
||||
</>)}
|
||||
{/* H5模式下显示自定义TabBar */}
|
||||
{process.env.TARO_ENV === 'h5' && <SimpleH5TabBar current={0} />}
|
||||
|
||||
@@ -6,7 +6,6 @@ import {getUserInfo, getWxOpenId} from "@/api/layout";
|
||||
import {TenantId} from "@/utils/config";
|
||||
import {User} from "@/api/system/user/model";
|
||||
// import News from "./News";
|
||||
import {myPageBszxBm} from "@/api/bszx/bszxBm";
|
||||
import {listCmsNavigation} from "@/api/cms/cmsNavigation";
|
||||
|
||||
const OrderIcon = () => {
|
||||
@@ -14,7 +13,7 @@ const OrderIcon = () => {
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [isLogin, setIsLogin] = useState<boolean>(false)
|
||||
const [userInfo, setUserInfo] = useState<User>()
|
||||
const [bmLogs, setBmLogs] = useState<any>()
|
||||
const [bmLogs] = useState<any>()
|
||||
const [navItems, setNavItems] = useState<any>([])
|
||||
|
||||
/* 获取用户手机号 */
|
||||
@@ -24,7 +23,7 @@ const OrderIcon = () => {
|
||||
success: function () {
|
||||
if (code) {
|
||||
Taro.request({
|
||||
url: 'https://server.gxwebsoft.com/api/wx-login/loginByMpWxPhone',
|
||||
url: 'https://server.websoft.top/api/wx-login/loginByMpWxPhone',
|
||||
method: 'POST',
|
||||
data: {
|
||||
code,
|
||||
@@ -114,12 +113,6 @@ const OrderIcon = () => {
|
||||
});
|
||||
}
|
||||
});
|
||||
// 报名日志
|
||||
myPageBszxBm({limit: 1}).then(res => {
|
||||
if (res.list) {
|
||||
setBmLogs(res.list);
|
||||
}
|
||||
})
|
||||
setLoading(false);
|
||||
};
|
||||
|
||||
@@ -186,13 +179,13 @@ const OrderIcon = () => {
|
||||
<div className={'flex flex-col justify-center items-center'} onClick={() => {
|
||||
onLogin(item, index)
|
||||
}}>
|
||||
<Image src={item.icon} height={28} width={28}/>
|
||||
<Image src={item.icon}/>
|
||||
<div className={'mt-2'} style={{fontSize: '15px'}}>{item?.title}</div>
|
||||
</div>
|
||||
:
|
||||
<Button className={'text-white'} open-type="getPhoneNumber" onGetPhoneNumber={handleGetPhoneNumber}>
|
||||
<div className={'flex flex-col justify-center items-center'}>
|
||||
<Image src={item.icon} height={28} width={28}/>
|
||||
<Image src={item.icon}/>
|
||||
<div className={'mt-2 text-gray-700'} style={{fontSize: '15px'}}>{item?.title}</div>
|
||||
</div>
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user