goods_select.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {notempty name="goods_list"}
  2. <ul class="goods-list">
  3. {foreach name="goods_list" item="val"}
  4. <li>
  5. <div class="goods-thumb"> <a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank"><img src="{:goods_thumb($val,240)}"/></a></div>
  6. <dl class="goods-info">
  7. <dt><a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank">{$val.goods_name}</a> </dt>
  8. <dd>{$Think.lang.sale_price}:{$Think.lang.currency}{$val.goods_price}
  9. </dl>
  10. <a dstype="btn_add_xianshi_goods" data-goods-id="{$val.goods_id}" data-goods-name="{$val.goods_name}" data-goods-img="{:goods_thumb($val,240)}" data-goods-price="{$val.goods_price}" href="javascript:void(0);" class="dssc-btn-mini">{$Think.lang.modified_discount_price}</a>
  11. </li>
  12. {/foreach}
  13. </ul>
  14. <div class="pagination">{$show_page|raw}</div>
  15. {else /}
  16. <div>{$Think.lang.no_record}</div>
  17. {/notempty}
  18. <div id="dialog_add_xianshi_goods" style="display:none;">
  19. <input id="dialog_goods_id" type="hidden">
  20. <input id="dialog_input_goods_price" type="hidden">
  21. <div class="selected-goods-info">
  22. <div class="goods-thumb"><img id="dialog_goods_img" src="" alt=""></div>
  23. <dl class="goods-info">
  24. <dt id="dialog_goods_name"></dt>
  25. <dd>{$Think.lang.sale_price}:{$Think.lang.currency}<span id="dialog_goods_price"></span></dd>
  26. <dd>{$Think.lang.discount_price}:<input id="dialog_xianshi_price" type="text" class="text w70"><em class="add-on"><i class="iconfont">&#xe65c;</i></em>
  27. <p id="dialog_add_xianshi_goods_error">
  28. <label for="dialog_xianshi_price" class="error" >
  29. <i class='iconfont'>&#xe64c;</i>{$Think.lang.discount_price_cannot_empty}</label>
  30. </p>
  31. </dd>
  32. </dl>
  33. </div>
  34. <div class="eject_con">
  35. <div class="bottom pt10 pb10"><a id="btn_submit" class="submit" href="javascript:void(0);">{$Think.lang.ds_submit}</a></div>
  36. </div>
  37. </div>