company.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>企业选择</title>
  7. <style>
  8. html,
  9. body {
  10. display: block;
  11. width: 100%;
  12. height: 100%;
  13. margin: 0;
  14. padding: 0;
  15. position: relative;
  16. overflow: auto;
  17. background-image: url("/static/img/bj.png");
  18. background-repeat: no-repeat;
  19. background-attachment: fixed;
  20. background-position: center;
  21. }
  22. .tou {
  23. background-color: #48afff;
  24. width: 260px;
  25. height:48px;
  26. text-align: center;
  27. color: white;
  28. line-height: 48px;
  29. border-radius: 30px;
  30. margin: 0 auto;
  31. margin-top:-24px;
  32. }
  33. .bjg {
  34. width: 800px;
  35. height: 520px;
  36. margin: 0px auto;
  37. position: relative;
  38. border: 1px dashed #2196f3;
  39. top: 50%;
  40. margin-top:-260px;
  41. background: #ffffff ;
  42. box-shadow: #b4dbff 0px 0px 10px 0px;
  43. border-radius: 10px;
  44. background-repeat: no-repeat;
  45. }
  46. .shuzi {
  47. width: 100%;
  48. text-align: center;
  49. position: absolute;
  50. top: 52%;
  51. transform: translateY(-50%);
  52. overflow: auto;
  53. max-height: 90%;
  54. }
  55. .item {
  56. background-color: #e0edf9;
  57. display: inline-block;
  58. padding:20px;
  59. border-radius: 5px;
  60. margin: 16px 24px;
  61. color:#333;
  62. }
  63. .item>div:first-child {
  64. margin-bottom: 10px;
  65. }
  66. .shuzi>div:active {
  67. background-color: #48afff !important;
  68. color: white;
  69. }
  70. .shuzi>div:hover {
  71. cursor: pointer;
  72. background-color: #48afff !important;
  73. color: white;
  74. }
  75. .shuzi a{
  76. text-decoration:none;
  77. }
  78. </style>
  79. </head>
  80. <body>
  81. <div class="bjg">
  82. <div class="tou">请选择营销数字化平台</div>
  83. <div class="shuzi a">
  84. {volist name="companys" id="vo"}
  85. {if condition="$vo.off eq 1"}
  86. <div class="item">
  87. <div>{$vo.company_name}</div>
  88. <!-- <div>营销数字化平台</div> -->
  89. <div>{$vo.off_remark}</div>
  90. </div>
  91. {else /}
  92. <a href="{:url('index/company',['rootid'=>$vo.root_id])}">
  93. <div class="item">
  94. <div>{$vo.company_name}</div>
  95. <div>营销数字化平台</div>
  96. </div>
  97. </a>
  98. {/if}
  99. {/volist}
  100. </div>
  101. </div>
  102. </body>
  103. </html>