黄子涵

上一页 1 2 3 4 5 6 7 8 9 ··· 49 下一页
摘要: 问题 如题所示 问题 相关源码: .loader { box-sizing: border-box; display: flex; flex: 0 1 auto; flex-direction: column; flex-grow: 1; flex-shrink: 0; flex-basis: 25 阅读全文
posted @ 2022-07-06 16:35 黄子涵 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: .loader { box-sizing: border-box; display: flex; flex: 0 1 auto; flex-direction: column; flex-grow: 1; flex-shrink: 0; flex-basis: 25 阅读全文
posted @ 2022-07-06 15:42 黄子涵 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: const getters = { loading: state => state.loading, runTimeInterval: state => state.runTimeInterval, notice: state => state.websiteInf 阅读全文
posted @ 2022-07-06 11:17 黄子涵 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 css3 unset属性 CSS 中的 initial、inherit、unset、revert、all 相关源码: <div class="hzh-back-top" v-show="hzhShow" @click.stop="hzhGetTop"> <img class=" 阅读全文
posted @ 2022-07-05 20:38 黄子涵 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; 答案 CSS 背景位置 background 阅读全文
posted @ 2022-07-05 20:15 黄子涵 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: .footer-main .footer-item:nth-child(3){ flex: 2; } css选择器:nth-child()的用法 这里的: .footer-item:nth-child(3) 控制的是.footer-item元素的第三个直接子元素。 阅读全文
posted @ 2022-07-05 16:18 黄子涵 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: created(){ this.getSocial(); this.$store.dispatch('initComputeTime'); } vue dispatch用法_Vuex基本用法 Vue进阶(二十四):vuex 之 commit 和dispatch 这里 阅读全文
posted @ 2022-07-05 16:07 黄子涵 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码如下: initComputeTime: ({commit}) => { commit('GET_RUNTIME_INTERVAL'); }, vuex直接修改state 与 用commit提交mutation来修改state的差异 这里commit函数的作用是提交到m 阅读全文
posted @ 2022-07-05 15:50 黄子涵 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示,相关源码如下: // style.less @fish-sm:2vmin; @fish-md:3vmin; @fish-lg:5vmin; 答案 LESS详解之变量(@) 根据上面,@符号后面是在设置变量,分别设置三个变量fish-sm、fish-md、fish-lg,但是用在哪里呢 阅读全文
posted @ 2022-07-04 21:14 黄子涵 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 问题 如题所示 答案 相关源码: export function getTime(type) { if (type 'start') { return new Date().getTime() - 3600 * 1000 * 24 * 90 } else { return new Date(new 阅读全文
posted @ 2022-07-03 18:36 黄子涵 阅读(40) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 49 下一页