【类 型】:feat

【主	题】:组件 手机屏幕css样式自适应
【描	述】:
	[原因]:手机看 按钮不会超出范围
	[过程]:组件 手机屏幕css样式自适应
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-07-11 17:49:36 +08:00
parent 720021123d
commit 5bbbf21d5a

View File

@ -501,7 +501,7 @@ export default {
} }
let res = await this.questAss(this.currentOrder.id, 'shipment_status', '已发货')// let res = await this.questAss(this.currentOrder.id, 'shipment_status', '已发货')//
if (res.data.status === 1) { if (res.data.status === 1) {
res = await this.$store.dispatch('fetchLockSite', { id: this.currentOrder.receive_site_id, runing: newRuning })// 线 res = await this.$store.dispatch('fetchLockSite', { id: this.currentOrder.receive_site_id, shop_id: this.plane.shop_id, plane_id: this.plane.id, runing: newRuning })// 线
if (res.data.status === 1) { if (res.data.status === 1) {
this.publishFun(`{"questAss":${routeData}}`)// this.publishFun(`{"questAss":${routeData}}`)//
this.speakText('提交任务,注册航线。') this.speakText('提交任务,注册航线。')
@ -652,7 +652,9 @@ export default {
}) })
} }
// //
this.publishFun('{getPlaneState:1}') if (this.plane) {
this.publishFun('{getPlaneState:1}')
}
}, },
watch: { watch: {
airLock (val) { airLock (val) {
@ -679,6 +681,9 @@ export default {
if (!found) { if (!found) {
this.questForm.id = '' this.questForm.id = ''
} }
},
plane (val) {
this.publishFun('{getPlaneState:1}')
} }
} }
@ -773,4 +778,34 @@ export default {
.butIconBox .butIcon:nth-child(4n) { .butIconBox .butIcon:nth-child(4n) {
margin-right: 0 !important; margin-right: 0 !important;
} }
/* 手机端样式 */
@media screen and (max-height: 500px) {
.tab-container {
height: 300px;
width: 50px;
}
.butIconGroup {
margin-bottom: 12px;
}
.el-button {
font-size: 14px !important;
}
.contentTit {
font-size: 14px !important;
margin-bottom: 5px !important;
}
.contentTit i {
font-size: 18px !important;
}
.butIcon {
height: 56px;
margin-bottom: 10px !important;
}
}
</style> </style>