diff --git a/src/component/Detail/detailLeft/colorBox/index.vue b/src/component/Detail/detailLeft/colorBox/index.vue index d466e6a0..6607ff37 100644 --- a/src/component/Detail/detailLeft/colorBox/index.vue +++ b/src/component/Detail/detailLeft/colorBox/index.vue @@ -141,6 +141,7 @@ export default defineComponent({ JSON.stringify(colorData.selectDetail.color.gradient) == JSON.stringify(color?.gradient) && colorData.selectDetail.color.rgba?.r ){ + console.log('---',index) isNoSelect = true colorData.selectColor = item colorData.colorList.index = index @@ -160,8 +161,8 @@ export default defineComponent({ if(color?.gradient){ item.gradient = color?.gradient } - colorData.colorList.index = index - colorData.selectColor = item + // colorData.colorList.index = index + // colorData.selectColor = item } colorData.colorList.list[newVal].push(item) } diff --git a/src/component/Detail/detailLeft/module/libraryList.vue b/src/component/Detail/detailLeft/module/libraryList.vue index bd3459c0..bd999c07 100644 --- a/src/component/Detail/detailLeft/module/libraryList.vue +++ b/src/component/Detail/detailLeft/module/libraryList.vue @@ -350,6 +350,7 @@ export default defineComponent({ margin-top: 1rem; justify-content: space-between; align-content: flex-start; + padding-bottom: 2rem; // &::-webkit-scrollbar{display: none;} > .content_img_item{ width: calc((50% - 1rem)); @@ -368,9 +369,12 @@ export default defineComponent({ > .material_content_list_loding{ width: 100%; aspect-ratio: 1/1; + height: 4rem; overflow: hidden; > img{ width: 100%; + height: 100%; + object-fit: contain; } } } diff --git a/src/views/HomeRecommend.vue b/src/views/HomeRecommend.vue index 3a52ecff..c588b186 100644 --- a/src/views/HomeRecommend.vue +++ b/src/views/HomeRecommend.vue @@ -1,19 +1,19 @@