From dc76d42867d2ea1283b35acc2f14d8fe551b83ff Mon Sep 17 00:00:00 2001 From: macro Date: Sun, 6 Oct 2019 16:34:45 +0800 Subject: [PATCH] update login index.vue --- src/utils/support.js | 8 ++++++++ src/views/login/index.vue | 41 ++++++++++++++++++++++++++++----------- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/src/utils/support.js b/src/utils/support.js index 9ae9048..4e45cb8 100644 --- a/src/utils/support.js +++ b/src/utils/support.js @@ -7,3 +7,11 @@ export function getSupport() { export function setSupport(isSupport) { return Cookies.set(SupportKey, isSupport,{ expires: 3 }) } + +export function setCookie(key,value,expires) { + return Cookies.set(key, value,{ expires: expires}) +} + +export function getCookie(key) { + return Cookies.get(key) +} diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 552b6b7..acb654d 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -36,10 +36,13 @@ - - + + 登录 + + 获取体验账号 + @@ -51,7 +54,8 @@ :center="true" width="30%">
- mall全套学习教程连载中关注公众号第一时间获取 + 关注公众号回复体验获取体验账号 +
@@ -63,7 +67,7 @@