diff --git a/README.md b/README.md index a55ca49..3ddfead 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ this.$store.commit('setLoginOut') this.$store.state.userInfo // 登录拦截 -// 示例:点击购买课程前需要判断当前用户是否登录 +// 示例:点击购买课程前需要判断当前用户是否登录,未登录则弹出登录弹窗 function onPurchaseCourse() { if (!this.$isLoginValidate()) { return; diff --git a/static/images/goods/left.png b/assets/img/goods/left.png similarity index 100% rename from static/images/goods/left.png rename to assets/img/goods/left.png diff --git a/static/images/goods/more.png b/assets/img/goods/more.png similarity index 100% rename from static/images/goods/more.png rename to assets/img/goods/more.png diff --git a/static/images/goods/right.png b/assets/img/goods/right.png similarity index 100% rename from static/images/goods/right.png rename to assets/img/goods/right.png diff --git a/static/images/goods/sort-b1.png b/assets/img/goods/sort-b1.png similarity index 100% rename from static/images/goods/sort-b1.png rename to assets/img/goods/sort-b1.png diff --git a/static/images/goods/sort-b2.png b/assets/img/goods/sort-b2.png similarity index 100% rename from static/images/goods/sort-b2.png rename to assets/img/goods/sort-b2.png diff --git a/static/images/goods/sort-t1.png b/assets/img/goods/sort-t1.png similarity index 100% rename from static/images/goods/sort-t1.png rename to assets/img/goods/sort-t1.png diff --git a/static/images/goods/sort-t2.png b/assets/img/goods/sort-t2.png similarity index 100% rename from static/images/goods/sort-t2.png rename to assets/img/goods/sort-t2.png diff --git a/static/images/layout/footer-1.png b/assets/img/layout/footer-1.png similarity index 100% rename from static/images/layout/footer-1.png rename to assets/img/layout/footer-1.png diff --git a/static/images/layout/footer-2.png b/assets/img/layout/footer-2.png similarity index 100% rename from static/images/layout/footer-2.png rename to assets/img/layout/footer-2.png diff --git a/static/images/layout/footer-3.png b/assets/img/layout/footer-3.png similarity index 100% rename from static/images/layout/footer-3.png rename to assets/img/layout/footer-3.png diff --git a/static/images/layout/footer-4.png b/assets/img/layout/footer-4.png similarity index 100% rename from static/images/layout/footer-4.png rename to assets/img/layout/footer-4.png diff --git a/static/images/layout/icon-arrow.png b/assets/img/layout/icon-arrow.png similarity index 100% rename from static/images/layout/icon-arrow.png rename to assets/img/layout/icon-arrow.png diff --git a/static/images/layout/icon-category.png b/assets/img/layout/icon-category.png similarity index 100% rename from static/images/layout/icon-category.png rename to assets/img/layout/icon-category.png diff --git a/static/images/layout/icon-login-sticky.png b/assets/img/layout/icon-login-sticky.png similarity index 100% rename from static/images/layout/icon-login-sticky.png rename to assets/img/layout/icon-login-sticky.png diff --git a/static/images/layout/icon-message.png b/assets/img/layout/icon-message.png similarity index 100% rename from static/images/layout/icon-message.png rename to assets/img/layout/icon-message.png diff --git a/static/images/layout/icon-order.png b/assets/img/layout/icon-order.png similarity index 100% rename from static/images/layout/icon-order.png rename to assets/img/layout/icon-order.png diff --git a/static/images/layout/icon-phone.png b/assets/img/layout/icon-phone.png similarity index 100% rename from static/images/layout/icon-phone.png rename to assets/img/layout/icon-phone.png diff --git a/static/images/layout/icon-search-sticky.png b/assets/img/layout/icon-search-sticky.png similarity index 100% rename from static/images/layout/icon-search-sticky.png rename to assets/img/layout/icon-search-sticky.png diff --git a/static/images/layout/icon-search.png b/assets/img/layout/icon-search.png similarity index 100% rename from static/images/layout/icon-search.png rename to assets/img/layout/icon-search.png diff --git a/static/images/layout/icon-shop-sticky.png b/assets/img/layout/icon-shop-sticky.png similarity index 100% rename from static/images/layout/icon-shop-sticky.png rename to assets/img/layout/icon-shop-sticky.png diff --git a/static/images/layout/icon-shop.png b/assets/img/layout/icon-shop.png similarity index 100% rename from static/images/layout/icon-shop.png rename to assets/img/layout/icon-shop.png diff --git a/static/images/layout/icon-up-light.png b/assets/img/layout/icon-up-light.png similarity index 100% rename from static/images/layout/icon-up-light.png rename to assets/img/layout/icon-up-light.png diff --git a/static/images/layout/icon-up.png b/assets/img/layout/icon-up.png similarity index 100% rename from static/images/layout/icon-up.png rename to assets/img/layout/icon-up.png diff --git a/static/images/layout/logo-sticky.png b/assets/img/layout/logo-sticky.png similarity index 100% rename from static/images/layout/logo-sticky.png rename to assets/img/layout/logo-sticky.png diff --git a/static/images/layout/logo.png b/assets/img/layout/logo.png similarity index 100% rename from static/images/layout/logo.png rename to assets/img/layout/logo.png diff --git a/static/images/login/icon-accept.png b/assets/img/login/icon-accept.png similarity index 100% rename from static/images/login/icon-accept.png rename to assets/img/login/icon-accept.png diff --git a/static/images/login/icon-close.png b/assets/img/login/icon-close.png similarity index 100% rename from static/images/login/icon-close.png rename to assets/img/login/icon-close.png diff --git a/static/images/login/icon-logo.png b/assets/img/login/icon-logo.png similarity index 100% rename from static/images/login/icon-logo.png rename to assets/img/login/icon-logo.png diff --git a/components/BsLogin.vue b/components/BsLogin.vue index 8a76a80..17e4000 100644 --- a/components/BsLogin.vue +++ b/components/BsLogin.vue @@ -10,7 +10,7 @@