Skip to content

Commit a8c83cf

Browse files
committed
docs
1 parent ac7771c commit a8c83cf

3 files changed

Lines changed: 14 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77

88
基于 ThreeJS 做的 一些演示案例。
99

10-
[快速预览。][github-pages-url]
10+
[所有示例快速预览。][github-pages-url]
11+
12+
## 预览
13+
14+
- [模型拆分展示/自动爆炸效果](https://funnyzak.github.io/threejs-model-tutorial/#/tutorial/dismantling)
15+
![效果预览](https://raw.githubusercontent.com/funnyzak/threejs-model-tutorial/public/.assets/imgs/dismantling.gif)
1116

1217
## 使用
1318

1.1 MB
Loading

src/pages/index/views/tutorial/Dismantling.vue

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Model by&nbsp;<a
88
href="https://sketchfab.com/3d-models/motorcycle-custom-bike-jawa-low-poly-13771fe558604aedae09b5157029e790"
99
target="_blank"
10-
>kreems</a
10+
>Kreems</a
1111
>
1212
</div>
1313
<canvas
@@ -332,6 +332,9 @@ export default {
332332
};
333333
</script>
334334
<style lang="scss" scoped>
335+
a {
336+
color: #409eff;
337+
}
335338
.button-container {
336339
position: absolute;
337340
margin: auto;
@@ -352,12 +355,11 @@ export default {
352355
.footer {
353356
position: absolute;
354357
bottom: 0;
358+
box-sizing: border-box;
359+
padding: 0 20px 0 0;
355360
width: 100vw;
356-
height: 50px;
357-
background-color: #409eff;
361+
height: 30px;
358362
color: white;
359-
display: flex;
360-
justify-content: center;
361-
align-items: center;
363+
text-align: right;
362364
}
363365
</style>

0 commit comments

Comments
 (0)