Skip to content

Commit

Permalink
docs: optimize docs
Browse files Browse the repository at this point in the history
  • Loading branch information
laorange committed Jun 7, 2022
1 parent 5c1f43d commit 0ac0586
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions src/components/FooterArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ function open(href: string) {
<template>
<donate-dialog v-model="showDonateDialog"></donate-dialog>
<el-footer>
<div>Made with ❤️ by <span @click="open('https://github.com/laorange')" style="cursor: pointer">GitHub@laorange</span></div>
<el-button type="success" :icon="Trophy" @click="showDonateDialog=true" size="small">赞赏支持</el-button>
<div>源代码: <a href="https://github.com/laorange/LaminateCalculation">GitHub</a> | <a href="https://gitee.com/laorange/LaminateCalculation">Gitee</a></div>
<div class="donate-button-area">
<div>Developed by <span @click="open('https://github.com/laorange')" style="cursor: pointer">GitHub@laorange</span></div>
<el-button type="success" :icon="Trophy" @click="showDonateDialog=true" size="small">赞赏支持</el-button>
</div>
</el-footer>
</template>

<style scoped>
.el-footer {
display: flex;
flex-direction: column;
justify-content: space-around;
height: 100px;
}
.donate-button-area {
display: flex;
flex-direction: row;
justify-items: center;
Expand Down
4 changes: 2 additions & 2 deletions src/components/LayerAttributeInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ function letSymmetric() {
</template>
</n-dynamic-input>

<n-divider v-if="store.inputtedLayerInfos.length > 0">
<el-button @click="letSymmetric">关于此处上下对称</el-button>
<n-divider v-if="store.inputtedLayerInfos.length > 1">
<el-button @click="letSymmetric">需要上下对称?点击此处</el-button>
</n-divider>
</div>
</template>
Expand Down

0 comments on commit 0ac0586

Please sign in to comment.