|
|
@@ -8,7 +8,7 @@
|
|
|
</li>
|
|
|
<li class="active-empty" v-if="!storeInfo.qualifications || storeInfo.qualifications.length == 0">
|
|
|
<div class="text-center">
|
|
|
- <div>
|
|
|
+ <div class="show-img">
|
|
|
<img src="/images/brandList/empty-cart.jpg">
|
|
|
</div>
|
|
|
<div class="txt-info">
|
|
|
@@ -49,7 +49,17 @@
|
|
|
},
|
|
|
computed: {
|
|
|
storeInfo () {
|
|
|
- return this.$store.state.shop.storeInfo.store.data
|
|
|
+ let storeInfo = this.baseUtils.deepCopy(this.$store.state.shop.storeInfo.store.data)
|
|
|
+ if (storeInfo.qualifications && storeInfo.qualifications.length) {
|
|
|
+ let tempQua = []
|
|
|
+ storeInfo.qualifications.map(item => {
|
|
|
+ if (item.type === 'APTITUDE') {
|
|
|
+ tempQua.push(item)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ storeInfo.qualifications = tempQua
|
|
|
+ }
|
|
|
+ return storeInfo
|
|
|
},
|
|
|
user() {
|
|
|
return this.$store.state.option.user
|
|
|
@@ -62,7 +72,7 @@
|
|
|
if (this.user.logged && this.user.data.enterprise.uu) {
|
|
|
if (this.storeStatus.uuid === this.storeInfo.uuid) {
|
|
|
loggedStatus = true
|
|
|
- this.storeInfo = this.storeStatus
|
|
|
+ // this.storeInfo = this.storeStatus
|
|
|
} else {
|
|
|
loggedStatus = false
|
|
|
}
|
|
|
@@ -256,9 +266,21 @@
|
|
|
}
|
|
|
.active-empty{
|
|
|
width: 100%;
|
|
|
- .text-center{
|
|
|
- text-align: center;
|
|
|
- margin-top: 12px;
|
|
|
+ .text-center {
|
|
|
+ overflow: hidden;
|
|
|
+ text-align: center;
|
|
|
+ margin: 85px auto;
|
|
|
+ div{
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ div.show-img{
|
|
|
+ margin-left: 350px;
|
|
|
+ }
|
|
|
+ div.txt-info {
|
|
|
+ position: absolute;
|
|
|
+ left: 470px;
|
|
|
+ top: 108px;
|
|
|
+ }
|
|
|
}
|
|
|
.text-center .col-xs-2 img{
|
|
|
margin: 65px 0 85px 205px;
|