diff --git a/src/utils/support.js b/src/utils/support.js new file mode 100644 index 00000000..31aa30f2 --- /dev/null +++ b/src/utils/support.js @@ -0,0 +1,10 @@ +import Cookies from "js-cookie"; +const SupportKey='supportKey'; +export const SupportUrl='https://e.coding.net/?utm_source=macrozheng&utm_medium=banner&utm_campaign=march2019'; +export function getSupport() { + return Cookies.get(SupportKey) +} + +export function setSupport(isSupport) { + return Cookies.set(SupportKey, isSupport,{ expires: 3 }) +} diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 4f78bfc7..dbbb88cb 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -44,11 +44,22 @@ + + mall项目已由CODING特别赞助,点击去支持,页面加载完后点击免费试用按钮即可完成支持,谢谢! + + 残忍拒绝 + 去支持 + +