Quickly build a website with AI programming assistant, no coding required the whole time

What if you want to make your own product website but don't know how to develop it? Teach you to use cloud development in 5 minutesAI Programming AssistantGenerate an official website, the whole process without coding, write your requirements to generate the page, but also supports the collection of form information, the effect is as follows:

e259a664g00sna7k901sed000dq00iwm

move

Access to Cloud Development Platform

https://tcb.cloud.tencent.com/dev

71abd0d2j00sna7ka003qd000u000b3m

Select the "Create Official Website from AI" module

35e67b1bj00sna7kb006md000u000gam

Input the needs of the product introduction official website, choose the main color, click "Generate" can be, to our team's new product "AI Food" small program as an example:

Generate an introductory page for the AI Dietary Record Smart Assistant.

Input the needs of the product introduction official website, choose the main color, click "Generate" can be, to our team's new product "AI Food" small program as an example:

Generate an introductory page for the AI Dietary Record Smart Assistant.
AI Diet Record Intelligent Assistant can analyze food calories as well as nutrients through a sentence/a picture/a video, which can help users record diet/analyze diet to give suggestions and manage weight for users.

After the generation is completed, you can click "Save fine-tuning by changing the generated effect" to jump to the detailed editing page.

31f6fb6cj00sna7kb0071d000u000gam

For example, the header image has nothing to do with the diet, you can select the image component area, adjust the background image properties to replace the image link can be. Some unused page layout, selected directly delete can be, such as: black title bar at the top of the page.

9ffb7074j00sna7kb007rd000u000gam

You can see that there is a "Learn More" button, how do I add a click event to the button?

818a666ej00sna7kc00a3d000u000mmm

Select the button component, see the right side of the "Properties" configuration has an "Event" select "Click".

55713c0bj00sna7kc00d5d000u000uxm

Find the "Open Page" function

b8d2ee5dj00sna7k80018d000u000hcm

The top left corner switches to H5 mode, which defaults to applet mode (applets don't support jump links)

848f9b44j00sna7ka002md000u000d8m

The configuration is as follows:

Mode: Jump Page

Jump method: external link

Link: Enter link

Routing method: opens in a new window

3007dfc9j00sna7kb0094d000u000kdm

A new custom module can be dragged and dropped [AI CodeBlock] component to the location you want to add it to, e.g. drag and drop it under the "Learn More" module.

5a03ab06j00sna7kb00a0d000u000lhm

Then click on the "Properties" area on the right and select "Edit JSX Code" to bring up the edit dialog box.

e6832337j00sna7kb0082d000u000jdm

In the dialog input box, enter the requirements to generate the layout, for example:

Generate a module to display the functional features in the landing page, the effect should be advanced, similar to the effect of Apple's official website, it is best to have some sense of design and animation effects, which can reflect the functional features of the product, and the copy should be concise and interesting, do not use frame-motion packages to achieve the animation effect, the base color is white, the matching tone can match the theme color, and the functional features of the reference information (text and images) reference information (text and images)
## Intelligent Recognition of Heat
AI Diet Record Smart Assistant can analyze food calories by one sentence/one picture/one video.
See specific guidelines for use:[calorimetric identification](Article introduction address)
! [](Image address)
## Intelligent Analysis Recommendations
Each meal is intelligently analyzed for nutritional content giving food pros food cons and suggestions for the next meal.
See specific guidelines for use:[calorimetric identification](Article introduction address)
! [](Image address)
## Smart Healthy Hitch
All-round escort for your health with AI nutrition expert/fitness trainer/health consultant.
See specific guidelines for use:[calorimetric identification](Article introduction address)
! [](Image address)

The effect is as follows:

d38ac716j00sna7kb0063d000u000hdm

The overall generation is good, if you are not satisfied you can generate a few more times.

71ed3229j00sna7kb0078d000u000gam

If you want to modify the copy or jump links in the code block, you can find the relevant content in the generated code to modify it.

8ee3a7f1j00sna7kb004zd000u000lcm

Finally, we will generate a form layout to collect user information. Because the collected data needs to be stored in the "Database", you need to create a data table for storing the data first, select "Cloud Database" in the right menu and then click the "+" sign to add a new data model.

e4d9ad49j00sna7ka0042d000u000aqm

Creating a schema: creating a database and configuring the data model

Creation method: create from blank

Write to database: cloud database (document-based)

97aeb51fj00sna7kb001ld000u000ipm

Model name: user information

Model identification: copilot-application

Configuration fields (name, logo, type)

  • Phone, tel, text
  • Name, name, text

Click "Finish" in the lower right corner when the configuration is complete.

d5e20dd7j00sna7k8000ad0009e0074m

Then switch to "Visual Development" again via the left menu and continue to insert "AI Code Blocks" to generate form layouts and enter commands:

Experience application form for AI Foodie applet experience applicationProduction of a form, the overall layout of the color tone needs to be consistent with the theme color, the design and layout of the form should be beautiful, some sense of design, when the user submits a successful display of the submission of successful prompts, to avoid the user to repeat the submission.field information- Contact Name- telephone numbertechnical pointCloud Development Data Model Calling Examples   const cloudInstance = await $w.cloud.getCloudInstance();    const models = cloudInstance.models    const { data } = await models ["copilot-application"].create({  data: {      name: "Text",  // Contact person      tel. "13112345678",  // Contact number    }});
// Returns the id of the data createdconsole.log(data);// { id: "7d8ff72c665eb6c30243b6313aa8539e"}

The effect is as follows:

5df6e1ccj00sna7kc0099d000u000qzm

Then click on the top right corner to switch to "Official Data" to preview the form filling.

95b30ab5j00sna7kc008gd000u000w1m

A successful status is displayed when the form is filled out successfully.

2d5b4b24j00sna7ka002od000u0009cm

To view user data, you need to switch to "Cloud Database" and select the user data model to view.

ed7b6c45j00sna7ka0075d000u000b8m

Confirm the effect and functionality is correct and click publish in the upper right corner to get the online access link and QR code.

at last

I hope you can keep up with the pace of the AI era, with AI programming assistant belongs to their own product official website, there are questions welcome to leave a message to discuss.

statement:The content of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
TutorialEncyclopedia

Make multiple animal fusion videos with AI, 1 minute to teach you to learn to make explosive animal fusion mutation videos

2024-11-20 9:52:56

TutorialEncyclopedia

AI elimination tool how to use for free, with AI tools (tencent yuanbao) quickly will eliminate unwanted people or objects

2024-11-21 11:53:44

Zenium
Search