12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <style type="text/css">
- .mb-item-edit-content { background: #EFFAFE url(__PUBLIC__/image/cms_edit_bg_line.png) repeat-y scroll 0 0;}
- </style>
- <?php if($item_edit_flag) { ?>
- <table class="table tb-type2" id="prompt" style="background-color: #FFF; border-bottom: solid 1px #deeffb">
- <tbody>
- <tr class="space odd">
- <th colspan="12" class="nobg"> <div class="title nomargin">
- <h5>操作提示</h5>
- <span class="arrow"></span> </div>
- </th>
- </tr>
- <tr>
- <td><ul>
- <li>从右侧筛选按钮,点击添加按钮完成添加</li>
- <li>鼠标移动到已有商品上,会出现删除按钮可以对商品进行删除</li>
- <li>操作完成后点击保存编辑按钮进行保存</li>
- </ul></td>
- </tr>
- </tbody>
- </table>
- <?php } ?>
- <div class="index_block goods-list">
- <?php if($item_edit_flag) { ?>
- <h3>商品版块</h3>
- <?php } ?>
- <div class="title">
- <?php if($item_edit_flag) { ?>
- <h5>标题:</h5>
- <input id="home1_title" type="text" class="txt w200" name="item_data[title]" value="<?php echo $item_data['title'];?>">
- <?php } else { ?>
- <span><?php echo $item_data['title'];?></span>
- <?php } ?>
- </div>
- <div nctype="item_content" class="content">
- <?php if($item_edit_flag) { ?>
- <h5>内容:</h5>
- <?php } ?>
- <?php if(!empty($item_data['item']) && is_array($item_data['item'])) {?>
- <?php foreach($item_data['item'] as $item_value) {?>
- <div nctype="item_image" class="item">
- <div class="goods-pic"><img nctype="goods_image" src="/Uploads/image/<?php echo $item_value['goods_image'];?>" alt=""></div>
- <div class="goods-name" nctype="goods_name"><?php echo $item_value['goods_name'];?></div>
- <div class="goods-price" nctype="goods_price">¥<?php echo $item_value['goods_promotion_price'];?></div>
- <?php if($item_edit_flag) { ?>
- <input nctype="goods_id" name="item_data[item][]" type="hidden" value="<?php echo $item_value['goods_id'];?>">
- <a nctype="btn_del_item_image" href="javascript:;"><i class="icon-trash"></i>删除</a>
- <?php } ?>
- </div>
- <?php } ?>
- <?php } ?>
- </div>
- </div>
- <?php if($item_edit_flag) { ?>
- <div class="search-goods">
- <h3>选择商品添加</h3>
- <h5>商品关键字:</h5>
- <input id="txt_goods_name" type="text" class="txt w200" name="">
- <a id="btn_mb_special_goods_search" class="btn-search" href="javascript:;" style="vertical-align: top; margin-left: 5px;" title="搜索"></a>
- <div id="mb_special_goods_list"></div>
- </div>
- <?php } ?>
- <script id="item_goods_template" type="text/html">
- <div nctype="item_image" class="item">
- <div class="goods-pic"><img nctype="image" src="<%=goods_image%>" alt=""></div>
- <div class="goods-name" nctype="goods_name"><%=goods_name%></div>
- <div class="goods-price" nctype="goods_price"><%=goods_price%></div>
- <input nctype="goods_id" name="item_data[item][]" type="hidden" value="<%=goods_id%>">
- <a nctype="btn_del_item_image" href="javascript:;">删除</a>
- </div>
- </script>
|