提交新项目

This commit is contained in:
kongyuebin
2019-12-19 14:47:58 +08:00
parent 7ba20ac1b9
commit f29066a984
609 changed files with 238892 additions and 0 deletions

43
shop/static/js/base.js Normal file
View File

@@ -0,0 +1,43 @@
/***************************************************
** @Desc : This file for ...基本js
** @Time : 2018-08-27 10:52:14
** @Author : Joker
** @File :
** @Last Modified by : Joker
** @Last Modified time: 2018-08-27 11:12:19
** @Software: HBuilder
****************************************************/
/*限制只能选中一种支付方式*/
$(function () {
$("input[name=SCAN]").click(function () {
$("input[name=WAP]").attr("checked", false);
$("input[name=WY]").attr("checked", false);
$("input[name=KJ]").attr("checked", false);
$("input[name=H5]").attr("checked", false);
});
$("input[name=WAP]").click(function () {
$("input[name=SCAN]").attr("checked", false);
$("input[name=WY]").attr("checked", false);
$("input[name=KJ]").attr("checked", false);
$("input[name=H5]").attr("checked", false);
});
$("input[name=WY]").click(function () {
$("input[name=WAP]").attr("checked", false);
$("input[name=SCAN]").attr("checked", false);
$("input[name=KJ]").attr("checked", false);
$("input[name=H5]").attr("checked", false);
});
$("input[name=KJ]").click(function () {
$("input[name=WAP]").attr("checked", false);
$("input[name=WY]").attr("checked", false);
$("input[name=SCAN]").attr("checked", false);
$("input[name=H5]").attr("checked", false);
});
$("input[name=H5]").click(function () {
$("input[name=WAP]").attr("checked", false);
$("input[name=WY]").attr("checked", false);
$("input[name=SCAN]").attr("checked", false);
$("input[name=KJ]").attr("checked", false);
});
});

4
shop/static/js/jquery-3.2.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

8
shop/static/js/jquery.cookie.min.js vendored Normal file
View File

@@ -0,0 +1,8 @@
/*!
* jQuery Cookie Plugin v1.4.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2013 Klaus Hartl
* Released under the MIT license
*/
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(f){var a=/\+/g;function d(i){return b.raw?i:encodeURIComponent(i)}function g(i){return b.raw?i:decodeURIComponent(i)}function h(i){return d(b.json?JSON.stringify(i):String(i))}function c(i){if(i.indexOf('"')===0){i=i.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{i=decodeURIComponent(i.replace(a," "));return b.json?JSON.parse(i):i}catch(j){}}function e(j,i){var k=b.raw?j:c(j);return f.isFunction(i)?i(k):k}var b=f.cookie=function(q,p,v){if(p!==undefined&&!f.isFunction(p)){v=f.extend({},b.defaults,v);if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setTime(+u+r*86400000)}return(document.cookie=[d(q),"=",h(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var w=q?undefined:{};var s=document.cookie?document.cookie.split("; "):[];for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");var j=g(n.shift());var k=n.join("=");if(q&&q===j){w=e(k,p);break}if(!q&&(k=e(k))!==undefined){w[j]=k}}return w};b.defaults={};f.removeCookie=function(j,i){if(f.cookie(j)===undefined){return false}f.cookie(j,"",f.extend({},i,{expires:-1}));return !f.cookie(j)}}));

6
shop/static/js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long