Skip to content

Commit

Permalink
替换成本地的图片,方便用户更换logo和背景
Browse files Browse the repository at this point in the history
  • Loading branch information
meiweiyuxian committed Feb 29, 2020
1 parent f35b54b commit 9a43917
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/Common/Sidebar.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="left-box">
<div class="logo">
<img src="http://lucky-icon.meiweiyuxian.com/hio/loading2.gif"/>
<img src="static/images/loading2.gif"/>
</div>
<el-menu class="sidebar" :unique-opened="true" :default-active="currentPagePath" @open="handleOpen"
:router="true" @close="handleClose">
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/components/LoginPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="login">
<div class="login-box">
<div class="logo">
<img src="http://lucky-icon.meiweiyuxian.com/hio/loading2.gif"/>
<img src="static/images/loading2.gif"/>
</div>
<div class="body">
<p class="tips">海风小店</p>
Expand Down Expand Up @@ -107,7 +107,7 @@
<style>
.login {
align-items: center;
background: url("http://lucky-other.meiweiyuxian.com/github/back1.jpg");
background: url("/static/images/back1.jpg");
background-size: 100%;
background-repeat:no-repeat;
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ router.beforeEach((to, from, next) => {
let token = localStorage.getItem('token') || '';

//配置接口信息
// Axios.defaults.baseURL = 'http://www.meiweiyuxian.com:8360/admin/';
// Axios.defaults.baseURL = 'http://www.地址.com:8360/admin/';
Axios.defaults.baseURL = api.rootUrl;
Axios.defaults.headers.common['X-Nideshop-Token'] = token;

Expand Down
Binary file added static/images/back1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/loading2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9a43917

Please sign in to comment.