Commit 4ab9b8f4 by 匡雅琴

样式调整

1 parent 0e82ec45
...@@ -232,6 +232,10 @@ ...@@ -232,6 +232,10 @@
top: 0; top: 0;
} }
.w-70 {
width: 150px !important;
}
.address { .address {
display: inline-block; display: inline-block;
width: calc(100% - 120px); width: calc(100% - 120px);
...@@ -1091,7 +1095,7 @@ ...@@ -1091,7 +1095,7 @@
}) })
var city = cityInfo.find(item => item.cityName.indexOf(city) != -1) var city = cityInfo.find(item => item.cityName.indexOf(city) != -1)
merchantForm.cityCode = city.cityId merchantForm.cityCode = city.cityId
$('#startc').val(merchantForm.cityName) $('#startc').val(city.cityName)
merchantForm.cityName = city.cityName merchantForm.cityName = city.cityName
form.render('select'); form.render('select');
layer.close(index) layer.close(index)
......
...@@ -223,6 +223,20 @@ ...@@ -223,6 +223,20 @@
left: 340px; left: 340px;
top: 0; top: 0;
} }
.address {
display: inline-block;
width: calc(100% - 120px);
}
.w-70 {
width: 150px !important;
}
.select-address {
width: calc(100% - 600px) !important;
margin-left: 20px;
}
</style> </style>
<title>商户编辑</title> <title>商户编辑</title>
</head> </head>
...@@ -802,6 +816,7 @@ ...@@ -802,6 +816,7 @@
focusElem.css(verifyType == 'radio' ? { color: '' } : { 'border-color': '' }) focusElem.css(verifyType == 'radio' ? { color: '' } : { 'border-color': '' })
}) })
.focus() .focus()
console.log(222);
return '必填项不能为空' return '必填项不能为空'
} }
} }
...@@ -1042,7 +1057,7 @@ ...@@ -1042,7 +1057,7 @@
var city = cityInfo.find(item => item.cityName.indexOf(city) != -1) var city = cityInfo.find(item => item.cityName.indexOf(city) != -1)
merchantForm.cityCode = city.cityId merchantForm.cityCode = city.cityId
merchantForm.cityName = city.cityName merchantForm.cityName = city.cityName
$('#startc').val(merchantForm.cityName) $('#startc').val(city.cityName)
form.render('select'); form.render('select');
layer.close(index) layer.close(index)
} else { } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!