Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-05-28 14:14:28 +08:00
253 changed files with 9524 additions and 5523 deletions
@@ -6,7 +6,9 @@ body {
overflow-x: auto;
color: @van-doc-black;
font-size: 16px;
font-family: PingFang SC, 'Helvetica Neue', Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
Segoe UI, Arial, Roboto, 'PingFang SC', 'Hiragino Sans GB',
'Microsoft Yahei', sans-serif;
background-color: @van-doc-background-color;
-webkit-font-smoothing: antialiased;
}
+1 -3
View File
@@ -4,9 +4,7 @@ export function scrollToAnchor(selector) {
const timer = setInterval(() => {
const el = document.querySelector(selector);
if (el) {
el.scrollIntoView({
behavior: 'smooth',
});
el.scrollIntoView();
clearInterval(timer);
} else {
count++;
@@ -39,9 +39,10 @@ export default {
<style lang="less">
.demo-nav {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 56px;
line-height: 56px;
text-align: center;
background-color: #fff;
&__title {