Day14: connection data (2)

Today's task :

1. Custom components folder pages, makes the code more readable.

Since before the custom components:

 

 Custom components: (recommends assembly additionally created in the pages of)

 

 2. Try on two computers connected to the front and rear end, but always being given. Currently not found the right solution.

 

3. <block> </ block>, since the block is not a tag, will not operate as a rendering interface element package, with wx: if or wx: for rendering to a node comprising a plurality of structural blocks. example:

<block wx:for="{{[1, 2, 3]}}"> <view> {{index}}: </view> <view> {{item}} </view></block>

 Tomorrow Plan :

1. In the case can not connect two computers simultaneously programming efficiency will be greatly reduced, members do not cooperate, it still intends to solve connection problems after the first, and then the next synchronous programming.

2. If we can successfully solve connectivity problems two computers, began to try to transfer the database data.

Daily Summary :

After the benefits of using block is to have a block, or if you can put it inside the for statement written in the block to control this piece of logic, this can provide a lot of convenience to modify. Also found that if the package own HTTP request, easy to use and in any event a portion of the code amount can be reduced. So good code readability and functionality is achieved modifiability community. Also we want to successfully solve net err tomorrow, or the workload of all team members have multiplied ...

Guess you like

Origin www.cnblogs.com/Askia/p/11442818.html