diff --git a/README.md b/README.md index 537609b..533a1e1 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ # Easy-Vibe : Learn vibe coding from 0 to 1 +
A comprehensive, interactive guide to mastering AI-assisted coding from absolute beginner to confident practitioner.
+📌 在线阅读 (Read Online) · ✨ 交互式教程 (Interactive Tutorial)
diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/AdderChainDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/AdderChainDemo.vue index b8d4aff..1a39e20 100644 --- a/docs/.vitepress/theme/components/appendix/computer-fundamentals/AdderChainDemo.vue +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/AdderChainDemo.vue @@ -69,7 +69,7 @@ v-for="(b, i) in bitsA" :key="'a' + i" class="bit" - :class="{ hl: activeBit === i }" + :class="{ hl: activeBit === (bitCount - 1 - i) }" >{{ b }} ({{ clampedA }}) @@ -81,7 +81,7 @@ v-for="(b, i) in bitsB" :key="'b' + i" class="bit" - :class="{ hl: activeBit === i }" + :class="{ hl: activeBit === (bitCount - 1 - i) }" >{{ b }} ({{ clampedB }}) @@ -93,7 +93,7 @@ v-for="(b, i) in bitsSum" :key="'s' + i" class="bit result-bit" - :class="{ hl: activeBit === i }" + :class="{ hl: activeBit === (bitCount - 1 - i) }" >{{ b }} ({{ resultDec }}{{ overflow ? ' 溢出' : '' }}) diff --git a/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompleteAdderDemo.vue b/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompleteAdderDemo.vue index cb1e634..d2e8c5a 100644 --- a/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompleteAdderDemo.vue +++ b/docs/.vitepress/theme/components/appendix/computer-fundamentals/CompleteAdderDemo.vue @@ -456,15 +456,15 @@