1 回答

TA貢獻(xiàn)1864條經(jīng)驗(yàn) 獲得超6個(gè)贊
<script type="text/javascript">
function aa(event) {
var Oinput = document.getElementById('amount');
Oinput.style.fontSize=36+'px';
Oinput.placeholder='';
}
function bb(event) {
var Oinput = document.getElementById('amount');
Oinput.style.fontSize=13+'px';
Oinput.placeholder='請(qǐng)?jiān)儐柹碳液筝斎?#39;;
}
</script>
<div class="pay-card">
<label class="label">訂單金額(元)</label>
<input type="text" class="amount" id="amount" placeholder="請(qǐng)?jiān)儐柹碳液筝斎?quot; onfocus="aa(event)" onblur="bb(event)">
添加回答
舉報(bào)