diff --git a/api/http.js b/api/http.js index 4b23e51..108cd10 100644 --- a/api/http.js +++ b/api/http.js @@ -20,7 +20,7 @@ function http(uri, data, callback, method = 'GET', showLoading, title) { 'Content-Type' : 'application/x-www-form-urlencoded' }, success: (res) => { - console.log(res,'res') + // console.log(res,'res') if(showLoading){ uni.hideLoading(); } diff --git a/api/model/index.js b/api/model/index.js index c7539fc..ad4da44 100644 --- a/api/model/index.js +++ b/api/model/index.js @@ -13,6 +13,11 @@ const api = { url: '/index_common/getActivityPageList', method: 'GET', }, + // 获取首页地区 + getArea: { + url: '/index_common/getArea', + method: 'GET', + }, // 活动详情 activityInfo: { url: '/index_common/getActivityInfo', @@ -38,11 +43,6 @@ const api = { url: '/index_common/getYueDong', method: 'GET', }, - // 悦动时刻信息 - getArea: { - url: '/index_common/getArea', - method: 'GET', - }, //我主理的信息 getTwoPageList: { url: '/index_common/getTwoPageList', diff --git a/api/model/order.js b/api/model/order.js index 110899b..7de9a72 100644 --- a/api/model/order.js +++ b/api/model/order.js @@ -50,13 +50,20 @@ const api = { showLoading : true, }, // 创建订单 - createOrder: { + createOrder : { url: '/order_common/createOrder', method: 'POST', auth : true, showLoading : true, limit : 1000, }, + createOrderPay : { + url: '/order_common/createOrderPay', + method: 'POST', + auth : true, + showLoading : true, + limit : 1000, + }, // 收藏 collect: { url: '/order_common/collect', diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index 37d5a9f..5880be7 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -90,7 +90,7 @@ flex-direction: row; height: 120rpx; padding-bottom: env(safe-area-inset-bottom); - z-index: 999999; + z-index: 9999; bottom: 0; left: 0; color: #4C4C4C; diff --git a/components/cart/CardList.vue b/components/cart/CardList.vue index 1a212e8..8731d31 100644 --- a/components/cart/CardList.vue +++ b/components/cart/CardList.vue @@ -20,13 +20,15 @@ - + -