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

网站后台用什么做服务器百度广告联盟怎么加入

网站后台用什么做服务器,百度广告联盟怎么加入,wordpress写博客流行吗,关键词优化排名seo效果如下图#xff1a;在线预览 APIs 参数说明类型默认值必传from数值动画起始数值number0falseto数值目标值number1000falseduration数值动画持续时间#xff0c;单位msnumber3000falseautoplay是否自动开始动画booleantruefalseprecision精度#xff0c;保留小数点后几位…效果如下图在线预览 APIs 参数说明类型默认值必传from数值动画起始数值number0falseto数值目标值number1000falseduration数值动画持续时间单位msnumber3000falseautoplay是否自动开始动画booleantruefalseprecision精度保留小数点后几位number0falseprefix前缀string‘’falsesuffix后缀string‘’falseseparator千分位分隔符string‘,’falsedecimal小数点字符string‘.’falsecolor数值文本颜色stringundefinedfalsetransition动画过渡效果TransitionFuncTransitionFunc[‘easeInOutCubic’]false Events 事件名称说明参数play播放动画() voidstarted动画开始播放() voidfinished动画播放完成() void 创建数值动画组件NumberAnimation.vue script setup langts import { ref, computed, watchEffect, onMounted, watch } from vue import { useTransition, TransitionPresets } from vueuse/core enum TransitionFunc {linear linear,easeOutSine easeOutSine,easeInOutSine easeInOutSine,easeInQuad easeInQuad,easeOutQuad easeOutQuad,easeInOutQuad easeInOutQuad,easeInCubic easeInCubic,easeOutCubic easeOutCubic,easeInOutCubic easeInOutCubic,easeInQuart easeInQuart,easeOutQuart easeOutQuart,easeInOutQuart easeInOutQuart,easeInQuint easeInQuint,easeOutQuint easeOutQuint,easeInOutQuint easeInOutQuint,easeInExpo easeInExpo,easeOutExpo easeOutExpo,easeInOutExpo easeInOutExpo,easeInCirc easeInCirc,easeOutCirc easeOutCirc,easeInOutCirc easeInOutCirc,easeInBack easeInBack,easeOutBack easeOutBack,easeInOutBack easeInOutBack } interface Props {from?: number // 数值动画起始数值to?: number // 数值目标值duration?: number // 数值动画持续时间单位msautoplay?: boolean // 是否自动开始动画precision?: number // 精度保留小数点后几位prefix?: string // 前缀suffix?: string // 后缀separator?: string // 千分位分隔符decimal?: string // 小数点字符color?: string // 数值文本颜色transition?: TransitionFunc // 动画过渡效果 } const props withDefaults(definePropsProps(), {from: 0,to: 1000,duration: 3000,autoplay: true,precision: 0,prefix: ,suffix: ,separator: ,,decimal: .,color: undefined,transition: TransitionFunc[easeInOutCubic] }) const source ref(props.from) watchEffect(() {source.value props.from }) watch([() props.from, () props.to],() {if (props.autoplay) {play()}} ) onMounted(() {props.autoplay play() }) const outputValue useTransition(source, {duration: props.duration,transition: TransitionPresets[props.transition],onFinished: () emits(finished),onStarted: () emits(started)}) function play () {source.value props.to } const showValue computed(() formatNumber(outputValue.value)) function isNumber (val: any) {return Object.prototype.toString.call(val) [object Number] } const emits defineEmits([started, finished]) function formatNumber (num: number | string) {const { precision, decimal, separator, suffix, prefix } propsif (num 0) {return num.toFixed(precision)}if (!num) {return }num Number(num).toFixed(precision)num const x num.split(.)let x1 x[0]const x2 x.length 1 ? decimal x[1] : const rgx /(\d)(\d{3})/if (separator !isNumber(separator)) {while (rgx.test(x1)) {x1 x1.replace(rgx, $1 separator $2)}}return prefix x1 x2 suffix } defineExpose({play }) /script templatespan :style{ color }{{ showValue }}/span /template在要使用的页面引入 script setup langts import NumberAnimation from NumberAnimation.vue import { ref } from vuefunction onStarted () {console.log(started) } function onFinished () {console.log(finished) } const animationRef ref() function onClick () {animationRef.value.play() } /script templatedivh1NumberAnimation 数值动画/h1h2 classmt30 mb10基本使用/h2RowCol :span12Statistic title一个小目标NumberAnimation :to100000000.12345 //Statistic/ColCol :span12Statistic title一个小目标NumberAnimation :to100000000.12345 separator //Statistic/Col/Rowh2 classmt30 mb10精度/h2RowCol :span12Statistic title一个小目标NumberAnimation :from0.00 :to100000000.12345 :precision2 //Statistic/ColCol :span12Statistic title一个小目标NumberAnimation :to100000000.12345 :precision3//Statistic/Col/Rowh2 classmt30 mb10自定义前缀 后缀/h2RowCol :span12Statistic title一个小目标NumberAnimationprefix$:from0:to100000000 //Statistic/ColCol :span12Statistic title一个小目标NumberAnimation:from0:to100000000suffix元 //Statistic/Col/Rowh2 classmt30 mb10自定义数值颜色/h2RowCol :span12Statistic title一个小目标NumberAnimation color#1677FF :from0 :to100000000//Statistic/Col/Rowh2 classmt30 mb10自定义播放和动画时间/h2RowCol :span12Statistic title一个小目标NumberAnimationrefanimationRef:from0:to100000000:duration5000:precision2:autoplayfalsestartedonStartedfinishedonFinished //StatisticButton clickonClick播放/Button/Col/Row/div /template
http://www.zqtcl.cn/news/624496/

相关文章:

  • 对于做网站有什么要求新闻发布会视频
  • 网站建设专业就业前景成都房产信息网 官网
  • 西宁网站建设公司排行网站查询域名ip解析
  • 柳州企业网站开发公司如何做网站首页图
  • 刷赞网站空间免费深圳网站制作公司排名
  • 网站内部优化策略获取网站的路径
  • 网站群 优点今天西安最新通告
  • 惠济免费网站建设设计制作的广告公司
  • 做一个网站建设装潢设计属于什么专业
  • 水处理网站源码注册销售公司流程和费用
  • 诸城网站建设0536s整站优化seo排名点击
  • 企业建设网站需注意哪些内容苏州网站怎么做
  • 浏览器打开网站网站推广软件工具
  • 网站主题编辑工具WordPress公司网站策划方案
  • 做旅游网站选什么空间搜索引擎优化策略有哪些
  • 网站备案多少钱安全网站建设与服务的关系
  • 手机端网页设计尺寸规范优化seo排名
  • 做网站业务提成多少厦门十大装修公司排名榜
  • 为什么用开源建站wordpress rss 插件
  • 语文建设投稿网站南昌做网站的公司多不多
  • 石家庄网站建设的公司功能性质网站
  • 企业网站主页模板装饰公司名字起名大全
  • 马鞍山网站设计价格如何在微信公众号内部做网站
  • 申请网站建设经费的报告生态建设网站
  • 建网站要多少钱用自己的服务器河北工程大学网站开发成本
  • 宁波网站建站公司商务网站模块设计时前台基础设施建设不包括
  • 徐州免费网站制作怎么用阿里云服务器搭建wordpress
  • php猎奇源码 织梦新闻视频图片八卦娱乐趣事资讯门户网站模板html代码表格
  • 南通做网站优化哪家好网页策划书 网站建设定位
  • 防止访问网站文件夹绵阳 网站设计