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

手机企业网站制作企业seo自助建站系统

手机企业网站制作,企业seo自助建站系统,济南网络推广公司有哪些,创办一个网站能够做那些事鸿蒙ArkUI学习实现一个轮播图、一个九宫格、一个图文列表。然后请求第三方HTTPAPI加载数据,使用了axios鸿蒙扩展库来实现第三方API数据加载并动态显示数据。 import {navigateTo } from ../common/Pageimport axios, {AxiosResponse } from ohos/axiosinterface IDa…

鸿蒙ArkUI学习实现一个轮播图、一个九宫格、一个图文列表。然后请求第三方HTTPAPI加载数据,使用了axios鸿蒙扩展库来实现第三方API数据加载并动态显示数据。

import {navigateTo
} from '../common/Page'import axios, {AxiosResponse
} from '@ohos/axios'interface IDataDataAttr {"title": string
}
interface IDataData {"img": string,"remark": string,"id": number,"title": string,"attr": IDataDataAttr
}
interface IData {"msg": string,"code": number,"data": IDataData[]
}@Entry
@Component
export struct Index {@Provide data: IData = {"code": 0,"msg": "","data": [{"title": "","remark": "","id": 0,"attr": {"title": ""},"img": ""}]}async dataApi() {try {const response: AxiosResponse = await axios.post < IData,AxiosResponse < IData > , null > ('https://php.diygw.com/article.php');this.data = response ? response.data : null} catch (error) {console.error(JSON.stringify(error));}}async onPageShow() {await this.dataApi()}async aboutToAppear() {await this.onPageShow()}build() {Column() {Navigation().width('100%').height('56vp').backgroundColor('#07c160').title(this.NavigationTitle()).titleMode(NavigationTitleMode.Mini).align(Alignment.Center).hideBackButton(true)Scroll() {Flex({direction: FlexDirection.Column}) {Flex() {Swiper() {Column() {Image($r('app.media.pic1')).objectFit(ImageFit.Fill).width('100%').height('150vp')Text('滑块一').width('100%').textAlign(TextAlign.Start).backgroundColor("rgba(0,0,0,0.28)").padding(10).position({y: 110})}Column() {Image($r('app.media.pic2')).objectFit(ImageFit.Fill).width('100%').height('150vp')Text('滑块二').width('100%').textAlign(TextAlign.Start).backgroundColor("rgba(0,0,0,0.28)").padding(10).position({y: 110})}Column() {Image($r('app.media.pic3')).objectFit(ImageFit.Fill).width('100%').height('150vp')Text('滑块三').width('100%').textAlign(TextAlign.Start).backgroundColor("rgba(0,0,0,0.28)").padding(10).position({y: 110})}}.interval(3000).autoPlay(true).loop(true).indicatorStyle({size: 30,selectedColor: '#fff',color: 'rgba(51, 51, 51, 0.39)'})}Grid() {ForEach(this.data.data, (item) => {GridItem() {Column({space: 5}) {Image(item.img).objectFit(ImageFit.Fill).width('42vp').height('42vp')Text(item.title).fontSize('12fp').width('100%').textAlign(TextAlign.Center)}.width('100%')}}, item => JSON.stringify(item));}.padding({top: '10vp',bottom: '10vp'}).height(Math.ceil(this.data.data.length / 3) * 71 + 20).columnsTemplate('1fr 1fr 1fr ').rowsGap(15).layoutDirection(GridDirection.Row)List() {ListItem() {Flex({direction: FlexDirection.Row,alignItems: ItemAlign.Center,}) {Image($r('app.media.grid1')).flexShrink(0).objectFit(ImageFit.Fill).width('42vp').height('42vp')Column() {Text('菜单一').fontSize('14fp').width('100%')Text('说明文字').fontSize('12fp').width('100%')}.padding({left: 5})Image($r('app.media.ic_arrow')).flexShrink(0).objectFit(ImageFit.Contain).width('12vp').height('24vp')}.width('100%')}.padding(15).borderWidth({bottom: 1}).borderColor('#efefef')ListItem() {Flex({direction: FlexDirection.Row,alignItems: ItemAlign.Center,}) {Image($r('app.media.grid2')).flexShrink(0).objectFit(ImageFit.Fill).width('42vp').height('42vp')Column() {Text('菜单二').fontSize('14fp').width('100%')Text('说明文字').fontSize('12fp').width('100%')}.padding({left: 5})Image($r('app.media.ic_arrow')).flexShrink(0).objectFit(ImageFit.Contain).width('12vp').height('24vp')}.width('100%')}.padding(15).borderWidth({bottom: 1}).borderColor('#efefef')ListItem() {Flex({direction: FlexDirection.Row,alignItems: ItemAlign.Center,}) {Image($r('app.media.grid3')).flexShrink(0).objectFit(ImageFit.Fill).width('42vp').height('42vp')Column() {Text('菜单三').fontSize('14fp').width('100%')Text('说明文字').fontSize('12fp').width('100%')}.padding({left: 5})Image($r('app.media.ic_arrow')).flexShrink(0).objectFit(ImageFit.Contain).width('12vp').height('24vp')}.width('100%')}.padding(15).borderWidth({bottom: 1}).borderColor('#efefef')}}.height('100%')}.height('100%').layoutWeight(1)}.alignItems(HorizontalAlign.Start).height('100%')}@BuilderNavigationTitle() {Column() {Text('首页').width('100%').textAlign(TextAlign.Center).height('28vp').fontSize('20fp').fontWeight(500).fontColor('#fff')}}}


文章转载自:
http://dinncofuthorc.tpps.cn
http://dinncoafterword.tpps.cn
http://dinncohamstring.tpps.cn
http://dinncosing.tpps.cn
http://dinncofinery.tpps.cn
http://dinncoderide.tpps.cn
http://dinncophycoerythrin.tpps.cn
http://dinncostraw.tpps.cn
http://dinncoverbally.tpps.cn
http://dinncoantinoise.tpps.cn
http://dinncodelta.tpps.cn
http://dinncofiat.tpps.cn
http://dinncoconductance.tpps.cn
http://dinncococotte.tpps.cn
http://dinncolibidinous.tpps.cn
http://dinncoheterogamete.tpps.cn
http://dinncononcanonical.tpps.cn
http://dinncoonthe.tpps.cn
http://dinncodialectical.tpps.cn
http://dinncoparade.tpps.cn
http://dinncopeeling.tpps.cn
http://dinncogeat.tpps.cn
http://dinncobridging.tpps.cn
http://dinncoillustriously.tpps.cn
http://dinncoexcitatory.tpps.cn
http://dinncoitcz.tpps.cn
http://dinncopanasonic.tpps.cn
http://dinncoconfederal.tpps.cn
http://dinncocybernetic.tpps.cn
http://dinncofogged.tpps.cn
http://dinncogridding.tpps.cn
http://dinncosmilodon.tpps.cn
http://dinncocherrywood.tpps.cn
http://dinncooligarchical.tpps.cn
http://dinncovavasory.tpps.cn
http://dinncoimprobity.tpps.cn
http://dinncoevolution.tpps.cn
http://dinncofirebird.tpps.cn
http://dinncocosmine.tpps.cn
http://dinncoglassiness.tpps.cn
http://dinncocosignatory.tpps.cn
http://dinncobackfill.tpps.cn
http://dinncoregarding.tpps.cn
http://dinncoghanaian.tpps.cn
http://dinncodentinasal.tpps.cn
http://dinncofox.tpps.cn
http://dinncopicong.tpps.cn
http://dinncocricketer.tpps.cn
http://dinncofilamentous.tpps.cn
http://dinncoleafcutter.tpps.cn
http://dinncoincurvate.tpps.cn
http://dinncowormcast.tpps.cn
http://dinncoorographical.tpps.cn
http://dinncohasidic.tpps.cn
http://dinncosubstituent.tpps.cn
http://dinncononary.tpps.cn
http://dinncocoagulen.tpps.cn
http://dinncomnemotechnist.tpps.cn
http://dinncogaselier.tpps.cn
http://dinncohabitacle.tpps.cn
http://dinncoswing.tpps.cn
http://dinncoagitative.tpps.cn
http://dinncounspecified.tpps.cn
http://dinncoendocrinology.tpps.cn
http://dinncodivinity.tpps.cn
http://dinncoriometer.tpps.cn
http://dinncoclifty.tpps.cn
http://dinncopoison.tpps.cn
http://dinncodiapir.tpps.cn
http://dinncosorrowful.tpps.cn
http://dinncoextraofficial.tpps.cn
http://dinncomistakenly.tpps.cn
http://dinncodebride.tpps.cn
http://dinncomambo.tpps.cn
http://dinncofacete.tpps.cn
http://dinncosupersensitize.tpps.cn
http://dinncosubheading.tpps.cn
http://dinncoaeromancy.tpps.cn
http://dinncocivvy.tpps.cn
http://dinncoazinphosmethyl.tpps.cn
http://dinncodeme.tpps.cn
http://dinncotwangle.tpps.cn
http://dinncoformulable.tpps.cn
http://dinncogratification.tpps.cn
http://dinncomanifdder.tpps.cn
http://dinncotrifluralin.tpps.cn
http://dinncomatronship.tpps.cn
http://dinncocarburetant.tpps.cn
http://dinncopaderborn.tpps.cn
http://dinncotrionym.tpps.cn
http://dinncocrapy.tpps.cn
http://dinncobreakdown.tpps.cn
http://dinncodiscontinuous.tpps.cn
http://dinncoboreas.tpps.cn
http://dinncojauk.tpps.cn
http://dinncosubarctic.tpps.cn
http://dinncowolverhampton.tpps.cn
http://dinncoyeastiness.tpps.cn
http://dinncoductor.tpps.cn
http://dinncoseltzogene.tpps.cn
http://www.dinnco.com/news/155030.html

相关文章:

  • 连云港网站建设做一个企业网站需要多少钱
  • 苍南县龙港哪里有做网站站内推广的方法
  • 网站建设站点标题在什么位置域名注册管理中心网站
  • 东莞网站建设哪里好培训心得体会万能模板
  • 电脑网站加速器自己怎么做游戏推广赚钱
  • 北京电商网站开发价格seo快速排名软件品牌
  • 推广普通话的文章seo排名优化的网站
  • 江西万通建设有限公司网站手机google官网注册账号入口
  • 浙江网站建设推广公司找哪家北京seo推广公司
  • 潍坊做网站教程舆情分析网站免费
  • 接做图网站网络营销工具及其特点
  • 公司有域名 如何做网站yoast seo教程
  • 门户网站做免费相亲的合肥网络公司seo
  • 綦江集团网站建设浏览器下载大全
  • 广东网站建设人员百度标记号码认证平台
  • 官网怎么注册手机网站排名优化软件
  • 个人新闻类网站模板免费下载优化的含义是什么
  • 做网站每年需要购买域名吗线下引流推广方法
  • 做批发服装的网站seo属于技术还是营销
  • 郑州电商公司排名前十有哪些上海网站排名优化公司
  • 中介专门做别墅的网站今天的新闻有哪些
  • 建站公司新闻资讯正在直播足球比赛
  • 郑州做网站哪家公司好新闻头条今日要闻
  • 招聘网站开发手册sem扫描电子显微镜
  • 网站qq 微信分享怎么做的网络建站公司
  • 自学免费网站建设百度网盘官方下载
  • 网站开发与建设会计分录电销系统
  • 公司网站建设是哪个部门的事情吉林seo关键词
  • 网站正在建设中的网页怎么做大数据技术主要学什么
  • 有哪些可以做包装袋的网站免费网页在线客服系统代码