-
Notifications
You must be signed in to change notification settings - Fork 296
refactor: migrate site to nutui-react #2955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
9706d4a
feat: save my migrate progress
Miles-hxy 6a70c8a
feat: css transition add list
Miles-hxy a5eb55b
feat: save search component progress
Miles-hxy 004249e
feat: save search component progress
Miles-hxy 03bce9b
feat: save taro some logics
Miles-hxy a8455b5
feat: save lang switch
Miles-hxy cddaaa4
feat: save some guide and routes logics
Miles-hxy 62a87fa
feat: save some guide and routes logics
Miles-hxy 485990e
feat: save some guide and routes logics
Miles-hxy 3d618f4
feat: save some guide & guideTaro routes logics
Miles-hxy 745ba09
fix: 重置Nav Tab刷新逻辑
Miles-hxy d4624ce
chore: delete some logs
Miles-hxy 3a8ad9b
feat: save some backtop logics
Miles-hxy 3301a0f
refactor: 打包结构初始配置
Miles-hxy b8d14be
fix: site start vite config
Miles-hxy ed3f4a0
fix: adjust dir
Miles-hxy 18bdde2
fix: extract taro basic structure
Miles-hxy 6cce342
Merge branch 'feat_v3.x' into feat_site_refactor
Miles-hxy 55f4602
fix: vite taro site 启动入口修复
Miles-hxy f0a5e27
fix: change from spa to routes 分离
Miles-hxy 495299e
fix: header import failed
Miles-hxy 97e0cb7
fix: taro doc build failed
Miles-hxy 37881ea
Merge branch 'feat_v3.x' into feat_site_refactor
Miles-hxy d8a744a
fix: test build h5 demo routes
Miles-hxy af8508d
feat: taro site构建流程
Miles-hxy 7b260b0
fix: add redirect link to resolve empty page bug
Miles-hxy 3b86464
fix: resolve tabs activeName incorrect
Miles-hxy 58ed8e2
Merge branch 'feat_v3.x' into feat_site_refactor
Miles-hxy f54d7d1
Merge branch 'feat_v3.x' into feat_site_refactor
Miles-hxy 0644ce0
Merge branch 'V3.0' into feat_site_refactor
Miles-hxy e9a0bcb
Merge branch 'V3.0' into feat_site_refactor
Miles-hxy e0aacc9
fix: resolve conflicts
Miles-hxy a5b11fe
fix: build error
Miles-hxy be94ef3
fix: build error
Miles-hxy 90b094c
refactor: 简化site启动方式并更新相关的E2E测试配置
Miles-hxy 189255c
chore: 简化本地开发方式,移除vite冗余配置
Miles-hxy 1a7a8c3
fix: e2e url
Miles-hxy b9f4540
fix: remove pics
Miles-hxy 0b9faca
fix: remove useless files
Miles-hxy acb09d0
fix: remove useless files
Miles-hxy 8f1c295
fix: code highlight
Miles-hxy fafc553
Merge branch 'V3.0' into feat_site_refactor
Miles-hxy dcb62cc
chore: resolve conflict s
Miles-hxy 35317f6
chore: remove harmony.css files
Miles-hxy 95bed62
chore: remove harmony.css files and add git ignore file
Miles-hxy 940c1f0
chore: update selected version
Miles-hxy ca4e131
chore: update docs
Miles-hxy 1cc27d0
Merge branch 'V3.0' into feat_site_refactor
Miles-hxy aadb87e
Merge branch 'feat_v3.x' into feat_site_refactor
Miles-hxy 70ad86c
Merge branch 'V3.0' into feat_site_refactor
Miles-hxy f6d5836
chore: merge v3.0 and resolve conflicts
Miles-hxy cf6e573
Merge branch 'V3.0' into feat_site_refactor
Miles-hxy 0eb236e
Merge branch 'feat_v3.x' into feat_site_refactor
Miles-hxy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <title>NutUI - 移动端React组件库</title> | ||
| <meta content="telephone=no" name="format-detection" /> | ||
| <link rel="dns-prefetch" href="//wl.jd.com"> | ||
| <link rel="dns-prefetch" href="//h5.m.jd.com"> | ||
| <link rel="dns-prefetch" href="//img14.360buyimg.com"> | ||
| <link rel="dns-prefetch" href="//img10.360buyimg.com"> | ||
| <link rel="dns-prefetch" href="//mercury.jd.com"> | ||
| <link rel="dns-prefetch" href="//stream-outside.jd.com"> | ||
| <link rel="dns-prefetch" href="//static.hotjar.com"> | ||
| <link rel="shortcut icon" | ||
| href="//img14.360buyimg.com/imagetools/jfs/t1/167902/2/8762/791358/603742d7E9b4275e3/e09d8f9a8bf4c0ef.png" /> | ||
| <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" /> | ||
| <script src="//h5.m.jd.com/babelDiy/Zeus/2846ykuM7PwipD9E2RzMj2BGEQpA/plugin/share.min.js"></script> | ||
| <style> | ||
| html { | ||
| background: #f7f7f7; | ||
| } | ||
|
|
||
| a[title="站长统计"] { | ||
| display: none; | ||
| } | ||
| </style> | ||
| <!-- Hotjar Tracking Code for nutui.jd.com --> | ||
| <script async> | ||
| (function (h, o, t, j, a, r) { | ||
| h.hj = | ||
| h.hj || | ||
| function () { | ||
| (h.hj.q = h.hj.q || []).push(arguments); | ||
| }; | ||
| h._hjSettings = { hjid: 1900179, hjsv: 6 }; | ||
| a = o.getElementsByTagName("head")[0]; | ||
| r = o.createElement("script"); | ||
| r.async = 1; | ||
| r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv; | ||
| a.appendChild(r); | ||
| })(window, document, "//static.hotjar.com/c/hotjar-", ".js?sv="); | ||
| </script> | ||
| </head> | ||
|
|
||
| <body> | ||
| <noscript> | ||
| <strong>We're sorry but it doesn't work | ||
| properly without JavaScript enabled. Please enable it to | ||
| continue.</strong> | ||
| </noscript> | ||
| <div id="doc"></div> | ||
| <script type="module" src="/src/sites/sites-react/doc-taro/main.tsx"></script> | ||
| <script> | ||
| //分享配置 | ||
| var shareOption = { | ||
| iconUrl: "https://nutui.jd.com/img/logo_share.png", | ||
| url: "https://nutui.jd.com/demo.html#/index", | ||
| title: "轻量级移动端Vue组件库 - NutUI 3.0", | ||
| desc: "京东风格的Vue组件库", | ||
| }; | ||
|
|
||
| try { | ||
| /*初始化分享*/ | ||
| share.shareInit(shareOption); | ||
| } catch (e) { | ||
| console.log(e); | ||
| } | ||
| </script> | ||
| <script type="text/javascript"> | ||
| var jaq = jaq || []; | ||
| jaq.push(["account", "JA2018_1831300"]); | ||
| jaq.push(["domain", "jd.com"]); | ||
| (function () { | ||
| var ja = document.createElement("script"); | ||
| ja.type = "text/javascript"; | ||
| ja.async = true; | ||
| ja.src = "//wl.jd.com/joya.js"; | ||
| var s = document.getElementsByTagName("script")[0]; | ||
| s.parentNode.insertBefore(ja, s); | ||
| })(); | ||
| </script> | ||
| <script type="text/javascript" src="//s23.cnzz.com/z_stat.php?id=1276268086&web_id=1276268086"></script> | ||
| </body> | ||
|
|
||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.