feat: 瀑布流卡片
This commit is contained in:
0
src/pages/home/components/InfoCard/index.scss
Normal file
0
src/pages/home/components/InfoCard/index.scss
Normal file
11
src/pages/home/components/InfoCard/index.tsx
Normal file
11
src/pages/home/components/InfoCard/index.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Button, Checkbox, Form, FormItem, Icon, Image } from "@antmjs/vantui";
|
||||
import { Input, View, Text } from "@tarojs/components";
|
||||
import react, { useEffect } from "react";
|
||||
import "./index.scss";
|
||||
import { PowerScrollView } from "@antmjs/vantui";
|
||||
|
||||
const InfoCard = () => {
|
||||
return <View>InfoCard</View>;
|
||||
};
|
||||
|
||||
export default InfoCard;
|
||||
@@ -32,6 +32,7 @@ import { Search } from "@antmjs/vantui";
|
||||
import ActiveCard from "../components/ActiveCard";
|
||||
import { Dialog } from "@antmjs/vantui";
|
||||
import { Loading } from "@antmjs/vantui";
|
||||
import InfoCard from "./components/InfoCard";
|
||||
|
||||
const Home = () => {
|
||||
// const { images } = COMMON
|
||||
@@ -50,8 +51,6 @@ const Home = () => {
|
||||
const [openid, setopenid] = useState();
|
||||
const [isIn, setisIn] = useState(false);
|
||||
|
||||
|
||||
|
||||
const onChange = (e) => {};
|
||||
|
||||
useEffect(() => {
|
||||
@@ -60,10 +59,9 @@ const Home = () => {
|
||||
|
||||
const getLogin = async () => {
|
||||
let isLogin: any = await phoneLogin();
|
||||
console.log('isLogin',isLogin)
|
||||
console.log("isLogin", isLogin);
|
||||
setisIn(isLogin);
|
||||
};
|
||||
|
||||
|
||||
Taro.useShareAppMessage((res) => {
|
||||
if (res.from === "button") {
|
||||
@@ -138,9 +136,9 @@ const Home = () => {
|
||||
okFun: async (res: any) => {
|
||||
console.log("systemConfig--", res);
|
||||
await setsystemConfig(res?.data ?? []);
|
||||
setTimeout(()=>{
|
||||
getdetails()
|
||||
},500)
|
||||
setTimeout(() => {
|
||||
getdetails();
|
||||
}, 500);
|
||||
// await getdetails()
|
||||
},
|
||||
};
|
||||
@@ -535,6 +533,9 @@ const Home = () => {
|
||||
<Skeleton title={true} row={4} />
|
||||
)}
|
||||
|
||||
{/* 瀑布流 */}
|
||||
{/* <InfoCard /> */}
|
||||
|
||||
{/* 直播live专区 */}
|
||||
{/* <View>视频号直播</View> */}
|
||||
|
||||
@@ -554,7 +555,6 @@ const Home = () => {
|
||||
}}
|
||||
></OfficialAccount>
|
||||
</View>
|
||||
|
||||
|
||||
{/* 打开视频号主页-需要开放平台主主体认证 */}
|
||||
{/* <View
|
||||
|
||||
Reference in New Issue
Block a user