官方案列:
<form action="[!--news.url--]e/ShopSys/doaction.php" name="shopform" method="get" target="_blank"> 选择购买数量:<select name="pn" id="pn"> <option value=1>1</option> <option value=2>2</option> <option value=3>3</option> <option value=4>4</option> <option value=5>5</option> <option value=6>6</option> <option value=7>7</option> <option value=8>8</option> <option value=9>9</option> <option value=10>10</option> </select> <input type="hidden" name="enews" value="AddBuycar"> <input type="hidden" name="classid" value="[!--classid--]"> <input type="hidden" name="id" value="[!--id--]"> <input type="submit" name="submit" value="加入购物车"> </form>