上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 74 下一页
摘要: 一、静态页面 目录结构 F:\Test\react demo\admin client\src\pages\admin\category 1. pages/category/index.jsx 二、动态:产品分类数据请求 1.编写产品分类相关接口src/api/index.js 【1】获取产品一级/ 阅读全文
posted @ 2020-02-15 15:04 晨光曦微 阅读(623) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-02-02 22:05 晨光曦微 阅读(22) 评论(0) 推荐(0)
摘要: 1.npm Intellisense 有自动补全的功能 var lodash = require('lodash') 2. path Intellisense 自动补全文件名 import CityAction from "../../../store/main/cityAction.js"; 3. 阅读全文
posted @ 2020-01-19 15:38 晨光曦微 阅读(1537) 评论(0) 推荐(0)
摘要: 一、知识点 1.jquery的ajax请求写法 二、实例 1. app1/views.py 2. templates/app1/areas.html 3. app1/urls.py 附件:setting.py设置 效果:http://localhost:8000/areas 阅读全文
posted @ 2020-01-18 17:35 晨光曦微 阅读(841) 评论(0) 推荐(0)
摘要: 一、知识点 参考:https://docs.djangoproject.com/zh hans/3.0/topics/pagination/ 查询出所有省级地区的信息,显示在页面上。 1) 查询出所有省级地区的信息。 2) 按每页显示10条信息进行分页,默认显示第一页的信息,下面并显示出页码。 3) 阅读全文
posted @ 2020-01-18 14:42 晨光曦微 阅读(211) 评论(0) 推荐(0)
摘要: 一.常用命令 教程:https://www.runoob.com/mysql/mysql-drop-tables.html 启动 net start mysql 连接 mysql -uroot -p 显示数据库 show databases; 创建数据库: create database test 阅读全文
posted @ 2020-01-17 20:07 晨光曦微 阅读(122) 评论(0) 推荐(0)
摘要: 1. 官网下载mysql_8.0.12免安装包,解压到你存放的地方; https://www.jb51.net/softs/609101.html 2. 配置环境变量(把bin的文件夹弄进系统path里面); 3. 在解压的根路径中,查看是否含有my.ini文件,没有就新建一个,内容如下: (ps: 阅读全文
posted @ 2020-01-17 19:40 晨光曦微 阅读(1434) 评论(0) 推荐(0)
摘要: 一、基本设置 参考:https://docs.djangoproject.com/zh hans/3.0/topics/http/file uploads/ 1)配置project1/settings.py 因为图片也属于静态文件,所以保存到static目录下。 2)在static目录下创建medi 阅读全文
posted @ 2020-01-17 18:28 晨光曦微 阅读(2949) 评论(0) 推荐(0)
摘要: 【参考】https://blog.csdn.net/u010132177/article/details/103814357 【参考】https://docs.djangoproject.com/zh hans/3.0/intro/tutorial07/ customize the admin ch 阅读全文
posted @ 2020-01-17 15:26 晨光曦微 阅读(2325) 评论(0) 推荐(0)
摘要: 一、静态文件 参考:https://www.cnblogs.com/jiajiaba/p/10584329.html 参考:https://docs.djangoproject.com/zh hans/3.0/ref/settings/ static files 1.1 使用 在 网页使用的css文 阅读全文
posted @ 2020-01-14 12:00 晨光曦微 阅读(326) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 74 下一页