当前位置:网站首页>[IVX junior engineer training course 10 papers to get certificates] 09 chat room production
[IVX junior engineer training course 10 papers to get certificates] 09 chat room production
2022-07-02 01:14:00 【1_ bit】
Catalog
【iVX Junior engineer training course 10 Textual evidence 】01 understand iVX Complete the New Year greeting card
【iVX Junior engineer training course 10 Textual evidence 】02 Numerical binding and adaptive website production
【iVX Junior engineer training course 10 Textual evidence 】03 Events and guessing numbers games
【iVX Junior engineer training course 10 Textual evidence 】04 Canvas and me iVX Group photo
【iVX Junior engineer training course 10 Textual evidence 】05 Canvas and aircraft war game production
【iVX Junior engineer training course 10 Textual evidence 】06 Database and services
【iVX Junior engineer training course 10 Textual evidence 】07 08 News page making
【iVX Junior engineer training course 10 Textual evidence 】09 Chat room production
For high score promotion, please check the column :
iVX Beginner to master
Big talk IVX From actual combat to mastery
One 、 link
stay iVX Make one in Many people / Single person Instant messaging is simple , Next, take a multiplayer chat room as an example , Introduce the practice of chat room .
iVX Creating a multiplayer chat room requires a link component :

Through this component, the production of chat room can be completed .
Two 、 Chat is production
2.1 Page drawing
The page drawing object tree and its page examples are as follows :

page 1:
The chat room :
2.2 Page drawing

First of all, we are on the page 1 in , Click to enter the chat room and record the text in the input box , And store the text value in a variable , Then jump to the page :
Then when the chat page displays , Need to give a display event , This event uses the connection component as the action object , Level current user information , After the grade is successful, you can manually enter a room ID, Finally, after creating or adding a room , To assign to ID The room sends a message , Message column names can be defined by themselves :
Then give the link an event , When any message is received , Use an array of objects “ Information variables ” Store received room messages , The message content value will pop up automatically by clicking the input box ; When the information content is stored , Use a variable “ Combined variables ”, Format the content twice , And finally add the formatted content to the end of the value information set object array :
It should be noted here that these object arrays receive content values corresponding to their receiving format , These object array column names are as follows :


next , Use the loop to traverse the contents of the information set object array :
The text created by the loop needs data binding :

Finally, add an event to the send button :
Finally, the chat room can be made .
边栏推荐
- Han Zhichao: real time risk control practice of eBay based on graph neural network
- 一名优秀的软件测试人员,需要掌握哪些技能?
- Hcip day 14 (MPLS protocol)
- 【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
- King combat power query renamed toolbox applet source code - with traffic main incentive advertisement
- Friends circle community program source code sharing
- Variables and constants of go language foundation
- Global and Chinese markets for supply chain strategy and operation consulting 2022-2028: Research Report on technology, participants, trends, market size and share
- 969 interlaced string
- cookie、session、tooken
猜你喜欢

Minimize the error

Exclusive delivery of secret script move disassembly (the first time)

AIX存储管理之逻辑卷的创建及属性的查看和修改

2022 high altitude installation, maintenance and removal of test question simulation test platform operation

学习笔记25--多传感器前融合技术
![[disease detection] realize lung cancer detection system based on BP neural network, including GUI interface](/img/c9/3fe8693629a8452dcfdb4349ddee0d.png)
[disease detection] realize lung cancer detection system based on BP neural network, including GUI interface

Datawhale 社区黑板报(第1期)

【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码

Picture puzzle wechat applet source code_ Support multi template production and traffic master

Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation
随机推荐
Recently, three articles in the nature sub Journal of protein and its omics knowledge map have solved the core problems of biology
969 interlaced string
Global and Chinese market of collaborative applications 2022-2028: Research Report on technology, participants, trends, market size and share
6-3漏洞利用-SSH环境搭建
什么是商业养老保险?商业养老保险安全靠谱吗?
Circular statements in shell programming
Review notes of compilation principles
测试人进阶技能:单元测试报告应用指南
Two TVs
[WesternCTF2018]shrine writeup
AIX存储管理之逻辑卷的创建及属性的查看和修改
首场“移动云杯”空宣会,期待与开发者一起共创算网新世界!
Viewing and modifying volume group attributes of Aix storage management (II)
[Chongqing Guangdong education] Tianshui Normal University universe exploration reference
SSO single sign on implementation.
AIX存储管理之总结篇
学习笔记24--多传感器后融合技术
GL Studio 5 安装与体验
Bilstm CRF code implementation
Error creating bean with name ‘stringRedisTemplate‘ defined in class path re