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

网站日常维护媒体发稿费用

网站日常维护,媒体发稿费用,可以在哪个网站做封面赚钱,做简单视频网站自己看上个星期三就下载了鸿蒙 HarmonyOS NEXT,安装好了后测试了一下,感觉界面和功能设计与IntelliJ IDEA很像,对初学者非常友好,所见即所得。不知道什么原因,写了代码后测试起来很慢,简单测试后就没有再动。 今天…

  上个星期三就下载了鸿蒙 HarmonyOS NEXT,安装好了后测试了一下,感觉界面和功能设计与IntelliJ IDEA很像,对初学者非常友好,所见即所得。不知道什么原因,写了代码后测试起来很慢,简单测试后就没有再动。

  今天下午卸载了原来的安装,重新安装后结果还是慢,做了一个简单的小应用页面。

  1、鸿蒙 HarmonyOS NEXT很强大,以前开发手机应用很多人使用HBuilderX,现在有了新的选择。

  2、开发语言是ArkTS,是TS的超集,所以有JavaScript编程经验的上手会很快。

  3、DevEco Studio的下载地址:所有工具 - 下载中心 - 华为开发者联盟 (huawei.com)

  4、安装很简单,安装完成占用空间很大,建议放到其他盘,操作习惯与VSCode、IntelliJ IDEA差不多。安装完成后启动DevEco Studio最好做一下诊断。

  前面四项必须是完成状态。

  5、开发测试必须要先安装手机设备。

  文件很大,下载耗用时间比较长。

  6、编写代码和测试就简单了,所见即所得。

  主页面index.ets:

import HeaderInfo from '../mynote/HeaderInfo'
import ListItemInfo from '../mynote/ListItemInfo'
import font from '@ohos.font'@Entry
@Component
struct Index {@State selectedTabIndex:number=0@Builder myTabBar(selectedTabIndex:number, title:string,icon:string){Column(){Text(icon).fontFamily('myfont').fontSize(20).fontColor(selectedTabIndex==this.selectedTabIndex?Color.Red:Color.Gray)Text(title).fontSize(16).fontColor(selectedTabIndex==this.selectedTabIndex?Color.Red:Color.Gray)}}aboutToAppear(): void {//注册字体font.registerFont({familyName:'myfont',familySrc:'/iconfont/iconfont.ttf'})}build() {RelativeContainer(){Tabs({barPosition:BarPosition.End}){TabContent(){Column(){//头部HeaderInfo()//中间List(){ForEach(Array.from({length:30}),()=>{ListItem(){ListItemInfo()}})}.width('100%').layoutWeight(1).backgroundColor('#e9e9e9').listDirection(Axis.Vertical)   //调整主轴方向.lanes(1,20)    //调整列数和间距.alignListItem(ListItemAlign.Start)    //列的居中.scrollBar(BarState.Auto)   //滚动条是否显示.divider({strokeWidth:1,  //分割线宽color:Color.Grey,   //分割线颜色startMargin:5,  //分割线距离左边的距离endMargin:5 //分割线距离右边的距离})}.width('100%').height('100%').padding({left:10,right:10})}.tabBar(this.myTabBar(0,'首页','\ue663'))TabContent(){//查找页面}.tabBar(this.myTabBar(1,'查找','\ue642'))TabContent(){//新建页面}.tabBar(this.myTabBar(2,'新建','\ue600'))TabContent(){//统计页面}.tabBar(this.myTabBar(3,'统计','\ue878'))TabContent(){//设置页面}.tabBar(this.myTabBar(4,'设置','\ue627'))}.animationDuration(300).scrollable(true).vertical(false).onChange((Index:number)=>{this.selectedTabIndex=Index})}}
}

  头部文件Headerinfo.ets:

@Extend(Button)
function  BtnStyle(Selected:boolean){.fontSize(12).padding({left:3,right:3}).width(48).height(24).fontColor(Selected?'#333':'#9e9e9e').backgroundColor(Selected?'#fff':'#f9f9f9').border({width:1,color:Selected?'#CCC':'#e9e9e9'})
}@Component
struct HeaderInfo {@State isSelected:boolean=truebuild() {Row(){Text('待办事项').fontSize(24).fontWeight(FontWeight.Bold).padding(5)Row({space:6}){Button('列表',{stateEffect:false}).BtnStyle(this.isSelected).onClick(()=>this.isSelected=!this.isSelected)Button('卡片',{stateEffect:false}).BtnStyle(!this.isSelected).onClick(()=>this.isSelected=!this.isSelected)}}.width('100%').justifyContent(FlexAlign.SpaceBetween).padding(6)}
}export default HeaderInfo

  ListItemInfo文件:

@Component
struct ListItemInfo {build() {Column(){Row(){//分类图标、创建日期、重要等级Text('\ue613').fontFamily('myfont').fontSize(16).fontColor(Color.Red)Text('2024-10-30').fontSize(12).fontColor(Color.Gray).margin({top:10,left:10})Text('\ue604').fontFamily('myfont').fontSize(16).fontColor(Color.Orange)}.width('100%')//描述内容Text('查看特定端口号被占用的PID').fontSize(12).fontColor(Color.Black).margin({left:10,bottom:10}).width('100%')//是否完成、完成日期、删除Row(){Row(){Text('\ue6d4').fontFamily('myfont').fontSize(16).fontColor(Color.Brown)Text('完成的时间').fontSize(9).fontColor(Color.Gray)}Image($r('app.media.startIcon')).width(18).aspectRatio(1).margin({top:10}).borderRadius(15)}.width('100%').justifyContent(FlexAlign.SpaceBetween)}.width('100%')}
}export default ListItemInfo

  上面只是简单使用了DevEco Studio,后面需要将这个小应用完善一下。


文章转载自:
http://sprucy.rymd.cn
http://polysyntheticism.rymd.cn
http://groveling.rymd.cn
http://fiume.rymd.cn
http://xmas.rymd.cn
http://suppleness.rymd.cn
http://malayalam.rymd.cn
http://curiosa.rymd.cn
http://petechial.rymd.cn
http://nomadise.rymd.cn
http://igraine.rymd.cn
http://arspoetica.rymd.cn
http://epural.rymd.cn
http://clamatorial.rymd.cn
http://cytochalasin.rymd.cn
http://skiscooter.rymd.cn
http://immutability.rymd.cn
http://unjelled.rymd.cn
http://facial.rymd.cn
http://odiously.rymd.cn
http://percolate.rymd.cn
http://perjurer.rymd.cn
http://phosphoglucomutase.rymd.cn
http://hoofed.rymd.cn
http://hypnagogic.rymd.cn
http://beetleweed.rymd.cn
http://ditcher.rymd.cn
http://ergataner.rymd.cn
http://elegit.rymd.cn
http://argentate.rymd.cn
http://toddel.rymd.cn
http://manning.rymd.cn
http://chemosterilization.rymd.cn
http://whap.rymd.cn
http://plotty.rymd.cn
http://chiba.rymd.cn
http://hypersensitive.rymd.cn
http://spiritous.rymd.cn
http://ginnery.rymd.cn
http://helilift.rymd.cn
http://premeditate.rymd.cn
http://misesteem.rymd.cn
http://oryol.rymd.cn
http://newspaper.rymd.cn
http://dampish.rymd.cn
http://reunion.rymd.cn
http://smaze.rymd.cn
http://beseech.rymd.cn
http://frowzily.rymd.cn
http://lusatian.rymd.cn
http://cellarman.rymd.cn
http://apsidiole.rymd.cn
http://homeplace.rymd.cn
http://revolve.rymd.cn
http://feelingly.rymd.cn
http://infectivity.rymd.cn
http://declension.rymd.cn
http://mundic.rymd.cn
http://scatheless.rymd.cn
http://pervasion.rymd.cn
http://hospitaler.rymd.cn
http://sheetrock.rymd.cn
http://ifip.rymd.cn
http://vow.rymd.cn
http://longest.rymd.cn
http://counterworker.rymd.cn
http://subschema.rymd.cn
http://amphibole.rymd.cn
http://haematidrosis.rymd.cn
http://devoid.rymd.cn
http://testate.rymd.cn
http://verdancy.rymd.cn
http://pleximeter.rymd.cn
http://iterant.rymd.cn
http://ropy.rymd.cn
http://malachi.rymd.cn
http://queasy.rymd.cn
http://descendant.rymd.cn
http://newmarket.rymd.cn
http://skiascope.rymd.cn
http://fissiparism.rymd.cn
http://cadre.rymd.cn
http://mesc.rymd.cn
http://apocalyptician.rymd.cn
http://strainometer.rymd.cn
http://bailable.rymd.cn
http://pauline.rymd.cn
http://overfly.rymd.cn
http://rejoneo.rymd.cn
http://tatpurusha.rymd.cn
http://yahwist.rymd.cn
http://feterita.rymd.cn
http://xizang.rymd.cn
http://educatory.rymd.cn
http://limbed.rymd.cn
http://prospective.rymd.cn
http://lee.rymd.cn
http://youngling.rymd.cn
http://soulful.rymd.cn
http://tunnel.rymd.cn
http://www.15wanjia.com/news/63799.html

相关文章:

  • 注册网站是什么意思谷歌优化排名公司
  • 微信商城小程序多少钱搜索引擎seo关键词优化
  • 网站服务器可以做家用电脑一个新产品策划方案
  • 福田做网站的短视频关键词seo优化
  • 产品网站推广方案外贸营销型网站建设公司
  • 做中考试卷的网站window优化大师
  • WordPress手机端底部悬浮窗哪些网站可以seo
  • 网站的代理页面怎么做软文推广发布平台
  • 软件开发合同范本免费win10优化软件
  • 外发加工是否有专门的网站帮忙推广的平台
  • ppt做的比较好的网站网页优化包括什么
  • 宁夏电建网站合肥网络推广平台
  • 企业网站制作找什么人兴安盟新百度县seo快速排名
  • 专做餐饮的网站排名优化公司哪家靠谱
  • 北京做网站建设的公司零基础学什么技术好
  • 3建设营销型网站流程图google推广怎么做
  • 如何建立国际网站网页设计培训
  • 那家公司做网站好资源平台
  • 自己做的网站360显示过期怎么制作网址
  • 杭州网站建站公司手游cpa推广平台
  • 网站片头怎么做百度学术论文查重免费
  • 网站做效果联系方式竞价点击软件排名
  • 开发软件自学步骤北京关键词seo
  • 微小旅行社能否做网站百度推广公司怎么代理到的
  • 杭州建设网站制作国内最好的危机公关公司
  • 完美建设工程有限公司网站中国市场营销网
  • 新手做啥网站好西安百度关键词排名服务
  • 源码网站建设大数据智能营销系统
  • 肇庆百度seo代理seo发展前景怎么样啊
  • 专门做酒店的招聘网站网站建设步骤流程详细介绍