feat: 个人小程序-关注个人公众号
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
Tag,
|
||||
Toast,
|
||||
} from "@antmjs/vantui";
|
||||
import { Input, View } from "@tarojs/components";
|
||||
import { Input, OfficialAccount, View } from "@tarojs/components";
|
||||
import React, { useCallback, useEffect, useState } from "react";
|
||||
import { Swiper, SwiperItem, Image } from "@antmjs/vantui";
|
||||
import react from "react";
|
||||
@@ -180,7 +180,6 @@ const Home = () => {
|
||||
// Taro.navigateBack({
|
||||
// delta: 1,
|
||||
// });
|
||||
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -465,6 +464,19 @@ const Home = () => {
|
||||
{/* 小红书图文/视频信息流 */}
|
||||
{/* <View> 打开信息流</View> */}
|
||||
|
||||
<View style={{marginTop:'20px'}}>
|
||||
{" "}
|
||||
{/* 个人版本未生效 */}
|
||||
<OfficialAccount
|
||||
onLoad={(res: any) => {
|
||||
console.log("加载成功", res);
|
||||
}}
|
||||
onError={(res: any) => {
|
||||
console.log("加载失败", res);
|
||||
}}
|
||||
></OfficialAccount>
|
||||
</View>
|
||||
|
||||
<Toast id="vanToast-demo2" />
|
||||
|
||||
<TabbarCom active={0} />
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
TabbarItem,
|
||||
Toast,
|
||||
} from "@antmjs/vantui";
|
||||
import { OpenData, View, Text } from "@tarojs/components";
|
||||
import { OpenData, View, Text, OfficialAccount } from "@tarojs/components";
|
||||
import react, { useEffect, useState } from "react";
|
||||
import TabbarCom from "../components/TabbarCom";
|
||||
import { Image } from "@antmjs/vantui";
|
||||
@@ -302,7 +302,6 @@ const my = (props: any) => {
|
||||
}}
|
||||
/> */}
|
||||
|
||||
|
||||
{/* <Cell
|
||||
icon="setting"
|
||||
title="版本日志"
|
||||
@@ -314,6 +313,8 @@ const my = (props: any) => {
|
||||
});
|
||||
}}
|
||||
/> */}
|
||||
|
||||
|
||||
</View>
|
||||
|
||||
<Toast id="vanToast-demo2" />
|
||||
|
||||
Reference in New Issue
Block a user