|
@@ -214,7 +214,7 @@ import { computed, ref, onMounted, onBeforeUnmount, nextTick } from "vue";
|
|
|
import { CountTo } from "vue3-count-to";
|
|
import { CountTo } from "vue3-count-to";
|
|
|
import { Icon } from "@iconify/vue";
|
|
import { Icon } from "@iconify/vue";
|
|
|
import banner from "@/assets/images/flwoBanner.png";
|
|
import banner from "@/assets/images/flwoBanner.png";
|
|
|
-import banner_white from "@/assets/images/flwoBanner_white.jpeg";
|
|
|
|
|
|
|
+import banner_white from "@/assets/images/flwoBanner_white.png";
|
|
|
|
|
|
|
|
import todo from "../../assets//images/todo.png";
|
|
import todo from "../../assets//images/todo.png";
|
|
|
import todo_white from "../../assets//images/todo_white.png";
|
|
import todo_white from "../../assets//images/todo_white.png";
|
|
@@ -465,22 +465,33 @@ const go = async (item) => {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
} else if (isDesktop) {
|
|
} else if (isDesktop) {
|
|
|
- // const loading = ElLoading.service({
|
|
|
|
|
- // lock: true,
|
|
|
|
|
- // text: "正在跳转,请稍候...",
|
|
|
|
|
- // background: "rgba(0, 0, 0, 0.7)",
|
|
|
|
|
- // });
|
|
|
|
|
-
|
|
|
|
|
- const newTab = window.open("", "_blank");
|
|
|
|
|
- newTab.location.href =
|
|
|
|
|
- item.indexUrl + "?ssoToken=" + res + "#/main";
|
|
|
|
|
-
|
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
- newTab.location.href = item.flowUrl;
|
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
- // loading.close();
|
|
|
|
|
- }, 500);
|
|
|
|
|
- }, 100);
|
|
|
|
|
|
|
+ // const newTab = window.open("", "_blank");
|
|
|
|
|
+ // newTab.location.href =
|
|
|
|
|
+ // item.indexUrl + "?ssoToken=" + res + "#/main";
|
|
|
|
|
+
|
|
|
|
|
+ // setTimeout(() => {
|
|
|
|
|
+ // newTab.location.href = item.flowUrl;
|
|
|
|
|
+ // setTimeout(() => {
|
|
|
|
|
+ // // loading.close();
|
|
|
|
|
+ // }, 500);
|
|
|
|
|
+ // }, 100);
|
|
|
|
|
+ dd.biz.util.openLink({
|
|
|
|
|
+ url: item.indexUrl + "?ssoToken=" + res + "#/main",
|
|
|
|
|
+ onSuccess: () => {
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ dd.biz.util.openLink({
|
|
|
|
|
+ url: item.flowUrl,
|
|
|
|
|
+ onSuccess: () => {},
|
|
|
|
|
+ onFail: (err) => {
|
|
|
|
|
+ ElMessage.error("跳转失败,请重试");
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+ }, 2000);
|
|
|
|
|
+ },
|
|
|
|
|
+ onFail: (err) => {
|
|
|
|
|
+ ElMessage.error("打开链接失败,请重试");
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
} else {
|
|
} else {
|
|
|
console.log("❌ 非钉钉环境");
|
|
console.log("❌ 非钉钉环境");
|
|
|
}
|
|
}
|
|
@@ -525,15 +536,36 @@ const go = async (item) => {
|
|
|
newTab.location.href = item.flowUrl;
|
|
newTab.location.href = item.flowUrl;
|
|
|
}, 3000);
|
|
}, 3000);
|
|
|
} else if (isDesktop) {
|
|
} else if (isDesktop) {
|
|
|
- const newTab = window.open("", "_blank");
|
|
|
|
|
- newTab.location.href =
|
|
|
|
|
- item.indexUrl +
|
|
|
|
|
- "/global/sso/callback/00APEB9EEEA9B2E338B686B7ECFA8585808C.action?token=" +
|
|
|
|
|
- getAccessToken();
|
|
|
|
|
-
|
|
|
|
|
- setTimeout(function () {
|
|
|
|
|
- newTab.location.href = item.flowUrl;
|
|
|
|
|
- }, 3000);
|
|
|
|
|
|
|
+ // const newTab = window.open("", "_blank");
|
|
|
|
|
+ // newTab.location.href =
|
|
|
|
|
+ // item.indexUrl +
|
|
|
|
|
+ // "/global/sso/callback/00APEB9EEEA9B2E338B686B7ECFA8585808C.action?token=" +
|
|
|
|
|
+ // getAccessToken();
|
|
|
|
|
+
|
|
|
|
|
+ // setTimeout(function () {
|
|
|
|
|
+ // newTab.location.href = item.flowUrl;
|
|
|
|
|
+ // }, 3000);
|
|
|
|
|
+
|
|
|
|
|
+ dd.biz.util.openLink({
|
|
|
|
|
+ url:
|
|
|
|
|
+ item.indexUrl +
|
|
|
|
|
+ "/global/sso/callback/00APEB9EEEA9B2E338B686B7ECFA8585808C.action?token=" +
|
|
|
|
|
+ getAccessToken(),
|
|
|
|
|
+ onSuccess: () => {
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ dd.biz.util.openLink({
|
|
|
|
|
+ url: item.flowUrl,
|
|
|
|
|
+ onSuccess: () => {},
|
|
|
|
|
+ onFail: (err) => {
|
|
|
|
|
+ ElMessage.error("跳转失败,请重试");
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+ }, 3000);
|
|
|
|
|
+ },
|
|
|
|
|
+ onFail: (err) => {
|
|
|
|
|
+ ElMessage.error("打开链接失败,请重试");
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
// 浏览器环境
|
|
// 浏览器环境
|
|
@@ -988,7 +1020,8 @@ onBeforeUnmount(() => {
|
|
|
font-size: clamp(18px, 2vw, 22px);
|
|
font-size: clamp(18px, 2vw, 22px);
|
|
|
line-height: 1.2;
|
|
line-height: 1.2;
|
|
|
margin: 16px 0 12px;
|
|
margin: 16px 0 12px;
|
|
|
- color: #fff;
|
|
|
|
|
|
|
+ /* color: #fff; */
|
|
|
|
|
+ padding-left: 20px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -997,6 +1030,7 @@ onBeforeUnmount(() => {
|
|
|
/* color: #a7a0b1; */
|
|
/* color: #a7a0b1; */
|
|
|
max-width: 720px;
|
|
max-width: 720px;
|
|
|
line-height: 1.8;
|
|
line-height: 1.8;
|
|
|
|
|
+ padding-left: 20px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.hero-accent {
|
|
.hero-accent {
|
|
@@ -1033,7 +1067,7 @@ onBeforeUnmount(() => {
|
|
|
height: 36px;
|
|
height: 36px;
|
|
|
border-radius: 20px;
|
|
border-radius: 20px;
|
|
|
background: transparent;
|
|
background: transparent;
|
|
|
- border: 1px solid #0a1c43;
|
|
|
|
|
|
|
+ border: 1px solid #062583;
|
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
|
|
|
transition:
|
|
transition:
|
|
|
border-color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
@@ -1415,8 +1449,7 @@ onBeforeUnmount(() => {
|
|
|
-webkit-backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
|
|
|
|
|
|
/* 移除原有的普通边框和阴影,由伪元素接管视觉效果 */
|
|
/* 移除原有的普通边框和阴影,由伪元素接管视觉效果 */
|
|
|
- border: none;
|
|
|
|
|
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* 增加一点投影增强立体感 */
|
|
|
|
|
|
|
+ border: var(--item-border-color);
|
|
|
|
|
|
|
|
transition: transform 0.3s ease;
|
|
transition: transform 0.3s ease;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
@@ -1498,7 +1531,6 @@ onBeforeUnmount(() => {
|
|
|
.card-number {
|
|
.card-number {
|
|
|
font-size: 28px;
|
|
font-size: 28px;
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
- color: #ffffff; /* 数字改为白色 */
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.card-extra {
|
|
.card-extra {
|