-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate site to nutui-react (#2955)
* feat: save my migrate progress * feat: css transition add list * feat: save search component progress * feat: save search component progress * feat: save taro some logics * feat: save lang switch * feat: save some guide and routes logics * feat: save some guide and routes logics * feat: save some guide and routes logics * feat: save some guide & guideTaro routes logics * fix: 重置Nav Tab刷新逻辑 * chore: delete some logs * feat: save some backtop logics * refactor: 打包结构初始配置 * fix: site start vite config * fix: adjust dir * fix: extract taro basic structure * fix: vite taro site 启动入口修复 * fix: change from spa to routes 分离 * fix: header import failed * fix: taro doc build failed * fix: test build h5 demo routes * feat: taro site构建流程 * fix: add redirect link to resolve empty page bug * fix: resolve tabs activeName incorrect * fix: resolve conflicts * fix: build error * fix: build error * refactor: 简化site启动方式并更新相关的E2E测试配置 * chore: 简化本地开发方式,移除vite冗余配置 * fix: e2e url * fix: remove pics * fix: remove useless files * fix: remove useless files * fix: code highlight * chore: resolve conflict s * chore: remove harmony.css files * chore: remove harmony.css files and add git ignore file * chore: update selected version * chore: update docs
- Loading branch information
1 parent
4d38121
commit 6a23255
Showing
102 changed files
with
9,649 additions
and
1,321 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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.