project init

This commit is contained in:
limqhz
2020-01-29 21:50:10 +08:00
parent 3d215fe181
commit d4c677d2b5
821 changed files with 111343 additions and 73 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -0,0 +1,123 @@
export default {
message: {
index: 'index',
createTime: 'createTime',
handle: 'handle',
noData: 'No data',
add: 'Add',
search: 'Search',
edit: 'edit',
delete: 'delete',
save: 'save',
cancel: 'cancel',
status: 'status',
export: 'export',
import: 'import',
sort: 'sort',
enable:'enable',
disable:'disable',
disabled:'disabled',
enabled:'enabled',
blacked:'blacked',
unknow:'unknow',
back:'back'
},
questionnaire: {
title: 'title',
status: 'status'
},
member: {
mobile: 'mobile',
email: 'email',
status: 'status',
country: 'country',
language: 'language',
avatar: 'avatar',
nickname: 'nickname',
from: 'from',
blacked:'blacked',
dayblacked:'twenty four hours blacked',
normal:'normal',
regsterType:'register type',
export:'export excel',
black:'ban',
toNoraml:'to normal',
sms:'mobile sms',
wechat:'wechat',
},
firmware: {
revision: 'revision',
name: 'name',
fileName: 'fileName',
chipType: 'chipType',
bytes: 'bytes',
type: 'type',
upload: 'upload',
force: 'force',
noforce: 'noforce',
clickUpload: 'clickUpload',
onlyChip: 'onlyChip',
inputRevision: 'please input revision',
revisionMaxlength: 'revision max length 50 ',
inputName: 'please input name',
nameMaxlength: 'name max length 50 ',
needUpload:'please waiting for uploading completed',
max40M:'file size more than 40MB',
add:'upload firmware',
},
mes: {
add: 'add',
img: 'image',
system: 'system',
personal: 'personal',
title: 'title',
type: 'type',
content: 'content'
},
deviceKey:{
uniqueId:'uniqueId',
key: 'key',
inputUniqueId: 'please input uniqueId',
uniqueIdMaxlength: 'qniqueId max length 50 ',
inputKey: 'please input key',
keyMaxlength: 'key max length 50 ',
notUsed: 'not used',
used: 'used',
import: 'import excel file for saving device Keys '
},
device:{
nickname:'device nickname'
},
faq:{
title: 'title',
answer: 'answer'
},
admin:{
name:'name',
phone:'phone',
email:'email',
sex:'sex',
delAdminTip:'Confirm to delete this admin?'
},
menu:{
chName:'chinese Name',
enName:'english name',
icon:'icon',
sort:'sort',
url:'url',
menuName:'menu name',
delMenuTip:'Confirm to delete this menu?'
},
role:{
name:'name',
userCount:'user count'
},
faq:{
title:'title'
}
}

View File

@@ -0,0 +1,128 @@
export default{
message: {
index:'序号',
createTime: '创建时间',
handle: '操作',
noData: '暂无数据',
add: '添加',
search: '搜索',
edit: '编辑',
delete: '删除',
save: '保存',
cancel: '取消',
status: '状态',
export: '导出',
import: '导入',
sort: '排序',
enable:'启用',
disable:'禁用',
disabled:'禁用',
enabled:'可用',
blacked:'黑名单',
unknow:'未知',
back:'返回',
pass:'已提现',
passing:'审核中',
refuse:'已拒绝',
nouse:'未使用',
used:'已使用',
canceld:'已取消',
nosign:'已过期'
},
questionnaire: {
title: '问卷调查标题',
status: '状态'
},
member: {
mobile: '手机号',
email: '邮箱',
status: '用户状态',
country: '国家',
language: '语言',
avatar: '头像',
nickname: '昵称',
from: '注册方式',
blacked:'封号',
dayblacked:'24小时封禁',
normal:'正常',
regsterType:'注册方式',
export:'导出excel',
black:'封号',
toNoraml:'恢复正常',
sms:'手机短信',
wechat:'微信',
},
firmware: {
revision: '版本号',
name: '文本名称',
fileName: '真实名称',
chipType: '设备类型',
bytes: '文件大小',
type: '升级状态',
upload: '上传文件',
force: '强制',
noforce: '不强制',
clickUpload: '点击上传',
onlyChip: '只能上传固件升级文件',
inputRevision: '请输入版本号',
revisionMaxlength: '版本号不能超过50个字符',
inputName: '请输入文本名称',
nameMaxlength: '文本名称不能超过50个字符',
needUpload:'请等待文件上传完成',
max40M:'文件大小不允许超过40MB',
add:'上传固件'
},
mes: {
add: '添加',
img: '图片',
system: '系统消息',
personal: '个人消息',
title: '标题',
type: '消息类型',
content: '内容'
},
deviceKey:{
uniqueId:'设备唯一ID',
key: '设备key',
inputUniqueId: '请输入设备唯一ID',
uniqueIdMaxlength: '唯一ID不能超过50个字符',
inputKey: '请输入设备key',
keyMaxlength: '设备key不能超过50个字符',
notUsed: '未使用',
used: '已使用',
import: '导入设备key数据'
},
device:{
nickname:'设备昵称'
},
faq:{
title: '问题标题',
answer: '问题答案'
},
admin:{
name:'姓名',
phone:'手机号码',
email:'邮箱',
sex:'性别',
delAdminTip:'确认删除该管理员?'
},
menu:{
chName:'中文名称',
enName:'英文名称',
icon:'图标',
sort:'排序',
url:'地址',
menuName:'菜单名称',
delMenuTip:'确认删除该系统菜单?'
},
role:{
name:'名称',
userCount:'用户数'
},
faq:{
title:'标题'
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,199 @@
/* eslint-disable */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
var colorPalette = [
'#2ec7c9','#b6a2de','#5ab1ef','#ffb980','#d87a80',
'#8d98b3','#e5cf0d','#97b552','#95706d','#dc69aa',
'#07a2a4','#9a7fd1','#588dd5','#f5994e','#c05050',
'#59678c','#c9ab00','#7eb00a','#6f5553','#c14089'
];
var theme = {
color: colorPalette,
title: {
textStyle: {
fontWeight: 'normal',
color: '#008acd'
}
},
visualMap: {
itemWidth: 15,
color: ['#5ab1ef','#e0ffff']
},
toolbox: {
iconStyle: {
normal: {
borderColor: colorPalette[0]
}
}
},
tooltip: {
backgroundColor: 'rgba(50,50,50,0.5)',
axisPointer : {
type : 'line',
lineStyle : {
color: '#008acd'
},
crossStyle: {
color: '#008acd'
},
shadowStyle : {
color: 'rgba(200,200,200,0.2)'
}
}
},
dataZoom: {
dataBackgroundColor: '#efefff',
fillerColor: 'rgba(182,162,222,0.2)',
handleColor: '#008acd'
},
grid: {
borderColor: '#eee'
},
categoryAxis: {
axisLine: {
lineStyle: {
color: '#008acd'
}
},
splitLine: {
lineStyle: {
color: ['#eee']
}
}
},
valueAxis: {
axisLine: {
lineStyle: {
color: '#008acd'
}
},
splitArea : {
show : true,
areaStyle : {
color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
}
},
splitLine: {
lineStyle: {
color: ['#eee']
}
}
},
timeline : {
lineStyle : {
color : '#008acd'
},
controlStyle : {
normal : { color : '#008acd'},
emphasis : { color : '#008acd'}
},
symbol : 'emptyCircle',
symbolSize : 3
},
line: {
smooth : true,
symbol: 'emptyCircle',
symbolSize: 3
},
candlestick: {
itemStyle: {
normal: {
color: '#d87a80',
color0: '#2ec7c9',
lineStyle: {
color: '#d87a80',
color0: '#2ec7c9'
}
}
}
},
scatter: {
symbol: 'circle',
symbolSize: 4
},
map: {
label: {
normal: {
textStyle: {
color: '#d87a80'
}
}
},
itemStyle: {
normal: {
borderColor: '#eee',
areaColor: '#ddd'
},
emphasis: {
areaColor: '#fe994e'
}
}
},
graph: {
color: colorPalette
},
gauge : {
axisLine: {
lineStyle: {
color: [[0.2, '#2ec7c9'],[0.8, '#5ab1ef'],[1, '#d87a80']],
width: 10
}
},
axisTick: {
splitNumber: 10,
length :15,
lineStyle: {
color: 'auto'
}
},
splitLine: {
length :22,
lineStyle: {
color: 'auto'
}
},
pointer : {
width : 5
}
}
};
echarts.registerTheme('macarons', theme);
}));