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

网站怎么正确的做内链接谷歌推广外包

网站怎么正确的做内链接,谷歌推广外包,用dw做的网站生成链接吗,ppt超链接至网站怎么做一、操作环境 操作系统: Windows 11 专业版、IDE:DevEco Studio 3.1.1 Release、SDK:HarmonyOS 3.1.0(API 9) 二、效果图 可实现两种选择方式,可带时分选择,也可不带,使用更加方便。 三、代码 SelectedDateDialog…
一、操作环境

操作系统:  Windows 11 专业版、IDE:DevEco Studio 3.1.1 Release、SDK:HarmonyOS 3.1.0(API 9)

二、效果图

       

可实现两种选择方式,可带时分选择,也可不带,使用更加方便。

三、代码

SelectedDateDialog.ets文件
/*** 时间选择*/
@CustomDialog
export struct SelectedDateDialog {private selectedDate: Dateprivate isShowTime: Visibility = Visibility.Hidden //是否展示时分栏private callback: (value: Date) => voidcontroller: CustomDialogController //自定义dialog必须声明aboutToAppear() {console.log("时间选择展示:" + JSON.stringify(this.selectedDate))}build() {Column() {Row() {DatePicker({start: new Date('2000-1-1'), //起始时间end: new Date('2050-1-1'), //结束时间selected: this.selectedDate //默认所选时间}).width(this.isShowTime == Visibility.Visible ? '60%' : '100%') //不显示时分,则宽为100.height('100%').lunar(false) //日期是否显示农历。 - true:展示农历。 - false:不展示农历。 默认值:false.onChange(value => {// console.log("轮换结果:" + JSON.stringify(value))this.selectedDate.setFullYear(value.year, value.month, value.day)})TimePicker({ selected: this.selectedDate }).width('35%').height('100%').visibility(this.isShowTime).useMilitaryTime(true) //24小时制.onChange(value => {// console.info('select current date is: ' + JSON.stringify(value))if (value.hour >= 0) {this.selectedDate.setHours(value.hour, value.minute)}})}.width('100%').height('80%')Blank()Button('确定').borderRadius('3').width('40%').margin({ bottom: 20 }).onClick((event: ClickEvent) => {console.log('选择时间:' + JSON.stringify(this.selectedDate))this.callback?.(this.selectedDate)this.controller.close()})}.width('100%').height('50%')}
}

使用其中的参数isShowTime控制是否显示时分栏的选择,Visibility.Visible为显示,Visibility.Hidden不显示

在page中的调用方式:

 @State selectInspectionTime: Date = new Date()selectInspectionDialog: CustomDialogControllerinitSelectInspectionDialog() {this.selectInspectionDialog = new CustomDialogController({builder: SelectedDateDialog({ selectedDate: this.selectInspectionTime, isShowTime: Visibility.Visible,callback: (value) => {let time = value.getFullYear() + "-" + (value.getMonth() + 1) + "-" + value.getDate()+ "T" + value.getHours() + ":" + value.getMinutes() //月份从0开始,故需+1} }),cancel: this.closeInspectionDialog, //点击空白区域回调autoCancel: true,alignment: DialogAlignment.Bottom,offset: { dx: 0, dy: -20 },gridCount: 4,customStyle: false})}closeInspectionDialog() {console.info('Click the callback in the blank area')this.selectInspectionDialog.close()}openDialog() {//点击事件调用打开dialogthis.selectInspectionDialog.open()}

http://www.15wanjia.com/news/6298.html

相关文章:

  • 网站程序开发技术友情链接网站免费
  • python做爬虫和做网站军事新闻最新
  • 电子商务网站建设与管理 pdf怎么建设自己的网站
  • 怎样在门户网站做 推广南宁seo服务优化
  • 建站技术论坛百度权重高的发帖网站
  • 烟台专业做网站百度关键词推广多少钱
  • 自己制作的网站怎么做分页揭阳seo推广公司
  • 网站建设合同有效期网络优化seo薪酬
  • 网站301了不知道在哪做的交换友情链接的意义是什么
  • 政府网站保障好 建设好深圳网站设计专家乐云seo
  • 网站建设属于什么最新行业动态
  • 修改wordpress ftp端口上海怎么做seo推广
  • 公司做网站推广要注意什么企业网站设计
  • 开网上授课的网站应该怎么做360上网安全导航
  • 王烨森国内seo公司哪家最好
  • 网站页面构成网络营销的发展历程
  • 做网站用墨刀与axure东莞头条最新新闻
  • 怎么建网站挣钱百度推广销售员好做吗
  • 非专业人士可以做网站编辑的工作吗网站搜索优化排名
  • 哪里可以做足球网站百度经验官网
  • 凡科建站的应用场景百度关键词优化大
  • 做软件挣钱的网站百度搜索高级搜索
  • 怎样做淘宝客网站最新国际消息
  • 邢台外贸网站建设国内打开google网页的方法
  • 开发网站的好处百度网站首页
  • 大连网站制作赞ls15227苏州百度推广服务中心
  • 企业网站优化服务主要围绕哪些要素?为什么?百度一下你就知道主页
  • wordpress 缩略图css遮罩比优化更好的词是
  • 上海单位网站建设常州百度关键词优化
  • wordpress zp湖南正规关键词优化报价