File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 493493<template>
494494 <div class="detail-bottom">
495495 <div class="detail-btn-wrapper">
496- <BaseButton
496+ <van-button
497497 :custom-class="isInShelf ? 'detail-btn-remove' : 'detail-btn-shelf'"
498498 round
499- :text="isInShelf ? '移出书架' : '加入书架'"
500499 @click="handleShelf"
501- />
500+ >
501+ {{isInShelf ? '移出书架' : '加入书架'}}
502+ </van-button>
502503 </div>
503504 <div class="detail-btn-wrapper">
504- <BaseButton
505+ <van-button
505506 custom-class="detail-btn-read"
506507 round
507- text="阅读"
508508 @click="() => readBook()"
509- />
509+ >
510+ 阅读
511+ </van-button>
510512 </div>
511513 </div>
512514</template>
513515
514516<script>
515- import BaseButton from '../base/BaseButton'
516517 export default {
517- components: { BaseButton },
518518 props: {
519519 isInShelf: Boolean
520520 },
You can’t perform that action at this time.
0 commit comments