head.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <template>
  2. <div>
  3. <div class="head">
  4. <div class="inner">
  5. <div class="headLogo left">
  6. <img src="../../static/images/image 36.png" alt="" @click="goBack">
  7. <!-- <span>{{ props.title }}</span> -->
  8. <span>商圈</span>
  9. </div>
  10. <div class="right">
  11. <!-- <span>
  12. <em class="home"></em>
  13. 设为首页
  14. </span>
  15. <span>
  16. <em class="collection"></em>
  17. 加入收藏
  18. </span> -->
  19. </div>
  20. </div>
  21. </div>
  22. <!-- <div class="tips">
  23. <div class="inner">
  24. <p v-show="false">注意:广告购买需提交信息,用户与商务人员进行线下金额交易,交易成功后由商务人员后台审核。审核通过,即广告投放成功。</p>
  25. </div>
  26. </div> -->
  27. </div>
  28. </template>
  29. <script setup>
  30. const props = defineProps({
  31. title: String
  32. });
  33. let goBack=()=>{
  34. window.location.href = ('http://nwpre.bjzxtw.org.cn/')
  35. }
  36. </script>
  37. <style lang="less" scoped>
  38. // 广告页面头部
  39. .head {
  40. width: 100%;
  41. padding: 15px 0;
  42. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  43. .inner {
  44. width: 1200px;
  45. height: 27px;
  46. }
  47. .headLogo {
  48. >img {
  49. width: 127px;
  50. height: 27px;
  51. padding-right: 15px;
  52. vertical-align: -10px;
  53. border-right: 1px solid #999;
  54. }
  55. >span {
  56. display: inline-block;
  57. width: 100px;
  58. padding-left: 15px;
  59. vertical-align: middle;
  60. font-family: Microsoft YaHei, Microsoft YaHei;
  61. font-weight: 400;
  62. font-size: 18px;
  63. color: #333333;
  64. line-height: 21px;
  65. text-align: left;
  66. font-style: normal;
  67. text-transform: none;
  68. }
  69. }
  70. .right {
  71. span {
  72. margin-left: 26px;
  73. font-family: PingFang SC, PingFang SC;
  74. font-weight: 400;
  75. font-size: 12px;
  76. color: #666666;
  77. line-height: 14px;
  78. text-align: left;
  79. font-style: normal;
  80. text-transform: none;
  81. }
  82. .home,
  83. .collection {
  84. display: inline-block;
  85. width: 16px;
  86. height: 16px;
  87. vertical-align: -3px;
  88. }
  89. .home {
  90. background-image: url("../../static/images/Iconly/Light/Home.png");
  91. }
  92. .collection {
  93. background-image: url("../../static/images/Iconly/Light/Star.png");
  94. }
  95. }
  96. }
  97. //提示信息
  98. .tips {
  99. width: 100%;
  100. height: 70px;
  101. line-height: 70px;
  102. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  103. .inner {
  104. width: 1200px;
  105. height: 70px;
  106. }
  107. p {
  108. font-family: Microsoft YaHei, Microsoft YaHei;
  109. font-weight: 400;
  110. font-size: 16px;
  111. color: #FE0101;
  112. // line-height: 19px;
  113. text-align: left;
  114. font-style: normal;
  115. text-transform: none;
  116. }
  117. }
  118. </style>