diff --git a/.env.sit b/.env.sit index 57bb6db5..8e8ed9e9 100644 --- a/.env.sit +++ b/.env.sit @@ -2,4 +2,4 @@ ENV = 'sit' # base api -VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' diff --git a/src/pages/index/components/class_scroll.vue b/src/pages/index/components/class_scroll.vue index 98ad4c3a..66e95851 100644 --- a/src/pages/index/components/class_scroll.vue +++ b/src/pages/index/components/class_scroll.vue @@ -110,6 +110,11 @@ ]; const class_list = ref([]); const skeleton = [ + { + type: 'line', + num: 1, + style: 'marginBottom:20rpx; ', + }, { type: 'flex', num: 1, @@ -122,8 +127,7 @@ { type: 'line', num: 3, - - style: ['width: 240rpx;', null, null] + style: ['width: 240rpx;'] } ] } @@ -135,7 +139,16 @@ } else { // class_list.value = res.body; } + class_list.value = res.body; + class_list.value.unshift({ + id: '', + img: '', + nama: '', + mtTime: '', + accmCnt: '' + }); + }); }; defineExpose({ get_data }); diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index 9b62aa21..699f2722 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -114,7 +114,7 @@ - diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue index a32f4051..10e9cae3 100644 --- a/src/pages/login/login.vue +++ b/src/pages/login/login.vue @@ -81,8 +81,8 @@ const socketStore = useSocketStore(); const { taskSocket } = storeToRefs(socketStore); const show_password = ref(false); - const account = ref('admin'); - const password = ref('123456'); + const account = ref(''); + const password = ref(''); const read_text_state = ref>([]); const imeHeight = ref('0px'); const back_state = ref(true);