Browse Source

替换图片

HW 4 years ago
parent
commit
b43e6b6223
6 changed files with 9 additions and 9 deletions
  1. BIN
      image/1.png
  2. BIN
      image/logo.png
  3. 2 2
      js/component/login/login.less
  4. 3 3
      package.json
  5. 2 2
      webpack-dll.config.js
  6. 2 2
      webpack.config.js

BIN
image/1.png


BIN
image/logo.png


+ 2 - 2
js/component/login/login.less

@@ -14,10 +14,10 @@
             width: 960px;
             margin: 0 auto;
             .logo {
-                width: 200px;
+                width: 60px;
                 padding-top: 60px;
                 float: left;
-                border-right: 1px solid #eee;
+                //border-right: 1px solid #eee;
                 position: relative;
                 overflow: hidden;
                 img {

+ 3 - 3
package.json

@@ -1,13 +1,13 @@
 {
   "name": "afanti",
-  "version": "1.2.8",
+  "version": "1.0.0",
   "description": "",
   "main": "index.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
     "dlldev": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy dev --env.host 'http://127.0.0.1'",
-    "dlltest": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy test --env.host 'http://statics.jishutao.com'",
-    "dllpro": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy prod --env.host 'http://ss.jishutao.com'",
+    "dlltest": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy test --env.host 'http://static.afantixinxi.com'",
+    "dllpro": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy prod --env.host 'http://static.afantixinxi.com'",
     "build": "node bin/clean.js && webpack --progress --colors --env.deploy dev",
     "buildtest": "node bin/clean.js && webpack --progress --colors --env.deploy test",
     "buildstage": "node bin/clean.js && webpack --progress --colors --env.deploy stage",

+ 2 - 2
webpack-dll.config.js

@@ -13,10 +13,10 @@ module.exports = (function () {
 	let staticHost = 'http://172.16.0.253:80';
     switch (argv.env.deploy) {
         case 'test':
-            staticHost = 'http://statics.jishutao.com';
+            staticHost = 'http://static.afantixinxi.com';
             break;
         case 'prod':
-            staticHost = 'http://ss.jishutao.com';
+            staticHost = 'http://static.afantixinxi.com';
             break;
         default:
             break;

+ 2 - 2
webpack.config.js

@@ -124,10 +124,10 @@ module.exports = (function () {
     let staticHost = 'http://172.16.0.253:80';
     switch (argv.env.deploy) {
         case 'test':
-            staticHost = 'http://statics.jishutao.com';
+            staticHost = 'http://static.afantixinxi.com';
             break;
         case 'prod':
-            staticHost = 'http://ss.jishutao.com';
+            staticHost = 'http://static.afantixinxi.com';
             break;
         default:
             break;