样式调整
This commit is contained in:
@@ -72,7 +72,6 @@ export default {
|
||||
},
|
||||
getModelAccount(c = 0) {
|
||||
const ai = this.settings.model
|
||||
console.log(ai)
|
||||
if (ai.apiKey) {
|
||||
this.loadingAccount = true
|
||||
ai.getAccount().then(v => this.settings.account = v).finally(() => this.loadingAccount = false)
|
||||
@@ -84,7 +83,8 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.settings {
|
||||
min-width: 400px;
|
||||
min-width: 375px;
|
||||
margin-left: 16px;
|
||||
|
||||
:deep(.el-form) {
|
||||
.el-form-item__label {
|
||||
@@ -116,4 +116,22 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//移动端布局
|
||||
@media screen and (max-width: 1150px) {
|
||||
.settings {
|
||||
margin-left: 0;
|
||||
z-index: 202305181433;
|
||||
position: fixed;
|
||||
box-sizing: border-box;
|
||||
padding: 0 16px 16px;
|
||||
width: 100vw;
|
||||
top: 80px;
|
||||
left: 0;
|
||||
height: calc(100vh - 80px);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
background-color: #272A37;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user