中英文切换
This commit is contained in:
20
.babelrc
20
.babelrc
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
["es2015", { "modules": false }],
|
||||
[
|
||||
"env", {
|
||||
"modules": false,
|
||||
"targets": {
|
||||
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
||||
@@ -17,20 +19,6 @@
|
||||
"libraryName": "element-ui",
|
||||
"styleLibraryName": "theme-chalk"
|
||||
}
|
||||
],
|
||||
[
|
||||
"import",
|
||||
{
|
||||
"libraryName": "vant",
|
||||
"libraryDirectory": "es",
|
||||
"style": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"env": {
|
||||
"test": {
|
||||
"presets": ["env", "stage-2"],
|
||||
"plugins": ["transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -17,14 +17,14 @@
|
||||
"axios": "^0.18.0",
|
||||
"babel-plugin-import": "^1.13.3",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"element-ui": "^2.8.2",
|
||||
"fastclick": "^1.0.6",
|
||||
"jsencrypt": "^3.3.2",
|
||||
"simple-keyboard": "^3.7.26",
|
||||
"simple-keyboard-layouts": "^3.3.34",
|
||||
"vant": "^2.11.2",
|
||||
"vue": "^2.5.2",
|
||||
"vue-i18n": "^8.26.1",
|
||||
"vue-i18n": "8.2.1",
|
||||
"vue-infinite-scroll": "^2.0.2",
|
||||
"vue-router": "^3.0.1",
|
||||
"vue-touch-keyboard": "^0.3.2",
|
||||
|
||||
@@ -1,159 +0,0 @@
|
||||
<template>
|
||||
<section v-if="active" class="pick-bottom">
|
||||
<van-picker
|
||||
show-toolbar
|
||||
:title="title"
|
||||
:columns="columns"
|
||||
:default-index="defaultIndex"
|
||||
@cancel="onCancel"
|
||||
@confirm="onConfirm"
|
||||
/>
|
||||
<transition name="fade">
|
||||
<div class="overlay" @click="onCancel"></div>
|
||||
</transition>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Picker } from 'vant'
|
||||
import {deviceQuery, workprocedureQuery, instStatusQuery} from '@config/getData1'
|
||||
export default {
|
||||
name: 'Picker',
|
||||
components: {
|
||||
[Picker.name]: Picker
|
||||
},
|
||||
props: {
|
||||
active: Boolean,
|
||||
title: String,
|
||||
api: String,
|
||||
selectItem: Object,
|
||||
pickerArr: Array
|
||||
// defaultIndex: {
|
||||
// type: Number,
|
||||
// default: 0
|
||||
// }
|
||||
},
|
||||
computed: {
|
||||
defaultIndex () {
|
||||
return this.columns.findIndex(item => {
|
||||
return item.id === this.selectItem.id
|
||||
})
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
columns: []
|
||||
}
|
||||
},
|
||||
created () {
|
||||
if (!this.api && this.pickerArr.length > 0) {
|
||||
this.columns = this.pickerArr
|
||||
}
|
||||
switch (this.api) {
|
||||
case 'deviceQuery':
|
||||
this._deviceQuery()
|
||||
break
|
||||
case 'workprocedureQuery':
|
||||
this._workprocedureQuery()
|
||||
break
|
||||
case 'instStatusQuery':
|
||||
this._instStatusQuery()
|
||||
break
|
||||
case 'layerArr':
|
||||
this._layerArr()
|
||||
break
|
||||
case 'seatArr':
|
||||
this._seatArr()
|
||||
break
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async _deviceQuery () {
|
||||
let res = await deviceQuery()
|
||||
if (res.code === '1') {
|
||||
this.columns = res.result
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
}
|
||||
},
|
||||
// _deviceQuery () {
|
||||
// this.columns = [{id: '01', text: '缓存线1'}, {id: '02', text: '缓存线2'}, {id: '03', text: '缓存线3'}]
|
||||
// },
|
||||
async _workprocedureQuery () {
|
||||
let res = await workprocedureQuery()
|
||||
if (res.code === '1') {
|
||||
this.columns = res.result
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
}
|
||||
},
|
||||
// _workprocedureQuery () {
|
||||
// this.columns = [{id: '1', text: '工序1'}, {id: '2', text: '工序2'}, {id: '3', text: '工序3'}]
|
||||
// },
|
||||
async _instStatusQuery () {
|
||||
let res = await instStatusQuery()
|
||||
if (res.code === '1') {
|
||||
this.columns = res.result
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
}
|
||||
},
|
||||
// _instStatusQuery () {
|
||||
// this.columns = [{id: '1', text: '状态1'}, {id: '2', text: '状态2'}, {id: '3', text: '状态3'}]
|
||||
// },
|
||||
_layerArr () {
|
||||
this.columns = [{id: '1', text: '1'}, {id: '2', text: '2'}, {id: '3', text: '3'}]
|
||||
},
|
||||
_seatArr () {
|
||||
this.columns = [{id: '1', text: '1'}, {id: '2', text: '2'}, {id: '3', text: '3'}, {id: '4', text: '4'}, {id: '5', text: '5'}, {id: '6', text: '6'}, {id: '7', text: '7'}, {id: '8', text: '8'}, {id: '9', text: '9'}, {id: '10', text: '10'}]
|
||||
},
|
||||
onConfirm (value, index) {
|
||||
this.$emit('onConfirmCallback', value)
|
||||
// this.columns.defaultIndex = index
|
||||
},
|
||||
onCancel () {
|
||||
this.$emit('onCancelCallback')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.pick-bottom >>> .van-ellipsis
|
||||
font-size 14px
|
||||
.pick-bottom
|
||||
position fixed
|
||||
width 100%
|
||||
bottom 0
|
||||
z-index 2018
|
||||
.van-picker
|
||||
z-index 2018
|
||||
.overlay
|
||||
position fixed
|
||||
top 0
|
||||
left 0
|
||||
width 100%
|
||||
height 100%
|
||||
background-color rgba(0, 0, 0, 0.7)
|
||||
z-index 2012
|
||||
@keyframes fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes fade-out {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
.fade-enter-active
|
||||
animation 0.3s fade-in
|
||||
.fade-leave-active
|
||||
animation 0.3s fade-out
|
||||
</style>
|
||||
@@ -1,22 +1,28 @@
|
||||
import Vue from 'vue'
|
||||
import VueI18n from 'vue-i18n'
|
||||
import enLocale from 'element-ui/lib/locale/lang/en'
|
||||
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
|
||||
import locale from 'element-ui/lib/locale'
|
||||
import zh from './langs/zh'
|
||||
import en from './langs/en'
|
||||
import enLocale from 'element-ui/lib/locale/lang/en'
|
||||
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
|
||||
|
||||
Vue.use(VueI18n)
|
||||
|
||||
// 引入本地包
|
||||
const messages = {
|
||||
en: Object.assign(en, enLocale),
|
||||
zh: Object.assign(zh, zhLocale)
|
||||
'en-US': Object.assign(en, enLocale),
|
||||
'en': Object.assign(en, enLocale),
|
||||
'zh-CN': Object.assign(zh, zhLocale),
|
||||
'zh': Object.assign(zh, zhLocale)
|
||||
}
|
||||
|
||||
// console.log(messages.zh)
|
||||
|
||||
const navLang = navigator.language || navigator.userLanguage
|
||||
let localLang = navLang || false
|
||||
let lang = localLang || window.localStorage.getItem('locale') || 'zh-CN'
|
||||
lang = 'zh-CN'
|
||||
// 创建国际化实例
|
||||
const i18n = new VueI18n({
|
||||
locale: localStorage.getItem('locale') || 'zh',
|
||||
locale: lang,
|
||||
messages
|
||||
})
|
||||
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
module.exports = {
|
||||
message: {
|
||||
title: 'Sport Brands'
|
||||
},
|
||||
top: {
|
||||
run: 'run',
|
||||
auto: 'auto'
|
||||
login: {
|
||||
passwordlogin: 'Password login',
|
||||
configuration: 'Configuration',
|
||||
username: 'Username',
|
||||
password: 'Password',
|
||||
domainnameaddress: 'Domain name address',
|
||||
refreshtime: 'Refresh time(s)',
|
||||
login: 'Login'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
module.exports = {
|
||||
message: {
|
||||
title: '运动品牌'
|
||||
},
|
||||
top: {
|
||||
run: '运行',
|
||||
auto: '自动'
|
||||
login: {
|
||||
passwordlogin: '密码登录',
|
||||
configuration: '配置',
|
||||
username: '用户名',
|
||||
password: '密码',
|
||||
domainnameaddress: '域名地址',
|
||||
refreshtime: '刷新时间(秒)',
|
||||
login: '登录'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,8 +10,6 @@ import infiniteScroll from 'vue-infinite-scroll'
|
||||
import VueTouchKeyboard from 'vue-touch-keyboard'
|
||||
import 'vue-touch-keyboard/dist/vue-touch-keyboard.css'
|
||||
import { DatePicker, Select, Option, Radio, Menu, MenuItem, Tree } from 'element-ui'
|
||||
import { Pagination } from 'vant'
|
||||
// import '@style/layout.styl'
|
||||
import '@style/common.styl'
|
||||
import i18n from './i18n/i18n'
|
||||
import '@config/rem.js'
|
||||
@@ -27,7 +25,6 @@ Vue.use(Radio)
|
||||
Vue.use(Menu)
|
||||
Vue.use(MenuItem)
|
||||
Vue.use(Tree)
|
||||
Vue.use(Pagination)
|
||||
Vue.use(infiniteScroll)
|
||||
Vue.use(VueTouchKeyboard)
|
||||
Vue.prototype.$post = post
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class="login-bottom"></div>
|
||||
<div class="login-wraper">
|
||||
<div class="navs-wraper">
|
||||
<button class="nav_item" :class="{'nav_item_active': tab === 0}" @click="toLogin">密码登录</button>
|
||||
<button class="nav_item" :class="{'nav_item_active': tab === 0}" @click="toLogin">{{ $t('login.passwordlogin') }}</button>
|
||||
<button class="nav_item" :class="{'nav_item_active': tab === 1}" @click="toSetup">配置</button>
|
||||
</div>
|
||||
<div v-show="tab === 0" class="login-content_wraper">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import VueRouter from 'vue-router'
|
||||
|
||||
const Preload = r => require.ensure([], () => r(require('@page/Preload')), 'Preload')
|
||||
const Login = r => require.ensure([], () => r(require('@page/modules/login/login.vue')), 'login')
|
||||
@@ -24,9 +24,9 @@ const Role = r => require.ensure([], () => r(require('@page/modules/SystemManage
|
||||
const System = r => require.ensure([], () => r(require('@page/modules/SystemManage/system.vue')), 'modules')
|
||||
const Developer = r => require.ensure([], () => r(require('@page/modules/SystemManage/developer.vue')), 'modules')
|
||||
|
||||
Vue.use(Router)
|
||||
Vue.use(VueRouter)
|
||||
|
||||
export default new Router({
|
||||
const router = new VueRouter({
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
@@ -99,3 +99,17 @@ export default new Router({
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
if (!localStorage.getItem('locale')) {
|
||||
let lang = navigator.language
|
||||
if (lang === 'zh' || lang === 'zh-CN') {
|
||||
localStorage.setItem('locale', 'zh-CN')
|
||||
} else {
|
||||
localStorage.setItem('locale', 'en-US')
|
||||
}
|
||||
}
|
||||
next()
|
||||
})
|
||||
|
||||
export default router
|
||||
|
||||
110
yarn.lock
110
yarn.lock
@@ -88,7 +88,7 @@
|
||||
esutils "^2.0.2"
|
||||
js-tokens "^4.0.0"
|
||||
|
||||
"@babel/runtime@7.x", "@babel/runtime@^7.0.0":
|
||||
"@babel/runtime@^7.0.0":
|
||||
version "7.12.5"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e"
|
||||
integrity sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==
|
||||
@@ -148,11 +148,6 @@
|
||||
lodash "^4.17.19"
|
||||
to-fast-properties "^2.0.0"
|
||||
|
||||
"@popperjs/core@^2.5.4":
|
||||
version "2.5.4"
|
||||
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.5.4.tgz#de25b5da9f727985a3757fd59b5d028aba75841a"
|
||||
integrity sha512-ZpKr+WTb8zsajqgDkvCEWgp6d5eJT6Q63Ng2neTbzBO76Lbe91vX/iVIW9dikq+Fs3yEo+ls4cxeXABD2LtcbQ==
|
||||
|
||||
"@types/node@^8.0.7":
|
||||
version "8.10.48"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.48.tgz#e385073561643a9ba6199a1985ffc03530f90781"
|
||||
@@ -168,23 +163,6 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/strip-json-comments/-/strip-json-comments-0.0.30.tgz#9aa30c04db212a9a0649d6ae6fd50accc40748a1"
|
||||
integrity sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==
|
||||
|
||||
"@vant/icons@1.4.0":
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@vant/icons/-/icons-1.4.0.tgz#a91f7894f2f34356f78a5d6f8b9d4f1a46add0c5"
|
||||
integrity sha512-96k+x00FqdGAQeTWrHEJ6C+QNifPQu58W9mv8pJAQ7VQ527KV9GHQT7m2TT+PhHXejDENYhlpW/XWOB66j8r8w==
|
||||
|
||||
"@vant/popperjs@^1.0.0":
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@vant/popperjs/-/popperjs-1.0.2.tgz#522d71656235125a3ae08e9c701a3bae6fd88d7b"
|
||||
integrity sha512-CA2BgoQwlfm5OEmIuTnYNWaeCAcEhFFyVDg+irunZAWff+jV5TkAuDPpCWrIGYoVs99hwBDiRzzEAFybhlml2A==
|
||||
dependencies:
|
||||
"@popperjs/core" "^2.5.4"
|
||||
|
||||
"@vue/babel-helper-vue-jsx-merge-props@^1.0.0":
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.2.1.tgz#31624a7a505fb14da1d58023725a4c5f270e6a81"
|
||||
integrity sha512-QOi5OW45e2R20VygMSNhyQHvpdUwQZqGPc748JLGCYEy+yp8fNFNdbNIGAgZmi9e+2JHPd6i6idRuqivyicIkA==
|
||||
|
||||
abab@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f"
|
||||
@@ -976,7 +954,7 @@ babel-plugin-transform-es2015-block-scoped-functions@^6.22.0:
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-block-scoping@^6.23.0:
|
||||
babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1:
|
||||
version "6.26.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f"
|
||||
integrity sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=
|
||||
@@ -987,7 +965,7 @@ babel-plugin-transform-es2015-block-scoping@^6.23.0:
|
||||
babel-types "^6.26.0"
|
||||
lodash "^4.17.4"
|
||||
|
||||
babel-plugin-transform-es2015-classes@^6.23.0:
|
||||
babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db"
|
||||
integrity sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=
|
||||
@@ -1002,7 +980,7 @@ babel-plugin-transform-es2015-classes@^6.23.0:
|
||||
babel-traverse "^6.24.1"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-plugin-transform-es2015-computed-properties@^6.22.0:
|
||||
babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3"
|
||||
integrity sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=
|
||||
@@ -1010,14 +988,14 @@ babel-plugin-transform-es2015-computed-properties@^6.22.0:
|
||||
babel-runtime "^6.22.0"
|
||||
babel-template "^6.24.1"
|
||||
|
||||
babel-plugin-transform-es2015-destructuring@^6.23.0:
|
||||
babel-plugin-transform-es2015-destructuring@^6.22.0, babel-plugin-transform-es2015-destructuring@^6.23.0:
|
||||
version "6.23.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d"
|
||||
integrity sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-duplicate-keys@^6.22.0:
|
||||
babel-plugin-transform-es2015-duplicate-keys@^6.22.0, babel-plugin-transform-es2015-duplicate-keys@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e"
|
||||
integrity sha1-c+s9MQypaePvnskcU3QabxV2Qj4=
|
||||
@@ -1025,14 +1003,14 @@ babel-plugin-transform-es2015-duplicate-keys@^6.22.0:
|
||||
babel-runtime "^6.22.0"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-plugin-transform-es2015-for-of@^6.23.0:
|
||||
babel-plugin-transform-es2015-for-of@^6.22.0, babel-plugin-transform-es2015-for-of@^6.23.0:
|
||||
version "6.23.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691"
|
||||
integrity sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-function-name@^6.22.0:
|
||||
babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b"
|
||||
integrity sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=
|
||||
@@ -1067,7 +1045,7 @@ babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-e
|
||||
babel-template "^6.26.0"
|
||||
babel-types "^6.26.0"
|
||||
|
||||
babel-plugin-transform-es2015-modules-systemjs@^6.23.0:
|
||||
babel-plugin-transform-es2015-modules-systemjs@^6.23.0, babel-plugin-transform-es2015-modules-systemjs@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23"
|
||||
integrity sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=
|
||||
@@ -1076,7 +1054,7 @@ babel-plugin-transform-es2015-modules-systemjs@^6.23.0:
|
||||
babel-runtime "^6.22.0"
|
||||
babel-template "^6.24.1"
|
||||
|
||||
babel-plugin-transform-es2015-modules-umd@^6.23.0:
|
||||
babel-plugin-transform-es2015-modules-umd@^6.23.0, babel-plugin-transform-es2015-modules-umd@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468"
|
||||
integrity sha1-rJl+YoXNGO1hdq22B9YCNErThGg=
|
||||
@@ -1085,7 +1063,7 @@ babel-plugin-transform-es2015-modules-umd@^6.23.0:
|
||||
babel-runtime "^6.22.0"
|
||||
babel-template "^6.24.1"
|
||||
|
||||
babel-plugin-transform-es2015-object-super@^6.22.0:
|
||||
babel-plugin-transform-es2015-object-super@^6.22.0, babel-plugin-transform-es2015-object-super@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d"
|
||||
integrity sha1-JM72muIcuDp/hgPa0CH1cusnj40=
|
||||
@@ -1093,7 +1071,7 @@ babel-plugin-transform-es2015-object-super@^6.22.0:
|
||||
babel-helper-replace-supers "^6.24.1"
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-parameters@^6.23.0:
|
||||
babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b"
|
||||
integrity sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=
|
||||
@@ -1105,7 +1083,7 @@ babel-plugin-transform-es2015-parameters@^6.23.0:
|
||||
babel-traverse "^6.24.1"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-plugin-transform-es2015-shorthand-properties@^6.22.0:
|
||||
babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0"
|
||||
integrity sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=
|
||||
@@ -1120,7 +1098,7 @@ babel-plugin-transform-es2015-spread@^6.22.0:
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-sticky-regex@^6.22.0:
|
||||
babel-plugin-transform-es2015-sticky-regex@^6.22.0, babel-plugin-transform-es2015-sticky-regex@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc"
|
||||
integrity sha1-AMHNsaynERLN8M9hJsLta0V8zbw=
|
||||
@@ -1136,14 +1114,14 @@ babel-plugin-transform-es2015-template-literals@^6.22.0:
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-typeof-symbol@^6.23.0:
|
||||
babel-plugin-transform-es2015-typeof-symbol@^6.22.0, babel-plugin-transform-es2015-typeof-symbol@^6.23.0:
|
||||
version "6.23.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372"
|
||||
integrity sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-unicode-regex@^6.22.0:
|
||||
babel-plugin-transform-es2015-unicode-regex@^6.22.0, babel-plugin-transform-es2015-unicode-regex@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9"
|
||||
integrity sha1-04sS9C6nMj9yk4fxinxa4frrNek=
|
||||
@@ -1169,7 +1147,7 @@ babel-plugin-transform-object-rest-spread@^6.22.0, babel-plugin-transform-object
|
||||
babel-plugin-syntax-object-rest-spread "^6.8.0"
|
||||
babel-runtime "^6.26.0"
|
||||
|
||||
babel-plugin-transform-regenerator@^6.22.0:
|
||||
babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.24.1:
|
||||
version "6.26.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f"
|
||||
integrity sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=
|
||||
@@ -1243,6 +1221,36 @@ babel-preset-env@^1.3.2, babel-preset-env@^1.6.0:
|
||||
invariant "^2.2.2"
|
||||
semver "^5.3.0"
|
||||
|
||||
babel-preset-es2015@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz#d44050d6bc2c9feea702aaf38d727a0210538939"
|
||||
integrity sha512-XfwUqG1Ry6R43m4Wfob+vHbIVBIqTg/TJY4Snku1iIzeH7mUnwHA8Vagmv+ZQbPwhS8HgsdQvy28Py3k5zpoFQ==
|
||||
dependencies:
|
||||
babel-plugin-check-es2015-constants "^6.22.0"
|
||||
babel-plugin-transform-es2015-arrow-functions "^6.22.0"
|
||||
babel-plugin-transform-es2015-block-scoped-functions "^6.22.0"
|
||||
babel-plugin-transform-es2015-block-scoping "^6.24.1"
|
||||
babel-plugin-transform-es2015-classes "^6.24.1"
|
||||
babel-plugin-transform-es2015-computed-properties "^6.24.1"
|
||||
babel-plugin-transform-es2015-destructuring "^6.22.0"
|
||||
babel-plugin-transform-es2015-duplicate-keys "^6.24.1"
|
||||
babel-plugin-transform-es2015-for-of "^6.22.0"
|
||||
babel-plugin-transform-es2015-function-name "^6.24.1"
|
||||
babel-plugin-transform-es2015-literals "^6.22.0"
|
||||
babel-plugin-transform-es2015-modules-amd "^6.24.1"
|
||||
babel-plugin-transform-es2015-modules-commonjs "^6.24.1"
|
||||
babel-plugin-transform-es2015-modules-systemjs "^6.24.1"
|
||||
babel-plugin-transform-es2015-modules-umd "^6.24.1"
|
||||
babel-plugin-transform-es2015-object-super "^6.24.1"
|
||||
babel-plugin-transform-es2015-parameters "^6.24.1"
|
||||
babel-plugin-transform-es2015-shorthand-properties "^6.24.1"
|
||||
babel-plugin-transform-es2015-spread "^6.22.0"
|
||||
babel-plugin-transform-es2015-sticky-regex "^6.24.1"
|
||||
babel-plugin-transform-es2015-template-literals "^6.22.0"
|
||||
babel-plugin-transform-es2015-typeof-symbol "^6.22.0"
|
||||
babel-plugin-transform-es2015-unicode-regex "^6.24.1"
|
||||
babel-plugin-transform-regenerator "^6.24.1"
|
||||
|
||||
babel-preset-jest@^21.2.0:
|
||||
version "21.2.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-21.2.0.tgz#ff9d2bce08abd98e8a36d9a8a5189b9173b85638"
|
||||
@@ -8846,17 +8854,6 @@ validate-npm-package-license@^3.0.1:
|
||||
spdx-correct "^3.0.0"
|
||||
spdx-expression-parse "^3.0.0"
|
||||
|
||||
vant@^2.11.2:
|
||||
version "2.11.2"
|
||||
resolved "https://registry.yarnpkg.com/vant/-/vant-2.11.2.tgz#239c5ccac9de2764b405affad408c69db0b09da0"
|
||||
integrity sha512-cPWi9d37tf0kHrazH+/RjpdbplQKJV6XqGEc6qS/nkscxYuSOudxfe46r8TQLy4UU4/N4rRjT0HT315zF6DwYQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "7.x"
|
||||
"@vant/icons" "1.4.0"
|
||||
"@vant/popperjs" "^1.0.0"
|
||||
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
|
||||
vue-lazyload "1.2.3"
|
||||
|
||||
vary@~1.1.2:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
|
||||
@@ -8900,10 +8897,10 @@ vue-hot-reload-api@^2.2.0:
|
||||
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.3.tgz#2756f46cb3258054c5f4723de8ae7e87302a1ccf"
|
||||
integrity sha512-KmvZVtmM26BQOMK1rwUZsrqxEGeKiYSZGA7SNWE6uExx8UX/cj9hq2MRV/wWC3Cq6AoeDGk57rL9YMFRel/q+g==
|
||||
|
||||
vue-i18n@^8.26.1:
|
||||
version "8.26.1"
|
||||
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.26.1.tgz#56419bcb2414a01e0e9046fe1883d0edd421bf41"
|
||||
integrity sha512-N6GpogueNQqmAye6lkUySlrXAZqBs9DYz8+8LHxm4IV7hEP/KWQL9VUCV8oJ0DS1asUTlvI2qKm2MydRgoPJFQ==
|
||||
vue-i18n@8.2.1:
|
||||
version "8.2.1"
|
||||
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.2.1.tgz#7e21fed5f18dec6025992522500e9bd62cbe6668"
|
||||
integrity sha512-eiqkUBP9uoADmHa1vz0jLS/JNvR+dODjn2nz14/ZD14hTaWpbOXoUZ0C5Nd2vbP6vOaxXjmkvkzJn/VISvX1BQ==
|
||||
|
||||
vue-infinite-scroll@^2.0.2:
|
||||
version "2.0.2"
|
||||
@@ -8926,11 +8923,6 @@ vue-jest@^1.0.2:
|
||||
tsconfig "^7.0.0"
|
||||
vue-template-es2015-compiler "^1.5.3"
|
||||
|
||||
vue-lazyload@1.2.3:
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/vue-lazyload/-/vue-lazyload-1.2.3.tgz#901f9ec15c7e6ca78781a2bae4a343686bdedb2c"
|
||||
integrity sha512-DC0ZwxanbRhx79tlA3zY5OYJkH8FYp3WBAnAJbrcuoS8eye1P73rcgAZhyxFSPUluJUTelMB+i/+VkNU/qVm7g==
|
||||
|
||||
vue-loader@^13.3.0:
|
||||
version "13.7.3"
|
||||
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.7.3.tgz#e07440f78230a639d00ada4da7b96d0e9d62037f"
|
||||
|
||||
Reference in New Issue
Block a user