xianshi_detail.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="explanation" id="explanation">
  4. <div class="title" id="checkZoom">
  5. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  6. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  7. </div>
  8. <ul>
  9. <li>{$Think.lang.xianshi_name}:{$xianshi_info.xianshi_name}</li>
  10. <li>
  11. {$Think.lang.ds_start_time}:{$xianshi_info.xianshi_starttime|date="Y-m-d H:i"}{$Think.lang.ds_end_time}:{$xianshi_info.xianshi_end_time|date="Y-m-d H:i"}{$Think.lang.xianshi_lower_limit}:{$xianshi_info.xianshi_lower_limit}{$Think.lang.ds_state}:{$xianshi_info.xianshi_state_text}
  12. </li>
  13. </ul>
  14. </div>
  15. <!-- 列表 -->
  16. <form id="list_form" method="post">
  17. <input type="hidden" id="object_id" name="object_id" />
  18. <table class="ds-default-table">
  19. <thead>
  20. <tr class="thead">
  21. <th width="50"></th>
  22. <th class="align-left"><span>{$Think.lang.ds_goods_name}</span></th>
  23. <th class="align-center" width="120"><span>{$Think.lang.goods_store_price}</span></th>
  24. <th class="align-center" width="120"><span>{$Think.lang.xianshi_price}</span></th>
  25. <th class="align-center" width="120"><span>{$Think.lang.xianshi_discount}</span></th>
  26. {if $xianshi_info.editable}
  27. <th class="align-center" width="120"><span>{$Think.lang.ds_recommend}</span></th>
  28. {/if}
  29. </tr>
  30. </thead>
  31. <tbody id="treet1">
  32. {notempty name="xianshigoods_list"}
  33. {foreach name="xianshigoods_list" item="val"}
  34. <tr class="hover">
  35. <td valign="middle" class="align2">
  36. <a href="{$val.goods_url}" target="_blank">
  37. <img src="{$val.image_url}" onload="javascript:ResizeImage(this,50,50);" />
  38. </a>
  39. </td>
  40. <td class="align-left">
  41. <a href="{$val.goods_url}" target="_blank">
  42. <span>{$val.goods_name}</span>
  43. </a>
  44. </td>
  45. <td class="align-center"><span>{$val.goods_price}</span></td>
  46. <td class="align-center"><span>{$val.xianshigoods_price}</span></td>
  47. <td class="align-center"><span>{$val.xianshi_discount}</span></td>
  48. {if $xianshi_info.editable}
  49. <td class="yes-onoff align-center">
  50. {if $val.xianshigoods_recommend}
  51. <a href="JavaScript:void(0);" class=" enabled" ajax_branch='recommend' ds_type="inline_edit" fieldname="xianshigoods_recommend" fieldid="{$val.xianshigoods_id}" fieldvalue="1" title="{$Think.lang.ds_editable}"><img src="{$Think.ADMIN_SITE_ROOT}/images/treetable/transparent.gif"></a>
  52. {else}
  53. <a href="JavaScript:void(0);" class=" disabled" ajax_branch='recommend' ds_type="inline_edit" fieldname="xianshigoods_recommend" fieldid="{$val.xianshigoods_id}" fieldvalue="0" title="{$Think.lang.ds_editable}"><img src="{$Think.ADMIN_SITE_ROOT}/images/treetable/transparent.gif"></a>
  54. {/if}
  55. </td>
  56. {/if}
  57. </tr>
  58. {/foreach}
  59. {else}
  60. <tr class="no_data">
  61. <td colspan="16">{$Think.lang.ds_no_record}</td>
  62. </tr>
  63. {/notempty}
  64. </tbody>
  65. </table>
  66. {$show_page|raw}
  67. </form>
  68. </div>
  69. <script type="text/javascript" src="{$Think.ADMIN_SITE_ROOT}/js/jquery.edit.js" charset="utf-8"></script>