js立方体旋转播放特效代码下载


js立方体旋转播放特效代码下载
js立方体旋转播放特效代码下载以及立方体、旋转播放等js/jquery网页特效代码下载。

1. 引入CSS

<link rel="stylesheet" href="css/yinyuehe.css">

2. 引入JS

<script src="js/vue.js"></script>

3. HTML代码

	<div id="app">
		<div class="main">
			<ul class="box" id="box" :class="infoShow?'play':'pause'">
				<li v-for="(item,index) in list" :key="item.index" :class="{imgOpen:item.imgShow}">
					<img :src="item.imgUrl" />
				</li>
			</ul>
			<dl class="minBox" id="minBox">
				<dd v-for="(item,index) in list" :key="item.index">
					<img :src="item.imgUrl" />
				</dd>
			</dl>
		</div>
		<audio src="yinyue/tiantian.mp3" ref="vd"></audio>
		<div class="catMain">
			<div class="cat" id="cat">
				<div class="head_content">
					<div class="ear_left"></div>
					<div class="ear_right"></div>
					<div class="head"></div>
					<div class="brow_left"></div>
					<div class="brow_right"></div>
					<div class="eye_left">
						<div id="pL" class="pupil"></div>
					</div>
					<div class="eye_right">
						<div id="pR" class="pupil"></div>
					</div>
					<div class="beard_left1"></div>
					<div class="beard_left2"></div>
					<div class="beard_left3"></div>
					<div class="beard_right1"></div>
					<div class="beard_right2"></div>
					<div class="beard_right3"></div>
					<div class="nose"></div>
					<div class="mouse">
						<div class="mouse_top"></div>
						<div class="mouse_left"></div>
						<div class="mouse_right"></div>
						<div class="mouse_bottom" v-if="!infoShow"></div>
						<div class="mouse_bottom_show" v-else></div>
						<div class="miao" id="miao">
							<img :src="infoShow?'img/xin.png':'img/xinsui.png'" />
						</div>
					</div>
				</div>
				<div class="body_content">
					<div class="body"></div>
					<div class="arm_left"></div>
					<div class="arm_right"></div>
					<div class="leg_left"></div>
					<div class="leg_right"></div>
					<div class="content-info" @click="cirClick">
						<span :style="{color:infoShow?'#36c9a3':'#fa004b'}">{{infoShow?'关闭':'打开'}}</span>
					</div>
					<div class="tail">
						<div class="tail1"></div>
						<div class="tail2"></div>
						<div class="tail3"></div>
					</div>
				</div>
			</div>
		</div>
	</div>

相关推荐

发表评论

相关文章