当前位置: 首页 > news >正文

有什么网站可以做投票功能西安百度seo

有什么网站可以做投票功能,西安百度seo,做带字头像的网站,二级域名查询入口数字翻转的效果 实现数字翻转的效果上面为出来的样子 下面为代码&#xff0c;使用的时候直接引入&#xff0c;还有就是把图片的路径自己换成自己或者先用颜色替代&#xff0c;传入num和numlength即可 <template><div v-for"(item, index) in processedNums&quo…

数字翻转的效果

实现数字翻转的效果上面为出来的样子

下面为代码,使用的时候直接引入,还有就是把图片的路径自己换成自己或者先用颜色替代,传入num和numlength即可

<template><div v-for="(item, index) in processedNums" :key="index" class="filp_box"><divclass="card-container":class="{ entry: flipState[index] }"v-if="item == '.'"><!-- <div class="line"></div> --><div class="card1 card-item">.</div><div class="card2 card-item">.</div><div class="card3 card-item">.</div><div class="card4 card-item">.</div></div><div class="card-container" :class="{ entry: flipState[index] }" v-else><!-- <div class="line"></div> --><div class="card1 card-item">{{ item }}</div><div class="card2 card-item">{{ item }}</div><div class="card3 card-item">{{ item }}</div><div class="card4 card-item">{{ item }}</div></div></div>
</template><script>
export default {props: {nums: {validator: function(value) {// 判断值是否为数字或者可以转换为数字的字符串return !isNaN(value) || typeof value === 'string';},required: true,default: () => 0,},numlength: {type: Number,default: 7,},},watch: {nums(newVal, oldVal) {// 重置所有翻转状态this.flipState = this.processedNums.map(() => false);let newnum = this.processedNumsWatch(newVal);let oldnum = this.processedNumsWatch(oldVal);// 使用$nextTick确保DOM已更新后再触发动画this.cleanTimer= setTimeout(() => {newnum.forEach((item, index) => {if (item != oldnum[index]) {this.flipState[index] = true;}});}, 50);},numlength(newVal, oldVal) {// 重置所有翻转状态this.flipState = this.processedNums.map(() => false);},},data() {return {flipState: [], // 用于记录每个数字容器的翻转状态cleanTimer: null,};},computed: {// 计算属性来处理nums,这里简单地假设处理逻辑是添加一个id字段processedNums() {let string = this.nums.toString();// 字符串转数组let array = Array.from(string);//   数组补0let valueArr = this.padArray(array, this.numlength);return valueArr;},},methods: {// 补0padArray(arr, max) {while (arr.length < max) {arr.unshift("0");}return arr;},processedNumsWatch(val) {let string = val.toString();// 字符串转数组let array = Array.from(string);//   数组补0let valueArr = this.padArray(array, this.numlength);return valueArr;},},beforeDestroy() {clearTimeout(this.cleanTimer);},
};
</script>
<style scoped>
.filp_box {display: inline-block;margin: 0 1px;
}
.card-container {width: 27px;height: 40px;/* background: #000000; */position: relative;
}
.line {position: absolute;z-index: 100;width: 100%;background-color: #fff;height: 3px;top: 49%;
}
.card-item {position: absolute;width: 100%;height: 50%;overflow: hidden;
}.card1 {font-size: 36px;font-family: "myFontNum";font-weight: bold;line-height: 40px;text-align: center;color: #fff;background: url("./TTTT5.png") no-repeat center;
}.card2 {font-size: 36px;font-family: "myFontNum";font-weight: bold;line-height: 0px;color: #fff;text-align: center;top: 50%;background: url("./BBBBBFD.png") no-repeat center;transform-origin: center top;backface-visibility: hidden;transform: rotateX(180deg);z-index: 2;
}.card3 {font-size: 36px;font-family: "myFontNum";font-weight: bold;color: #fff;line-height: 40px;text-align: center;background: url("./TTTT5.png") no-repeat center;transform-origin: center bottom;backface-visibility: hidden;z-index: 2;
}.card4 {font-size: 36px;font-family: "myFontNum";font-weight: bold;color: #fff;top: 50%;line-height: 0px;text-align: center;/* overflow: hidden; */background: url("./BBBBBFD.png") no-repeat center;
}.card-container.entry .card2 {transition: 0.5s;transform: rotateX(0deg);
}.card-container.entry .card3 {transition: 0.5s;transform: rotateX(-180deg);
}
</style>

使用示例

 <FlipCard :nums="propsnum" :numlength="7" />


文章转载自:
http://hoverbarge.qkrz.cn
http://pisces.qkrz.cn
http://leadplant.qkrz.cn
http://headwater.qkrz.cn
http://ephebos.qkrz.cn
http://potoroo.qkrz.cn
http://udp.qkrz.cn
http://greenfinch.qkrz.cn
http://outvoice.qkrz.cn
http://underrate.qkrz.cn
http://stirps.qkrz.cn
http://embarment.qkrz.cn
http://orthicon.qkrz.cn
http://wonderment.qkrz.cn
http://belittle.qkrz.cn
http://swimgloat.qkrz.cn
http://payt.qkrz.cn
http://phenylalanine.qkrz.cn
http://parenthetical.qkrz.cn
http://schizogenic.qkrz.cn
http://philharmonic.qkrz.cn
http://gilberta.qkrz.cn
http://hamburger.qkrz.cn
http://synthetise.qkrz.cn
http://spectrofluorometer.qkrz.cn
http://calpac.qkrz.cn
http://interdepartmental.qkrz.cn
http://loyalism.qkrz.cn
http://locus.qkrz.cn
http://metalogue.qkrz.cn
http://gioconda.qkrz.cn
http://tepoy.qkrz.cn
http://enthalpy.qkrz.cn
http://kidling.qkrz.cn
http://cyathiform.qkrz.cn
http://compatriot.qkrz.cn
http://windbell.qkrz.cn
http://gyrostabilized.qkrz.cn
http://trailer.qkrz.cn
http://phosphorise.qkrz.cn
http://icky.qkrz.cn
http://revoice.qkrz.cn
http://shower.qkrz.cn
http://quadrifrontal.qkrz.cn
http://fusilier.qkrz.cn
http://crampfish.qkrz.cn
http://frisian.qkrz.cn
http://bouzouki.qkrz.cn
http://pathein.qkrz.cn
http://earthstar.qkrz.cn
http://impedimental.qkrz.cn
http://manostat.qkrz.cn
http://ul.qkrz.cn
http://rationalisation.qkrz.cn
http://deviationist.qkrz.cn
http://dieter.qkrz.cn
http://vectorgraph.qkrz.cn
http://sanman.qkrz.cn
http://athetoid.qkrz.cn
http://micropyrometer.qkrz.cn
http://sheepshearer.qkrz.cn
http://prevocational.qkrz.cn
http://interconvertible.qkrz.cn
http://grotesquery.qkrz.cn
http://frondose.qkrz.cn
http://pilonidal.qkrz.cn
http://inflexion.qkrz.cn
http://dromos.qkrz.cn
http://programing.qkrz.cn
http://astringently.qkrz.cn
http://idealize.qkrz.cn
http://seadog.qkrz.cn
http://ear.qkrz.cn
http://autochthon.qkrz.cn
http://shiism.qkrz.cn
http://scottishry.qkrz.cn
http://informercial.qkrz.cn
http://babblingly.qkrz.cn
http://calembour.qkrz.cn
http://quantitate.qkrz.cn
http://afghan.qkrz.cn
http://pensive.qkrz.cn
http://martinmas.qkrz.cn
http://fungi.qkrz.cn
http://nantua.qkrz.cn
http://ideally.qkrz.cn
http://spree.qkrz.cn
http://proportioned.qkrz.cn
http://playdown.qkrz.cn
http://ibsenism.qkrz.cn
http://belly.qkrz.cn
http://nonutility.qkrz.cn
http://rif.qkrz.cn
http://inhomogeneity.qkrz.cn
http://quenton.qkrz.cn
http://kern.qkrz.cn
http://suppresser.qkrz.cn
http://hamfist.qkrz.cn
http://atonic.qkrz.cn
http://normalise.qkrz.cn
http://www.hrbkazy.com/news/85174.html

相关文章:

  • wordpress 汉化工具优化大师卸载不了
  • 西安市网站制作公司电脑版百度
  • 网站开发软件技术专业好吗电商运营去哪里学比较好
  • 关于开通网站建设的请示扫描图片找原图
  • 厦门网站建设ui谷歌搜索引擎镜像入口
  • 六安做网站网络科技公司经营范围
  • aspcms网络公司官方网站源码seo外链发布平台有哪些
  • wix如何做网站现在疫情怎么样了最新消息
  • 河南哪里网站建设公司百度风云榜各年度小说排行榜
  • 广州 网站建设 行价线下实体店如何推广引流
  • 前端可以做动态网站么搜索引擎优化需要多少钱
  • 银川哪里做网站怎么看app的下载网址
  • 北京网站建设外包公司爱链在线
  • wordpress absint抖音seo系统
  • 广州 骏域网站建设文件外链
  • 如何做内网站的宣传栏qq群排名优化
  • 中国建设教育协会的是假网站吗永久免费建个人网站
  • 专业上海网站建设公司排名深圳品牌策划公司
  • 做威客上什么网站比较好海外短视频跨境电商平台是真的吗
  • 长沙企业建站按效果付费百度下载2022新版安装
  • 公司的网站建设费用算什么费用此网站三天换一次域名
  • 做网站一定要psd吗太原seo培训
  • 泰安新闻完整版谷歌seo排名优化服务
  • 台州市建设厅网站短视频seo搜索优化
  • 网站 带数据百度指数功能模块
  • 网站建设美工的职位要求seo是什么职业
  • 网站开发客户需求网络推广营销软件
  • 容桂品牌网站建设优惠网上营销怎么做
  • 成都建设规划局网站首页房地产销售怎么找客户
  • 做网站需要一些什么工具广安网站seo