diff --git a/components/base/navbar.vue b/components/base/navbar.vue index 34d6fee..0ec7d43 100644 --- a/components/base/navbar.vue +++ b/components/base/navbar.vue @@ -90,7 +90,7 @@ return } uni.reLaunch({ - url: '/pages/index/index' + url: '/pages/index/category' // 主页被换成商品页面了 }) } } diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index 7ee54a7..aef3d18 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -33,7 +33,7 @@ "selectedIconPath": "/static/image/tabbar/product-list-active.png", "iconPath": "/static/image/tabbar/product-list.png", "pagePath": "/pages/index/category", - "title": "商品列表", + "title": "首页", key: 'category', }, { @@ -91,7 +91,7 @@ z-index: 999999; bottom: 0; left: 0; - color: #BCBCBC; + color: #000; .tabbar-item { flex: 1; diff --git a/components/couponPopup/newCouponPopup.vue b/components/couponPopup/newCouponPopup.vue new file mode 100644 index 0000000..c1eff77 --- /dev/null +++ b/components/couponPopup/newCouponPopup.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/components/product/productItem.vue b/components/product/productItem.vue index d075580..6480f68 100644 --- a/components/product/productItem.vue +++ b/components/product/productItem.vue @@ -2,8 +2,10 @@ - + --> + @@ -11,7 +13,7 @@ - {{ item.title }} + 豆角炒鸡蛋 @@ -29,8 +31,9 @@ class="price-img"> --> - - + + + + @@ -85,7 +88,7 @@ - + --> @@ -95,19 +98,24 @@ - 已售出{{ item.payNum }}+单 + 已售出{{ item.payNum }}单 + + + 9.9 + + - - - 购买 + + + 立即下单 - + - 加入购物车 + + 加购物车 @@ -175,22 +183,23 @@ \ No newline at end of file diff --git a/pages/index/category.vue b/pages/index/category.vue index 1f0d01e..0d6b51c 100644 --- a/pages/index/category.vue +++ b/pages/index/category.vue @@ -5,10 +5,11 @@ - + + :searchIconSize="40" v-model="queryParams.title" height="75rpx" :showAction="false" + actionText=" "> 搜索 @@ -21,63 +22,39 @@ + - - - - - - - - - - - - {{ item2.name }} - - - {{ item2.desc }} - - - - - - - - - - - + @@ -86,288 +63,240 @@ \ No newline at end of file diff --git a/pages_order/components/order/placeOrder.vue b/pages_order/components/order/placeOrder.vue new file mode 100644 index 0000000..2dfbc1d --- /dev/null +++ b/pages_order/components/order/placeOrder.vue @@ -0,0 +1,234 @@ +