feat: 瀑布流卡片

This commit is contained in:
eric
2022-12-09 13:48:29 +08:00
parent d736aa4502
commit 57cc3aea98
11 changed files with 101 additions and 15 deletions

View 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;

View File

@@ -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