优化代码

This commit is contained in:
2025-12-24 10:08:38 +08:00
parent 03176aabdc
commit 18793b3e6d
143 changed files with 17043 additions and 10119 deletions

View File

@@ -4,7 +4,7 @@ import axios from 'axios'
import router from '../router'
// api 模块化
import apis from './modules'
let developmentURL = `https://https://stms.lyraiov.com`
let developmentURL = `https://stms.lyraiov.com`
axios.defaults.timeout = 300000
axios.defaults.baseURL = process.env.NODE_ENV === 'development' ? developmentURL : getProCurrentHref()
// axios.defaults.baseURL = process.env.NODE_ENV === 'development' ? '/userApi/' : getProCurrentHref()

View File

@@ -4,7 +4,7 @@
<div class="lb-left">
<div class="logo">
<!-- <el-image class="logo-img" :src="routesItem.logo" fit="cover" @click="$router.push('/')" ></el-image> -->
<div @click="$router.push('/')" class="flex-center logo-img c-base">
<div @click="$router.push('/')" class="flex-center logo-img c-base bg-white">
<img class="flex-center logo-img c-base" :src="banner" />
</div>
</div>
@@ -41,7 +41,7 @@ export default {
return {
isIndex: true,
title: '',
banner: require('@/./style/image/zhnc.png'),
banner: require('@/./style/image/zhnc1.png'),
icon: 'el-icon-s-open',
notice_list: { data: [] },
visible: false,
@@ -111,6 +111,9 @@ export default {
</script>
<style lang="scss" scoped>
.bg-white{
background-color: white;
}
.lb-header {
width: 100%;
height: 70px;
@@ -141,7 +144,7 @@ export default {
height: 45px;
margin-bottom: 0;
border-radius: 50%;
cursor: pointer;
cursor: pointer;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@@ -434,7 +434,7 @@
</template>
<script>
import Uuid from 'uuid'
import { v4 as Uuid } from 'uuid'
export default {
data () {
let checkAddress = (rule, value, callback) => {

View File

@@ -475,7 +475,7 @@
</template>
<script>
import Uuid from 'uuid'
import { v4 as Uuid } from 'uuid'
export default {
data () {
let checkAddress = (rule, value, callback) => {

View File

@@ -161,7 +161,7 @@
</template>
<script>
import Uuid from 'uuid'
import { v4 as Uuid } from 'uuid'
export default {
data () {
return {

View File

@@ -337,7 +337,7 @@
</template>
<script>
import Uuid from 'uuid'
import { v4 as Uuid } from 'uuid'
export default {
data () {
let checkType = (rule, value, callback) => {

View File

@@ -482,7 +482,7 @@
</template>
<script>
import Uuid from 'uuid'
import { v4 as Uuid } from 'uuid'
import { mapGetters } from 'vuex'
export default {
data () {

View File

@@ -213,7 +213,7 @@
</template>
<script>
import Uuid from 'uuid'
import { v4 as Uuid } from 'uuid'
import { provinceAndCityData } from 'element-china-area-data'
export default {
data () {