diff --git a/pages.json b/pages.json
index 7019fa6..47b661d 100644
--- a/pages.json
+++ b/pages.json
@@ -15,6 +15,14 @@
"navigationStyle": "custom"
}
+ },
+ // 动画首页
+ {
+ "path": "pages/login/animationpage",
+ "style": {
+ "navigationStyle": "custom"
+ }
+
},
// 主页,下面的子窗口是引入摄像头nvue的方法,因为安卓只能连接nvue页面
{
diff --git a/pages/login/animationpage.vue b/pages/login/animationpage.vue
new file mode 100644
index 0000000..a67067a
--- /dev/null
+++ b/pages/login/animationpage.vue
@@ -0,0 +1,736 @@
+
+
+
+
+
+
+
+
+
+ {{ uni.getStorageSync('nuName') }}
+
+
+
+
+
+
+
+
+
+
+ 中控室
+
+
+
+
+
+
+
+
+
+ 库房
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 服务大厅
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 护理单元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 配务室
+
+
+
+
+
+
+
+
+
+ 办公室
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 52518ad..fe9737d 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -259,7 +259,7 @@
if (!jumpFirst.value) {
if (loading.value === 2) {
setTimeout(() => {
- jumpTo(`/pages/login/index`)
+ gotoindex()
}, 500)
} else {
loading.value++
@@ -278,7 +278,7 @@
selectserve.value = true;
} else {
setTimeout(() => {
- jumpTo(`/pages/login/index`)
+ gotoindex()
}, 500)
}
}
@@ -287,7 +287,7 @@
uni.setStorageSync('orgListName', item.departName);
uni.setStorageSync('orgListCode', item.orgCode);
setTimeout(() => {
- jumpTo(`/pages/login/index`)
+ gotoindex()
}, 500)
}
@@ -329,7 +329,7 @@
if (uni.getStorageSync('token') && uni.getStorageSync('token') !== 1) {
if (loading.value === 2) {
setTimeout(() => {
- jumpTo(`/pages/login/index`)
+ gotoindex()
}, 500)
} else {
loading.value++
@@ -359,13 +359,16 @@
monitorModule.cloudLoginIn(loginfo, (r) => {
if (loading.value === 2) {
setTimeout(() => {
- jumpTo(`/pages/login/index`)
+ gotoindex()
}, 500)
} else {
loading.value++
}
})
}
+ const gotoindex = () => {
+ jumpTo(`/pages/login/animationpage`)
+ }