摘要:
思路:金额的小数点左右绝对要分开的.(再用css去控制) //模拟data数据 data( return { price:'88888.00' } ) //ps:v-html绑定数据 //1.分割价钱 => ["88888", "00"] let splitPrice = this.price.sp 阅读全文
摘要:
1、当前时间换时间戳 var timestamp = parseInt(new Date().getTime()/1000); // 当前时间戳 document.write(timestamp); 2、当前时间换日期字符串 var now = new Date(); var yy = now.ge 阅读全文