update 公共样式、加载效果、$message、api去掉不用的接口

This commit is contained in:
赵霄
2023-11-30 15:18:25 +08:00
parent f00c197e0e
commit 00e6cee4a9
6 changed files with 136 additions and 217 deletions
+18
View File
@@ -1,5 +1,8 @@
<template>
<div>
<van-overlay :show="loading">
<van-loading />
</van-overlay>
<div class="header-switch">
<!--基础信息-->
<div class="header-switch-item header-switch-left"
@@ -31,6 +34,14 @@
<script>
export default {
name: 'ProcessCommonLayout',
props: {
// 加载效果
loading: {
type: Boolean,
required: false,
default: false
}
},
data () {
return {
activeTab: 'basic'
@@ -95,4 +106,11 @@ export default {
align-items: center;
justify-content: center;
}
.van-overlay {
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.3);
}
</style>