diff --git a/components/xdd-product-item/index.vue b/components/xdd-product-item/index.vue
new file mode 100644
index 0000000..1e81e3e
--- /dev/null
+++ b/components/xdd-product-item/index.vue
@@ -0,0 +1,160 @@
+
+
+
+
+
+
+
+
+
+
+ {{ item.storeName }}
+
+
+ {{ item.desc || '古法熬制·甄选原料' }}
+
+
+ 券
+ 5元无门槛
+
+
+
+ ¥{{ item.price }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/xdd-tabbar/index.vue b/components/xdd-tabbar/index.vue
index 258f398..ca6ecdf 100644
--- a/components/xdd-tabbar/index.vue
+++ b/components/xdd-tabbar/index.vue
@@ -25,9 +25,14 @@
@click="gotoPage(item.url, item.type, item.index)"
>
+
+
{{ item.name }}
@@ -144,6 +149,12 @@ export default {
width: 44rpx;
height: 44rpx;
margin: 0 auto;
+ &.on {
+ display: none;
+ }
+ &.off {
+ display: block;
+ }
}
}
.name {
@@ -158,6 +169,12 @@ export default {
.name {
color: #C52733;
}
+ .on {
+ display: block;
+ }
+ .off {
+ display: none;
+ }
}
}
}
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 0c2ff02..86767ca 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -1,5 +1,28 @@
+
-
-
+
+
-
+
@@ -102,78 +130,77 @@
-
-
-
-
-
-
-
-
+
-
- {{ item.storeName }}
-
- ¥{{ item.price }}
- ¥{{ item.productPrice }}
-
+
+
+
+
+
+
+ {{ hotelItem.name }}
+ {{ hotelItem.content }}
+
-
+
+
-
-
-
+
+
+
-
-
-
-
- {{ item.storeName }}
-
- ¥{{ item.price }}
- ¥{{ item.productPrice }}
-
-
-
-
+
+
@@ -218,7 +245,7 @@