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

b to b网站建设模式电话销售外呼系统软件

b to b网站建设模式,电话销售外呼系统软件,使用asp.net制作网站的整体过程,外贸网站建设制作设计案例1、create Project,选择Empty Activity 2、配置项目 project name 为项目名称,建议使用驼峰型命名 Bundle name 为项目包名 Save location 为保存位置 Module name 为模块名称,即运行时需要选择的模块名称,见下图 查看模块名称&…

1、create Project,选择Empty Activity

在这里插入图片描述

2、配置项目

project name 为项目名称,建议使用驼峰型命名
Bundle name 为项目包名
Save location 为保存位置
Module name 为模块名称,即运行时需要选择的模块名称,见下图
在这里插入图片描述
查看模块名称,并选择
在这里插入图片描述

3、创建第一个界面

在这里插入图片描述
第一个界面实现:有一个Hello World的Text 和Button组成,点击button跳转到第二个界面中,button中带有字符串Next

import { router } from '@kit.ArkUI';
import { BusinessError } from '@kit.BasicServicesKit';@Entry
@Component
struct Index {@State message: string = 'Hello World';build() {Row(){Column() {Text(this.message).fontSize(50).fontWeight(FontWeight.Bold)// 添加按钮,以响应用户点击Button() {Text('Next').fontSize(30).fontWeight(FontWeight.Bold)}.type(ButtonType.Capsule).margin({top: 20}).backgroundColor('#0D9FFB').width('40%').height('15%').onClick(() => {console.info(`Succeeded in clicking the 'Next' button.`)// 跳转到第二页router.pushUrl({ url: 'pages/second' }).then(() => {console.info('Succeeded in jumping to the second page.')}).catch((err: BusinessError) => {console.error(`Failed to jump to the second page. Code is ${err.code}, message is ${err.message}`)})})}.width('100%')}}
}

4、创建第二个界面

在resources -> base -> profile目录下的main_pages.jason中添加界面pages/second

{"src": ["pages/Index","pages/second"]
}

在这里插入图片描述

5、第二个界面的代码实现

使用 ‘string’ 表示的是字符串

import { router } from '@kit.ArkUI'
import { BusinessError } from '@kit.BasicServicesKit'// Second.ets
@Entry
@Component
struct Second {@State message: string = 'Hi there'build() {Row() {Column() {Text(this.message).fontSize(50).fontWeight(FontWeight.Bold)Button() {Text('Back').fontSize(30).fontWeight(FontWeight.Bold)}.type(ButtonType.Capsule).margin({top: 20}).backgroundColor('#0D9FFB').width('40%').onClick(() => {console.info(`Succeeded in clicking the 'Back' button.`)// 跳转到第二页router.pushUrl({ url: 'pages/Index' }).then(() => {console.info('Succeeded in jumping to the first page.')}).catch((err: BusinessError) => {console.error(`Failed to jump to the first page. Code is ${err.code}, message is ${err.message}`)})}).height("15%")}.width('100%')}.height('100%')}
}

6、实现效果

第一个界面Index:

在这里插入图片描述

第二个界面second:

在这里插入图片描述

build运行

在Previewer运行时,如果代码出现问题,并不会运行失败,而是界面不重新刷新

解决方案:在Build -> Rebuild Project中重构代码,出现错误会提示

http://www.dinnco.com/news/33125.html

相关文章:

  • nana wordpress萌新seo
  • 网站负责人备案采集照具体要求做外贸有哪些网站平台
  • 宁波市网站建设资源搜索神器
  • 网站建设到运营赚钱昆明长尾词seo怎么优化
  • 邯郸网站建设公司排名seo推广知识
  • 用asp做网站流程产品网站推广
  • 网站建设费用会计分录最常用的网页制作软件
  • 旅游网站的功能结构图西安抖音seo
  • 做公众号一般在哪个网站照片招商外包
  • app与手机网站网站建设优化的技巧
  • 仿99健康网网站源码百度平台商家订单查询
  • 电脑网站有哪些重庆seo什么意思
  • 刚创业 建网站万网是什么网站
  • 做商务网站公司广州最新疫情最新消息
  • 郑州网站制作-中国互联长沙关键词优化费用
  • 免费做外贸的网站石家庄百度推广优化排名
  • 网站做多长时间才有流量竞价托管是啥意思
  • 如何写好网站开发技术文档广州做seo整站优化公司
  • 湖南建设监理员报名网站参考消息网国内新闻
  • 品牌科技公司排名全专业优化公司
  • 公司网站开发关键词seo教程
  • 网站建设服务项目seo培训资料
  • 建设企业查询网站福州seo网站推广优化
  • 信息管理系统网站开发手机端百度收录入口
  • 宝鸡做网站搜索引擎营销经典案例
  • 介绍自己的做的网站绍兴seo公司
  • 百度做一个网站怎么做呢怎样在百度上建立网站
  • 外贸婚纱网站什么是seo和sem
  • 网站建设公司的服务器seo报告
  • 龙口建网站公司哪家好网络推广方案怎么写