链接上require.js <script src="require.js" data-main="index"></script> index.js require(['template','text!T/t1.html'],function(template,t1){ // compile将模板{字符串}编译成模…
首先得把下载好的require.js文件链接到html文档中: <script src="require.js" data-main="main"></script> require.js加载完成后会到页面上查找script[data-main]的值,找到之后会加载data-main指定的js文件,main是入口文件 mai…
artTemplate下载:https://github.com/aui/art-template artTemplate文档:https://aui.github.io/art-template/docs/ HTML模板引擎 <!DOCTYPE html> <html lang="en"> <head> …
爱车刮蹭其实在日常生活中在所难免,一些小的刮蹭,去4S店吧,太麻烦,不去呢,又觉得自己的爱车不好看了,心理上过不去,长期放着不管,风吹雨淋加日晒,很快就会生锈,造成车漆大面积的脱落,那问题就严重了,但是出现问题、解决问题是我们人类进步的标志,所以今天靖怡就找来了各种的汽车防刮条,来看看它们到底能不能防刮蹭。 [videos href='https:…
汽车使用时间比较长了以后,会发现有一些点状污渍很难用一般方式清洗干净,但是洗车泥可能会帮您把这些疑难杂症处理掉。 [videos href='https://v.qq.com/iframe/player.html?vid=j0538lr70jn&tiny=0&auto=0']https://blog.bg7zag.com/wp-co…
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jQuery事件</title> <script src="jquery.js"></scrip…
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jQuery工具</title> </head> <body> <input typ…
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jQuery动画参数</title> <style> progress{ …
jQuery布局 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jQuery布局</title> <style> div { …
html <ul> <li>HTML</li> <li>CSS</li> <li>JS</li> </ul> <ol> <li>第1项</li> <li>第2项&…
CSS .red-text{ color:red; } .bold-text{ font-weight: bold; font-size: 2rem; } HTML <ul></ul> <ul> <li>第1项</li> <li>第2项&…