更新对mssql支持

This commit is contained in:
2018-05-09 23:10:55 +08:00
parent 71fc1d7d6b
commit 00e8273b75
7 changed files with 25 additions and 3 deletions
@@ -54,7 +54,7 @@
<div class="form-group">
<label class="col-sm-3 control-label">昵称:</label>
<div class="col-sm-8">
<input id="Nickname" name="Nickname" maxlength="20" type="text" class="form-control" value="@Model.Nickname" aria-required="true" placeholder="昵称" readonly>
<input id="Nickname" name="Nickname" maxlength="200" type="text" class="form-control" value="@Model.Nickname" aria-required="true" placeholder="昵称" readonly>
</div>
</div>
<div class="form-group hidden">
@@ -81,6 +81,19 @@
radioClass: 'iradio_square-green',
});
})
$("input").each(function (index, item) {
if ($(this).attr("placeholder") && $(this).attr("placeholder") != "") {
var tipstr = $(this).attr("placeholder");
var id = $(this).attr("id");
$(this).on("focusin", function () {
layer.tips(tipstr, '#' + id, {
tips: [1, '#3595CC'] //还可配置颜色
});
});
}
})
</script>
</body>
</html>