@uxda/appkit 4.2.59 → 4.2.60

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/appkit.css CHANGED
@@ -1473,6 +1473,8 @@ page {
1473
1473
  margin-right: 4px;
1474
1474
  }
1475
1475
  .notice-popup-bd {
1476
+ position: relative;
1477
+ z-index: 10;
1476
1478
  color: #353535;
1477
1479
  box-shadow: 0px 2px 8px 0px rgba(255, 255, 255, 0.2) inset, 0px 1px 1px 0px rgba(255, 255, 255, 0.5019607843) inset, 0px 0px 1px 0px rgba(255, 255, 255, 0.6980392157);
1478
1480
  border-radius: 3px;
@@ -1489,6 +1491,8 @@ page {
1489
1491
  font-weight: 600;
1490
1492
  }
1491
1493
  .notice-popup-ft {
1494
+ position: relative;
1495
+ z-index: 10;
1492
1496
  display: flex;
1493
1497
  align-items: center;
1494
1498
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.2.59",
3
+ "version": "4.2.60",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -1,24 +1,12 @@
1
1
  <template>
2
- <nut-popup
3
- pop-class="notice-popup"
4
- :close-on-click-overlay="false"
5
- v-model:visible="showPopup"
6
- round
7
- >
2
+ <nut-popup pop-class="notice-popup" :close-on-click-overlay="false" v-model:visible="showPopup" round>
8
3
  <div class="notice-popup-hd">
9
- <img
10
- class="notice-popup-hd-icon"
11
- src="https://cdn.ddjf.com/static/images/customer-center/system-notice-1.png"
12
- alt=""
13
- />系统公告
4
+ <img class="notice-popup-hd-icon" src="https://cdn.ddjf.com/static/images/customer-center/system-notice-1.png"
5
+ alt="" />系统公告
14
6
  </div>
15
7
  <div class="notice-popup-bd">
16
8
  <div style="white-space: pre-wrap">{{ message.context.replace('【系统公告】 ', '') }}</div>
17
- <div
18
- v-if="message.jumpUrl || message.link"
19
- class="notice-popup-bd-link"
20
- @click="toViewAttachment"
21
- >
9
+ <div v-if="message.jumpUrl || message.link" class="notice-popup-bd-link" @click="toViewAttachment">
22
10
  点击查看附件
23
11
  </div>
24
12
  </div>
@@ -43,7 +31,7 @@ const props = withDefaults(
43
31
 
44
32
  const showPopup = ref(true)
45
33
 
46
- onMounted(() => {})
34
+ onMounted(() => { })
47
35
 
48
36
  // 关闭
49
37
  function onCancel() {
@@ -86,6 +74,7 @@ const emits = defineEmits(['close', 'view'])
86
74
  padding: 20px 15px;
87
75
  border-radius: 10px !important;
88
76
  background: linear-gradient(136.72deg, #d0fdfe 6.02%, #a2b9ff 59.97%, #6593ff 108.78%);
77
+
89
78
  &::after {
90
79
  content: '';
91
80
  position: absolute;
@@ -97,6 +86,7 @@ const emits = defineEmits(['close', 'view'])
97
86
  z-index: 1;
98
87
  border-radius: 10px;
99
88
  }
89
+
100
90
  &::before {
101
91
  content: '';
102
92
  width: 236px;
@@ -119,13 +109,17 @@ const emits = defineEmits(['close', 'view'])
119
109
  align-items: center;
120
110
  margin-bottom: 20px;
121
111
  font-weight: 600;
112
+
122
113
  &-icon {
123
114
  width: 20px;
124
115
  height: 20px;
125
116
  margin-right: 4px;
126
117
  }
127
118
  }
119
+
128
120
  &-bd {
121
+ position: relative;
122
+ z-index: 10;
129
123
  color: #353535;
130
124
  box-shadow: 0px 2px 8px 0px #ffffff33 inset, 0px 1px 1px 0px #ffffff80 inset,
131
125
  0px 0px 1px 0px #ffffffb2;
@@ -136,16 +130,21 @@ const emits = defineEmits(['close', 'view'])
136
130
  padding: 15px 10px;
137
131
  box-sizing: border-box;
138
132
  font-size: 10px;
133
+
139
134
  &-link {
140
135
  color: #007fff;
141
136
  margin-top: 2px;
142
137
  font-weight: 600;
143
138
  }
144
139
  }
140
+
145
141
  &-ft {
142
+ position: relative;
143
+ z-index: 10;
146
144
  display: flex;
147
145
  align-items: center;
148
146
  justify-content: center;
147
+
149
148
  &-btn {
150
149
  background: #007fff;
151
150
  color: #fff;