组件https://hooray.github.io/vue-sku-form/guide/ 另外一个比较简单 的<!DOCTYPE html> <html> <head> <meta char
1状态管理ps:状态管理事实上就是一个容器,可以存储一些常用的变量和函数,有数据持久化的特性import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) c
async 异步请求意思不阻碍其它代码继续往下执行async function timeout() { return 'hello word'; } console.log(timeout()); console.log('虽然在后面,但是我先执行');可以看到
html<div class="baiduMap"> <div id="map" style="border:1px solid #eee;height:600px;"></di
https://photoswipe.com/styling/html直接调用<!DOCTYPE html> <html> <head> <title>Test Galler
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>商品SKU选择DEMO</title&
示例1:求两个数组笛卡尔积假如有两个数组,求笛卡尔积,其基本思路是这样的:在遍历一个数组的同时,遍历另一个数组,然后把元素拼接,放到新数组。 /*方式一:两个数组求笛卡尔积*/ var&nbs
var bannerSwiper = new Swiper('#leaders',{ pagination:'.leaders-pagination', paginationClickable:true, autoplay:4500, slidesPerView:&nbs
<input name="key" type="text" placeholder="{:lang('请输入关键词')}" onfocus="$(this).attr('placeholder','
返回或设置文档的滚动条的垂直位置。jQuery(window).scrollTop() jQuery(window).scrollTop(offset)网页工作区域高度jQuery(window).height()整个网页文档的高度jQuery(document).height()某个元素相对于document文档的
line.zip
很好用,引入就可以ripple-master.zipripple.js 相关参数设置var colour = "#4285f4"; //水波颜色 var opacity = 0.3; //水波透明度 var ripple_within_eleme
通过代码修改,自定义加上默认 utils.each(tables, function (table) { &nbs
let arr = [ [1, 2, 3], [4, 5, 6] ]; function cartesianProductOf() { return Array.pr
<script type="text/javascript"> var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i
分享代码可以分为三个部分:HTML、设置和js加载,示例如下:<div class="bdsharebuttonbox" data-tag="share_1"> <!-- 此处添加展示按钮 --> </d
accept可以指定如下信息:<input accept="image/*" type="file"> 支持所有图片类型写法*.3gppaudio/3gpp, video/3gpp3GPP Audio/Video*.ac3audio/ac3AC3 Audio*.asfallpication/vn
下载http://kindeditor.net/down.php调用<textarea id="editor_id" name="content" style="width:100%;height:400px;">&l
例:获取选择的option 的level属性<select class="parent"> <option value="0" level="0">顶级分类</option> <option value=&qu
例:弹窗内容需要显示指定的html时,可以用 script 标签 type="text/template" 属性被包含的代码不会显示,当需获取html代码时使用 $('#box').html()获取<script type="text/template" id=&
admin
seo
ljd
51zuso_70
haotao99
51zuso_77