From ce6b16f372c2fbafcc4d307a928722129b8720a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Wed, 25 Aug 2021 16:39:52 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=20=E8=AF=84=E5=88=86?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/styles/sharedIconFont.css | 20 ++- components/lf-rate/lf-rate.vue | 281 +++++++++++++++++++++++++++++++ pages/test/test.vue | 7 +- 3 files changed, 301 insertions(+), 7 deletions(-) create mode 100644 components/lf-rate/lf-rate.vue diff --git a/common/styles/sharedIconFont.css b/common/styles/sharedIconFont.css index 4347a6f..eb45c93 100644 --- a/common/styles/sharedIconFont.css +++ b/common/styles/sharedIconFont.css @@ -1,18 +1,26 @@ @font-face { - font-family: "lf-iconfont"; /* Project id 2758976 */ - src: url('//at.alicdn.com/t/font_2758976_9bezuvselm.woff2?t=1629452232587') format('woff2'), - url('//at.alicdn.com/t/font_2758976_9bezuvselm.woff?t=1629452232587') format('woff'), - url('//at.alicdn.com/t/font_2758976_9bezuvselm.ttf?t=1629452232587') format('truetype'); + font-family: "le"; /* Project id 2758976 */ + src: url('//at.alicdn.com/t/font_2758976_blqjbbep8zo.woff2?t=1629876001355') format('woff2'), + url('//at.alicdn.com/t/font_2758976_blqjbbep8zo.woff?t=1629876001355') format('woff'), + url('//at.alicdn.com/t/font_2758976_blqjbbep8zo.ttf?t=1629876001355') format('truetype'); } -.lf-iconfont { - font-family: "lf-iconfont" !important; +.le { + font-family: "le" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +.lf-icon-xingxing-kong:before { + content: "\e649"; +} + +.lf-icon-xingxing-shi:before { + content: "\e651"; +} + .lf-icon-shanchu:before { content: "\e674"; } diff --git a/components/lf-rate/lf-rate.vue b/components/lf-rate/lf-rate.vue new file mode 100644 index 0000000..522c0bd --- /dev/null +++ b/components/lf-rate/lf-rate.vue @@ -0,0 +1,281 @@ + + + + + diff --git a/pages/test/test.vue b/pages/test/test.vue index 4d70d8c..a0644f2 100644 --- a/pages/test/test.vue +++ b/pages/test/test.vue @@ -33,6 +33,10 @@ 点击此处打开时间选择组件 + + + + @@ -44,9 +48,10 @@