bugfix
This commit is contained in:
parent
f55e8e9f20
commit
8282768738
@ -68,7 +68,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="spec-item">
|
<div class="spec-item">
|
||||||
<span class="spec-label">需求描述:</span>
|
<span class="spec-label">需求描述:</span>
|
||||||
<span class="spec-value">{{ item.requirement_summary }}</span>
|
<span class="spec-value showText">{{ item.requirement_summary }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@ -109,6 +109,16 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
.showText{
|
||||||
|
//显示四行
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 4;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: normal;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
.productListContent {
|
.productListContent {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: repeat(4, 1fr);
|
||||||
@ -119,16 +129,15 @@ export default {
|
|||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
||||||
.product-item {
|
.product-item {
|
||||||
|
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #F7F9FD;
|
background: #F7F9FD;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
// box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
// box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
|
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
// &:hover {
|
// &:hover {
|
||||||
// transform: translateY(-2px);
|
// transform: translateY(-2px);
|
||||||
@ -138,6 +147,7 @@ export default {
|
|||||||
.product-image {
|
.product-image {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -150,6 +160,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.product-info {
|
.product-info {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
.product-name {
|
.product-name {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -160,6 +174,7 @@ export default {
|
|||||||
|
|
||||||
.product-specs {
|
.product-specs {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
.spec-item {
|
.spec-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@ -64,6 +64,10 @@
|
|||||||
暂无数据
|
暂无数据
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 返回 -->
|
||||||
|
<div class="back-btn" @click="$router.push('/ncmatchHome/index')">
|
||||||
|
<span><返回</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -215,6 +219,21 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
.back-btn{
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #666;
|
||||||
|
&:hover{
|
||||||
|
cursor: pointer;
|
||||||
|
color: #275AFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* 新增的radio按钮组样式 */
|
/* 新增的radio按钮组样式 */
|
||||||
.radio-group-container {
|
.radio-group-container {
|
||||||
width: 100%!important;
|
width: 100%!important;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user