mb_special_item.module_home1.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 home1">
  20. <?php if($item_edit_flag) { ?>
  21. <h3>模型版块布局A</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 nctype="item_content" class="content">
  32. <?php if($item_edit_flag) { ?>
  33. <h5>内容:</h5>
  34. <?php } ?>
  35. <div nctype="item_image" class="item">
  36. <?php if(!empty($item_data['image'])) { ?>
  37. <img nctype="image" src="/Uploads/image/<?php echo $item_data['image'];?>" alt="">
  38. <?php }else { ?>
  39. <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
  40. <?php } ?>
  41. <?php if($item_edit_flag) { ?>
  42. <input nctype="image_name" name="item_data[image]" type="hidden" value="<?php echo $item_data['image'];?>">
  43. <input nctype="image_type" name="item_data[type]" type="hidden" value="<?php echo $item_data['type'];?>">
  44. <input nctype="image_data" name="item_data[data]" type="hidden" value="<?php echo $item_data['data'];?>">
  45. <a nctype="btn_edit_item_image" data-desc="640*260" href="javascript:;"><i class="icon-edit"></i>编辑</a>
  46. <?php } ?>
  47. </div>
  48. </div>
  49. </div>