自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 收藏
  • 关注

原创 2021-06-01 vant sku

let specifications1 = "" ,specifications2 = ""; let chanpinData = this.$refs.product.getSkuData(); this.skuData.sku.tree[0].v.forEach(element => { if(chanpinData.selectedSkuComb.s1 == element.id){ specifications1...

2021-06-01 15:19:57 248

原创 js隐藏与显示回到顶部按钮

js隐藏与显示回到顶部按钮window.onscroll = function () { if (document.documentElement.scrollTop + document.body.scrollTop > 100) { document.getElementById("scrollto").style.display = "block"; } else { document.getElementById("scrollto

2020-12-12 14:13:12 285

原创 vue axios 封装

importaxiosfrom'axios'exportfunctionrequest(config){constinstance=axios.create({baseURL:"http://www.google.com",timeout:7000})returninstance(config)}

2020-12-09 20:42:30 128 1

原创 vue swiper 组件封装2

<template><divclass="swiper-containermyclassname"><divclass="swiper-wrapper"><slot></slot></div><divclass="swiper-pagination"></div></div></template>...

2020-11-11 13:22:24 182

原创 vue swiper 组件封装1

<template><divclass="swiper-containerfilmswiper"><divclass="swiper-wrapper"><slot></slot></div><divclass="swiper-pagination"></div></div></template>...

2020-11-11 13:18:50 95

原创 Vue Unit Price Changing Event As Qty change sync..ly

<!DOCTYPE html><html><head><meta charset="utf-8"><title>unit price changing</title><script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script></head><body><div id="app">

2020-07-03 22:34:27 167

原创 微信小程序开发:http请求

在这里可以设置对应四种网络访问的域名,每一种类型的网络请求需要设置一个域名,注意如果在这里设置域名为https://example.com/api/,那么https://example.com/api是无法调用的,必须加上后面/。http请求使用wx.request可以发起一个http请求,一个微信小程序被限制为同时只有5个网络请求。function queryRequest(data){ wx.request({ url:"https://example.co

2020-06-17 22:00:38 580

原创 vue 中轮播图的使用

下载:npm install swiper --save-dev网址:swiper4.0使用入口:http://www.swiper.com.cn/usage/index.html<template> <div class="MoveImg"> <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-s.

2020-05-27 09:01:51 172

原创 Reusable VUE TABS Component

Tab.vue:<template> <div v-show="isActive"><slot></slot> </div></template><script>export default {props:{name:{required:true},selected:{default:false}},data() {return { isActive: false }},mounte...

2020-05-20 21:43:32 114

原创 Simple Accordion With Vue JS

HTML:<div id="app"> <h1>Simple Accordion w/ Vue JS</h1> <div class="accordions"> <dl v-for="(row, id) in rows"> <dt v-on:click="row.open = !row.open">{{ row.term }}</dt> ...

2020-05-16 08:21:17 146

原创 javascript accordion effect

HTML:<h2>Accordion</h2><button class="accordionx active">Section 1</button><div class="panelx" style="display:block"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incidid...

2020-05-11 09:32:18 127

原创 JQERY ACCORDION 手风琴20200508

html:<div class="accordion-container"> <h2>jQuery Accordion</h2> <div class="set"> <a href="#"> Vestibulum <i class="fa fa-plus"></i>...

2020-05-08 17:30:27 117

原创 JQUERY scrolling固定TAB栏

<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script><script> // Code By Webdevtrick ( https://webdevtrick.com )class StickyNavigation { cons...

2020-04-24 20:55:15 308

原创 CSS 时间轴

<!DOCTYPE html><html><head> <title>css timeline20200423</title> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <meta name="view...

2020-04-24 10:40:13 204

原创 jQuery Timeline.js Demo Page

<script>/* Timeline - Responsive, jQuery-based timeline Version 1.0.0 Ryan Fitzgerald http://RyanFitzgerald.ca/ --- Repo: http://github.com/ryanfitzgerald/timelin...

2020-04-23 22:10:42 459

原创 TRACK INFO BT时间轴

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"><script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"...

2020-04-23 20:40:11 370

原创 BT 时间轴

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"><script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"...

2020-04-23 20:29:59 330

原创 Jquery Sticky 固定块

<script>$(function(){$(window).scroll(function() {if ($(this).scrollTop() &gt;= 290) {$('nav.main-nav').addClass('stickytop');}else {...

2020-04-23 10:19:40 341

原创 Jquery Hover竖排折叠菜单

<ul id="nav"> <li><a href="#">Item 1</a> <ul> <li><a href="#">Sub-Item 1 a</a></li> <li><a href="#">Sub-Item 1 b&l...

2020-04-23 10:02:36 137

原创 vUE 折叠菜单

<template><div><h1>{{name}}</h1><ul><liv-for="(item,i)initems":key="i"><aclass=""@click="flagChange(item)"><i:class="item.icon"&...

2020-04-17 22:34:01 532

原创 JS 折叠菜单

<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-a...

2020-04-12 09:24:51 359

原创 Vue.js ---Tabs

<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Tabs 20200406 tutorial</title><script src="https://cdn...

2020-04-07 20:42:02 158

原创 原生JS实现拖动滑块验证

原生JS实现拖动滑块验证<!DOCTYPE html><html lang="en"><head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <title>js slide</title> <s...

2020-03-18 13:26:49 160

原创 3D Carousel for Vue.js

https://wlada.github.io/vue-carousel-3d/<div id="carousel"> <carousel-3d :autoplay="true" :autoplay-timeout="2400"> <slide :index="0"><img src="https://res.cloudinary.co...

2020-02-25 21:40:46 825

原创 表单JS提交 onsubmit 检查有两个函数 该怎么写?

<form action="../chengducar.php" method="post" class="form" onSubmit="return check(this)"><input type="text" id="input"> <input type="button" id="code" onclick="createCode()" />&...

2019-11-04 11:27:05 729

原创 Uncaught TypeError: Cannot read property 'style' of null

JAVASCRIPT报错切图为:Uncaught TypeError: Cannot read property 'style' of null请教是哪里出了问题 该怎么解决?????????/&lt;button class="accordion1"&gt;Section 1&lt;/button&gt;&lt;div class="panel1"&gt;  &lt;p&gt;Lorem ips...

2018-03-12 22:17:17 2353

原创 总结wordpress3.9版本运行缓慢的几种解决方案

总结wordpress3.9版本运行缓慢的几种解决方案   Wordpress站长粉丝们也许都知道wordpress3.8.2和wordpress3.8.3我们还在熟悉使用中,紧紧接着wordpress3.9版本就又发布了。可谓发布的速度之快呀。其实wordpress3.9也是为了纪念吉米.史密斯而命名的,新的本版的确在很多方面都有革命性的更新例如可视化编辑,图片编辑,图片集预览,音视屏列表等

2014-06-18 22:45:54 310

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除