diff --git a/api/activity.js b/api/activity.js
index ed96defe..6bdba9eb 100644
--- a/api/activity.js
+++ b/api/activity.js
@@ -96,31 +96,6 @@ export function postBargainHelpList(params,data) {
return request.get("bargain/help/list?limit="+params.limit+"&page="+params.page, data,{});
}
-/**
- * 秒杀产品时间区间
- *
-*/
-export function getSeckillIndexTime(){
- return request.get('seckill/index',{},{noAuth:true});
-}
-
-/**
- * 秒杀产品列表
- * @param int time
- * @param object data
-*/
-export function getSeckillList(time,data){
- return request.get('seckill/list/'+time,data,{noAuth:true});
-}
-
-/**
- * 秒杀产品详情
- * @param int id
-*/
-export function getSeckillDetail(id){
- return request.get('seckill/detail/'+id);
-}
-
/**
* 砍价海报
* @param object data
@@ -160,46 +135,9 @@ export function scombinationCode(id) {
return request.get("combination/code/"+id);
}
-/**
- * 秒杀产品时间区间
- * @param int id
-*/
-export function getSeckillHeaderApi(){
- return request.get('seckill/header',{},{noAuth:true});
-}
-
-/**
- * 首页秒杀产品列表
-*/
-export function getSeckillIndexApi(){
- return request.get('seckill/index',{},{noAuth:true});
-}
-
-
-/**
- * 首页拼团产品列表
-*/
-export function getCombinationIndexApi(){
- return request.get('combination/index',{},{noAuth:true});
-}
-
-/**
- * 首页砍价产品列表
-*/
-export function getBargainIndexApi(){
- return request.get('bargain/index',{},{noAuth:true});
-}
-
/**
* 首页砍价产品列表
*/
export function bargainHeaderApi(){
return request.get('bargain/header');
}
-
-/**
- * 拼图列表头部
-*/
-export function combinationHeaderApi(){
- return request.get('combination/header');
-}
diff --git a/api/promotion/bargain.js b/api/promotion/bargain.js
new file mode 100644
index 00000000..cf5e3369
--- /dev/null
+++ b/api/promotion/bargain.js
@@ -0,0 +1,17 @@
+import request from "@/utils/request.js";
+
+// 获得砍价活动列表
+export function getBargainActivityList(count) {
+ return request.get("app-api/promotion/bargain-activity/list", {
+ count
+ }, {
+ noAuth: true // TODO 芋艿:后续要做调整
+ });
+}
+
+// 获得砍价记录的概要信息
+export function getBargainRecordSummary() {
+ return request.get("app-api/promotion/bargain-record/get-summary", {}, {
+ noAuth: true // TODO 芋艿:后续要做调整
+ });
+}
diff --git a/pages/activity/goods_bargain/index.vue b/pages/activity/goods_bargain/index.vue
index b178ab54..5bc2181b 100644
--- a/pages/activity/goods_bargain/index.vue
+++ b/pages/activity/goods_bargain/index.vue
@@ -5,6 +5,7 @@
+
+
+
{{item.title}}
-
+
后结束
@@ -46,76 +48,63 @@
已售罄
-
最低: ¥{{item.minPrice}}
- 参与砍价
- 已售罄
+ 参与砍价
+ 已售罄
- {{loadTitle}}
+ {{loadTitle}}
-
-
-
-