diff --git a/components/ShoproLiveCard.vue b/components/ShoproLiveCard.vue
index d7463de..5b869e5 100644
--- a/components/ShoproLiveCard.vue
+++ b/components/ShoproLiveCard.vue
@@ -33,6 +33,7 @@
+
+
diff --git a/pages/activity/GoodsGroup/index.vue b/pages/activity/GoodsGroup/index.vue
index 0ce7ad8..51a8326 100644
--- a/pages/activity/GoodsGroup/index.vue
+++ b/pages/activity/GoodsGroup/index.vue
@@ -1,90 +1,228 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 爆款推荐
+ 省钱省心限时拼
-
-
- ¥
-
-
-
-
- 去拼团
-
+
+
+
+
+ TOP{{ index + 1 }}
+
+
+
+
+
+ 已拼{{ groupon.sales }}件
+
+ {{ groupon.people || 0 }}人团
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/static/images/group_list_bg.png b/static/images/group_list_bg.png
new file mode 100644
index 0000000..57db83d
Binary files /dev/null and b/static/images/group_list_bg.png differ
diff --git a/utils/index.js b/utils/index.js
index 448858f..53d0991 100644
--- a/utils/index.js
+++ b/utils/index.js
@@ -38,7 +38,27 @@ export function dataFormat(time, option) {
return timeStr
}
}
-
+ // 年月日,时分秒
+ // "YYYY-mm-dd HH:MM"
+export function dateFormatL(fmt, date) {
+ let ret;
+ const opt = {
+ "Y+": date.getFullYear().toString(), // 年
+ "m+": (date.getMonth() + 1).toString(), // 月
+ "d+": date.getDate().toString(), // 日
+ "H+": date.getHours().toString(), // 时
+ "M+": date.getMinutes().toString(), // 分
+ "S+": date.getSeconds().toString() // 秒
+ // 有其他格式化字符需求可以继续添加,必须转化成字符串
+ };
+ for (let k in opt) {
+ ret = new RegExp("(" + k + ")").exec(fmt);
+ if (ret) {
+ fmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, "0")))
+ };
+ };
+ return fmt;
+ }
export function dateFormatT(time) {
time = +time * 1000;
const d = new Date(time);