mb_special_item.module_home2.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php if($item_edit_flag) { ?>
  2. <table class="table tb-type2" id="prompt">
  3. <tbody>
  4. <tr class="space odd">
  5. <th colspan="12" class="nobg"> <div class="title nomargin">
  6. <h5>操作提示</h5>
  7. <span class="arrow"></span> </div>
  8. </th>
  9. </tr>
  10. <tr>
  11. <td><ul>
  12. <li>鼠标移动到内容上出现编辑按钮可以对内容进行修改</li>
  13. <li>操作完成后点击保存编辑按钮进行保存</li>
  14. </ul></td>
  15. </tr>
  16. </tbody>
  17. </table>
  18. <?php } ?>
  19. <div class="index_block home2">
  20. <?php if($item_edit_flag) { ?>
  21. <h3>模型版块布局B</h3>
  22. <?php } ?>
  23. <div class="title">
  24. <?php if($item_edit_flag) { ?>
  25. <h5>标题:</h5>
  26. <input id="home1_title" type="text" class="txt w200" name="item_data[title]" value="<?php echo $item_data['title'];?>">
  27. <?php } else { ?>
  28. <span><?php echo $item_data['title'];?></span>
  29. <?php } ?>
  30. </div>
  31. <div class="content">
  32. <?php if($item_edit_flag) { ?>
  33. <h5>内容:</h5>
  34. <?php } ?>
  35. <div class="home2_1">
  36. <div nctype="item_image" class="item">
  37. <?php if(!empty($item_data['square_image'])) { ?>
  38. <img nctype="image" src="/Uploads/image/<?php echo $item_data['square_image'];?>" alt="">
  39. <?php }else{ ?>
  40. <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
  41. <?php } ?>
  42. <?php if($item_edit_flag) { ?>
  43. <input nctype="image_name" name="item_data[square_image]" type="hidden" value="<?php echo $item_data['square_image'];?>">
  44. <input nctype="image_type" name="item_data[square_type]" type="hidden" value="<?php echo $item_data['square_type'];?>">
  45. <input nctype="image_data" name="item_data[square_data]" type="hidden" value="<?php echo $item_data['square_data'];?>">
  46. <a nctype="btn_edit_item_image" data-desc="320*260" href="javascript:;"><i class="icon-edit"></i>编辑</a>
  47. <?php } ?>
  48. </div>
  49. </div>
  50. <div class="home2_2">
  51. <div class="home2_2_1">
  52. <div nctype="item_image" class="item">
  53. <?php if(!empty($item_data['rectangle1_image'])) { ?>
  54. <img nctype="image" src="/Uploads/image/<?php echo $item_data['rectangle1_image'];?>" alt="">
  55. <?php }else{ ?>
  56. <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
  57. <?php } ?>
  58. <?php if($item_edit_flag) { ?>
  59. <input nctype="image_name" name="item_data[rectangle1_image]" type="hidden" value="<?php echo $item_data['rectangle1_image'];?>">
  60. <input nctype="image_type" name="item_data[rectangle1_type]" type="hidden" value="<?php echo $item_data['rectangle1_type'];?>">
  61. <input nctype="image_data" name="item_data[rectangle1_data]" type="hidden" value="<?php echo $item_data['rectangle1_data'];?>">
  62. <a nctype="btn_edit_item_image" data-desc="320*130" href="javascript:;"><i class="icon-edit"></i>编辑</a>
  63. <?php } ?>
  64. </div>
  65. </div>
  66. <div class="home2_2_2">
  67. <div nctype="item_image" class="item">
  68. <?php if(!empty($item_data['rectangle2_image'])) { ?>
  69. <img nctype="image" src="/Uploads/image/<?php echo $item_data['rectangle2_image'];?>" alt="">
  70. <?php }else{ ?>
  71. <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
  72. <?php } ?>
  73. <?php if($item_edit_flag) { ?>
  74. <input nctype="image_name" name="item_data[rectangle2_image]" type="hidden" value="<?php echo $item_data['rectangle2_image'];?>">
  75. <input nctype="image_type" name="item_data[rectangle2_type]" type="hidden" value="<?php echo $item_data['rectangle2_type'];?>">
  76. <input nctype="image_data" name="item_data[rectangle2_data]" type="hidden" value="<?php echo $item_data['rectangle2_data'];?>">
  77. <a nctype="btn_edit_item_image" data-desc="320*130" href="javascript:;"><i class="icon-edit"></i>编辑</a>
  78. <?php } ?>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>