Head.vue 3.2 KB

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