'ss''
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
sizes="192x192"
|
||||
href="/static/images/images/youtube.ico"
|
||||
/>
|
||||
<!-- PWA设置 -->
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
|
||||
<!-- <link rel="icon" type="image/x-icon" href="/static/images/youtube.ico"> -->
|
||||
<title>Youtube运营笔记</title>
|
||||
<meta name="description" content="Youtube运营笔记">
|
||||
|
||||
@@ -16,6 +16,8 @@ import { AtForm, AtMessage } from "taro-ui";
|
||||
import { marked } from "marked";
|
||||
import infoText from "./info.md";
|
||||
import bookText from "./book.md";
|
||||
import youtubeIco from "../../images/youtube.ico";
|
||||
|
||||
|
||||
marked.setOptions({
|
||||
breaks: true, // 是否回车换行
|
||||
|
||||
@@ -49,8 +49,6 @@ import ytGpt from "../../images/ytGpt.png";
|
||||
import demo from "../../images/demo.svg";
|
||||
import youtubeIco from "../../images/youtube.ico";
|
||||
|
||||
|
||||
|
||||
// export default class Index extends Component {
|
||||
const Index = () => {
|
||||
const [current, setcurrent] = useState(0);
|
||||
@@ -93,6 +91,19 @@ const Index = () => {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// pwa安装弹窗
|
||||
// useEffect(() => {
|
||||
// window.addEventListener("beforeinstallprompt", (event) => {
|
||||
// event.preventDefault();
|
||||
// let installPrompt = event;
|
||||
// // 显示安装按钮
|
||||
// document.getElementById("install-btn").addEventListener("click", () => {
|
||||
// installPrompt.prompt();
|
||||
// });
|
||||
// });
|
||||
// }, []);
|
||||
|
||||
// 获取openid
|
||||
const getOpenid = () => {
|
||||
// let newparams = Taro.getCurrentInstance().router.params;
|
||||
|
||||
Reference in New Issue
Block a user