Authored by xuqi

place holder address

... ... @@ -20,6 +20,7 @@ var detailErr = '2-100字符。1个中文为2个字符';
var addressDialogTpl;
var addressTpl;
require('yoho-jquery-placeholder');
require('yoho-jquery-dotdotdot');
// dot someone
... ... @@ -29,6 +30,11 @@ function dotYou($el) {
});
}
// place holder
function placeHolderYou($el) {
$el.placeholder();
}
// set address-all show or not
function setAllOfAddress() {
... ... @@ -290,6 +296,9 @@ function initAddressContent($el, areaCode) {
$cur.siblings('.error-tips').hide();
}
});
// place holder
placeHolderYou($el.find('[placeholder]'));
}
/**
... ...