diff --git a/index.html b/index.html index bb16f07..07a8f73 100644 --- a/index.html +++ b/index.html @@ -89,8 +89,9 @@ }} - @@ -130,6 +131,7 @@ userPhone: "", popOkType: 0, popObj: {}, + popLoading: false, popObjArr: [ { id: 1, @@ -182,6 +184,10 @@ const popOkBtn = (type = 0) => { if (type === 0) { + state.popLoading = true; + setTimeout(() => { + state.popLoading = false; + }, 500) req.axiosPost("/front/order/create", { prize_id: state.isChecked }).then(res => { if (res.code === 200) { state.popObj = state.popObjArr[1];