diff --git a/api/model/order.js b/api/model/order.js
index 7b81393..79f7ba7 100644
--- a/api/model/order.js
+++ b/api/model/order.js
@@ -5,14 +5,14 @@ const api = {
queryLeaderOrderList: {
url: '/teambuy/order/queryLeaderOrderList',
method: 'GET',
- limit: 500,
+ limit: 200,
},
// 订单-查看优惠券列表-详情
queryCouponList: {
url: '/teambuy/coupon/queryCouponList',
method: 'GET',
- limit: 500
+ limit: 200
},
// 优惠券-领取优惠券
@@ -37,11 +37,11 @@ const api = {
// },
// 订单- 查询团餐订单列表 - 详情
- queryLeaderOrderList: {
- url: '/teambuy/order/queryLeaderOrderList',
- method: 'GET',
- limit: 500
- },
+ // queryLeaderOrderList: {
+ // url: '/teambuy/order/queryLeaderOrderList',
+ // method: 'GET',
+ // limit: 500
+ // },
// 订单-查看团员订单列表-详情
queryMemberOrderList: {
@@ -54,7 +54,7 @@ const api = {
queryShopcarList: {
url: '/teambuy/shopcar/queryShopcarList',
method: 'GET',
- limit: 500
+ limit: 500
},
// 订单-购物车-添加购物车
diff --git a/components/couponPopup/couponPopup.vue b/components/couponPopup/couponPopup.vue
index 19115f0..1f15518 100644
--- a/components/couponPopup/couponPopup.vue
+++ b/components/couponPopup/couponPopup.vue
@@ -19,11 +19,11 @@
- (购物即可抵扣!)
+ (下单即可抵扣!)
+ class="examine" />
@@ -41,6 +41,11 @@
},
mounted() {
this.$refs.couponPopup.open()
+ this.$api('queryFetchCouponList', res => {
+ if(res.code == 200){
+ this.couponList = res.result.records
+ }
+ })
},
computed: {
...mapState(['riceInfo'])
@@ -74,9 +79,10 @@
align-items: center;
.main-container {
+ // background-color: red;
.body {
position: relative;
-
+ background-color: red;
.coupon-bg {
}
diff --git a/components/couponPopup/newCouponPopup.vue b/components/couponPopup/newCouponPopup.vue
index c1eff77..d7d04bb 100644
--- a/components/couponPopup/newCouponPopup.vue
+++ b/components/couponPopup/newCouponPopup.vue
@@ -1,20 +1,27 @@
+
@@ -105,11 +106,13 @@
import navbar from '@/components/base/navbar.vue'
import tabbar from '@/components/base/tabbar.vue'
import { homeData } from '@/static/js/mockHomeData.js'
+import NewCouponPopup from '@/components/couponPopup/newCouponPopup.vue'
export default {
components: {
navbar,
- tabbar
+ tabbar,
+ NewCouponPopup
},
data() {
return {
@@ -182,7 +185,10 @@ export default {
})
},
getGoodsList() {
- this.$api('queryGoodsList', { }, res => {
+ this.$api('queryGoodsList', {
+ pageNo: 1,
+ pageSize: 5
+ }, res => {
if (res.code == 200) {
this.$set(this.homeData, 'goodsList', res.result.records)
}
diff --git a/pages/index/order.vue b/pages/index/order.vue
index 7c28d12..8b54a79 100644
--- a/pages/index/order.vue
+++ b/pages/index/order.vue
@@ -13,138 +13,59 @@
-
+
{{ meal.title }}
- 本单佣金合计: ¥{{ levelInfo.amount || '0.00' }}
+ 本单佣金合计: ¥{{ (meal.commission || 0).toFixed(2) || 0.00 }}
-
+
-
-
+
-
-
-
-
@@ -372,8 +359,23 @@ export default {
align-items: center;
justify-content: center;
}
+ .total-section{
+ width: 30%;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ text{
+ font-size: 28rpx;
+ &.total-price{
+ color: #ff0000;
+ font-size: 32rpx;
+ font-weight: 500;
+ }
+ }
+ }
.pay{
- width: 70%;
+ width: 40%;
background-color: $uni-color;
color: #fff;
text-align: center;
diff --git a/pages_order/mine/coupon.vue b/pages_order/mine/coupon.vue
index 0c64763..182e50e 100644
--- a/pages_order/mine/coupon.vue
+++ b/pages_order/mine/coupon.vue
@@ -14,21 +14,27 @@
-
+
+
+
-
+
+
+
-
+
+
+
diff --git a/pages_order/mine/wallet.vue b/pages_order/mine/wallet.vue
index e4e5c21..0ff6241 100644
--- a/pages_order/mine/wallet.vue
+++ b/pages_order/mine/wallet.vue
@@ -67,7 +67,7 @@