feat: 更新book页面
This commit is contained in:
@@ -75,6 +75,7 @@ const config = {
|
||||
customRoutes: {
|
||||
// "页面路径": "自定义路由"
|
||||
"/pages/index/index": "/",
|
||||
"/pages/book/index": "/book",
|
||||
// '/pages/detail/index': ['/detail'], // 可以通过数组为页面配置多个自定义路由
|
||||
"pages/my/index": "/my",
|
||||
"pages/meetup/index": "/meetup",
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta
|
||||
content="width=device-width,initial-scale=1,user-scalable=no"
|
||||
name="viewport"
|
||||
/>
|
||||
<meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-touch-fullscreen" content="yes" />
|
||||
<meta name="format-detection" content="telephone=no,address=no" />
|
||||
@@ -15,11 +13,7 @@
|
||||
<!-- <link rel="icon" href="./images/nomadcna.ico" type="image/x-icon" /> -->
|
||||
<!-- <link rel="icon" href="/static/images/images/cloud/nomadcna-192.png" type="image/png" /> -->
|
||||
<link rel="apple-touch-icon" href="/static/images/images/cloud/nomadcna192.png" />
|
||||
<link
|
||||
rel="icon"
|
||||
sizes="192x192"
|
||||
href="/static/images/images/cloud/nomadcna192.png"
|
||||
/>
|
||||
<link rel="icon" sizes="192x192" href="/static/images/images/cloud/nomadcna192.png" />
|
||||
|
||||
<script>
|
||||
<%= htmlWebpackPlugin.options.script %>
|
||||
@@ -58,18 +52,14 @@
|
||||
})(window, document, "script", "dataLayer", "GTM-M9PR3MVC");
|
||||
</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript
|
||||
><iframe
|
||||
src="https://www.googletagmanager.com/ns.html?id=GTM-M9PR3MVC"
|
||||
height="0"
|
||||
width="0"
|
||||
style="display: none; visibility: hidden"
|
||||
></iframe
|
||||
></noscript>
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M9PR3MVC" height="0" width="0"
|
||||
style="display: none; visibility: hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -51,10 +51,18 @@ const Book = () => {
|
||||
|
||||
return (
|
||||
<View className="Book">
|
||||
<View
|
||||
{/* 渲染markdown */}
|
||||
{/* <View
|
||||
className="markdown-body" // 添加 GitHub Markdown 主题类
|
||||
dangerouslySetInnerHTML={{ __html: marked(markdownText) }}
|
||||
></View>
|
||||
></View> */}
|
||||
|
||||
<View>分类</View>
|
||||
<View className="BookItems">
|
||||
<View className="BookItem">列表1</View>{" "}
|
||||
<View className="BookItem">列表2</View>{" "}
|
||||
<View className="BookItem">列表3</View>
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user