detail1.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <template>
  2. <div style="background: #f0f0f0;padding-bottom:50px">
  3. <div class="banner">
  4. <img src="~@/assets/images/trq.jpg" alt="">
  5. </div>
  6. <div class="bread">
  7. <div>
  8. <span>当前位置:首页-投融圈-融资案例-案例详情</span>
  9. </div>
  10. </div>
  11. <div class="smart-device">
  12. <div class="smart-title">
  13. <span><span>投融案例</span>INVESTMENT CASE</span>
  14. </div>
  15. <div class="smart-device-content">
  16. <div class="titles">
  17. <h3>{{detail.title}}</h3>
  18. </div>
  19. <div class="list-content" v-html="detail.content">
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </template>
  25. <script>
  26. export default {
  27. data () {
  28. return {
  29. active:1,
  30. zsList:[
  31. {
  32. img:'zs1.png',
  33. name:'专项扶持政策',
  34. eventIndex:1,
  35. detail:''
  36. },
  37. {
  38. img:'zs2.png',
  39. name:'税收优惠',
  40. eventIndex:2,
  41. detail:''
  42. },
  43. {
  44. img:'zs3.png',
  45. name:'奖励措施',
  46. eventIndex:3,
  47. detail:''
  48. },
  49. ],
  50. detail:{}
  51. }
  52. },
  53. mounted() {
  54. document.documentElement.scrollTop = document.body.scrollTop =0; //回到顶部
  55. this.detail = this.$route.params
  56. },
  57. methods: {
  58. detail1(index){
  59. switch(index) {
  60. case 1:
  61. this.$router.push({path:'/zhaoshang/detail1'})
  62. break;
  63. }
  64. }
  65. },
  66. };
  67. </script>
  68. <style scoped>
  69. .banner img{
  70. width: 100% !important;
  71. }
  72. @media screen and (min-width: 1000px){
  73. .bread{
  74. background: #fff;
  75. }
  76. .bread div{
  77. width: 1200px;
  78. margin: 0 auto;
  79. text-align: left;
  80. padding: 0.8rem 0;
  81. font-size: 1rem;
  82. }
  83. .smart-title{
  84. margin-top:3rem;
  85. }
  86. .smart-device{
  87. width: 1200px;
  88. margin: 0 auto;
  89. text-align: left;
  90. font-size: 1rem;
  91. overflow: hidden;
  92. }
  93. .smart-device span span{
  94. font-size: 2rem;
  95. display: inline-block;
  96. position: relative;
  97. padding-right: 1rem;
  98. margin-right: 1rem;
  99. font-weight: 900;
  100. }
  101. .smart-device span span:after{
  102. content: '';
  103. width: 1px;
  104. height: 15px;
  105. background: #666;
  106. position: absolute;
  107. right: 0;
  108. bottom: 7px;
  109. }
  110. .device-title img{
  111. width: 80%;
  112. }
  113. .nav-list{
  114. display: flex;
  115. justify-content: center;
  116. flex-wrap: nowrap;
  117. margin: 2rem auto;
  118. width: 50%;
  119. }
  120. .nav-list li{
  121. min-width: 33.33%;
  122. max-width: 33.33%;
  123. text-align: center;
  124. color: #666;
  125. font-size: 0.8rem;
  126. cursor: pointer;
  127. }
  128. .nav-list li span{
  129. border-bottom: 2px solid #f0f0f0;
  130. padding-bottom: 0.8rem;
  131. }
  132. .active span{
  133. display: inline-block;
  134. border-bottom: 2px solid #FF6A00!important;
  135. color: #333;
  136. }
  137. }
  138. @media screen and (max-width: 1000px){
  139. .banner{
  140. display: none;
  141. }
  142. .bread{
  143. display: none;
  144. }
  145. .smart-title{
  146. margin-top:2rem;
  147. }
  148. .smart-device{
  149. width: 90%;
  150. margin: 0 auto;
  151. text-align: left;
  152. font-size: 1rem;
  153. overflow: hidden;
  154. }
  155. .smart-device span span{
  156. font-size: 1.5rem;
  157. display: inline-block;
  158. position: relative;
  159. padding-right: 1rem;
  160. margin-right: 1rem;
  161. font-weight: 900;
  162. }
  163. .smart-device span span:after{
  164. content: '';
  165. width: 1px;
  166. height: 15px;
  167. background: #666;
  168. position: absolute;
  169. right: 0;
  170. bottom: 7px;
  171. }
  172. .device-title img{
  173. width: 100%;
  174. }
  175. .nav-list{
  176. display: flex;
  177. justify-content: center;
  178. flex-wrap: nowrap;
  179. margin: 2rem;
  180. }
  181. .nav-list li{
  182. min-width: 33.33%;
  183. max-width: 33.33%;
  184. text-align: center;
  185. color: #666;
  186. font-size: 0.8rem;
  187. cursor: pointer;
  188. }
  189. .nav-list li span{
  190. border-bottom: 2px solid #f0f0f0;
  191. padding-bottom: 0.8rem;
  192. }
  193. .active span{
  194. display: inline-block;
  195. border-bottom: 2px solid #FF6A00!important;
  196. color: #333;
  197. font-weight:800!important;
  198. }
  199. }
  200. .titles{
  201. text-align: center;
  202. margin: 2rem 0;
  203. }
  204. .list-content{
  205. min-height: 10rem;
  206. }
  207. </style>