diff --git a/frontend/src/styles/moblie.scss b/frontend/src/styles/moblie.scss index bf92e9df7..c3ac9e18d 100644 --- a/frontend/src/styles/moblie.scss +++ b/frontend/src/styles/moblie.scss @@ -40,4 +40,11 @@ .el-drawer.rtl { width: 80% !important; } + .site-form-wrapper { + width: 90% !important; + min-width: auto !important; + .el-form-item__label { + width: auto !important; + } + } } diff --git a/frontend/src/views/website/website/config/basic/auth-basic/index.vue b/frontend/src/views/website/website/config/basic/auth-basic/index.vue index 697079e88..c6ecdc0d6 100644 --- a/frontend/src/views/website/website/config/basic/auth-basic/index.vue +++ b/frontend/src/views/website/website/config/basic/auth-basic/index.vue @@ -15,7 +15,7 @@ width="260px" :buttons="buttons" :label="$t('commons.table.operate')" - fixed="right" + :fixed="mobile ? false : 'right'" fix /> @@ -30,6 +30,8 @@ import i18n from '@/lang'; import Create from './create/index.vue'; import { useDeleteData } from '@/hooks/use-delete-data'; import { MsgSuccess } from '@/utils/message'; +import { GlobalStore } from '@/store'; +const globalStore = GlobalStore(); const props = defineProps({ id: { @@ -40,6 +42,9 @@ const props = defineProps({ const id = computed(() => { return props.id; }); +const mobile = computed(() => { + return globalStore.isMobile(); +}); const loading = ref(false); const data = ref([]); const createRef = ref(); diff --git a/frontend/src/views/website/website/config/basic/default-doc/index.vue b/frontend/src/views/website/website/config/basic/default-doc/index.vue index fc627807a..7c7a4a6e2 100644 --- a/frontend/src/views/website/website/config/basic/default-doc/index.vue +++ b/frontend/src/views/website/website/config/basic/default-doc/index.vue @@ -1,6 +1,6 @@ @@ -23,6 +29,8 @@ import { computed, onMounted, ref } from 'vue'; import i18n from '@/lang'; import { useDeleteData } from '@/hooks/use-delete-data'; import { Promotion } from '@element-plus/icons-vue'; +import { GlobalStore } from '@/store'; +const globalStore = GlobalStore(); const props = defineProps({ id: { @@ -33,6 +41,9 @@ const props = defineProps({ const id = computed(() => { return props.id; }); +const mobile = computed(() => { + return globalStore.isMobile(); +}); let loading = ref(false); const data = ref([]); const domainRef = ref(); diff --git a/frontend/src/views/website/website/config/basic/https/index.vue b/frontend/src/views/website/website/config/basic/https/index.vue index 916da53ed..fe75007ed 100644 --- a/frontend/src/views/website/website/config/basic/https/index.vue +++ b/frontend/src/views/website/website/config/basic/https/index.vue @@ -1,6 +1,6 @@