摘要: JS // 获取并且格式化时间 formatter (thistime, fmt) { let $this = new Date(thistime) let o = { 'M+': $this.getMonth() + 1, 'd+': $this.getDate(), 'h+': $this.ge 阅读全文
posted @ 2021-05-24 13:55 薛定谔_猫 阅读(3995) 评论(0) 推荐(1)
摘要: template部分: 头像外部加一个 div <div class="user-info-head"> </div> css 部分 <style scoped lang="scss"> .user-info-head { position: relative; display: inline-bl 阅读全文
posted @ 2021-05-24 11:13 薛定谔_猫 阅读(581) 评论(0) 推荐(0)