From 0b2cd420c63c29bc45e6d0009219e5b1653d2783 Mon Sep 17 00:00:00 2001 From: lqq Date: Fri, 11 Oct 2019 13:27:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99cell=E6=B7=BB=E5=8A=A0=E5=B7=B2?= =?UTF-8?q?=E8=AF=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/cell/index.js | 4 ++++ components/cell/index.wxml | 2 +- components/cell/index.wxss | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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 {