12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121 |
- <template>
- <view style="width: 100%; height: 100%">
- <div class="pageback">
- <div class="ventilate" id="topPic">
- <!-- 进风箭头 -->
- <div
- :class="
- nowfengji == '2' ? 'arrow1' : nowfengji == '1' ? 'arrow1-fan1' : ''
- "
- id="arrow1"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow2' : nowfengji == '1' ? 'arrow2-fan1' : ''
- "
- id="arrow2"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow3' : nowfengji == '1' ? 'arrow3-fan1' : ''
- "
- id="arrow3"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow4' : nowfengji == '1' ? 'arrow4-fan1' : ''
- "
- id="arrow4"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow5' : nowfengji == '1' ? 'arrow5-fan1' : ''
- "
- id="arrow5"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow6' : nowfengji == '1' ? 'arrow6-fan1' : ''
- "
- id="arrow6"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow7' : nowfengji == '1' ? 'arrow7-fan1' : ''
- "
- id="arrow7"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow8' : nowfengji == '1' ? 'arrow8-fan1' : ''
- "
- id="arrow8"
- ></div>
- <div
- :class="
- nowfengji == '2' ? 'arrow9' : nowfengji == '1' ? 'arrow9-fan1' : ''
- "
- id="arrow9"
- ></div>
- <div
- :class="
- nowfengji == '2'
- ? 'arrow10'
- : nowfengji == '1'
- ? 'arrow10-fan1'
- : ''
- "
- id="arrow10"
- ></div>
- <!-- 回风箭头 -->
- <div class="arrow101" id="arrow101" v-show="nowfengji != ''"></div>
- <div class="arrow102" id="arrow102" v-show="nowfengji != ''"></div>
- <div class="arrow103" id="arrow103" v-show="nowfengji != ''"></div>
- <div class="arrow104" id="arrow104" v-show="nowfengji != ''"></div>
- <div class="arrow105" id="arrow105" v-show="nowfengji != ''"></div>
- <div class="arrow106" id="arrow106" v-show="nowfengji != ''"></div>
- <!-- <div class="arrow107" id="arrow107"></div>
- <div class="arrow108" id="arrow108"></div>-->
- <!-- 回风 -->
- <div class="arrow201" id="arrow201"></div>
- <div class="arrow202" id="arrow202"></div>
- <div class="arrow203" id="arrow203"></div>
- <div class="arrow204" id="arrow204"></div>
- <div class="arrow205" id="arrow205"></div>
- <div
- style="
- color: #fff;
- font-size: 14px;
- position: absolute;
- top: 12%;
- left: 80%;
- width: auto;
- height: 60px;
- "
- @click="fanclick(1)"
- >
- <span>主风机</span>
- </div>
- <div
- style="
- color: #fff;
- font-size: 14px;
- position: absolute;
- top: 16%;
- left: 80%;
- width: auto;
- height: 60px;
- "
- @click="fanclick(2)"
- >
- <span>备用风机</span>
- </div>
- <!-- 风扇动画展示 -->
- <div class="box2" style="top: 12.8%; right: 29%" @click="fanclick(1)">
- <div id="box2">
- <span></span>
- <span></span>
- <span></span>
- <span></span>
- </div>
- </div>
- <div class="box" style="top: 15.5%; right: 29%" @click="fanclick(2)">
- <div id="box1">
- <span></span>
- <span></span>
- <span></span>
- <span></span>
- </div>
- </div>
- </div>
- </div>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- fengliangUp: "", // 风量上限
- fengliangDown: "", // 风量下限
- controTypeName: "变频器频率",
- // 界面风机动画
- // 控制类型 1 变频器频率 2 需风量
- controlType: "1",
- loading: "", // 数据加载
- yMax1: 100,
- yMax2: 10,
- yMax3: 1000,
- textColor: "#000",
- option1: {},
- readData: {},
- nowfengji: "1",
- };
- },
- props: {
- mainFanText: {
- type: String,
- default: "主风机",
- },
- subFanText: {
- type: String,
- default: "备风机",
- },
- },
- methods: {
- setnowfengji(val) {
- if (this.nowfengji != val) {
- this.nowfengji = val;
- this.setFengjiDonghua();
- }
- },
- fanclick(val) {
- this.$emit("fanclick", val);
- },
- setFengjiDonghua() {
- if (this.nowfengji == "2") {
- document.getElementById("box1").style.animationPlayState = "running";
- document.getElementById("box1").style.WebkitAnimationPlayState =
- "running";
- document.getElementById("box2").style.animationPlayState = "paused";
- document.getElementById("box2").style.WebkitAnimationPlayState =
- "paused";
- } else if (this.nowfengji == "1") {
- document.getElementById("box2").style.animationPlayState = "running";
- document.getElementById("box2").style.WebkitAnimationPlayState =
- "running";
- document.getElementById("box1").style.animationPlayState = "paused";
- document.getElementById("box1").style.WebkitAnimationPlayState =
- "paused";
- } else {
- document.getElementById("box2").style.animationPlayState = "paused";
- document.getElementById("box2").style.WebkitAnimationPlayState =
- "paused";
- document.getElementById("box1").style.animationPlayState = "paused";
- document.getElementById("box1").style.WebkitAnimationPlayState =
- "paused";
- }
- },
- },
- watch: {},
- onLoad(query) {
- this.setFengjiDonghua();
- },
- };
- </script>
- <style scoped>
- div.pageback {
- padding-top: 10px;
- margin-top: 12px;
- width: 100%;
- height: calc(80% - 50px);
- min-height: 350px;
- background-image: url(/static/fan/page-back.png);
- background-size: 100% 100%;
- }
- div.ventilate {
- min-width: 300px;
- width: 60%;
- margin-left: 10%;
- height: 80%;
- height: calc(80% - 120px);
- min-height: 330px;
- background-image: url(/static/fan/localfan-back.png);
- background-size: 100% 100%;
- }
- div.arrow1,
- div.arrow2,
- div.arrow3,
- div.arrow4,
- div.arrow5,
- div.arrow6,
- div.arrow7,
- div.arrow8,
- div.arrow9,
- div.arrow10,
- div.arrow1-fan1,
- div.arrow2-fan1,
- div.arrow3-fan1,
- div.arrow4-fan1,
- div.arrow5-fan1,
- div.arrow6-fan1,
- div.arrow7-fan1,
- div.arrow8-fan1,
- div.arrow9-fan1,
- div.arrow10-fan1 {
- position: absolute;
- right: 40px;
- opacity: 0;
- top: 96px;
- width: 30px;
- height: 15px;
- box-sizing: border-box;
- float: right;
- z-index: 1;
- transition: all 2s ease;
- background-image: url(/static/fan/arrow-in.png);
- background-size: 100% 100%;
- }
- div.arrow101,
- div.arrow102,
- div.arrow103,
- div.arrow104,
- div.arrow105,
- div.arrow106,
- div.arrow107,
- div.arrow108 {
- position: absolute;
- right: 70px;
- opacity: 0;
- top: 516px;
- width: 30px;
- height: 13px;
- box-sizing: border-box;
- float: right;
- z-index: 1;
- transition: all 2s ease;
- background-image: url(/static/fan/arrow-out.png);
- background-size: 100% 100%;
- }
- div.arrow201,
- div.arrow202,
- div.arrow203,
- div.arrow204,
- div.arrow205 {
- position: absolute;
- right: 0px;
- opacity: 0;
- top: 30px;
- width: 45px;
- height: 23px;
- box-sizing: border-box;
- float: right;
- z-index: 10;
- transition: all 2s ease;
- background-image: url(/static/fan/arrow-in.png);
- background-size: 100% 100%;
- }
- </style>
- <style scoped>
- .arrow1 {
- position: relative;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- }
- @keyframes myfirst1 {
- 0% {
- right: 10%;
- top: 16%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 10% {
- right: 33%;
- top: 16%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 11% {
- right: 34%;
- top: 15%;
- -webkit-transform: rotate(40deg);
- opacity: 1;
- }
- 14% {
- right: 40%;
- top: 13%;
- -webkit-transform: rotate(40deg);
- opacity: 1;
- }
- 15% {
- right: 41%;
- top: 13%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 22% {
- right: 60%;
- top: 13%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 23% {
- right: 60.5%;
- top: 14%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 98% {
- right: 60.5%;
- top: 91%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 100% {
- right: 60.5%;
- top: 93%;
- -webkit-transform: rotate(-90deg);
- opacity: 0;
- }
- }
- @-webkit-keyframes myfirst1 /* Safari 和 Chrome */ {
- 0% {
- right: 10%;
- top: 16%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 10% {
- right: 33%;
- top: 16%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 11% {
- right: 34%;
- top: 15%;
- -webkit-transform: rotate(30deg);
- opacity: 1;
- }
- 14% {
- right: 40%;
- top: 12%;
- -webkit-transform: rotate(30deg);
- opacity: 1;
- }
- 15% {
- right: 41%;
- top: 12%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 22% {
- right: 60%;
- top: 12%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 23% {
- right: 60.5%;
- top: 13%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 98% {
- right: 60.5%;
- top: 91%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 100% {
- right: 60.5%;
- top: 93%;
- -webkit-transform: rotate(-90deg);
- opacity: 0;
- }
- }
- .arrow2 {
- position: relative;
- animation-delay: -18s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -18s;
- }
- .arrow3 {
- position: relative;
- animation-delay: -16s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -16s;
- }
- .arrow4 {
- position: relative;
- animation-delay: -14s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -14s;
- }
- .arrow5 {
- position: relative;
- animation-delay: -12s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -12s;
- }
- .arrow6 {
- position: relative;
- animation-delay: -10s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -10s;
- }
- .arrow7 {
- position: relative;
- animation-delay: -8s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -8s;
- }
- .arrow8 {
- position: relative;
- animation-delay: -6s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -6s;
- }
- .arrow9 {
- position: relative;
- animation-delay: -4s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -4s;
- }
- .arrow10 {
- position: relative;
- animation-delay: -2s;
- animation: myfirst1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1 20s infinite linear;
- -webkit-animation-delay: -2s;
- }
- </style>
- <style scoped>
- .arrow101 {
- position: relative;
- animation-delay: -10s;
- animation: myfirst101 12s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst101 12s infinite linear;
- -webkit-animation-delay: -10s;
- }
- @keyframes myfirst101 {
- 0% {
- right: 62.5%;
- top: 94%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 15% {
- right: 73%;
- top: 94%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 17% {
- right: 73%;
- top: 93%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 62% {
- right: 73%;
- top: 57%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 64% {
- right: 73%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 66% {
- right: 74%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 90% {
- right: 93%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 100% {
- right: 98%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 0;
- }
- }
- @-webkit-keyframes myfirst101 /* Safari 和 Chrome */ {
- 0% {
- right: 62.5%;
- top: 94%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 15% {
- right: 73%;
- top: 94%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 17% {
- right: 73%;
- top: 93%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 62% {
- right: 73%;
- top: 57%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 64% {
- right: 73%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 66% {
- right: 74%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 90% {
- right: 93%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 1;
- }
- 100% {
- right: 98%;
- top: 55%;
- -webkit-transform: rotate(-180deg);
- opacity: 0;
- }
- }
- .arrow102 {
- position: relative;
- animation-delay: -8s;
- animation: myfirst101 12s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst101 12s infinite linear;
- -webkit-animation-delay: -8s;
- }
- .arrow103 {
- position: relative;
- animation-delay: -6s;
- animation: myfirst101 12s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst101 12s infinite linear;
- -webkit-animation-delay: -6s;
- }
- .arrow104 {
- position: relative;
- animation-delay: -4s;
- animation: myfirst101 12s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst101 12s infinite linear;
- -webkit-animation-delay: -4s;
- }
- .arrow105 {
- position: relative;
- animation-delay: -2s;
- animation: myfirst101 12s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst101 12s infinite linear;
- -webkit-animation-delay: -2s;
- }
- .arrow106 {
- position: relative;
- animation-delay: 0s;
- animation: myfirst101 12s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst101 12s infinite linear;
- -webkit-animation-delay: 0s;
- }
- </style>
- <style scoped>
- .arrow1-fan1 {
- position: relative;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- }
- @keyframes myfirst1-fan1 {
- 0% {
- right: 10%;
- top: 10%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 10% {
- right: 33%;
- top: 10%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 11% {
- right: 34%;
- top: 11%;
- -webkit-transform: rotate(-40deg);
- opacity: 1;
- }
- 14% {
- right: 40%;
- top: 13%;
- -webkit-transform: rotate(-40deg);
- opacity: 1;
- }
- 15% {
- right: 41%;
- top: 13%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 22% {
- right: 60%;
- top: 13%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 23% {
- right: 60.5%;
- top: 14%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 98% {
- right: 60.5%;
- top: 89%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 100% {
- right: 60.5%;
- top: 91%;
- -webkit-transform: rotate(-90deg);
- opacity: 0;
- }
- }
- @-webkit-keyframes myfirst1-fan1 /* Safari 和 Chrome */ {
- 0% {
- right: 10%;
- top: 10%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 10% {
- right: 33%;
- top: 10%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 11% {
- right: 34%;
- top: 11%;
- -webkit-transform: rotate(-40deg);
- opacity: 1;
- }
- 14% {
- right: 40%;
- top: 13%;
- -webkit-transform: rotate(-40deg);
- opacity: 1;
- }
- 15% {
- right: 41%;
- top: 13%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 22% {
- right: 60%;
- top: 13%;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 23% {
- right: 60.5%;
- top: 14%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 98% {
- right: 60.5%;
- top: 89%;
- -webkit-transform: rotate(-90deg);
- opacity: 1;
- }
- 100% {
- right: 60.5%;
- top: 91%;
- -webkit-transform: rotate(-90deg);
- opacity: 0;
- }
- }
- .arrow2-fan1 {
- position: relative;
- animation-delay: -18s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -18s;
- }
- .arrow3-fan1 {
- position: relative;
- animation-delay: -16s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -16s;
- }
- .arrow4-fan1 {
- position: relative;
- animation-delay: -14s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -14s;
- }
- .arrow5-fan1 {
- position: relative;
- animation-delay: -12s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -12s;
- }
- .arrow6-fan1 {
- position: relative;
- animation-delay: -10s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -10s;
- }
- .arrow7-fan1 {
- position: relative;
- animation-delay: -8s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -8s;
- }
- .arrow8-fan1 {
- position: relative;
- animation-delay: -6s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -6s;
- }
- .arrow9-fan1 {
- position: relative;
- animation-delay: -4s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -4s;
- }
- .arrow10-fan1 {
- position: relative;
- animation-delay: -2s;
- animation: myfirst1-fan1 20s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst1-fan1 20s infinite linear;
- -webkit-animation-delay: -2s;
- }
- </style>
- <style scoped>
- .arrow201 {
- position: relative;
- animation-delay: -8s;
- animation: myfirst201 10s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst201 10s infinite linear;
- -webkit-animation-delay: -8s;
- }
- @keyframes myfirst201 {
- 0% {
- right: 0px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 0;
- }
- 2% {
- right: 10px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 94% {
- right: 530px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 100% {
- right: 570px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 0;
- }
- }
- @-webkit-keyframes myfirst201 /* Safari 和 Chrome */ {
- 0% {
- right: 0px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 0;
- }
- 2% {
- right: 10px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 94% {
- right: 530px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 1;
- }
- 100% {
- right: 570px;
- top: 90px;
- -webkit-transform: rotate(0deg);
- opacity: 0;
- }
- }
- .arrow202 {
- position: relative;
- animation-delay: -6s;
- animation: myfirst201 10s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst201 10s infinite linear;
- -webkit-animation-delay: -6s;
- }
- .arrow203 {
- position: relative;
- animation-delay: -4s;
- animation: myfirst201 10s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst201 10s infinite linear;
- -webkit-animation-delay: -4s;
- }
- .arrow204 {
- position: relative;
- animation-delay: -2s;
- animation: myfirst201 10s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst201 10s infinite linear;
- -webkit-animation-delay: -2s;
- }
- .arrow205 {
- position: relative;
- animation-delay: -0.1s;
- animation: myfirst201 10s infinite linear;
- /* Safari 和 Chrome */
- -webkit-animation: myfirst201 10s infinite linear;
- -webkit-animation-delay: -0.1s;
- }
- </style>
- <style scoped>
- .box,
- .box2 {
- position: absolute;
- transform: perspective(1000px) rotateY(-70deg);
- width: 5px;
- height: 15px;
- transform-style: preserve-3d;
- }
- .box::before,
- .box2::before {
- content: "";
- position: absolute;
- bottom: -20px;
- left: 0;
- width: 100%;
- height: 10px;
- background: #000;
- filter: blur(10px);
- opacity: 0.5;
- transform: rotateX(90deg);
- }
- .box div {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- transform-style: preserve-3d;
- animation: animate 5s linear infinite;
- }
- .box2 div {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- transform-style: preserve-3d;
- animation: animate 5s linear infinite;
- animation-play-state: paused;
- -webkit-animation-play-state: paused;
- }
- .box div span,
- .box2 div span {
- position: absolute;
- top: 0;
- left: 0;
- display: block;
- width: 100%;
- height: 100%;
- background: linear-gradient(0deg, #f1f1f1, #999, #f1f1f1);
- border-radius: 5px;
- }
- .box div span:nth-child(1),
- .box2 div span:nth-child(1) {
- transform: rotateX(0deg);
- }
- .box div span:nth-child(2),
- .box2 div span:nth-child(2) {
- transform: rotateX(45deg);
- }
- .box div span:nth-child(3),
- .box2 div span:nth-child(3) {
- transform: rotateX(-45deg);
- }
- .box div span:nth-child(4),
- .box2 div span:nth-child(4) {
- transform: rotateX(90deg);
- }
- @keyframes animate {
- 0% {
- transform: perspective(1000px) rotateX(0deg);
- }
- 100% {
- transform: perspective(1000px) rotateX(359deg);
- }
- }
- </style>
- <style scoped>
- .localT1 {
- position: absolute;
- width: 70px;
- }
- .localT1 div:nth-child(1) {
- float: left;
- width: 20px;
- height: 20px;
- padding: 2px;
- background: #1515e9;
- font-size: 12px;
- font-weight: 100;
- color: #fff;
- border: 1px solid #000;
- box-shadow: #1515e9 0px 0px 10px;
- }
- .localT1 div:nth-child(2) {
- float: left;
- width: 40px;
- height: 20px;
- padding-top: 3px;
- text-align: center;
- background: #fd1f0f;
- font-size: 10px;
- font-weight: 300;
- color: #fff;
- border: 1px solid rgb(124, 80, 80);
- box-shadow: #fd1f0f 0px 0px 10px;
- }
- .localF1 {
- position: absolute;
- width: 62px;
- }
- .localF1 div:nth-child(1) {
- float: left;
- width: 17px;
- height: 19px;
- padding: 2px;
- background: #a9a9e6;
- font-size: 12px;
- font-weight: 100;
- color: #fff;
- border: 1px solid #000;
- box-shadow: #a9a9e6 0px 0px 10px;
- }
- .localF1 div:nth-child(2) {
- float: left;
- width: 35px;
- height: 20px;
- padding-top: 3px;
- text-align: center;
- background: #16f179;
- font-size: 10px;
- font-weight: 300;
- color: #fff;
- border: 1px solid rgb(118, 153, 108);
- box-shadow: #16f179 0px 0px 10px;
- }
- .imgF2 {
- top: 80%;
- right: 62%;
- position: absolute;
- width: 20px;
- height: 4px;
- background: #f80404;
- border: 1px solid rgb(182, 85, 85);
- box-shadow: #f80404 0px 0px 10px;
- }
- .imgF1 {
- top: 12.5%;
- right: 53%;
- position: absolute;
- height: 18px;
- width: 4px;
- background: #f80404;
- border: 1px solid rgb(182, 85, 85);
- box-shadow: #f80404 0px 0px 10px;
- }
- </style>
|