|
|
@@ -28,8 +28,20 @@
|
|
|
<td colspan="3">
|
|
|
<a class="store-name"><div :title="store.storeName">{{store.storeName}}</div></a>
|
|
|
<div class="store-message">
|
|
|
- <span>企业介绍:</span>
|
|
|
- <span style="word-break: break-word;">{{showLittleDescription(store.enterprise.description)}}<em v-if="store.description && store.description.length > 160">...</em></span>
|
|
|
+ <div>
|
|
|
+ <span class="title">主营产品:</span>
|
|
|
+ <span class="info" v-text="store.description || '-'" :title="store.description">123</span>
|
|
|
+ <span class="split_line">|</span>
|
|
|
+ <span class="title">经营范围:</span>
|
|
|
+ <span class="info" v-text="store.storeApplication || '-'" :title="store.storeApplication">1212324</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span class="title">电话:</span>
|
|
|
+ <span class="info" v-text="store.enterprise.enTel || '-'" :title="store.enterprise.enTel">123</span>
|
|
|
+ <span class="split_line">|</span>
|
|
|
+ <span class="title">地址:</span>
|
|
|
+ <span class="info" v-text="store.enterprise.enAddress || '-'" :title="store.enterprise.enAddress">1212324</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="vertical-middle" style="text-align: center">
|
|
|
@@ -79,6 +91,7 @@ export default {
|
|
|
return this.$route.params.type
|
|
|
},
|
|
|
stores () {
|
|
|
+ console.log(this.$store.state.provider.stores.storeList.data)
|
|
|
return this.$store.state.provider.stores.storeList.data
|
|
|
},
|
|
|
user () {
|
|
|
@@ -277,6 +290,21 @@ export default {
|
|
|
-webkit-line-clamp: 2;
|
|
|
line-height: 18px;
|
|
|
}
|
|
|
+ #store-list table>tbody .store-message span.title{
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ #store-list table>tbody .store-message span.info{
|
|
|
+ float: left;
|
|
|
+ display: inline-block;
|
|
|
+ max-width: 280px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ #store-list table>tbody .store-message span.split_line {
|
|
|
+ float: left;
|
|
|
+ margin: 0 5px;
|
|
|
+ }
|
|
|
#store-list table>tbody tr:hover{
|
|
|
box-shadow: 1px 1px 12px rgb(145, 197, 239);
|
|
|
-moz-box-shadow: 1px 1px 12px rgb(145, 197, 239);
|