样式修改

This commit is contained in:
2026-01-19 15:22:20 +08:00
parent ec7718405e
commit cf95d10458
6 changed files with 22 additions and 25 deletions

View File

@@ -71,4 +71,7 @@ export default {
color #fff color #fff
line-height .26rem line-height .26rem
padding-top .1rem padding-top .1rem
.enClass
.step_p
line-height .22rem
</style> </style>

View File

@@ -47,8 +47,8 @@
<el-progress <el-progress
v-show="!warnTip" v-show="!warnTip"
:percentage="percentage" :percentage="percentage"
:stroke-width="10" :stroke-width="20"
style="width: 300px;" style="width: 40vw;"
></el-progress> ></el-progress>
</div> </div>
</div> </div>
@@ -78,8 +78,7 @@ export default {
if (this.needsConfirmation) { if (this.needsConfirmation) {
this.$confirm(this.$t('Doabandonmapattempt'), this.$t('Prompt'), { this.$confirm(this.$t('Doabandonmapattempt'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(async () => { }).then(async () => {
try { try {
// 显示加载中状态 // 显示加载中状态
@@ -211,8 +210,7 @@ export default {
this.loading.close() this.loading.close()
this.$confirm(this.$t('Whetherdrivebackpoint'), this.$t('Prompt'), { this.$confirm(this.$t('Whetherdrivebackpoint'), this.$t('Prompt'), {
confirmButtonText: this.$t('yes'), confirmButtonText: this.$t('yes'),
cancelButtonText: this.$t('no'), cancelButtonText: this.$t('no')
type: 'warning'
}).then(() => { }).then(() => {
this._sendAutoBack('0') this._sendAutoBack('0')
this.backActive = false this.backActive = false
@@ -321,8 +319,7 @@ export default {
if (this.autoLoopEnable !== '1') return if (this.autoLoopEnable !== '1') return
this.$confirm(this.$t('sureendbuilding'), this.$t('Prompt'), { this.$confirm(this.$t('sureendbuilding'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this._stopMapping() this._stopMapping()
}).catch(() => { }).catch(() => {
@@ -382,8 +379,7 @@ export default {
this.keyPoints = [] this.keyPoints = []
this.$confirm(this.$t('Newfailedagain'), this.$t('Prompt'), { this.$confirm(this.$t('Newfailedagain'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this._startMapping() this._startMapping()
}).catch(() => { }).catch(() => {
@@ -399,8 +395,7 @@ export default {
this.keyPoints = [] this.keyPoints = []
this.$confirm(this.$t('Newfailedagain'), this.$t('Prompt'), { this.$confirm(this.$t('Newfailedagain'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this._startMapping() this._startMapping()
}).catch(() => { }).catch(() => {
@@ -483,8 +478,7 @@ export default {
forceClosed () { forceClosed () {
this.$confirm(this.$t('reversingabnormalitiesneedtoclose'), this.$t('Prompt'), { this.$confirm(this.$t('reversingabnormalitiesneedtoclose'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this.tipShow = false this.tipShow = false
}).catch(() => {}) }).catch(() => {})
@@ -534,13 +528,15 @@ export default {
} }
/* 进度条容器 */ /* 进度条容器 */
.progress-container { .progress-container
background-color: #fff; background-color: #fff;
padding: 30px 40px; padding: 30px 40px;
border-radius: 8px; border-radius: 8px;
text-align: center; text-align: center;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
} /deep/ .el-progress--line
display: flex;
align-items: center;
.progress_tip { .progress_tip {
font-size: .2rem font-size: .2rem
line-height: .34rem line-height: .34rem

View File

@@ -37,8 +37,7 @@ export default {
if (e.router === '/index/building') { if (e.router === '/index/building') {
this.$confirm(this.$t('Donewmap'), this.$t('Prompt'), { this.$confirm(this.$t('Donewmap'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this.$router.push(e.router) this.$router.push(e.router)
}).catch(() => { }).catch(() => {

View File

@@ -38,8 +38,7 @@ export default {
toConfirm (e) { toConfirm (e) {
this.$confirm(this.$t('Isrelocatepoint'), this.$t('Prompt'), { this.$confirm(this.$t('Isrelocatepoint'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this._relocate(e.x, e.y, e.angle) this._relocate(e.x, e.y, e.angle)
}).catch(() => { }).catch(() => {

View File

@@ -156,8 +156,7 @@ export default {
toReboot () { toReboot () {
this.$confirm(this.$t('Aresureshutrestart'), this.$t('Prompt'), { this.$confirm(this.$t('Aresureshutrestart'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this._rebootVehicle() this._rebootVehicle()
}).catch(() => { }).catch(() => {
@@ -192,8 +191,7 @@ export default {
synchronizedMapConfirm () { synchronizedMapConfirm () {
this.$confirm(this.$t('Aresuremap'), this.$t('Prompt'), { this.$confirm(this.$t('Aresuremap'), this.$t('Prompt'), {
confirmButtonText: this.$t('Confirm'), confirmButtonText: this.$t('Confirm'),
cancelButtonText: this.$t('Cancel'), cancelButtonText: this.$t('Cancel')
type: 'warning'
}).then(() => { }).then(() => {
this._synchronizedMap() this._synchronizedMap()
}).catch(() => { }).catch(() => {
@@ -357,4 +355,6 @@ export default {
.enClass .enClass
.el-tabs__item .el-tabs__item
font-size .2rem font-size .2rem
.contorl_title_2
font-size .16rem
</style> </style>

View File

@@ -235,7 +235,7 @@
font-size .2rem font-size .2rem
.el-message-box__message p .el-message-box__message p
font-size .2rem font-size .2rem
line-height: .28rem line-height: .2rem
.el-progress-bar__inner,.el-progress-bar__outer .el-progress-bar__inner,.el-progress-bar__outer
border-radius 0 border-radius 0
.el-progress__text .el-progress__text