Commit 57faf688 authored by 陈帅's avatar 陈帅

use blankLayout

parent 7c98ad92
AccountCenter/snapshot.png

332 KB | W: | H:

AccountCenter/snapshot.png

322 KB | W: | H:

AccountCenter/snapshot.png
AccountCenter/snapshot.png
AccountCenter/snapshot.png
AccountCenter/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
AccountSettings/snapshot.png

85.2 KB | W: | H:

AccountSettings/snapshot.png

77.3 KB | W: | H:

AccountSettings/snapshot.png
AccountSettings/snapshot.png
AccountSettings/snapshot.png
AccountSettings/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
DashboardAnalysis/snapshot.png

279 KB | W: | H:

DashboardAnalysis/snapshot.png

272 KB | W: | H:

DashboardAnalysis/snapshot.png
DashboardAnalysis/snapshot.png
DashboardAnalysis/snapshot.png
DashboardAnalysis/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
DashboardMonitor/snapshot.png

278 KB | W: | H:

DashboardMonitor/snapshot.png

280 KB | W: | H:

DashboardMonitor/snapshot.png
DashboardMonitor/snapshot.png
DashboardMonitor/snapshot.png
DashboardMonitor/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
DashboardWorkplace/snapshot.png

241 KB | W: | H:

DashboardWorkplace/snapshot.png

223 KB | W: | H:

DashboardWorkplace/snapshot.png
DashboardWorkplace/snapshot.png
DashboardWorkplace/snapshot.png
DashboardWorkplace/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
EditorFlow/snapshot.png

41 KB | W: | H:

EditorFlow/snapshot.png

45.9 KB | W: | H:

EditorFlow/snapshot.png
EditorFlow/snapshot.png
EditorFlow/snapshot.png
EditorFlow/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
EditorKoni/snapshot.png

35.3 KB | W: | H:

EditorKoni/snapshot.png

40.7 KB | W: | H:

EditorKoni/snapshot.png
EditorKoni/snapshot.png
EditorKoni/snapshot.png
EditorKoni/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
EditorMind/snapshot.png

85.2 KB | W: | H:

EditorMind/snapshot.png

86.6 KB | W: | H:

EditorMind/snapshot.png
EditorMind/snapshot.png
EditorMind/snapshot.png
EditorMind/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
Exception403/snapshot.png

71.2 KB | W: | H:

Exception403/snapshot.png

63.6 KB | W: | H:

Exception403/snapshot.png
Exception403/snapshot.png
Exception403/snapshot.png
Exception403/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
Exception404/snapshot.png

66.1 KB | W: | H:

Exception404/snapshot.png

58.6 KB | W: | H:

Exception404/snapshot.png
Exception404/snapshot.png
Exception404/snapshot.png
Exception404/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
Exception500/snapshot.png

64.9 KB | W: | H:

Exception500/snapshot.png

58 KB | W: | H:

Exception500/snapshot.png
Exception500/snapshot.png
Exception500/snapshot.png
Exception500/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
FormAdvancedForm/snapshot.png

105 KB | W: | H:

FormAdvancedForm/snapshot.png

105 KB | W: | H:

FormAdvancedForm/snapshot.png
FormAdvancedForm/snapshot.png
FormAdvancedForm/snapshot.png
FormAdvancedForm/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
FormBasicForm/snapshot.png

88.3 KB | W: | H:

FormBasicForm/snapshot.png

80.7 KB | W: | H:

FormBasicForm/snapshot.png
FormBasicForm/snapshot.png
FormBasicForm/snapshot.png
FormBasicForm/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
FormStepForm/snapshot.png

89.5 KB | W: | H:

FormStepForm/snapshot.png

80.6 KB | W: | H:

FormStepForm/snapshot.png
FormStepForm/snapshot.png
FormStepForm/snapshot.png
FormStepForm/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ListBasicList/snapshot.png

139 KB | W: | H:

ListBasicList/snapshot.png

131 KB | W: | H:

ListBasicList/snapshot.png
ListBasicList/snapshot.png
ListBasicList/snapshot.png
ListBasicList/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ListCardList/snapshot.png

217 KB | W: | H:

ListCardList/snapshot.png

154 KB | W: | H:

ListCardList/snapshot.png
ListCardList/snapshot.png
ListCardList/snapshot.png
ListCardList/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ListSearch/snapshot.png

31.1 KB | W: | H:

ListSearch/snapshot.png

26.1 KB | W: | H:

ListSearch/snapshot.png
ListSearch/snapshot.png
ListSearch/snapshot.png
ListSearch/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ListSearchApplications/snapshot.png

75.4 KB | W: | H:

ListSearchApplications/snapshot.png

68.9 KB | W: | H:

ListSearchApplications/snapshot.png
ListSearchApplications/snapshot.png
ListSearchApplications/snapshot.png
ListSearchApplications/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ListSearchArticles/snapshot.png

299 KB | W: | H:

ListSearchArticles/snapshot.png

290 KB | W: | H:

ListSearchArticles/snapshot.png
ListSearchArticles/snapshot.png
ListSearchArticles/snapshot.png
ListSearchArticles/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ListSearchProjects/snapshot.png

303 KB | W: | H:

ListSearchProjects/snapshot.png

395 KB | W: | H:

ListSearchProjects/snapshot.png
ListSearchProjects/snapshot.png
ListSearchProjects/snapshot.png
ListSearchProjects/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ListTableList/snapshot.png

136 KB | W: | H:

ListTableList/snapshot.png

129 KB | W: | H:

ListTableList/snapshot.png
ListTableList/snapshot.png
ListTableList/snapshot.png
ListTableList/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ProfileAdvanced/snapshot.png

218 KB | W: | H:

ProfileAdvanced/snapshot.png

209 KB | W: | H:

ProfileAdvanced/snapshot.png
ProfileAdvanced/snapshot.png
ProfileAdvanced/snapshot.png
ProfileAdvanced/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ProfileBasic/snapshot.png

143 KB | W: | H:

ProfileBasic/snapshot.png

134 KB | W: | H:

ProfileBasic/snapshot.png
ProfileBasic/snapshot.png
ProfileBasic/snapshot.png
ProfileBasic/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ResultFail/snapshot.png

58.1 KB | W: | H:

ResultFail/snapshot.png

50.6 KB | W: | H:

ResultFail/snapshot.png
ResultFail/snapshot.png
ResultFail/snapshot.png
ResultFail/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
ResultSuccess/snapshot.png

83.9 KB | W: | H:

ResultSuccess/snapshot.png

75.5 KB | W: | H:

ResultSuccess/snapshot.png
ResultSuccess/snapshot.png
ResultSuccess/snapshot.png
ResultSuccess/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
UserLogin/snapshot.png

47.1 KB | W: | H:

UserLogin/snapshot.png

40 KB | W: | H:

UserLogin/snapshot.png
UserLogin/snapshot.png
UserLogin/snapshot.png
UserLogin/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
UserRegister/snapshot.png

45.5 KB | W: | H:

UserRegister/snapshot.png

37.8 KB | W: | H:

UserRegister/snapshot.png
UserRegister/snapshot.png
UserRegister/snapshot.png
UserRegister/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
UserRegisterResult/snapshot.png

53.3 KB | W: | H:

UserRegisterResult/snapshot.png

46.4 KB | W: | H:

UserRegisterResult/snapshot.png
UserRegisterResult/snapshot.png
UserRegisterResult/snapshot.png
UserRegisterResult/snapshot.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -2,7 +2,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable eslint-comments/no-unlimited-disable */
const { spawn } = require('child_process');
const { kill } = require('cross-port-killer');
const puppeteer = require('puppeteer');
const { join, dirname } = require('path');
const fs = require('fs');
......@@ -14,7 +13,7 @@ env.BROWSER = 'none';
env.TEST = true;
env.COMPRESS = 'none';
env.PROGRESS = 'none';
// flag to prevent multiple test
env.BLOCK_PAGES_LAYOUT = 'blankLayout';
let browser;
......@@ -22,14 +21,11 @@ const startServer = async path => {
let once = false;
return new Promise(resolve => {
env.PAGES_PATH = path + '/src';
const startServer = spawn(/^win/.test(process.platform) ? 'npm.cmd' : 'npm', ['start'], {
console.log(path);
const startServer = spawn(/^win/.test(process.platform) ? 'npm.cmd' : 'npm', ['run', 'start'], {
env,
});
startServer.on('exit', () => {
kill(process.env.PORT || 8000);
});
console.log('Starting development server');
startServer.stdout.on('data', data => {
console.log(data.toString());
......@@ -115,8 +111,6 @@ const getAllFile = async () => {
getAllFile().then(async dirList => {
const registry = await getNpmRegistry();
kill(process.env.PORT || 8000);
const page = await openBrowser();
const loopGetImage = async index => {
try {
......
{
"private": true,
"scripts": {
"dev": "cross-env PAGES_PATH='DashboardMonitor/src' umi dev",
"dev": "cross-env PAGES_PATH='AccountCenter/src' umi dev",
"start": "umi dev",
"lint": "npm run lint:ts && npm run lint:style && npm run lint:prettier",
"lint-staged": "lint-staged",
......@@ -29,8 +29,6 @@
"dependencies": {
"@types/react-dom": "^16.8.4",
"cross-env": "^5.2.0",
"execa": "^1.0.0",
"getnpmregistry": "^1.0.1",
"numeral": "^2.0.6",
"react-dom": "^16.8.6"
},
......@@ -42,6 +40,9 @@
"@types/numeral": "^0.0.25",
"babel-eslint": "^10.0.1",
"check-prettier": "^1.0.3",
"cross-port-killer": "^1.1.1",
"execa": "^1.0.0",
"getnpmregistry": "^1.0.1",
"glob": "^7.1.3",
"husky": "^2.2.0",
"lint-staged": "^8.1.0",
......@@ -59,7 +60,7 @@
"tslint-react": "^3.6.0",
"typescript": "^3.5.1",
"umi": "^2.6.17",
"umi-plugin-block-dev": "^2.0.2",
"umi-plugin-block-dev": "^2.1.11",
"umi-plugin-react": "^1.7.6",
"umi-request": "^1.0.0"
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment