更新点餐画面

master
pan 4 years ago
parent a163714cb2
commit c90e825bfd
  1. 8
      src/main/resources/templates/order.html

@ -39,6 +39,14 @@
changePinmu(fenlei, pinmu, cailiao, detailList[index]) changePinmu(fenlei, pinmu, cailiao, detailList[index])
jine.value = [[${query.jine}]] jine.value = [[${query.jine}]]
} }
if(detailList.length===1){
list.innerHTML+=`<div class="input-group mt-3 order-frame fff">
<div class="col-3 text-right mt-auto mb-auto">
<img src="/icon/plus.svg" class="icon action" onclick="plus()"/>
<img src="/icon/minus.svg" class="icon action" onclick="minus(this)"/>
</div>
</div>`
}
}else { }else {
let item = document.getElementsByClassName('fff') let item = document.getElementsByClassName('fff')
for (let i in item) { for (let i in item) {

Loading…
Cancel
Save