提交 391958b2 编写于 作者: richard_1015's avatar richard_1015

upd: site bg image

上级 69ba8cf2
......@@ -37,7 +37,7 @@
],
"scripts": {
"checked": "npm run generate:file && tsc",
"dev": "npm run checked && vite --open",
"dev": "npm run checked && vite --open --force",
"build:site": "npm run checked && vite build",
"build:gh-pages": "npm run checked && vite build --base=/nutui/",
"build:site:oss": "npm run checked && vite build --base=/nutui/3x/",
......
......@@ -31,7 +31,6 @@
></iframe>
</div>
</div>
<div class="content-right"></div>
</div>
<div class="doc-content-features">
<div class="doc-content-hd">
......@@ -211,6 +210,11 @@ export default defineComponent({
}
.doc-content-index {
.content-left {
background: url(https://storage.360buyimg.com/imgtools/a423faab46-8b142e80-8bb1-11eb-853a-6fded8704e77.png)
no-repeat;
background-size: 1126px 568px;
background-position-x: right;
background-position-y: 150px;
.content-title {
animation: fadeInLeft 1s both;
}
......@@ -508,13 +512,6 @@ export default defineComponent({
}
}
}
.content-right {
flex: 2;
background: url(https://storage.360buyimg.com/imgtools/a423faab46-8b142e80-8bb1-11eb-853a-6fded8704e77.png)
no-repeat;
background-size: contain;
background-position: center;
}
}
.doc-content-black {
background: $theme-black-content-bg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册