调整model弹出框的text位置

This commit is contained in:
raoyanhui
2018-05-04 14:55:43 +08:00
parent 208cbb3d22
commit 8436daf793
+2 -1
View File
@@ -87,7 +87,7 @@ $(document).on('click','.modal01 .confirm_btn', function () {
var up = Number(basePrice) * Math.pow(2, year); var up = Number(basePrice) * Math.pow(2, year);
var down = Number(basePrice) * Math.pow(2, -year); var down = Number(basePrice) * Math.pow(2, -year);
if(Number($("#input_price").val()) > up || Number($("#input_price").val()) < down){ if(Number($("#input_price").val()) > up || Number($("#input_price").val()) < down){
$('.modal01').hide(); $('.modal01').hide();
$.modal({ $.modal({
title: '购入价格与实际情况偏差较大,是否继续?', title: '购入价格与实际情况偏差较大,是否继续?',
buttons: [ buttons: [
@@ -121,6 +121,7 @@ $(document).on('click','.modal01 .confirm_btn', function () {
} }
] ]
}) })
$(".modal-text").css("text-align","center");
} else{ } else{
axios.post(BASE_PATH + "/rest/saleAnalysis/updateEvaluation", axios.post(BASE_PATH + "/rest/saleAnalysis/updateEvaluation",
{ {