总体的目录结构如下图:mysite 是我创建的一个项目 一、首先在你的项目文件夹下创建一个名为 static 的目录 ,并把下载好的bootstrap目录拷到static目录下。 二、打开settings.py文件,在文件的最后添加如下内容: STATIC_URL = '/static/' STAT ...
分类:
其他好文 时间:
2020-02-11 09:48:00
阅读次数:
70
vue cli modern Vue CLI 会产生两个应用的版本:一个现代版的包,面向支持 ES modules 的现代浏览器,另一个旧版的包,面向不支持的旧浏览器。 现代版的包会通过 ` ``` ...
分类:
其他好文 时间:
2020-02-09 11:48:54
阅读次数:
81
// include all the scss @import "~@angular/material/theming"; // Include non-theme styles for core. @include mat-core(); $mat-custom-primary-theme: ( ...
分类:
其他好文 时间:
2020-02-05 09:28:05
阅读次数:
69
将下边的代码复制粘贴进页脚中即可! 余姚申请js权限 (function(window,document,undefined){ var hearts = []; window.requestAnimationFrame = (function(){ return window.requestAni ...
分类:
其他好文 时间:
2020-02-03 16:13:52
阅读次数:
75
css基本语法 css的定义方法是: 选择器 { 属性:值; 属性:值; 属性:值;} 选择器是将样式和页面元素关联起来的名称,属性是希望设置的样式属性每个属性有一个或多个值。代码示例: div{ width:100px; height:100px; color:red } css页面引入方法: 1 ...
分类:
Web程序 时间:
2020-02-03 10:08:17
阅读次数:
81
基本的使用 login.html layout.html 还有header和sidebar和foot都是属于布局里的公共样式,block遵循一个萝卜一个坑原则,自己写特殊的部分。 "ok!使用这个模板引擎来写一个页面吧!" ...
分类:
其他好文 时间:
2020-01-24 15:57:30
阅读次数:
141
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0"> </head> <bo ...
分类:
微信 时间:
2020-01-21 21:33:31
阅读次数:
133
使用chalk定义输出样式:Chalk comes with an easy to use composable API where you just chain and nest the styles you want. const chalk = require('chalk') console ...
分类:
其他好文 时间:
2020-01-19 00:06:07
阅读次数:
281
jquery 动态添加输入框的两种方法。 1.展示页面 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta ...
分类:
Web程序 时间:
2020-01-18 10:23:06
阅读次数:
105
//Title: 个人健康管理分析报告 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Word = Microsoft.Office.Interop.Word; ...
分类:
其他好文 时间:
2020-01-17 13:38:13
阅读次数:
95