diff --git a/constants/index.js b/constants/index.js index 074b3ab..1df4ae8 100644 --- a/constants/index.js +++ b/constants/index.js @@ -25,4 +25,10 @@ const CATEGROY_LEVEL = { TWO: 2, }; -export { TOKEN_KEY, ORDER_STATUS, SEX_TYPE, CATEGROY_LEVEL }; +// 秒杀活动状态 +const SECKILL_STATUS = { + NOT_START: 1, // 未开始 + GOING: 2, // 进行中 +}; + +export { TOKEN_KEY, ORDER_STATUS, SEX_TYPE, CATEGROY_LEVEL, SECKILL_STATUS }; diff --git a/pages/index/index.vue b/pages/index/index.vue index 4323a3d..53842f2 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -9,24 +9,41 @@
- +