enterprise_detail.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {extend name="public/base_human"/}
  2. {block name="css"}
  3. <style>
  4. .content-box {background: white;width:100%;padding:10px 5%;}
  5. .title {display: flex;flex-direction: row;align-items: center;font-size:16px;font-weight: bold;}
  6. .tel {font-size:14px;margin-top:10px;border-bottom:1px solid #ddd;padding-bottom: 10px;}
  7. .join {display: flex;flex-direction: row;align-items: center;color:#777;font-size:14px;margin-top:10px;}
  8. .join .flex-1{flex:1;}
  9. .join .mobile{display: flex;flex-direction: row;align-items: center;}
  10. .address {color:#777;font-size:14px;margin-top:10px;}
  11. .introduction-title {display: flex;flex-direction: row;align-items: center;margin-top:10px;border-top:1px solid #ddd;padding-top:10px;}
  12. .introduction-content {font-size:14px;margin-top:10px; white-space: pre-wrap;color:#666;}
  13. </style>
  14. {/block}
  15. {block name="body"}
  16. <van-nav-bar
  17. class="nav-theme"
  18. :fixed="true"
  19. :placeholder="true"
  20. left-text="返回"
  21. left-arrow
  22. @click-left="onBack"
  23. >
  24. <template #title>
  25. <span class="text-white">企业详情</span>
  26. </template>
  27. </van-nav-bar>
  28. <div class="content-box">
  29. <div class="title">
  30. <div style="width: 6px; height: 6px; background: #dd4250; border-radius: 50%; margin-right: 11px;"><span></span></div>
  31. <div>{{info.name}}</div>
  32. </div>
  33. <div class="tel" @click.stop="call(info.tel)">
  34. <van-icon name="phone" color=" #dd4250"></van-icon>
  35. {{info.tel}}
  36. </div>
  37. <div class="join" v-if="info.join">
  38. <div class="flex-1">参会人:{{info.join}}</div>
  39. <div class="flex-1 mobile" v-if="info.join_mobile" @click.stop="call(info.tel)">
  40. <van-icon name="phone" color=" #dd4250"></van-icon>
  41. {{info.join_mobile}}
  42. </div>
  43. </div>
  44. <div class="address" v-if="info.capital">
  45. 注册资本:{{info.capital}}
  46. </div>
  47. <div class="address">
  48. 企业地址:{{info.address}}
  49. </div>
  50. <div class="introduction">
  51. <div class="introduction-title">
  52. <div style="width: 6px; height: 6px; background: #dd4250; border-radius: 50%; margin-right: 11px;"><span></span></div>
  53. <div>企业简介</div>
  54. </div>
  55. <div class="introduction-content">{{info.introduction}}</div>
  56. </div>
  57. </div>
  58. {/block}
  59. {block name="script"}
  60. <script>
  61. function v_setup() {
  62. let base = {};
  63. base.info = {$info};
  64. base.onBack = () => {
  65. history.back();
  66. };
  67. return base;
  68. }
  69. </script>
  70. {/block}