<div style="float:left;margin-left:60px;"> <a href="lxx_public/vip/tpl/chprice.xls" style="text-decoration:none;"> <input type='button' value="實例下載" s ...
<div style="float:left;margin-left:60px;"> <a href="__PUBLIC__/vip/tpl/chprice.xls" style="text-decoration:none;"> <input type='button' value="實例下載" style="margin: 0px 0px 7px 10px;cursor: pointer;background-color:#C30D23;border:0px;color:#FFFFFF;width:90px;border-radius:5px;padding:3px 0;font-size:13px;"/> </a> </div>
<form action="{:U('Mall/updExcel')}" method="POST" enctype="multipart/form-data"> <div style="float:left;width:61%;"> <div style="float:left;margin-left:60px;"> <a href="__PUBLIC__/vip/tpl/chprice.xls" style="text-decoration:none;"> <input type='button' value="實例下載" style="margin: 0px 0px 7px 10px;cursor: pointer;background-color:#C30D23;border:0px;color:#FFFFFF;width:90px;border-radius:5px;padding:3px 0;font-size:13px;"/> </a> </div> <div style="float:left;"> <input type='submit' value="更改價格" style="margin: 0px 0px 7px 10px;cursor: pointer;background-color:#C30D23;border:0px;color:#FFFFFF;width:90px;border-radius:5px;padding:3px 0;font-size:13px;"/> </div> <div style="float:left;width:45%"> <input type='file' value="" name="import"/> </div> <input type="hidden" id="url" name="url" value=""/> </div> </form>
在對應的文件夾中直接加入要下載的xsl文件,上傳到伺服器即可。