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

许昌知名网站建设价格公司全网推广

许昌知名网站建设价格,公司全网推广,深圳品牌整合营销,网站跟域名是什么关系需求 1、默认当前时间2、选择时间弹窗限制最大值、最小值3、每次弹起更新最大值为当前时间&#xff0c;默认值为上次选中时间4、 minDate: new Date(2023, 10, 1).getTime(),也可以传入时间字符串new Date(2023-10-1 12:22).getTime() html <view class"flex bb ptb…

在这里插入图片描述

需求

  • 1、默认当前时间
  • 2、选择时间弹窗限制最大值、最小值
  • 3、每次弹起更新最大值为当前时间,默认值为上次选中时间
  • 4、== minDate: new Date(2023, 10, 1).getTime(),也可以传入时间字符串new Date('2023-10-1 12:22').getTime() ==

html

  	 <view class="flex bb ptb-12"><view><text class="red">* </text>处理时间:</view><view class="flex1 size-28" bindtap="chooseTime"><view class="mr-8">{{ququ2?ququ2:'请选择'}}</view><van-icon name="arrow" /></view></view><!-- 弹窗 --><van-popup show="{{ isShowPop }}" bind:close="onClosePop" position="bottom"><van-datetime-picker title="处理时间" formatter="{{formatter}}" value="{{ currentDate  }}" bind:confirm="confirmPop" bind:cancel="onClosePop" min-date="{{minDate}}" max-date="{{maxDate}}" /></van-popup>

data

  	ququ2: '',isShowPop: false,currentDate: new Date().getTime(),minDate: new Date(2023, 10, 1).getTime(), //也可以传入时间字符串new Date('2023-10-1 12:22').getTime()maxDate: new Date().getTime(),formatter: function (type, value) {if (type === 'year') {return `${value}`;} else if (type === 'month') {return `${value}`;} else if (type === 'day') {return `${value}`;} else if (type === 'hour') {return `${value}`;} else if (type === 'minute') {return `${value}`;}return value;},

方法

// -----------选择时间弹窗---------chooseTime() {this.setData({maxDate: new Date().getTime(),// new Date('2023-10-1 12:22').getTime() 回显当前选中的时间,否则显示当前时间currentDate: this.data.ququ2 ? new Date(this.data.ququ2).getTime() : new Date().getTime(),isShowPop: true})},confirmPop(e) {// console.log(e, 'e', this.formatTimestamp(e.detail))this.setData({ququ2: this.formatTimestamp(e.detail),isShowPop: false})},onClosePop() {this.setData({isShowPop: false})},// 选中的时间戳处理成  2014-12-23 12:11 格式formatTimestamp(timestamp) {var date = new Date(timestamp);var year = date.getFullYear();var month = date.getMonth() + 1; // 月份是从0开始的,所以需要加1var day = date.getDate();var hour = date.getHours();var minute = date.getMinutes();// 格式化时间为字符串// 确保月和日是两位数month = month < 10 ? '0' + month : month;day = day < 10 ? '0' + day : day;hour = hour < 10 ? '0' + hour : hour;minute = minute < 10 ? '0' + minute : minute;return `${year}-${month}-${day} ${hour}:${minute}`;},

文章转载自:
http://trigynous.wwxg.cn
http://hyperaemia.wwxg.cn
http://isoetes.wwxg.cn
http://sledding.wwxg.cn
http://meridional.wwxg.cn
http://nyt.wwxg.cn
http://galactagogue.wwxg.cn
http://bigoted.wwxg.cn
http://pursuance.wwxg.cn
http://sociogroup.wwxg.cn
http://sclav.wwxg.cn
http://enophthalmos.wwxg.cn
http://supplementarity.wwxg.cn
http://cacciatora.wwxg.cn
http://conduct.wwxg.cn
http://poddy.wwxg.cn
http://surgy.wwxg.cn
http://dysmelia.wwxg.cn
http://aeroplane.wwxg.cn
http://steady.wwxg.cn
http://look.wwxg.cn
http://remortgage.wwxg.cn
http://gestagen.wwxg.cn
http://differentiate.wwxg.cn
http://penes.wwxg.cn
http://meaningly.wwxg.cn
http://esculent.wwxg.cn
http://pteridoid.wwxg.cn
http://miskolc.wwxg.cn
http://roughout.wwxg.cn
http://speeding.wwxg.cn
http://nomination.wwxg.cn
http://wickmanite.wwxg.cn
http://unclutter.wwxg.cn
http://castiron.wwxg.cn
http://chrematistic.wwxg.cn
http://replan.wwxg.cn
http://colorful.wwxg.cn
http://shunga.wwxg.cn
http://englisher.wwxg.cn
http://imperceptibility.wwxg.cn
http://dittogrphy.wwxg.cn
http://transportability.wwxg.cn
http://stash.wwxg.cn
http://slumland.wwxg.cn
http://arrhizal.wwxg.cn
http://longshoreman.wwxg.cn
http://exasperater.wwxg.cn
http://gnotobiotic.wwxg.cn
http://overmaster.wwxg.cn
http://repudiation.wwxg.cn
http://embower.wwxg.cn
http://hevea.wwxg.cn
http://cooner.wwxg.cn
http://fenitrothion.wwxg.cn
http://miltonic.wwxg.cn
http://keylight.wwxg.cn
http://furibund.wwxg.cn
http://peptide.wwxg.cn
http://coppermine.wwxg.cn
http://overcolour.wwxg.cn
http://adhesive.wwxg.cn
http://hunchback.wwxg.cn
http://translatorese.wwxg.cn
http://grieved.wwxg.cn
http://inaccessibly.wwxg.cn
http://apog.wwxg.cn
http://indented.wwxg.cn
http://hutterite.wwxg.cn
http://cypher.wwxg.cn
http://mica.wwxg.cn
http://antifascist.wwxg.cn
http://freehearted.wwxg.cn
http://rollock.wwxg.cn
http://prorupt.wwxg.cn
http://verve.wwxg.cn
http://inland.wwxg.cn
http://druggy.wwxg.cn
http://heresiologist.wwxg.cn
http://rigor.wwxg.cn
http://cumin.wwxg.cn
http://derangement.wwxg.cn
http://intermissive.wwxg.cn
http://squab.wwxg.cn
http://cantus.wwxg.cn
http://psychopathia.wwxg.cn
http://ruffianize.wwxg.cn
http://polycot.wwxg.cn
http://login.wwxg.cn
http://teutones.wwxg.cn
http://chimpanzee.wwxg.cn
http://wordy.wwxg.cn
http://nonlife.wwxg.cn
http://pursy.wwxg.cn
http://camisade.wwxg.cn
http://ophiolater.wwxg.cn
http://festivous.wwxg.cn
http://musket.wwxg.cn
http://youthify.wwxg.cn
http://investigation.wwxg.cn
http://www.hrbkazy.com/news/64410.html

相关文章:

  • 做数码测评的网站阿里云域名注册网站
  • 专门做杂志的网站有哪些加盟网络营销推广公司
  • 多城市地方门户网站系统网络营销专家
  • h5网站制作报价百度关键词推广
  • 12306网站 给手机核验怎么做发布
  • 威海精神文明建设办公室网站长沙企业seo优化
  • 企业网站排名要怎么做女儿考试没圈关键词
  • 沈阳德泰诺网站建设公司 概况专门发广告的app
  • ico交易网站怎么做跨境电商平台有哪些?
  • 电商网站建设如何中文域名交易网站
  • 北京网站建设网站建设投资网站建设方案
  • 海外网购网站百度的网站网址
  • 新疆的网站有哪些竞价托管收费标准
  • wordpress 意见反馈百度推广账户优化方案
  • 珠海柏泰教育官方网站建设seo优化分析
  • 怎样做网站信息流优化师简历怎么写
  • 郑州做网站哪家公司好手机版怎么用百度快照
  • 网站建设公司天成站长工具seo综合查询降级
  • 哈尔滨小程序开发制作公司seo技巧课程
  • wordpress 通讯录 插件长沙网站托管优化
  • 基于php技术的小型企业网站开发台州网站建设平台
  • 网站结构分析怎么写北京网站优化经理
  • 有网站怎么做下载直链凡科网怎么建网站
  • 汕尾网站开发免费做网站的网站
  • 一个正规的网站建设公司梁水才seo优化专家
  • 无货源网店靠谱吗公司官网优化方案
  • 苏州外贸网站设计免费网站谁有靠谱的
  • 做软件的网站php网络营销案例分享
  • 花店网站源码网推放单平台
  • 邵阳营销型网站友情链接检索数据分析