Browse Source

空状态界面四次验收调整

wangcz 8 years ago
parent
commit
77f5fb5fb0
2 changed files with 4 additions and 4 deletions
  1. 1 1
      components/store/CommodityList.vue
  2. 3 3
      components/store/ComponentInfo.vue

+ 1 - 1
components/store/CommodityList.vue

@@ -478,7 +478,7 @@ export default {
 		color: #fff;
 		color: #fff;
 	}
 	}
 	.category-content{
 	.category-content{
-		min-height: 243px;
+		/*min-height: 243px;*/
 	}
 	}
 	.no-record{
 	.no-record{
 		font-size: 14px;
 		font-size: 14px;

+ 3 - 3
components/store/ComponentInfo.vue

@@ -5,13 +5,13 @@
         <span class="tab">产品参数<b class="tip">(仅供参考,以实际产品为准)</b></span>
         <span class="tab">产品参数<b class="tip">(仅供参考,以实际产品为准)</b></span>
       </div>
       </div>
       <ul class="list-unstyled list-inline" style="margin-left: 0px;" v-if="component.properties">
       <ul class="list-unstyled list-inline" style="margin-left: 0px;" v-if="component.properties">
-        <li v-for="property in component.properties" v-if="property.value">
+        <li v-for="property in component.properties">
           <div class="property-name">
           <div class="property-name">
             <span v-text="property.property.labelCn"></span>:
             <span v-text="property.property.labelCn"></span>:
           </div>
           </div>
-          <div class="property-value" v-text="property.value"></div>
+          <div class="property-value">{{property.value ? property.value : '-'}}</div>
         </li>
         </li>
-        <li v-if="!component.properties || component.properties.length === 0" class="text-center">
+        <li v-if="!component.properties || component.properties.length === 0" class="text-center" style="display:block;margin-top:0;">
           <i class="fa fa-smile-o fa-lg"></i> 暂无参数信息
           <i class="fa fa-smile-o fa-lg"></i> 暂无参数信息
         </li>
         </li>
       </ul>
       </ul>