IntroductionCooperation.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <template>
  2. <div>
  3. <div class="autoBox box">
  4. <div class="crumbs">
  5. <el-breadcrumb separator="/">
  6. <el-breadcrumb-item :to="{ path: 'home' }">首页</el-breadcrumb-item>
  7. <el-breadcrumb-item >合作介绍</el-breadcrumb-item>
  8. </el-breadcrumb>
  9. </div>
  10. <div style="margin-top: 70px;" class="introductionBox">
  11. <div style="margin: 30px 50px;height: 300px;border-bottom: 1px solid #bcbcbc; position: relative;" v-for="(details,index) in initData" class="introductionBoxitem">
  12. <div style="position: absolute;top: 10px;left: 50%;transform: translateX(-50%);color: #000;font-weight: 700;padding-bottom: 5px;border-bottom: 2px solid #6bb8ff;">{{details.label}}</div>
  13. <div>
  14. <!-- <img :src="getIconUrl(details.img)" alt="" style="width:200px;margin-top:40px;vertical-align: top;"> -->
  15. <span style="float: left;margin-top: 60px;margin-left: 75px; width: 390px;height: 100%;" v-if="index==0">
  16. 全球能源互联网发展合作组织会员分布情况,截至2020年5月,共825家会员,遍及六大洲,112个国家,涉及12个行业。
  17. </span>
  18. <span style="float: right;margin-top: 60px;margin-right: 75px; width: 390px;height: 100%;" v-if="index==1">
  19. 全球能源互联网发展合作组织联盟成员员分布情况,截至2020年5月,共成立大学联盟、智库联盟、金融联盟、装备联盟四大联盟,XXX家联盟成员,遍及六大洲,XXX个国家,涉及12个行业。
  20. </span>
  21. <span style="float: left;margin-top: 60px;margin-left: 75px; width: 390px;height: 100%;" v-if="index==2">
  22. 全球能源互联网发展合作组织为合作单位提供个性化服务,截至2020年5月,个性化服务共XX项,遍及六大洲,112个国家,涉及12个行业。
  23. </span>
  24. <span style="float: left;width: 200px;margin: 50px 0 0 100px;">
  25. <el-button v-for="(item,index) in details.child" :type="item.tag?'primary':''"
  26. style="margin-left: 0;margin-top: 10px;width: 145px;text-align: left;"
  27. @click="toView(item.url,'')"
  28. >
  29. <img :src="getIconUrl(item.icon)" alt="" class="img">{{item.label}}</el-button>
  30. </span>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </template>
  37. <script>
  38. export default {
  39. name: 'RnterpriseDetails',
  40. data () {
  41. return {
  42. enterpriseDetails:'',
  43. initData:[{
  44. label:'会员介绍',
  45. img:'20200611_03.gif',
  46. details:'',
  47. child:[{
  48. icon:'profile.png',
  49. label:'会员概况',
  50. url:'IntroductionMemberProfile',
  51. },{
  52. icon:'information.png',
  53. label:'会员信息',
  54. url:'IntroductionMemberInformation',
  55. },{
  56. icon:'information.png',
  57. label:'入会申请',
  58. url:'IntroductionMembershipApplication',
  59. tag:'1'
  60. }]
  61. },{
  62. label:'联盟介绍',
  63. img:'20200611456_03.gif',
  64. details:'',
  65. child:[{
  66. icon:'overview.png',
  67. label:'联盟概况',
  68. url:'IntroductionAllianceOverview',
  69. },{
  70. icon:'Alliance.png',
  71. label:'联盟成员信息',
  72. url:'IntroductionAllianceMemberInformation',
  73. },{
  74. icon:'Alliance.png',
  75. label:'入盟申请',
  76. url:'IntroductionApplicationMembership',
  77. tag:'1'
  78. }]
  79. },{
  80. label:'合作单位介绍',
  81. img:'20200611123_03.gif',
  82. details:'',
  83. child:[{
  84. icon:'situation.png',
  85. label:'合作概况',
  86. url:'IntroductionGeneralSituation',
  87. },{
  88. icon:'PartnerInformation.png',
  89. label:'合作单位信息',
  90. url:'IntroductionPartnerInformation',
  91. },{
  92. icon:'PartnerInformation.png',
  93. label:'定制服务申请',
  94. url:'IntroductionCustomService',
  95. tag:'1'
  96. },{
  97. icon:'PartnerInformation.png',
  98. label:'资助申请',
  99. url:'IntroductionFundingApplication',
  100. tag:'1'
  101. }]
  102. }]
  103. }
  104. },
  105. created(){
  106. this.enterpriseDetails=this.$route.params.key
  107. },
  108. mounted(){
  109. },
  110. methods:{
  111. getIconUrl(url){
  112. return require("@/assets/img/introductionCooperation/"+url);
  113. },
  114. toView(router,json){
  115. this.$router.push({name:router,params:json})
  116. },
  117. screenBack(data){
  118. console.log(data,'screenBackscreenBackscreenBackscreenBack')
  119. },
  120. screen(i){
  121. this.index=i
  122. }
  123. }
  124. }
  125. </script>
  126. <!-- Add "scoped" attribute to limit CSS to this component only -->
  127. <style scoped>
  128. .box {
  129. margin-top: 10px;
  130. background: #fff;
  131. /* height: 500px; */
  132. padding: 20px 0;
  133. }
  134. .crumbs {
  135. margin-left: 20px;
  136. }
  137. body {
  138. margin: 0;
  139. }
  140. .introductionBox .introductionBoxitem:nth-child(2n+1) img {
  141. float: left;
  142. margin-left: 80px;
  143. }
  144. .introductionBox .introductionBoxitem:nth-child(2n+1) .img {
  145. float: left;
  146. margin-left: 0px;
  147. margin-right: 5px;
  148. }
  149. .introductionBox .introductionBoxitem:nth-child(2n) img {
  150. float: right;
  151. margin-right: 80px;
  152. }
  153. .introductionBox .introductionBoxitem:nth-child(2n) .img {
  154. float: left;
  155. margin-right: 5px;
  156. }
  157. .introductionBoxitem span{
  158. color: #768aa3;
  159. line-height: 25px;
  160. }
  161. .introductionBoxitem:nth-child(3){
  162. border-bottom: 0 !important;
  163. }
  164. </style>