diff --git a/public/images/medal/20230101.png b/public/images/medal/20230101.png new file mode 100644 index 00000000..956f5f4e Binary files /dev/null and b/public/images/medal/20230101.png differ diff --git a/src/api/phase2/yearMedal.js b/src/api/phase2/yearMedal.js new file mode 100644 index 00000000..f2d0d71f --- /dev/null +++ b/src/api/phase2/yearMedal.js @@ -0,0 +1,17 @@ +/**文章模块的相关处理*/ +// import ajax from '@/utils/xajax.js' +import ajax from '../ajax' +const baseURL =process.env.VUE_APP_STAT_BASE_API; + +const has2023 = function() { + return ajax.get(baseURL,'/xboe/m/stat/year/medal/has'); +} + +const save2023 = function() { + return ajax.get(baseURL,'/xboe/m/stat/year/medal/save'); +} + +export default { + has2023, + save2023 +} diff --git a/src/components/AlertPopup.vue b/src/components/AlertPopup.vue index 9fde5fd4..6584ba04 100644 --- a/src/components/AlertPopup.vue +++ b/src/components/AlertPopup.vue @@ -6,7 +6,7 @@
-
+
diff --git a/src/components/Popup/Medal2023.vue b/src/components/Popup/Medal2023.vue new file mode 100644 index 00000000..a7e4b965 --- /dev/null +++ b/src/components/Popup/Medal2023.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index 1db706ad..f0b687da 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -124,13 +124,14 @@
- + + + \ No newline at end of file diff --git a/src/views/medal/Index.vue b/src/views/medal/Index.vue index 1017b98b..fdbd4b36 100644 --- a/src/views/medal/Index.vue +++ b/src/views/medal/Index.vue @@ -7,7 +7,7 @@ -
+
@@ -22,6 +22,11 @@ 查看详情
+
+ +

元旦勋章

+ +
@@ -82,6 +87,7 @@