1.vue 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <div class="headStyle1">
  3. <div class="headTopBox">
  4. <div class="headTopBoxBg">
  5. <div class="headTopInfoLeft">您好,欢迎来到{{this.$store.state.template.webSiteInfo.website_name}}网!</div>
  6. <div class="headTopInfoRight">
  7. <div class="headInfoItem" @click="banUse"><img src="http://img.bjzxtw.org.cn/pre/image/png/20250527/1748328204272390.png" alt="搜索">搜索</div>
  8. <div class="headInfoItem" @click="banUse"><img src="http://img.bjzxtw.org.cn/pre/image/png/20250527/1748329860825368.png" alt="广告服务">广告服务</div>
  9. <div class="headInfoItem" @click="banUse"><img src="http://img.bjzxtw.org.cn/pre/image/png/20250527/1748329883541848.png" alt="登录">登录</div>
  10. <div class="headInfoItem" @click="banUse"><img src="http://img.bjzxtw.org.cn/pre/image/png/20250527/174832996345491.png" alt="注册">注册</div>
  11. </div>
  12. </div>
  13. <div class="headLogoBox">
  14. <img :src="this.$store.state.template.webSiteInfo.logo" class="headLogoBox">
  15. <div :class="['headAdTopBox',{componentBorder: this.$store.state.template.previewStatus==false}]">
  16. <editBtn :type="3" />
  17. <!--皮肤1-->
  18. <img src="http://img.bjzxtw.org.cn/pre/image/png/20250527/1748332370111555.png" v-if="this.$store.state.template.editWebsiteClass==1">
  19. <!--皮肤2-->
  20. <img src="http://img.bjzxtw.org.cn/pre/image/jpeg/20250625/1750817753245775.jpg" v-if="this.$store.state.template.editWebsiteClass==2">
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. </template>
  26. <script>
  27. import '@/styles/theme/head/style1.less';
  28. import editBtn from '../../../public/editBtn.vue'
  29. export default {
  30. components: {
  31. editBtn,
  32. },
  33. props: {},
  34. data() {
  35. return {};
  36. },
  37. methods: {
  38. banUse(){
  39. this.$store.commit('template/alertMessage');
  40. }
  41. },
  42. mounted(){},
  43. };
  44. </script>
  45. <style scoped lang="less">
  46. </style>