diff --git a/App.vue b/App.vue
index a09ff03..34e7766 100644
--- a/App.vue
+++ b/App.vue
@@ -119,6 +119,7 @@
@import "@/uview-ui/index.scss";
@import '@/common/styles/theme.css';
@import '@/common/styles/common.css';
+ @import '@/common/styles/sharedIconFont.css';
//底部按钮
.btn-bottom {
diff --git a/common/styles/sharedIconFont.css b/common/styles/sharedIconFont.css
new file mode 100644
index 0000000..4347a6f
--- /dev/null
+++ b/common/styles/sharedIconFont.css
@@ -0,0 +1,22 @@
+@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');
+}
+
+.lf-iconfont {
+ font-family: "lf-iconfont" !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.lf-icon-shanchu:before {
+ content: "\e674";
+}
+
+.lf-icon-jia:before {
+ content: "\e715";
+}
diff --git a/components/lf-price/lf-price.vue b/components/lf-price/lf-price.vue
index 43050c3..49ca23a 100644
--- a/components/lf-price/lf-price.vue
+++ b/components/lf-price/lf-price.vue
@@ -1,11 +1,11 @@
-
+
- {{ showPrice(1) }}
- .{{ showPrice(2) }}
+ {{ showPrice(1) }}
+ .{{ showPrice(2) }}
- {{ showPrice() }}
+ {{ showPrice() }}
@@ -16,6 +16,10 @@
price: {
type: [Number, String],
default: ''
+ },
+ color: {
+ type: String,
+ default: '#FF0000'
}
},
computed: {
@@ -42,5 +46,21 @@