nameInput(e){
let nameValue;
if (/^(\d?)+(\.\d{0,2})?$/.test(e.detail.value)) {nameValue = e.detail.value;} else {nameValue = e.detail.value.substring(0, e.detail.value.length - 1);
}
this.setData({nameValue: nameValue})
},
nameInput(e){
let nameValue;
if (/^(\d?)+(\.\d{0,2})?$/.test(e.detail.value)) {nameValue = e.detail.value;} else {nameValue = e.detail.value.substring(0, e.detail.value.length - 1);
}
this.setData({nameValue: nameValue})
},