From cc728e9665242f59a3061e5eb96787e1746f5593 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期日, 24 八月 2025 15:57:37 +0800 Subject: [PATCH] 样式修改2 --- src/views/personalCenter/myBook.vue | 24 +++++++++--------------- 1 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/views/personalCenter/myBook.vue b/src/views/personalCenter/myBook.vue index 0f21fa7..f58b2b3 100644 --- a/src/views/personalCenter/myBook.vue +++ b/src/views/personalCenter/myBook.vue @@ -29,7 +29,7 @@ </div> </div> <div class="myCarTopPage" v-else> - <el-empty description="鎮ㄨ繕鏈喘涔颁换浣曞浘涔�" :image-size="200" /> + <el-empty style="margin: auto" description="鎮ㄨ繕鏈喘涔颁换浣曞浘涔�" :image-size="200" /> </div> </div> <div class="pageCon"> @@ -71,24 +71,16 @@ import { reactive, ref, onMounted, inject, watch } from 'vue' import { useRouter } from 'vue-router' import defaultImg from '@/assets/images/default-book-img.png' -import { useUserStore } from '@/store' import tool from '@/assets/js/toolClass' const MG: any = inject('MG') const config: any = inject('config') const router = useRouter() let collectList = ref([]) -let currentCollect = ref('book') let isLoading = ref(false) -let pages = reactive({ - page: 1, - pageSize: 10, - count: 0, - loading: false, -}) -let linkType = ref('PurchasedProduct') + let paginationData = reactive({ page: 1, - limit: 10, + limit: 6, totalCount: 0, totalPage: 0, }) @@ -213,8 +205,9 @@ } .details div:first-child { font-size: 16px; - color: #2b68cd; + color: #019e58; margin-bottom: 11px; + line-height: 24px; } .details div:nth-child(2) { @@ -260,9 +253,10 @@ cursor: pointer; margin: 10px; box-sizing: border-box; - padding: 10px 30px; - border: 1px solid #ddd; + padding: 15px 30px; + border: 1px solid #b1ccc1; box-sizing: border-box; + border-radius: 5px; } .bookone:hover { -moz-box-shadow: 4px 3px 6px rgba(0, 0, 0, 0.3); @@ -273,7 +267,7 @@ .bookone .imgBox { position: relative; width: 120px; - height: 160px; + height: 150px; background: #fff; box-shadow: 0px 0px 20px 1px #ccc; } -- Gitblit v1.9.1