07 2020 档案
摘要:<template> <div id="app"> <router-view v-if="isRouterAlive"></router-view> </div> </template> <script> export default { name: 'App', provide() { retur
阅读全文
摘要:下载地址1、Github下载地址:https://github.com/MicrosoftArchive/redis/releases2、百度网盘下载地址 https://pan.baidu.com/s/1z1_OdNVbtgyEjiktqgB83g 密码:kdfq 安装过程1.首先先把下载的压缩包
阅读全文
摘要:<template> <div> <div class="img_div"> <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1844712564,539435280&fm=26&gp=0.jpg"> <a hr
阅读全文
摘要:在前端开发过程中,盒子居中是常常用到的。其中 ,居中又可以分为水平居中和垂直居中。水平居中是比较容易的,直接设置元素的margin: 0 auto就可以实现。但是垂直居中相对来说是比较复杂一些的。下面我们一起来讨论一下实现垂直居中的方法。 首先,定义一个需要垂直居中的div元素,他的宽度和高度均为3
阅读全文
摘要:在使用vue进行开发的时候我们会发现地址栏上的ip后面会跟着一个#号,如果想去掉这个井号,我们可以在路由上加上 mode: 'history', 即可去掉 export default new Router({ mode: 'history', routes: [ { path: '/', name
阅读全文
摘要:<template> <div :style="conheight"> </template> <script> export default{ data(){ conheight:{ height:'' } }, methods:{ getHeight(){ this.conheight.heig
阅读全文
摘要:在包裹层里嵌套的两个div设置display: inline-block时,正常情况下两个div会并排显示,如图 代码: html: <div id="box"> <div class="content1"></div> <div class="content2"></div> </div> css
阅读全文

浙公网安备 33010602011771号