headerMobile.vue 771 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div class="header">
  3. <h3><img :src="loginStyle.logoUrlMobile ? loginStyle.logoUrlMobile : '/img/logo/uas.png'" alt="">{{loginStyle.titleMobile || '账户中心'}}</h3>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'headerMobile',
  9. computed: {
  10. loginStyle () {
  11. return this.$store.state.login.loginStyle.data.content ? this.$store.state.login.loginStyle.data.content : ''
  12. }
  13. }
  14. }
  15. </script>
  16. <style scoped type="text/scss" lang="scss">
  17. .header{
  18. margin: 0 auto;
  19. overflow: hidden;
  20. text-align: center;
  21. line-height: 1.5rem;
  22. h3{
  23. margin:0;
  24. color:#333;
  25. font-weight: bold;
  26. font-size:.4rem;
  27. }
  28. img{
  29. width:1.4rem;
  30. height:.38rem;
  31. vertical-align: middle;
  32. margin-right:.2rem;
  33. }
  34. }
  35. </style>