黄子涵

摘要: 问题 如题所示 答案 相关源码: created(){ this.getWebSiteInfo() this.getSocial() }, Vue进阶(三十六):created() 详解 vue中created、mounted等方法整理 Vue生命周期中mounted和created的区别 vue 阅读全文
posted @ 2022-07-02 22:24 黄子涵 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: * { font-family: miranafont, "Hiragino Sans GB", STXihei, "Microsoft YaHei", SimSun, sans-serif; margin: 0; padding: 0; text-decorati 阅读全文
posted @ 2022-07-02 21:38 黄子涵 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: <template> <div id="app" v-cloak> <loading></loading> <layout-header></layout-header> <layout-body></layout-body> <layout-footer></la 阅读全文
posted @ 2022-07-02 21:03 黄子涵 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 ::-webkit-scrollbar { width: 5px; height: 5px; } ::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d81e06; } ::-webkit-sc 阅读全文
posted @ 2022-07-02 20:32 黄子涵 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: blockquote, q { quotes: none; } blockquote 和 q 标签 css样式 这个样式是为了去掉双引号。 阅读全文
posted @ 2022-07-02 18:22 黄子涵 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: export function param2Obj(url) { const search = url.split('?')[1] if (!search) { return {} } return JSON.parse( '{"' + decodeURICompo 阅读全文
posted @ 2022-07-02 16:12 黄子涵 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: export function param2Obj(url) { const search = url.split('?')[1] if (!search) { return {} } return JSON.parse( '{"' + decodeURICompo 阅读全文
posted @ 2022-07-02 15:16 黄子涵 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: const time_str = format.replace(/{([ymdhisa])+}/g, (result, key) => { const value = formatObj[key] // Note: getDay() returns 0 on Sun 阅读全文
posted @ 2022-07-02 13:13 黄子涵 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: if ((/^[0-9]+$/.test(time))) { // support "1548221490638" time = parseInt(time) } else { time = time.replace(new RegExp(/-/gm), '/') 阅读全文
posted @ 2022-07-02 10:46 黄子涵 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: if ((typeof time 'string')) { if ((/^[0-9]+$/.test(time))) { // support "1548221490638" time = parseInt(time) } else { time = time.re 阅读全文
posted @ 2022-07-02 09:59 黄子涵 阅读(99) 评论(0) 推荐(0) 编辑