Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-13 12:02:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b7504535e43ad13a313f850a92d1313ca8961a40
b7504535
1 parent
17749ff2
fix 书籍介绍展开显示优化
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
src/components/RightSideList/index.vue
src/views/client/bookDetail.vue
src/components/RightSideList/index.vue
View file @
b750453
...
...
@@ -17,7 +17,7 @@
<div class="text-wrapper" @click="handle">
<van-row align="center" justify="center" style="position: relative; top: 50%; transform: translateY(-50%);">
<van-col span="20" style="color: #713610;"><slot></slot></van-col>
<van-col span="4"><van-icon name="arrow" color="#c5c5c5" size="1.25rem" /></van-col>
<van-col span="4"
style="text-align: center;"
><van-icon name="arrow" color="#c5c5c5" size="1.25rem" /></van-col>
</van-row>
</div>
</div>
...
...
src/views/client/bookDetail.vue
View file @
b750453
...
...
@@ -141,12 +141,13 @@ const onToggle = (v) => {
isToggle.value = v
}
onMounted(() => {
// DOM操作需要等待执行
setTimeout(() => {
// 判断是否显示简介的展开图标
nextTick(() => {
hasToggle.value = tools.hasEllipsis('book-intro');
})
}
)
}
, 500);
/**
* 书籍订阅
...
...
Please
register
or
login
to post a comment