Study Notes knowledge

In studying the development of micro-letter applet in the process, I discovered that use the most is the view tag when encoding. Topic Page to development as an example:

<view>
         <view><text>标题</text></view>
         <view><text>作者</text></view>
         <view><text>内容</text></view>
         <view><text>回复数目</text><text>节点</text></view>
     </view>
   
<view>
     <view><text>用户名</text></view>
     <view><text>内容</text></view>         
     </view>`

By view tag, we can be very easy to block the development of the page, and then modified according to the specific content block, in which the mark is used when the code page used and developed similar to the style attribute or css styles beautification of the page .

Released two original articles · won praise 0 · Views 62

Guess you like

Origin blog.csdn.net/sqk_0615/article/details/104592933