03 2020 档案
摘要:VS2019打开项目加载失败:无法找到 .NET Core SDK。请检查确保已安装此项且 global.json 中指定的版本(如有)与所安装的版本相匹配。 首先按照这个方法查找原因 参考:https://www.cnblogs.com/Juning/p/11637244.html 然后 检查这里
阅读全文
摘要:'caching_sha2_password' not supported by any of the available plugins 参考:https://blog.csdn.net/Gushiyuta/article/details/90812669
阅读全文
摘要:const 关键字 const 用于声明一个或多个常量,声明时必须进行初始化,且初始化后值不可再修改: 事件冒泡或事件捕获? 事件传递有两种方式:冒泡与捕获。 事件传递定义了元素事件触发的顺序。 如果你将 <p> 元素插入到 <div> 元素中,用户点击 <p> 元素, 哪个元素的 "click"
阅读全文
摘要:background-position 用法详细介绍 语法: background-position : length || length background-position : position || position 取值: length : 百分数 | 由浮点数字和单位标识符组成的长度值
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <style> ul { list-style-type: none; margin: 0; padding: 0; /* ove
阅读全文
摘要::nth-last-child(n) p:nth-last-child(2) 选择所有p元素倒数的第二个子元素 :nth-last-of-type(n) p:nth-last-of-type(2) 选择所有p元素倒数的第二个为p的子元素 p:nth-last-child(2) 表示按照全部元素计算,
阅读全文
摘要:原来是设置自己要居中对齐,不是设置外面容器属性 <!DOCTYPE html> <html> <head> <title> 居中对齐 </title> <style> .center { margin: auto; width: 60%; border: 3px solid #73AD21; pad
阅读全文
摘要:relative 定位 相对定位元素的定位是相对其正常位置。就是原来的位置 下面是正常情况下高度81.91 设置相对定位后高度还是81.91 ,没有变化,但是内容移到上面去了 移动相对定位元素,它原本所占的空间不会改变。 相对定位元素经常被用来作为绝对定位元素的容器块。 absolute 定位 绝对
阅读全文
摘要:<!DOCTYPE html> <html> <head> <title>CSS3-属性选择器</title> <style> body { margin: 0; padding: 0; font-family: ''; font-family: '微软雅黑'; background-color:
阅读全文
摘要:前端真的调整不好了,先记录一下吧,以后再完善。 <template> <div style="overflow: hidden;"> <el-row type="flex" :gutter="10" justify="center" v-show="!fullscreen"> <el-col :sp
阅读全文
摘要:建一个文件夹store 在下面新建一个文件inde.jx import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const state={ //要设置的全局访问的state对象 name: 'beautiful', address:
阅读全文
摘要:第一种方法 通过调用父组件的方法改变值 子组件 MyDemo.vue <template> <div> <span @click="test">{{title}}</span> </div> </template> <script> export default { name: 'mydemo',
阅读全文