article.wxml
3.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!--pages/matrix/article/article.wxml-->
<view class='box'>
<view class='title'>全国弹弓高手齐聚上海外滩射得准可挺进意大利争夺</view>
<view class='head_content_box'>
<image class='head_box' src='/images/img.jpg'></image>
<text class='user_name'>罗纳尔多</text>
<text>1047次阅读 · 1小时前</text>
</view>
<view class='content_box'>
<view class='article_content'>
<view>日常生活中,近视眼是一种常见的多发病,在青少年中逐渐增长。造成儿童近视眼增多的主要原因是用眼时间过长、使用电子产品不节制、睡眠太晚等等。那么在生活中,我们应该怎样预防近视眼呢?</view>
<image src='/images/img.jpg'></image>
<!-- <view class='article_title1'>预防儿童近视5个方法</view> -->
<view>1、保证营养充足:导致孩子近视发生和发展的重要原因就是饮食不当。使孩子缺乏营养。要及时给孩子补充足够的钙磷及维生素C等。</view>
<image src='/images/img.jpg'></image>
<!-- <import src="../../../wxParse/wxParse.wxml" />
<view class='content'>
<import src="../../../wxParse/wxParse.wxml" />
<template is="wxParse" data="{{wxParseData:article.nodes}}" />
</view> -->
</view>
</view>
</view>
<view class='comment_box'>
<view class='comment_title'>评论</view>
<view class='comment_item'>
<view class='left_box'>
<image class='head_img' src='/images/img.jpg'></image>
</view>
<view class='comment_content_box'>
<view class='comment_name'>11</view>
<view class='comment_content'>1111</view>
<view class='list_state_box'>
<view class='time'>24分钟前</view>
<view class='list_icon'>
<view catchtap='likeCharge' data-index="{{mindex}}" data-id='{{item.id}}'>
<text class='time'>0</text>
<text class='iconfont icon-zan zan'></text>
<!-- <text class='iconfont icon-huida pinglun1' wx:else></text> -->
</view>
</view>
</view>
</view>
</view>
</view>
<view class='null_box'></view>
<view class='bottom_box'>
<view class="label_item">
<text class='iconfont icon-bianji1 icon'></text>
<input placeholder='写评论'></input>
</view>
<view class='label_icon_box'>
<text class='iconfont icon-pinglun icon'></text>
<text class='iconfont icon-favorite_diss icon'></text>
<text class='iconfont icon-fenxiang icon'></text>
<text class='iconfont icon-zan icon' style='font-size:40rpx;'></text>
</view>
</view>
<!-- 底部发表按钮 -->
<view class='bottom_box'>
<view class='bottom_box_input'>
<input placeholder='发表评论...' value='{{content}}' focus='{{startComment}}' bindinput='subComments' bindblur='outFocus' cursor-spacing='10' class='comments'/>
<!-- <view class='sub_box comments' bindtap='comment' hidden='{{startComment}}'>{{content||"发表评论..."}}</view> -->
</view>
<view class='bottom_box_text' bindtap='s'>
发表
</view>
</view>