update:更新样式
This commit is contained in:
4
FrontCode1/vue/.babelrc
Normal file
4
FrontCode1/vue/.babelrc
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"presets": ["es2015"],
|
||||
"plugins": []
|
||||
}
|
||||
1493
FrontCode1/vue/package-lock.json
generated
1493
FrontCode1/vue/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -4,9 +4,10 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build"
|
||||
"build": "babel src --out-dir dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"axios": "^0.21.4",
|
||||
"core-js": "^3.17.2",
|
||||
"element-ui": "^2.15.6",
|
||||
@@ -20,10 +21,15 @@
|
||||
"vuex": "^3.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.15.4",
|
||||
"@babel/core": "^7.15.5",
|
||||
"@babel/preset-env": "^7.15.6",
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-router": "~4.5.0",
|
||||
"@vue/cli-plugin-vuex": "~4.5.0",
|
||||
"@vue/cli-service": "~4.5.0",
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"vue-template-compiler": "^2.6.11"
|
||||
}
|
||||
}
|
||||
@@ -173,19 +173,15 @@ export default {
|
||||
const date = new Date()
|
||||
const fwzspwd = 'fwzspwd'
|
||||
const ticket = this.$route.query.ticket
|
||||
console.log(13, date.getMonth().padStart())
|
||||
const time =
|
||||
date.getFullYear() +
|
||||
'' +
|
||||
this.pad(date.getMonth() + 1, 2) +
|
||||
'' +
|
||||
this.pad(date.getDate(), 2) +
|
||||
'' +
|
||||
this.pad(date.getHours(), 2) +
|
||||
'' +
|
||||
this.pad(date.getMinutes(), 2) +
|
||||
'' +
|
||||
this.pad(date.getSeconds(), 2) +
|
||||
''
|
||||
this.pad(date.getSeconds(), 2)
|
||||
const sign = this.$md5(servicecode + fwzspwd + time)
|
||||
var url = `https://appapi.zjzwfw.gov.cn/sso/servlet/simpleauth?method=ticketValidation&servicecode=${servicecode}&time=${time}&sign=${sign}&st=${ticket}&datatype=datatype`
|
||||
// 第一次请求
|
||||
|
||||
8
FrontCode2/sunshine_levy/src/elementui/index.js
Normal file
8
FrontCode2/sunshine_levy/src/elementui/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import Vue from 'vue'
|
||||
|
||||
import { Form, FormItem, Button, Card } from 'element-ui'
|
||||
|
||||
Vue.use(Form)
|
||||
Vue.use(FormItem)
|
||||
Vue.use(Button)
|
||||
Vue.use(Card)
|
||||
Reference in New Issue
Block a user