master
editor 1 year ago
commit 0502741107

@ -0,0 +1,28 @@
感怀海贼王微场景模版源码
一、源码特点
       1、非常煽情的微场景模版配有背景音乐完全前端模版不需要后台适用很多场景
二、注意事项
       1、基于HTML5开发的微信小程序
作者: 匿名
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/AboutOnePieceMicro
------------------------------------------------------------------------------------------------
源码服务专家
官网: https://www.51aspx.com
讨论圈: https://club.51aspx.com/
平台声明:
1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com
4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
友情提示:
一般数据库文件默认在 DB_51Aspx 文件夹下
默认账号密码一般均为51Aspx
关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help

@ -0,0 +1,15 @@
/**
* fullPage 1.4.5
* https://github.com/alvarotrigo/fullPage.js
* MIT licensed
*
* Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
*/
html, body {
margin: 0;
padding: 0;
}
#superContainer {
height: 100%;
position: relative;
}

@ -0,0 +1,15 @@
:focus { outline: 0; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,input,section{ margin:0;padding:0;border:0;}
li { list-style: none; }
img { border:0; border:none; display: block; vertical-align: bottom;}
em, i { font-style: normal; }
a{text-decoration:none; }
a{outline:none;blr:expression(this.onFocus=this.blur());}/*去掉a标签的虚线框避免出现奇怪的选中区域*/
.clear { margin: 0px; padding: 0px; width: 0px; height: 0px; line-height: 0px; font-size: 0px; clear: both; }
/*li{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; width:px;} (用省略号显示)*/
*{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
html{height:100%; }
body{width:640px;height:100%;background-color:#161d27;font-family:'Microsoft YaHei',sans-serif !important; }
.section { text-align: center; color:#fff; padding:20px; background-color: #161d27; overflow: hidden;text-shadow:0 0 10px yellow;}
.section p{ margin-bottom: 20px;}
.section1{background: url(../images/index_bg.jpg) no-repeat left top; background-size: 100%; background-color: #000034;}

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=640px, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="msapplication-tap-highlight" content="no"/>
<meta name="format-detection" content="telephone=no" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>梦无形,心相伴</title>
<link rel="stylesheet" href="css/jquery.fullPage.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/jquery-1.8.3.min.js"></script>

@ -0,0 +1,15 @@
$(document).ready(function() {
$.fn.fullpage({
// slidesColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', '#f90', '#ef820'],
anchors: ['page1', 'page2', 'page3', 'page4', 'page5', 'page6', 'page7', 'page8', 'page9', 'page10', 'page11'],
loopBottom: true,
afterLoad: function(anchorLink, index){
if(index == 2){
$('.section2').find('.text2').delay(500).animate({
top: '90px'
}, 1500, 'easeOutBounce');
$('.section2').find('.img2').delay(2500).fadeIn(1500);
}
if(index == 3){
var t = 700;
$('.section3').find('p').each(function(i){

@ -0,0 +1,15 @@
/**
* js网页雪花效果jquery插件
* 懒人建站 www.51xuediannao.com 整理
* @see http://workshop.rs
*/
(function($){
$.fn.snow = function(options){
var defaults = {
Container:'body',
minSize : 10, //雪花的最小尺寸
maxSize : 20, //雪花的最大尺寸
newOn : 1000, //雪花出现的频率
content:'',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,15 @@
jQuery.easing['jswing'] = jQuery.easing['swing'];
jQuery.extend( jQuery.easing,
{
def: 'easeOutQuad',
swing: function (x, t, b, c, d) {
//alert(jQuery.easing.default);
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
},
easeInQuad: function (x, t, b, c, d) {
return c*(t/=d)*t + b;
},
easeOutQuad: function (x, t, b, c, d) {
return -c *(t/=d)*(t-2) + b;

@ -0,0 +1,15 @@
/**
* fullPage 1.5.3
* https://github.com/alvarotrigo/fullPage.js
* MIT licensed
* download by www.jphtml.com
* Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
*/
(function(b){b.fn.fullpage=function(c){function m(a){if(c.autoScrolling){a=window.event||a;a=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail));var e;e=b(".section.active");if(!k)if(e=e.find(".slides").length?e.find(".slide.active").find(".scrollable"):e.find(".scrollable"),0>a)if(0<e.length)if(v("bottom",e))b.fn.fullpage.moveSectionDown();else return!0;else b.fn.fullpage.moveSectionDown();else if(0<e.length)if(v("top",e))b.fn.fullpage.moveSectionUp();else return!0;else b.fn.fullpage.moveSectionUp();
return!1}}function F(){document.addEventListener?(document.addEventListener("mousewheel",m,!1),document.addEventListener("DOMMouseScroll",m,!1)):document.attachEvent("onmousewheel",m)}function n(a,e){var d={},f,h=a.position(),h=null!==h?h.top:null,H=G(a),l=a.data("anchor"),g=a.index(".section"),p=a.find(".slide.active");if(p.length){f=p.data("anchor");var q=p.index()}p=b(".section.active").index(".section")+1;a.addClass("active").siblings().removeClass("active");k=!0;"undefined"!==typeof l?I(q,f,
l):location.hash="";c.autoScrolling?(d.top=-h,f="#superContainer"):(d.scrollTop=h,f="html, body");c.css3&&c.autoScrolling?(b.isFunction(c.onLeave)&&c.onLeave.call(this,p,H),z("translate3d(0px, -"+h+"px, 0px)",!0),setTimeout(function(){b.isFunction(c.afterLoad)&&c.afterLoad.call(this,l,g+1);setTimeout(function(){k=!1;b.isFunction(e)&&e.call(this)},J)},c.scrollingSpeed)):(b.isFunction(c.onLeave)&&c.onLeave.call(this,p,H),b(f).animate(d,c.scrollingSpeed,c.easing,function(){b.isFunction(c.afterLoad)&&
c.afterLoad.call(this,l,g+1);setTimeout(function(){k=!1;b.isFunction(e)&&e.call(this)},J)}));r=l;c.autoScrolling&&(K(l),L(l,g))}function u(a,e){var d=e.position(),f=a.find(".slidesContainer").parent(),h=e.index(),g=a.closest(".section"),l=g.index(".section"),k=g.data("anchor"),p=g.find(".fullPage-slidesNav"),q=e.data("anchor");if(c.onSlideLeave){var m=g.find(".slide.active").index(),n;n=m>h?"left":"right";b.isFunction(c.onSlideLeave)&&c.onSlideLeave.call(this,k,l+1,m,n)}e.addClass("active").siblings().removeClass("active");
"undefined"===typeof q&&(q=h);g.hasClass("active")&&(c.loopHorizontal||(g.find(".controlArrow.prev").toggle(0!=h),g.find(".controlArrow.next").toggle(!e.is(":last-child"))),I(h,q,k));c.css3?(d="translate3d(-"+d.left+"px, 0px, 0px)",a.find(".slidesContainer").addClass("easing").css({"-webkit-transform":d,"-moz-transform":d,"-ms-transform":d,transform:d}),setTimeout(function(){b.isFunction(c.afterSlideLoad)&&c.afterSlideLoad.call(this,k,l+1,q,h);s=!1},c.scrollingSpeed)):f.animate({scrollLeft:d.left},
c.scrollingSpeed,function(){b.isFunction(c.afterSlideLoad)&&c.afterSlideLoad.call(this,k,l+1,q,h);s=!1});p.find(".active").removeClass("active");p.find("li").eq(h).find("a").addClass("active")}function M(){var a=b(window).width();g=b(window).height();c.resize&&S(g,a);b(".section").each(function(){parseInt(b(this).css("padding-bottom"));parseInt(b(this).css("padding-top"));if(c.scrollOverflow){var a=b(this).find(".slide");a.length?a.each(function(){w(b(this))}):w(b(this))}c.verticalCentered&&b(this).find(".tableCell").css("height",
g+"px");b(this).css("height",g+"px");a=b(this).find(".slides");a.length&&u(a,a.find(".slide.active"))});b(".section.active").position();a=b(".section.active");a.index(".section")&&n(a)}function S(a,e){var c=825,f=a;825>a||900>e?(900>e&&(f=e,c=900),c=(100*f/c).toFixed(2),b("body").css("font-size",c+"%")):b("body").css("font-size","100%")}function L(a,e){c.navigation&&(b("#fullPage-nav").find(".active").removeClass("active"),a?b("#fullPage-nav").find('a[href="#'+a+'"]').addClass("active"):b("#fullPage-nav").find("li").eq(e).find("a").addClass("active"))}
function K(a){c.menu&&(b(c.menu).find(".active").removeClass("active"),b(c.menu).find('[data-menuanchor="'+a+'"]').addClass("active"))}function v(a,b){if("top"===a)return!b.scrollTop();if("bottom"===a)return b.scrollTop()+b.innerHeight()>=b[0].scrollHeight}function G(a){var c=b(".section.active").index(".section");a=a.index(".section");return c>a?"up":"down"}function w(a){a.css("overflow","hidden");var b=a.closest(".section"),d=a.find(".scrollable");(d.length?a.find(".scrollable").get(0).scrollHeight-

@ -0,0 +1,15 @@
// JavaScript Document
var audios = window["audios"] || {};
audios = {
aud:'',
play : function () {
var basePath = "music/";
var mp3snd = "a.mp3";
var mp3snd2 = "bg.wav";
var bkcolor = "000000";
if ( $("#bd_audio_1").length > 0 ) {
return false;
}
if(this.aud != ""){
this.aud.play();

@ -0,0 +1,15 @@
// JavaScript Document
$(document).ready(function(){
//-----------------
var DEFAULT_WIDTH = 640, // 页面的默认宽度
ua = navigator.userAgent.toLowerCase(), // 根据 user agent 的信息获取浏览器信息
deviceWidth = window.screen.width, // 设备的宽度
devicePixelRatio = window.devicePixelRatio || 1, // 物理像素和设备独立像素的比例默认为1
targetDensitydpi;
// Android4.0以下手机不支持viewport的width需要设置target-densitydpi
if (ua.indexOf("android") !== -1 && parseFloat(ua.slice(ua.indexOf("android")+8)) < 4) {
targetDensitydpi = DEFAULT_WIDTH / deviceWidth * devicePixelRatio * 160;
$('meta[name="viewport"]').attr('content', 'target-densitydpi=' + targetDensitydpi + ', width=device-width, user-scalable=no');
}
})
Loading…
Cancel
Save