diff --git a/components/cell/index.js b/components/cell/index.js index a950e65..ee1b46a 100644 --- a/components/cell/index.js +++ b/components/cell/index.js @@ -6,6 +6,10 @@ Component({ properties: { cId: String, title: String, + readed: { + type:Boolean, + value: true, + }, time: String, showTop: { type: Boolean, diff --git a/components/cell/index.wxml b/components/cell/index.wxml index 05eadba..072caf8 100644 --- a/components/cell/index.wxml +++ b/components/cell/index.wxml @@ -1,6 +1,6 @@ - {{title}} + {{title}} {{time}} diff --git a/components/cell/index.wxss b/components/cell/index.wxss index 192a467..2f1585b 100644 --- a/components/cell/index.wxss +++ b/components/cell/index.wxss @@ -10,7 +10,7 @@ font-size: 17px; color: #000; } -.cell_title_selected { +.cell_title_readed { color: #9C9C9C; } .cell_info {