|
@@ -31,9 +31,9 @@
|
|
|
<div class="middle com-margin-auto com-flex">
|
|
|
<div class="middle-item-left">
|
|
|
<img
|
|
|
- src="@/assets/img/logo_footer.png"
|
|
|
- alt="" />
|
|
|
- <p>{{ indexConfigWebsite.company_introduction }}</p>
|
|
|
+ :src="websitelogo"
|
|
|
+ alt="logo" />
|
|
|
+ <!-- <p>{{ indexConfigWebsite.company_introduction }}</p> -->
|
|
|
</div>
|
|
|
<div class="middle-item-right">
|
|
|
<div class="item-menu">
|
|
@@ -154,9 +154,9 @@
|
|
|
alt="" />
|
|
|
</a> -->
|
|
|
</div>
|
|
|
- <div class="footer-bottom-item-right">
|
|
|
+ <!-- <div class="footer-bottom-item-right">
|
|
|
{{ indexConfigWebsite.version_info }}
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<dialog-XX-success
|
|
@@ -183,6 +183,7 @@ export default {
|
|
|
scroll: 0,
|
|
|
xxContentVisible: false,
|
|
|
xxDesc: '',
|
|
|
+ websitelogo: ''
|
|
|
}
|
|
|
},
|
|
|
async fetch() {
|
|
@@ -213,6 +214,14 @@ export default {
|
|
|
return !!this.$store.state.userInfo?.email
|
|
|
},
|
|
|
},
|
|
|
+ beforeMount() {
|
|
|
+ this.$store.dispatch('getShopInfo').then(res => {
|
|
|
+ this.websitelogo = !this.$mediaRegExp.test(res.logo)
|
|
|
+ ? this.$OSS_PREFIX +
|
|
|
+ (/^\/.+/.test(res.logo) ? res.logo : `/${res.logo}`)
|
|
|
+ : res.logo
|
|
|
+ })
|
|
|
+ },
|
|
|
methods: {
|
|
|
...mapMutations('config', ['setConfigInfo']),
|
|
|
...mapMutations(['openDialog']),
|
|
@@ -340,7 +349,7 @@ footer {
|
|
|
.middle {
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
- background: url('@/assets/img/Shape 28.png') no-repeat;
|
|
|
+ // background: url('@/assets/img/Shape 28.png') no-repeat;
|
|
|
height: 377px;
|
|
|
.footer-middle-item {
|
|
|
width: 100%;
|