Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
良好的行为成为习惯
uni-app
提交
bfc78a0a
U
uni-app
项目概览
良好的行为成为习惯
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bfc78a0a
编写于
11月 14, 2018
作者:
蓝色的小猫咪
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正评论界面
上级
ebe5d27d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
22 addition
and
22 deletion
+22
-22
examples/hello-uniapp/common/uni.css
examples/hello-uniapp/common/uni.css
+15
-1
examples/hello-uniapp/pages/template/comments/comments.vue
examples/hello-uniapp/pages/template/comments/comments.vue
+7
-21
未找到文件。
examples/hello-uniapp/common/uni.css
浏览文件 @
bfc78a0a
...
...
@@ -872,4 +872,18 @@ radio-group label, checkbox-group label{
.uni-steps
.step-title
{
line-height
:
50
upx
;
height
:
50
upx
;
background
:
#FFFFFF
;
width
:
auto
;
overflow
:
hidden
;
padding-right
:
8
upx
;}
.uni-steps
.current
.step-circle
{
background
:
#00B26A
;
color
:
#FFFFFF
;}
.uni-steps
.current
.step-content
{
border-color
:
#00B26A
;}
.uni-steps
.current
.step-title
{
color
:
#00B26A
;}
\ No newline at end of file
.uni-steps
.current
.step-title
{
color
:
#00B26A
;}
/* uni-comment */
.uni-comment
{
padding
:
5
rpx
0
;
display
:
flex
;
flex-grow
:
1
;
flex-direction
:
column
;}
.uni-comment-list
{
flex-wrap
:
nowrap
;
padding
:
10
rpx
0
;
margin
:
10
rpx
0
;
width
:
100%
;
display
:
flex
;}
.uni-comment-face
{
width
:
70
upx
;
height
:
70
upx
;
border-radius
:
100%
;
margin-right
:
20
upx
;
flex-shrink
:
0
;
overflow
:
hidden
;}
.uni-comment-face
image
{
width
:
100%
;
border-radius
:
100%
;}
.uni-comment-body
{
width
:
100%
;}
.uni-comment-top
{
line-height
:
1.5em
;
justify-content
:
space-between
;}
.uni-comment-top
text
{
color
:
#0A98D5
;
font-size
:
24
upx
;}
.uni-comment-top
text
:last-child
{
color
:
#666666
;}
.uni-comment-date
{
line-height
:
38
upx
;
flex-direction
:
row
;
justify-content
:
space-between
;
display
:
flex
!important
;
flex-grow
:
1
;}
.uni-comment-date
view
{
color
:
#666666
;
font-size
:
24
upx
;
line-height
:
38
upx
;}
.uni-comment-content
{
line-height
:
1.6em
;
font-size
:
28
upx
;
padding
:
8
rpx
0
;}
.uni-comment-replay-btn
{
background
:
#FFF
;
font-size
:
24
upx
;
line-height
:
28
upx
;
padding
:
5
rpx
20
upx
;
border-radius
:
30
upx
;
color
:
#333
!important
;
margin
:
0
10
upx
;}
\ No newline at end of file
examples/hello-uniapp/pages/template/comments/comments.vue
浏览文件 @
bfc78a0a
...
...
@@ -13,7 +13,6 @@
</view>
<view
class=
"uni-comment-date"
>
<text>
08/10 08:12
</text>
<text>
102
</text>
</view>
<view
class=
"uni-comment-content"
>
上天呀!我渴望与你相知相惜,长存此心永不褪减。
</view>
</view>
...
...
@@ -23,7 +22,6 @@
<view
class=
"uni-comment-body"
>
<view
class=
"uni-comment-top"
>
<text>
马克一天
</text>
<text
class=
"uni-iconfont icon-zan uni-comment-zan"
>
100
</text>
</view>
<view
class=
"uni-comment-content"
>
除非巍巍群山消逝不见,除非滔滔江水干涸枯竭。除非凛凛寒冬雷声翻滚,除非炎炎酷暑白雪纷飞,除非天地相交聚合连接,直到这样的事情全都发生时,我才敢将对你的情意抛弃决绝!
</view>
</view>
...
...
@@ -33,7 +31,6 @@
<view
class=
"uni-comment-body"
>
<view
class=
"uni-comment-top"
>
<text>
今生缘
</text>
<text
class=
"uni-iconfont icon-zan"
>
66
</text>
</view>
<view
class=
"uni-comment-content"
>
人面不知何处去,桃花依旧笑春风。
</view>
<view
class=
"uni-comment-date"
>
...
...
@@ -46,11 +43,10 @@
<view
class=
"uni-comment-body"
>
<view
class=
"uni-comment-top"
>
<text>
小猫咪
</text>
<text
class=
"uni-iconfont icon-zan"
>
120
</text>
</view>
<view
class=
"uni-comment-content"
>
海上生明月,天涯共此时。。
</view>
<view
class=
"uni-comment-date"
>
<
text>
2天前
<text
class=
"uni-comment-replay-btn"
>
5回复
</text></text
>
<
view>
2天前
</view><view
class=
"uni-comment-replay-btn"
>
5回复
</view
>
</view>
</view>
</view>
...
...
@@ -61,25 +57,15 @@
</
template
>
<
script
>
export
default
{
data
:{
title
:
"
评论界面
"
export
default
{
data
()
{
return
{
title
:
"
评论界面
"
}
}
}
</
script
>
<
style
>
.uni-comment
{
padding
:
5
rpx
0
;
display
:
flex
;
flex-grow
:
1
;
flex-direction
:
column
;}
.uni-comment-list
{
flex-wrap
:
nowrap
;
padding
:
10
rpx
0
;
margin
:
10
rpx
0
;
width
:
100%
;
display
:
flex
;}
.uni-comment-face
{
width
:
70
upx
;
height
:
70
upx
;
border-radius
:
100%
;
margin-right
:
20
upx
;
flex-shrink
:
0
;
overflow
:
hidden
;}
.uni-comment-face
image
{
width
:
100%
;
border-radius
:
100%
;}
.uni-comment-body
{
width
:
100%
;}
.uni-comment-top
{
line-height
:
1.5em
;
justify-content
:
space-between
;}
.uni-comment-top
text
{
color
:
#0A98D5
;
font-size
:
24
upx
;}
.uni-comment-top
text
:last-child
{
color
:
#666666
;}
.uni-comment-date
{
line-height
:
1.5em
;
justify-content
:
space-between
;}
.uni-comment-date
text
{
color
:
#666666
;
font-size
:
24
upx
;}
.uni-comment-content
{
line-height
:
1.6em
;
font-size
:
28
upx
;
padding
:
8
rpx
0
;}
.uni-comment-zan
{
color
:
#0A98D5
!important
;}
.uni-comment-replay-btn
{
background
:
#F4F5F6
;
font-size
:
24
upx
;
padding
:
8
rpx
15
upx
;
border-radius
:
30
upx
;
color
:
#333
!important
;
margin
:
0
10
upx
;}
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录