qdt-admin-layout 1.1.46 → 1.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -71,6 +71,7 @@ export default {
|
|
|
71
71
|
<span class="username">大屏可视化</span>
|
|
72
72
|
<i class="el-icon-monitor username" />
|
|
73
73
|
<span class="username shu">|</span>
|
|
74
|
+
<span id="largeScreenTrigger_free">限时免费!</span>
|
|
74
75
|
</div>
|
|
75
76
|
);
|
|
76
77
|
},
|
|
@@ -177,8 +178,8 @@ export default {
|
|
|
177
178
|
methods: {
|
|
178
179
|
handleLargeScreen() {
|
|
179
180
|
let { token } = this.$store.state.user;
|
|
180
|
-
|
|
181
|
-
window.open(`https://
|
|
181
|
+
let cmpname = this.$store.state.user.cmpname;
|
|
182
|
+
window.open(`https://yzkxwebapi.ezhisoft.com/?token=${token}&cmpname=${cmpname}`, "_blank");
|
|
182
183
|
},
|
|
183
184
|
showDownloadPopover() {
|
|
184
185
|
// 通过 ref 获取弹框实例并显示
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
/* 确保触发元素不被其他样式影响 */
|
|
75
75
|
.download-trigger {
|
|
76
|
-
position: relative;
|
|
76
|
+
position: relative; /* 作为弹框的直接定位基准 */
|
|
77
77
|
display: inline-flex;
|
|
78
78
|
align-items: center;
|
|
79
79
|
gap: 4px;
|
|
@@ -82,17 +82,25 @@
|
|
|
82
82
|
/* 新增:给触发元素添加明确的位置标识,辅助弹框定位 */
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
.user-dropdown-reference{
|
|
85
|
+
.user-dropdown-reference {
|
|
86
86
|
.el-popover {
|
|
87
87
|
top: 140%;
|
|
88
|
-
left: 65% !important;
|
|
89
|
-
transform: translateX(-50%) !important;
|
|
90
|
-
margin: 0 !important;
|
|
88
|
+
left: 65% !important; /* 水平居中对齐触发元素 */
|
|
89
|
+
transform: translateX(-50%) !important; /* 水平居中偏移 */
|
|
90
|
+
margin: 0 !important; /* 清除默认margin,避免偏移 */
|
|
91
91
|
z-index: 9999 !important;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
|
|
95
|
+
#largeScreenTrigger {
|
|
96
|
+
position: relative;
|
|
97
|
+
#largeScreenTrigger_free {
|
|
98
|
+
position: absolute;
|
|
99
|
+
bottom: 5px;
|
|
100
|
+
right: 30px;
|
|
101
|
+
font-size: 10px;
|
|
102
|
+
color: orange;
|
|
103
|
+
}
|
|
96
104
|
}
|
|
97
105
|
@import "theme-light";
|
|
98
106
|
@import "theme-dark";
|