暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

style_2.htm 4.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?php
  2. $name = "detail-s-2";
  3. ?>
  4. <link rel="stylesheet" href="/template/pc/components/detail/style_2.css" media="all">
  5. <!--定义div盒子-->
  6. <div class="<?php echo $name; ?>-content" id="{$id_name_div}">
  7. <div class="box">
  8. <!--定义内容布局--->
  9. <div class="row">
  10. <!--定义内部栅格 上下中左右 使用浮动-->
  11. <div class="top">
  12. <!--定义内容标签 p span a li img--->
  13. <span></span>
  14. <!--/id{$route_param.tid} {$eyou.field.title}-->
  15. <a href="javascript:void(0);"><?php echo $title; ?></a>
  16. </div>
  17. <div class="bottom">
  18. <!--定义内容标签 p span a li img--->
  19. <p>
  20. {eyou:if condition='($con == "1")'}
  21. {eyou:empty name='$eyou.field.content_1' /}
  22. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  23. {eyou:else /}
  24. {$eyou.field.content_1}
  25. {/eyou:empty}
  26. {eyou:elseif condition='($con == "2")'}
  27. {eyou:empty name='$eyou.field.content_2' /}
  28. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  29. {eyou:else /}
  30. {$eyou.field.content_2}
  31. {/eyou:empty}
  32. {eyou:elseif condition='($con == "4")'}
  33. {eyou:empty name='$eyou.field.content_6' /}
  34. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  35. {eyou:else /}
  36. {$eyou.field.content_6}
  37. {/eyou:empty}
  38. {eyou:elseif condition='($con == "5")'}
  39. {eyou:empty name='$eyou.field.content_4' /}
  40. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  41. {eyou:else /}
  42. {$eyou.field.content_4}
  43. {/eyou:empty}
  44. {eyou:elseif condition='($con == "6")'}
  45. {eyou:empty name='$eyou.field.content_7' /}
  46. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  47. {eyou:else /}
  48. {$eyou.field.content_7}
  49. {/eyou:empty}
  50. {eyou:elseif condition='($con == "0")'}
  51. {eyou:empty name='$eyou.field.content_5' /}
  52. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  53. {eyou:else /}
  54. {$eyou.field.content_5}
  55. {/eyou:empty}
  56. {eyou:elseif condition='($con == "7")'}
  57. {eyou:empty name='$eyou.field.content_4' /}
  58. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  59. {eyou:else /}
  60. {$eyou.field.content_4}
  61. {/eyou:empty}
  62. {eyou:elseif condition='($con == "8")'}
  63. <!--职称小类-->
  64. <?php
  65. $sql = "select id,parent_id,typename from ey_arctype_cat where parent_id=".$route_param['catids']." and is_del=0";
  66. ?>
  67. {eyou:sql sql="$sql" cachetime='3600' id='field9'}
  68. <?php
  69. $sql2 = "select number from ey_seo_number where type=1 and parentid=".$route_param['catids']." and topid=38 and area_id=0 and aid=".$field9['id'];
  70. ?>
  71. {eyou:sql sql="$sql2" cachetime='3600' id='field99'}
  72. <span class="kpa"><a href="{$route_domain}/id{$catid}/sid{$field99.number}">{$field9.typename}</a></span>
  73. {/eyou:sql}
  74. {/eyou:sql}
  75. {eyou:else}
  76. {eyou:empty name='$eyou.field.content_3' /}
  77. <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
  78. {eyou:else /}
  79. {$eyou.field.content_3}
  80. {/eyou:empty}
  81. {/eyou:if}
  82. </p>
  83. </div>
  84. </div>
  85. </div>
  86. </div>