From eddf968d0feee63f24f0209fbc0853921a6fd024 Mon Sep 17 00:00:00 2001 From: shaoxiang <1026025056@qq.com> Date: Wed, 30 Oct 2019 16:01:20 +0800 Subject: [PATCH] change product home page html --- docs/assets/css/main.css | 89 +-- docs/en/faq.md | 25 +- docs/index.md | 1397 +++++++------------------------------- docs/zh_CN/README.md | 1390 +++++++------------------------------ docs/zh_CN/faq.md | 25 +- 5 files changed, 579 insertions(+), 2347 deletions(-) diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 6b8752ae..a122c5db 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -16,7 +16,6 @@ } - body[data-page="zh_CN/uiflow/uiflow_home_page.md"] article.markdown-section { max-width: 100%; padding: 0; @@ -31,17 +30,14 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { width:30%; } +.video_size { + width: 30%; +} + .uiflow_banner{ position: relative; } -.uiflow_title{ - position: absolute; - top: 10px; - left: 10px; -} - - .row a{ color:white; text-decoration:none; @@ -52,23 +48,10 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { text-decoration:none; } - .uiflow_p{ height: 100px; } -/* body[data-page="index.md"] article.markdown-section .item { - width: 150px; - margin-right: 10px; - margin-top: 10px; - margin-bottom: 10px; - display: inline-block; - position: relative; - cursor: pointer; - transition: box-shadow 0.3s; - text-decoration: none; -} */ - .item { width: 150px; margin-right: 10px; @@ -81,9 +64,7 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { text-decoration: none; } -.video_size { - width: 30%; -} + .related_links { @@ -125,8 +106,6 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { } - - @media screen and (max-width: 768px) { .related_links { display: none; @@ -134,12 +113,6 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { } -/* body[data-page="index.md"] article.markdown-section p.item-title { - text-align: center; - margin-top: 10px; - margin-bottom: 10px; -} */ - .item-title { text-align: center; margin-top: 10px; @@ -147,7 +120,6 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { } - .item a { color: black; text-decoration: none; @@ -187,7 +159,7 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { } -figure.thumbnails img { +/* figure.thumbnails img { margin: 0.75em 0; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15); @@ -219,7 +191,7 @@ figure.thumbnails img { margin: 0 0 0 1.5em; } } -} +} */ .mask { @@ -238,7 +210,7 @@ figure.thumbnails img { .item a:hover .mask { opacity: 1; - + } .mask-btn1 { @@ -253,6 +225,16 @@ figure.thumbnails img { left:30px; } +.cases a:hover .mask { + opacity: 1; + width: 150px; + height: 150px; + background:white; + color: gray; +} + + + .product_list div.btn-group-vertical { display: none; @@ -274,19 +256,6 @@ main>.content { margin: 0px; } -/* .banner { - width: 300px; - margin-right: 10px; - margin-left: 20px; - margin-top: 10px; - margin-bottom: 10px; - display: inline-block; - position: relative; - box-shadow: 5px 5px 5px #888888; - cursor: pointer; - transition: all 0.1s; -} */ - div.card-img-overlay { background-color: rgba(0, 0, 0, 0.6); } @@ -296,19 +265,6 @@ div.card-img-overlay:hover { color: blue !important; } -/* .banner div.card-img-overlay h4 { - font-size: 3em; - color: #fff; -} - -.banner div.card-img-overlay:hover h4 { - display: none; -} - -.banner:hover { - transform: scale(1.1); - z-index: 1; -} */ .banner { @@ -662,7 +618,6 @@ body[data-page="zh_CN/README.md"] .search { /* Table Styles */ .table-wrapper{ - /* margin: 10px 70px 70px; */ box-shadow: -7px 0px 20px 0px #888888; } @@ -712,14 +667,6 @@ body[data-page="zh_CN/README.md"] .search { width: 100%; overflow-x: auto; } - /* .table-wrapper:before{ - content: "Scroll horizontally >"; - display: block; - text-align: right; - font-size: 11px; - color: white; - padding: 0 0 10px; - } */ .fl-table thead, .fl-table tbody, .fl-table thead th { display: block; } diff --git a/docs/en/faq.md b/docs/en/faq.md index 51d375c2..6be11d54 100644 --- a/docs/en/faq.md +++ b/docs/en/faq.md @@ -8,14 +8,7 @@ - **Q1: What's the difference between those Cores?**
- -
- The main difference between these Cores is the internal hardware configuration and kit matching. From the basic version to the upgraded version, the attitude sensor MPU9250 is added and the RAM and FLASH are increased. For details, please visit here - - - - -
+ answer
@@ -343,6 +336,22 @@ The following operations can restore the device to normal: 1. Short the BAT to G +- **Q31: What is the difference between LoRa and LoRaWAN modules?** + +
+ +
+ +``` +LoRa module: Ra-02 module, serial communication protocol: SPI, support frequency range 410-525Hz. + +LoRaWAN module: RHF76-052 module, built-in LoRaWAN protocol stack, serial communication, sending AT command control module, support communication with full-duplex LoRaWAN gateway, support dual-band 433-470MHz and 868-915MHz. + +``` +
+
+ + ## UNIT Question diff --git a/docs/index.md b/docs/index.md index 90a81886..a58c7c4f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -71,1146 +71,276 @@
- - - - -
- -**M5Core/Kit** - - - - - - - - - - - - - - - - - -**M5Stick** - - - - - - - - - - - - - - - - - - - - -
- - -*** - -
- - - - - -**Communication Modules** - - - - - - - - - - - - - - - - - -**Expansion Modules** - - - - - - - - - - - - - - -**Drive Modules** - - - - - - - - - - -**FACES Series** - - - - - - - - - - -
- - -*** - -
- -**base** - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -*** - -
- - - -**Camera class** - - - - - - - - - - - -**Sensor class** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**I / 0 class** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**Communication class** - - - - - - - - - - - - - - -**LED class** - - - - - - - - - - -**C-HAT class** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -*** - -
- -**Application** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -

PM2.5

-
- - - - -
- - -*** - -
- -**Accessory** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -*** - -
- -**Aluminium Profil** - - - - - - - - -
-