|
|
@@ -40,9 +40,9 @@
|
|
|
<a @click="hasDialog = true">立即询价</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="info">
|
|
|
+ <div class="detail">
|
|
|
<div class="info_title">
|
|
|
- <p>产品参数<span>(仅供参考,以实际产品为准)</span></p> <a @click="hasDown = !hasDown">更多 <i class="el-icon-arrow-down" v-if="hasDown"></i> <i v-if="!hasDown" class="el-icon-arrow-up"></i></a>
|
|
|
+ <p>产品参数<span>(仅供参考,以实际产品为准)</span></p> <a v-if="!(!detail.cmpUuId || cmpInfo.properties.length === 0)" @click="hasDown = !hasDown">更多 <i class="el-icon-arrow-down" v-if="hasDown"></i> <i v-if="!hasDown" class="el-icon-arrow-up"></i></a>
|
|
|
</div>
|
|
|
<div class="empty" v-if="!detail.cmpUuId || cmpInfo.properties.length === 0">
|
|
|
<img src="/images/supplier/icon/empty.png">
|
|
|
@@ -126,9 +126,9 @@
|
|
|
name: 'DetailsView',
|
|
|
data () {
|
|
|
return {
|
|
|
- hasDown: true,
|
|
|
+ hasDown: false,
|
|
|
height300: {
|
|
|
- height: '300px'
|
|
|
+ maxHeight: '306px'
|
|
|
},
|
|
|
heightAuto: {
|
|
|
height: 'auto'
|
|
|
@@ -474,10 +474,11 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .info{
|
|
|
- padding-bottom:90px;
|
|
|
+ .detail{
|
|
|
+ margin-bottom:90px;
|
|
|
+ border:1px solid #e5e5e5;
|
|
|
.empty {
|
|
|
- padding-top: 25px;
|
|
|
+ padding:75px 0;
|
|
|
text-align: center;
|
|
|
img {
|
|
|
vertical-align: top;
|