.top-pane { display: flex; justify-content: space-between; margin: 0 10px; } .top-pane .el-image { width: 200px; height: 100px; object-fit: fill; } .center-box { display: flex; flex: 9; } .publish-date { flex: 1; display: flex; justify-content: end; } .image-space { margin-right: 20px; } .album-box { flex-direction: column; display: flex; justify-content: space-between; } .album-name { font-weight: 600; font-size: 16px; } .tag-box { display: flex; flex-wrap: wrap; margin-top: 20px; } .tag-name { background: #ffefd4; padding: 2px 15px; border-radius: 5px; color: #ff7f4e; margin: 5px 10px 0 0; } .center-pane { display: flex; justify-content: center; margin: 50px 0 20px 1px; } .num-box { display: flex; flex-direction: column; align-items: center; font-weight: 400; margin-right: 120px; font-size: 16px; } .num-box .goods-num { margin-bottom: 20px; } .goods-detail-pane { display: grid; grid-template-columns: repeat(auto-fit, 240px); grid-column-gap: 20px; min-height: 100vh; margin-bottom: 60px; } .goods-detail-box { width: 240px; border: 1px solid #ccc; transition: all 0.3s; position: relative; overflow: hidden; margin-bottom: 20px; height: 354px; } .goods-detail-box:hover { border-color: #df0f0f; height: 374px; } .goods-detail-box .box-li-img { width: 240px; height: 240px; position: relative; } .goods-detail-box img { width: 240px; height: 240px; } .goods-detail-box .center { display: none; width: 100%; font-size: 12px; position: absolute; bottom: 0; line-height: 30px; z-index: 2; background: #e1564c; color: #fff; font-weight: 600; text-align: center; } .goods-detail-box:hover .center { display: flex; } .goods-detail-box .center .center-detail { width: 66.6%; border-right: 2px solid #ccc; text-align: center; cursor: pointer; } .goods-detail-box .center .center-import { flex: 1; text-align: center; } .goods-detail-box .title { margin: 0 0 0 5px; height: 40px; display: -webkit-box; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; line-height: 20px; -webkit-box-orient: vertical; } .goods-detail-box .bottom-one { display: flex; justify-content: space-around; font-size: 12px; } .goods-detail-box .bottom-two { display: none; justify-content: space-evenly; font-size: 12px; } .goods-detail-box:hover .bottom-two { display: flex; } .goods-detail-box .bottom-line { display: flex; flex-direction: column; align-items: center; justify-content: center; } .goods-detail-box .in-price { color: #ff6767; } .vue-page { padding: 20px; } .vue-page-bottom { display: flex; align-items: center; justify-content: space-between; } .vue-page-bottom .tip { color: #ff7a78; font-size: 15px; } .form-pane { margin: 20px 0; }