diff --git a/api/promotion/bargain.js b/api/promotion/bargain.js index f4eb977d..743f56c2 100644 --- a/api/promotion/bargain.js +++ b/api/promotion/bargain.js @@ -34,6 +34,13 @@ export function getBargainRecordSummary() { }); } +// 获得砍价记录的分页 +export function getBargainRecordPage(data) { + return request.get("app-api/promotion/bargain-record/page", data, { + noAuth: true // TODO 芋艿:后续要做调整 + }); +} + // 获得砍价活动详情 export function getBargainRecordDetail(id, activityId) { return request.get("app-api/promotion/bargain-record/get-detail", { diff --git a/components/PriceChange/index.vue b/components/PriceChange/index.vue deleted file mode 100644 index a2c1b34d..00000000 --- a/components/PriceChange/index.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - diff --git a/pages.json b/pages.json index 50af35ee..758b7b39 100644 --- a/pages.json +++ b/pages.json @@ -458,17 +458,6 @@ // #endif } }, - { - "path": "poster-poster/index", - "style": { - "navigationBarTitleText": "砍价海报" - // #ifdef MP - , - "navigationBarTextStyle": "#fff", - "navigationBarBackgroundColor": "#e93323" - // #endif - } - }, { "path": "bargain/index", "style": { diff --git a/pages/activity/bargain/index.vue b/pages/activity/bargain/index.vue index 67972041..923cb7c7 100644 --- a/pages/activity/bargain/index.vue +++ b/pages/activity/bargain/index.vue @@ -5,39 +5,41 @@
- +
-
{{ item.title }}
+
{{ item.activityName }}
-
砍价成功
+ :second-text="' 秒 '" :datatime="item.expireTime / 1000" v-if="item.status === 1"> +
砍价成功
活动已结束
- 已砍至{{ item.surplusPrice }} + 已砍至{{ fen2yuan(item.payPrice) }}
活动进行中
-
砍价成功
+
砍价成功
活动已结束
-
- 去付款 -
-
+
+ 去付款 +
+
立即付款
继续砍价
-
重开一个
+
+ 重开一个 +
- +
@@ -50,17 +52,14 @@ - -