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

linux做网站服务器吗seo营销技巧

linux做网站服务器吗,seo营销技巧,微信做淘宝优惠券但网站是怎么建设但,wordpress 外跳视频课程: 东西比较多, 这里主要分享一些代码和案例. 开关灯效果案例: 开灯 开关灯效果案例: 关灯 Column 和 Row 的基本用法 Entry Component struct Index {State message: string 张三;build() {// 一行内容Row() {// 一列内容Column() {// 文本内容Text(this.mess…视频课程: 东西比较多, 这里主要分享一些代码和案例. 开关灯效果案例: 开灯 开关灯效果案例: 关灯 Column 和 Row 的基本用法 Entry Component struct Index {State message: string 张三;build() {// 一行内容Row() {// 一列内容Column() {// 文本内容Text(this.message).fontSize(50)// 字体大小.fontWeight(FontWeight.Bold) // 字体粗细}.width(100%)}.height(100%)} }一行两列的布局 Entry Component struct Index {State message: string 张三;build() {// 一行内容Row() {// 一列内容Column() {// 文本内容Text(this.message).fontSize(50)// 字体大小.fontWeight(FontWeight.Bold) // 字体粗细}.width(50%)// 一列内容Column() {// 文本内容Text(this.message).fontSize(50)// 字体大小.fontWeight(FontWeight.Bold) // 字体粗细}.width(50%)}.height(100%)} }开关灯效果案例的基本实现 Entry Component struct Index {State isOn: boolean falsebuild() {Column({space: 10}) {if (this.isOn) {Image(pages/images/img_light.png).width(300).height(300)} else {Image(pages/images/img_dark.png).width(300).height(300)}Row({space: 30}) {Button(开灯).onClick(() this.isOn true)Button(关灯).onClick(() this.isOn false)}}.width(100%).height(100%).justifyContent(FlexAlign.Center)} } 图标按钮案例 Entry Component struct Index {State isOn: boolean falsebuild() {Column() {Button(){Image(pages/images/ic_delete.png).width(25).height(25)}.width(50).height(50).type(ButtonType.Circle).backgroundColor(Color.Red).onClick(()console.log(删除成功))}.width(100%).height(100%).justifyContent(FlexAlign.Center)} }自定义组件案例 Entry Component struct Index {State isOn: boolean falsebuild() {Column({ space: 10 }) {if (this.isOn) {Image(pages/images/img_light.png).width(300).height(300).borderRadius(20)} else {Image(pages/images/img_dark.png).width(300).height(300).borderRadius(20)}Row({ space: 30 }) {GreenButton().onClick(() this.isOn true)RedButton().onClick(() this.isOn false)}}.width(100%).height(100%).justifyContent(FlexAlign.Center)} }Component struct RedButton {build() {Button({ type: ButtonType.Circle }) {Image(pages/images/icon_switch.png).width(25).height(25)}.width(50).height(50).backgroundColor(Color.Red)} }Component struct GreenButton {build() {Button({ type: ButtonType.Circle }) {Image(pages/images/icon_switch.png).width(25).height(25)}.width(50).height(50).backgroundColor(Color.Green)} }自定义组件参数案例 Entry Component struct Index {State isOn: boolean falsebuild() {Column({ space: 10 }) {if (this.isOn) {Image(pages/images/img_light.png).width(300).height(300).borderRadius(20)} else {Image(pages/images/img_dark.png).width(300).height(300).borderRadius(20)}Row({ space: 30 }) {SwitchButton({ color: Color.Green }).onClick(() this.isOn true)SwitchButton().onClick(() this.isOn false)}}.width(100%).height(100%).justifyContent(FlexAlign.Center)} }Component struct SwitchButton {color: Color Color.Redbuild() {Button({ type: ButtonType.Circle }) {Image(pages/images/icon_switch.png).width(25).height(25)}.width(50).height(50).backgroundColor(this.color)} }组件文件案例 index.ets import { SwitchButton } from ./SwitchButtonEntry Component struct Index {State isOn: boolean falsebuild() {Column({ space: 10 }) {if (this.isOn) {Image(pages/images/img_light.png).width(300).height(300).borderRadius(20)} else {Image(pages/images/img_dark.png).width(300).height(300).borderRadius(20)}Row({ space: 30 }) {SwitchButton({ color: Color.Green }).onClick(() this.isOn true)SwitchButton().onClick(() this.isOn false)}}.width(100%).height(100%).justifyContent(FlexAlign.Center)} }SwitchButton.ets Component export struct SwitchButton {color: Color Color.Redbuild() {Button({ type: ButtonType.Circle }) {Image(pages/images/icon_switch.png).width(25).height(25)}.width(50).height(50).backgroundColor(this.color)} }
http://www.hkea.cn/news/14507608/

相关文章:

  • 绵阳门户网站建设软件工程师的工作内容
  • 一个网站项目开发流程东昌网站建设公司
  • 网站注册地查询做网站设计的网站
  • c2c网站开发成本优化seo设置
  • 网站设计与实现合肥网站优化推广方案
  • 猪八戒 网站开发支付WordPress离线编写
  • 手机制作网站的软件有哪些东西好看的ui界面
  • 百度站长平台网址太原建站模板搭建
  • 云南营销型网站游戏app开发费用一览表
  • 佛山网站建设的首选logo设计公司报价
  • 网站搭建免费模板为什么做的网站打开自动缩放
  • 做博客网站最好用什么系统海尔建设网站的内容
  • 网站开发 pdf西安网站优化体验
  • 网站建设图片大小深圳龙华网站公司
  • wordpress公众号获取注册码安阳网站建设优化
  • 河北省城乡建设厅网站网站开发团队简介如何写
  • 网站建设和维护工作内容怎么给设计网站推广
  • 网站优化推广招聘在哪里可以学做饰品网站
  • 济南网站优化排名推广有什么网站可以接设计做
  • 如何在网站上做网上亮照自己做视频网站怎么处理高并发
  • pc 移动端网站建设辽宁做网站和优化哪家好
  • 住房与建设部网站 2018 128号沈阳网 沈阳网站
  • 网站建设汇编材料微信小程序二次开发
  • 关于做网站书籍wordpress一直刷不出来
  • 营销型网站建设论坛wordpress 弹出登录页
  • 深圳电商网站建设某班级网站建设方案论文
  • 晋城哪里有做网站的网站建设丶金手指下拉十五
  • 网站建设的优点和不足做网站应注意什么
  • 济南手机网站建设专业定制淄博网站制作高端
  • 给网站做推广网站建设公司营业执照