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-06-02 13:19:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ba1b27a017dd94b519179a10fe8cbfa7208dc4ee
ba1b27a0
1 parent
1f955c35
细节优化调整
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
src/components/BookCard/index.vue
src/components/RankingItem/index.vue
src/components/BookCard/index.vue
View file @
ba1b27a
...
...
@@ -2,7 +2,11 @@
<div class="book-item van-hairline--bottom" @click="handle">
<van-row>
<van-col span="8">
<van-image width="7rem" height="7rem" :src="item.cover" style="text-align: center;" />
<van-image width="7rem" height="7rem" :src="item.cover" lazy-load style="text-align: center;">
<template #:loading>
<van-loading type="spinner" size="20" />
</template>
</van-image>
</van-col>
<van-col class="wrapper" span="16">
<p class="title van-multi-ellipsis--l2">{{ item.name }}</p>
...
...
src/components/RankingItem/index.vue
View file @
ba1b27a
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-30 10:20:34
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-0
1 21:40:50
* @LastEditTime: 2022-06-0
2 11:08:29
* @FilePath: /tswj/src/components/RankingList/index.vue
-->
<template>
...
...
@@ -16,7 +16,7 @@
</div>
<div v-else class="text">{{ indexKey + 1 }}</div>
</van-col>
<van-col span="1
8
" style="padding: 1rem 0.5rem 1rem 0;">
<van-col span="1
7
" style="padding: 1rem 0.5rem 1rem 0;">
<div :class="[rankInfo.multi_name ? 'height6rem' : 'height3rem', 'kg-name']" @click="go('/client/chooseBook', { kg_id: rankInfo.id })">
<van-row align="center" justify="center" style="position: relative; top: 50%; transform: translateY(-50%);">
<van-col span="4">
...
...
@@ -34,7 +34,7 @@
</van-row>
</div>
</van-col>
<van-col span="
2
">
<van-col span="
5
">
<div class="flower" @click="go('/client/donateList', { kg_id: rankInfo.id })">
<van-icon :name="icon_flower" color="#c5c5c5" size="1.25rem" style="vertical-align: bottom;" /> {{ rankInfo.qty }}
</div>
...
...
Please
register
or
login
to post a comment