@whitesev/pops 1.5.1 → 1.5.2

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/dist/index.umd.js CHANGED
@@ -2961,8 +2961,6 @@
2961
2961
  deviation = Number.isNaN(deviation) ? 1 : deviation;
2962
2962
  // 最大值2147483647
2963
2963
  let maxZIndex = Math.pow(2, 31) - 1;
2964
- // 比较值2000000000
2965
- let maxZIndexCompare = 2 * Math.pow(10, 9);
2966
2964
  // 当前页面最大的z-index
2967
2965
  let zIndex = 0;
2968
2966
  // 当前的最大z-index的元素,调试使用
@@ -2985,11 +2983,13 @@
2985
2983
  }
2986
2984
  });
2987
2985
  zIndex += deviation;
2986
+ // 用于比较的值2000000000,大于该值就取该值
2987
+ let maxZIndexCompare = 2 * Math.pow(10, 9);
2988
2988
  if (zIndex >= maxZIndexCompare) {
2989
2989
  // 最好不要超过最大值
2990
2990
  zIndex = maxZIndex;
2991
2991
  }
2992
- return { zIndex: maxZIndex, animElement: maxZIndexNode };
2992
+ return { zIndex: zIndex, animElement: maxZIndexNode };
2993
2993
  },
2994
2994
  /**
2995
2995
  * 获取CSS Rule
@@ -5943,7 +5943,7 @@
5943
5943
  <div class="text-ellip content flex-a-i-center">
5944
5944
  <span>文件名</span>
5945
5945
  <div class="pops-folder-list-table__sort" data-sort="fileName">
5946
- <div class="pops-folder-icon-arrow">
5946
+ <div class="pops-folder-icon-arrow" data-sort="按文件名排序">
5947
5947
  <svg
5948
5948
  viewBox="0 0 1024 1024"
5949
5949
  xmlns="http://www.w3.org/2000/svg">
@@ -5962,7 +5962,7 @@
5962
5962
  <div class="text-ellip content flex-a-i-center">
5963
5963
  <span>修改时间</span>
5964
5964
  <div class="pops-folder-list-table__sort" data-sort="latestTime">
5965
- <div class="pops-folder-icon-arrow">
5965
+ <div class="pops-folder-icon-arrow" title="按修改时间排序">
5966
5966
  <svg
5967
5967
  viewBox="0 0 1024 1024"
5968
5968
  xmlns="http://www.w3.org/2000/svg">
@@ -5981,7 +5981,7 @@
5981
5981
  <div class="text-ellip content flex-a-i-center">
5982
5982
  <span>大小</span>
5983
5983
  <div class="pops-folder-list-table__sort" data-sort="fileSize">
5984
- <div class="pops-folder-icon-arrow">
5984
+ <div class="pops-folder-icon-arrow" title="按大小排序">
5985
5985
  <svg
5986
5986
  viewBox="0 0 1024 1024"
5987
5987
  xmlns="http://www.w3.org/2000/svg">
@@ -9952,7 +9952,7 @@
9952
9952
  /** 配置 */
9953
9953
  config = {
9954
9954
  /** 版本号 */
9955
- version: "2024.8.6",
9955
+ version: "2024.8.15",
9956
9956
  cssText: {
9957
9957
  /** 主CSS */
9958
9958
  index: indexCSS,