上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: 我这里是用的PyMySQL 安装 pip install PyMySQL 查看版本 pip show PyMySQL 使用 conn = connect(host='主机名', port='端口号', user='用户名', password='密码', database='数据库名', chars 阅读全文
posted @ 2020-08-12 11:38 张永峰z 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 安装python 从Python官网下载Python 3.8的安装程序,下载后双击运行并安装 特别要注意勾上Add Python 3.8 to PATH,然后点“Install Now”即可完成安装。这样就会自动加入环境变量 编辑器推荐用PyCharm,可以快捷下载依赖,另外使用Visual Stu 阅读全文
posted @ 2020-08-12 11:10 张永峰z 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 设置博客皮肤为:SimpleMemory 添加美化css (css代码) #google_ad_c1, #google_ad_c2 {display:none;} .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter cod 阅读全文
posted @ 2020-07-30 17:41 张永峰z 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 首先安装依赖 npm install vue-puzzle-vcode --save 使用 html: <Vcode :show="isShow" @success="onSuccess"/> js: import Vcode from "vue-puzzle-vcode"; export defa 阅读全文
posted @ 2020-07-30 17:13 张永峰z 阅读(4492) 评论(0) 推荐(0) 编辑
摘要: 安装 npm install vue-axios --save npm install qs.js --save //把json格式转换为data需要的格式 注册全局变量 在src下main.js中 import Vue from 'vue' import axios from 'axios'imp 阅读全文
posted @ 2020-07-29 09:34 张永峰z 阅读(391) 评论(0) 推荐(1) 编辑
摘要: 安装swiper官方提供vue组件 npm install vue-awesome-swiper --save或者yarn add vue-awesome-swiper 在src目录下的main.js中全局引入 import Swiper from 'vue-awesome-swiper' Vue. 阅读全文
posted @ 2020-07-27 14:08 张永峰z 阅读(1564) 评论(0) 推荐(1) 编辑
摘要: 安装node.js http://nodejs.cn 选择32位还是64位,下载然后安装。一定要选择好安装目录,建议选D盘 下载好后,win+r 或者 右键左下角选择命令提示符,显示node版本就表示安装成功了 node -vnpm -v 配置缓存 npm config set prefix "安装 阅读全文
posted @ 2020-07-24 11:15 张永峰z 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 在src >route >index.js中,把mode:history注释掉 export default new Router({ // mode:'history', routes: [ { path: '/', name: 'root', components: { main:PostLIs 阅读全文
posted @ 2020-07-22 09:21 张永峰z 阅读(4261) 评论(0) 推荐(0) 编辑
摘要: vue-cli2 首先F12打开试调器,查看引入的css和js引入有没有报错 到config文件夹中打开index.js文件 修改buid下的 assetsPublicPath build: { // Template for index.html index: path.resolve(__dir 阅读全文
posted @ 2020-07-22 09:20 张永峰z 阅读(448) 评论(0) 推荐(0) 编辑
摘要: mui.openWindow({ url: 'xxx.html', //String类型,要打开的界面的地址 id: 'id', //String类型,要打开的界面的id styles: { //Webview窗口对象的样式 width: '100%', //String类型,窗口的宽度.支持百分比 阅读全文
posted @ 2020-07-17 11:00 张永峰z 阅读(963) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页