07 2020 档案
摘要:设置博客皮肤为:SimpleMemory 添加美化css (css代码) #google_ad_c1, #google_ad_c2 {display:none;} .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter cod
阅读全文
摘要:首先安装依赖 npm install vue-puzzle-vcode --save 使用 html: <Vcode :show="isShow" @success="onSuccess"/> js: import Vcode from "vue-puzzle-vcode"; export defa
阅读全文
摘要:安装 npm install vue-axios --save npm install qs.js --save //把json格式转换为data需要的格式 注册全局变量 在src下main.js中 import Vue from 'vue' import axios from 'axios'imp
阅读全文
摘要:安装swiper官方提供vue组件 npm install vue-awesome-swiper --save或者yarn add vue-awesome-swiper 在src目录下的main.js中全局引入 import Swiper from 'vue-awesome-swiper' Vue.
阅读全文
摘要:安装node.js http://nodejs.cn 选择32位还是64位,下载然后安装。一定要选择好安装目录,建议选D盘 下载好后,win+r 或者 右键左下角选择命令提示符,显示node版本就表示安装成功了 node -vnpm -v 配置缓存 npm config set prefix "安装
阅读全文
摘要:在src >route >index.js中,把mode:history注释掉 export default new Router({ // mode:'history', routes: [ { path: '/', name: 'root', components: { main:PostLIs
阅读全文
摘要:vue-cli2 首先F12打开试调器,查看引入的css和js引入有没有报错 到config文件夹中打开index.js文件 修改buid下的 assetsPublicPath build: { // Template for index.html index: path.resolve(__dir
阅读全文
摘要:mui.openWindow({ url: 'xxx.html', //String类型,要打开的界面的地址 id: 'id', //String类型,要打开的界面的id styles: { //Webview窗口对象的样式 width: '100%', //String类型,窗口的宽度.支持百分比
阅读全文
摘要:一、首先从点击跳转下载 下载好后安装,一定要确定好目录,我这里选择安装目录在D盘新建了一个redis文件夹 win + r 打开cmd ,或者右键左下角windows图标,点击运行,输入cmd 打开后会在C盘目录 先切换目录到d盘redis目录下面 输入 redis-server.exe --ser
阅读全文
摘要:explode() explode 使用一个字符串分割另一个字符串 array explode ( string $delimiter , string $string [, int $limit ] ) 此函数返回由字符串组成的数组,每个元素都是 string 的一个子串,它们被字符串 delim
阅读全文
摘要:var vm = new Vue({ el: '#app',// 控制区域 data: {},// 定义数据 methods: {},// 定义方法 filters: {},// 定义私有过滤器 directives: {},// 定义私有指令 components: { }, // 定义实例内部私
阅读全文
摘要:遇到的程序跨域问题,分享一下解决方法 这里报错 XMLHttpRequest cannot load http://*****. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin
阅读全文
摘要:<?php namespace zyf; class Api { /** * @param $postcom //快递公司编码 * @param $getNu //快递单号 * @return mixed * @author: zyf <1322816443@qq.com> * @date: 202
阅读全文
摘要:# Check if a file exists, or route it to index.php. try_files $uri $uri/ /exploit/index.php?$query_string; if (!-e $request_filename) { rewrite ^(.*)$
阅读全文
摘要:jquery $('body').scrollTop($('body')[0].scrollHeight); //把body换掉即可 js //滚动条在Y轴上的滚动距离 function getScrollTop(){ var scrollTop = 0, bodyScrollTop = 0, do
阅读全文