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