From 4b10628d1268158df9c20a630fd314c068c283a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Tue, 7 Aug 2018 14:55:57 +0800 Subject: [PATCH] [Improvement] Cell: add custom-style --- packages/cell/index.js | 1 + packages/cell/index.pcss | 1 + packages/cell/index.wxml | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/cell/index.js b/packages/cell/index.js index 8d600e9e..a5974b5e 100644 --- a/packages/cell/index.js +++ b/packages/cell/index.js @@ -23,6 +23,7 @@ Component({ required: Boolean, tapable: Boolean, titleWidth: String, + customStyle: String, arrowDirection: String, linkType: { type: String, diff --git a/packages/cell/index.pcss b/packages/cell/index.pcss index d38694a4..1ea33fb6 100644 --- a/packages/cell/index.pcss +++ b/packages/cell/index.pcss @@ -44,6 +44,7 @@ font-size: 16px; line-height: 24px; margin-right: 5px; + vertical-align:middle; } &__right-icon { diff --git a/packages/cell/index.wxml b/packages/cell/index.wxml index a82bf3bc..05dfa33f 100644 --- a/packages/cell/index.wxml +++ b/packages/cell/index.wxml @@ -1,5 +1,6 @@