maooo-skyline-ui-system 0.1.28 → 0.1.29
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/miniprogram_dist/ai-design-system/component-registry.json +2 -1
- package/miniprogram_dist/ai-design-system/component-schemas/popup-page.schema.json +12 -1
- package/miniprogram_dist/ai-design-system/manifest.json +8 -8
- package/miniprogram_dist/ai-design-system/references/figma-foundations-2026-11-05.md +33 -0
- package/miniprogram_dist/ai-design-system/tokens.json +17 -3
- package/miniprogram_dist/index.js +1 -1
- package/miniprogram_dist/popup-page/popup-page.js +5 -0
- package/miniprogram_dist/popup-page/popup-page.wxml +4 -1
- package/miniprogram_dist/popup-page/popup-page.wxss +21 -0
- package/miniprogram_dist/theme/theme.wxss +14 -0
- package/package.json +1 -1
|
@@ -379,7 +379,8 @@
|
|
|
379
379
|
"Footer confirm and cancel actions",
|
|
380
380
|
"Drag down close request",
|
|
381
381
|
"Z-index control",
|
|
382
|
-
"Centered single-line title with a close button (design 506:2954), via titleAlign=center + closable"
|
|
382
|
+
"Centered single-line title with a close button (design 506:2954), via titleAlign=center + closable",
|
|
383
|
+
"Centered double-line H166 header with subtitle named slot (design665:3731), preserving default single-line behavior"
|
|
383
384
|
],
|
|
384
385
|
"composes": [
|
|
385
386
|
"mo-popup",
|
|
@@ -14,6 +14,16 @@
|
|
|
14
14
|
"default": "",
|
|
15
15
|
"description": "顶部标题"
|
|
16
16
|
},
|
|
17
|
+
{
|
|
18
|
+
"name": "headerVariant",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"default": "default",
|
|
21
|
+
"enum": [
|
|
22
|
+
"default",
|
|
23
|
+
"center-double"
|
|
24
|
+
],
|
|
25
|
+
"description": "default 保持现有标题对齐与H120居中单行;center-double 对应原稿H166居中双行,使用subtitle命名插槽(搭配showHandle=false),不内置业务评分"
|
|
26
|
+
},
|
|
17
27
|
{
|
|
18
28
|
"name": "zIndex",
|
|
19
29
|
"type": "number",
|
|
@@ -121,7 +131,8 @@
|
|
|
121
131
|
"onCancel"
|
|
122
132
|
],
|
|
123
133
|
"slots": [
|
|
124
|
-
"default"
|
|
134
|
+
"default",
|
|
135
|
+
"subtitle"
|
|
125
136
|
],
|
|
126
137
|
"tokens": [
|
|
127
138
|
"color.text.primary",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": {
|
|
3
3
|
"name": "maooo-skyline-ui-system",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.29"
|
|
5
5
|
},
|
|
6
|
-
"snapshotVersion": "0.1.
|
|
7
|
-
"generatedAt": "2026-11-
|
|
6
|
+
"snapshotVersion": "0.1.29",
|
|
7
|
+
"generatedAt": "2026-11-05T06:46:26.497Z",
|
|
8
8
|
"description": "Read-only design spec snapshot for AI page generation in business projects. Source of truth is design-system/ and packages/ui/.",
|
|
9
9
|
"readOrder": [
|
|
10
10
|
"DESIGN.md",
|
|
@@ -112,15 +112,15 @@
|
|
|
112
112
|
"tokens.json"
|
|
113
113
|
],
|
|
114
114
|
"sourceHashes": {
|
|
115
|
-
"design-system/tokens/source/border-width.json": "sha256:
|
|
116
|
-
"design-system/tokens/source/color.json": "sha256:
|
|
115
|
+
"design-system/tokens/source/border-width.json": "sha256:578d218963dc25bd52364a620f74992c357d7dabd7b96a3db73578bf08024275",
|
|
116
|
+
"design-system/tokens/source/color.json": "sha256:e662f43edb6c6619a3d74cc06b47c00edc97020b498de3ec0424dee68baa2947",
|
|
117
117
|
"design-system/tokens/source/radius.json": "sha256:bfd50ac1fdf091ad94a00f201712cce42e889797270fb0be87ee6cb075c2ff5c",
|
|
118
118
|
"design-system/tokens/source/shadow.json": "sha256:025bdabeb6b3e04c4174792506832f686f0662b12740dd3b5612846a4e063362",
|
|
119
|
-
"design-system/tokens/source/spacing.json": "sha256:
|
|
119
|
+
"design-system/tokens/source/spacing.json": "sha256:7ee3492fe060061716d8d5a4391d22963c59b813e2fe5733768076635ef7ff19",
|
|
120
120
|
"design-system/tokens/source/typography.json": "sha256:9c0a378cee112543faed4cc2a88b41da117bab9317372a37b604203521bdc2a9",
|
|
121
121
|
"design-system/references/figma-user-client-visual-evidence.md": "sha256:2efa1c69fc6097d7eda863fe41b67ada604af2de5b7abfad6133a99f4dff134a",
|
|
122
|
-
"design-system/references/figma-foundations-2026-11-05.md": "sha256:
|
|
122
|
+
"design-system/references/figma-foundations-2026-11-05.md": "sha256:b38944968bd0d31b58b5d3dd5d9e7890423db342c1a3c71862ee53536ff69bff",
|
|
123
123
|
"design-system/DESIGN.md": "sha256:3b903c674e54fdd762a42fa1e2a4b681aec42ad12cff3f1256dacdf113fde3af",
|
|
124
|
-
"packages/ui/component-registry.json": "sha256:
|
|
124
|
+
"packages/ui/component-registry.json": "sha256:fe9faaca089af104353294aa367b018499c08ece3b73010160f683051315b924"
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -157,3 +157,36 @@ Corrections using existing values: mine order first-item inset40, not42; menu ga
|
|
|
157
157
|
Colors: city divider665:4246 #D9D9D9,2×16, paint/node opacity1 -> color.border.cityDivider. Message divider691:141/144 and others stroke#F5F3F1 opacity1 -> color.border.messageDivider.
|
|
158
158
|
|
|
159
159
|
Typography.size.statValue48=48rpx: direct clock1575:5081/5092/5070 font48/AUTO/MiSans Demibold; walk568:1279/1284/1286/1287 font48/AUTO/MiSans Semibold. Preserve actual font styles where text is rendered; original baked clock PNG does not require remapping its font. No48 line-height is inferred. Typography.letterSpacing.numberTight=-0.05em: ranking404:548/551/552 font26 and404:480/488 font32 all directly report letterSpacing PERCENT−5 with MiSans Semibold/AUTO. This is true relative tracking, not a spacing or geometric alias.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## Consolidated follow-up after0.1.28
|
|
163
|
+
|
|
164
|
+
spacing.scale.3=3rpx: 665:3744, 665:3747, 665:3750, 665:3753, 665:3756. 20px star boxes absolute x2052/2075/2098/2121/2144; gap3; list18px stars step22 -> existing4.
|
|
165
|
+
|
|
166
|
+
spacing.scale.5=5rpx: 2307:2748, 2307:2747, 2307:2744, 2307:2743. 44px icon y2915 ends2959 -> font22 AUTO label y2964/h31; gap5.
|
|
167
|
+
|
|
168
|
+
spacing.scale.45=45rpx: 866:1377, 866:1397, 866:1398, 866:1399, 866:1400, 866:1401. font28 PIXELS48; y2421/2514/2607/2700/2793/2886 -> pitch93 -48=45.
|
|
169
|
+
|
|
170
|
+
borderWidth.avatarOverlap=2rpx: 827:1685, 827:1686. 72x72 Vector, strokeWeight2 INSIDE, white solid opacity1; old border4 rejected.
|
|
171
|
+
|
|
172
|
+
spacing.scale.27=27rpx: 1575:5071, 1575:5082, 1575:5060. Direct FRAME autolayout paddingBottom27; paddingTop36; first twoX44, finalX20.
|
|
173
|
+
|
|
174
|
+
spacing.scale.204=204rpx: 2235:2399, 2235:2444. Login navigation y0h176 ends176; rawlogo y380 ->gap204; rendered glyph has internal raw padding, do not confuse painty389.
|
|
175
|
+
|
|
176
|
+
spacing.scale.239=239rpx: 2235:2397, 2245:2531. Loginframeh1624, termsy1341h44 ends1385 ->239; account actual safe area separately, no duplicated240.
|
|
177
|
+
|
|
178
|
+
color.border.scheduleDivider=#D8D8D8: 827:1690. Original SVG b7a1e.svg path2x12 fill#D8D8D8; local original artifact174/order-schedule-divider.svg verified.
|
|
179
|
+
|
|
180
|
+
spacing.scale.2=2rpx: 2260:2631, 2260:2632. number relativex158width72 right230 -> unitrelativex232 =gap2; independent direct boxes.
|
|
181
|
+
|
|
182
|
+
spacing.scale.25=25rpx: 1704:2267, 1704:2321. cardtop6616 -> namegroup6641 =25 actual inner top.
|
|
183
|
+
|
|
184
|
+
spacing.scale.35=35rpx: 1704:2267, 1704:2342, 665:3731, I665:3731;563:4967. profile avatar6581 above card6616 by35; doubleheader title10634 minus headertop10599=35.
|
|
185
|
+
|
|
186
|
+
spacing.scale.37=37rpx: 1704:2265, 1704:2267. hero6331+322=6653 -> card6616, actual overlap37; oldcard280 rejected.
|
|
187
|
+
|
|
188
|
+
spacing.scale.120=120rpx: 985:214, 985:245. Direct absolute navigation y-17 height177 ends160; hero y280 →120. Relative root y-17: nav end177, hero297. This is hero top spacing, not the flexible gap between title and tips..
|
|
189
|
+
|
|
190
|
+
popup-page adds headerVariant=center-double and a subtitle named slot. Original header665:3731 has166 height, title top35 and AUTO36 text, title-to-subtitle gap12. Default120 header and controlled events remain unchanged. Registry, schema, README, formal demo and compatibility tests are updated. Real Skyline3.16.1 native clicks verified double title, five-star subtitle, default body slot and X close, then the default header. Evidence: docs/runtime/2026-11-05/popup-double-evidence.json.
|
|
191
|
+
|
|
192
|
+
Spacing.scale42=42rpx: order detail827:1723 avatar absolute y810/h60 ends870;827:1683 first service group and827:1698 title start912; actual gap42, independent of list1374 padding24+18.
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"borderWidth": {
|
|
3
3
|
"hairline": "1rpx",
|
|
4
4
|
"selection": "4rpx",
|
|
5
|
-
"avatarSelection": "3rpx"
|
|
5
|
+
"avatarSelection": "3rpx",
|
|
6
|
+
"avatarOverlap": "2rpx"
|
|
6
7
|
},
|
|
7
8
|
"color": {
|
|
8
9
|
"brand": {
|
|
@@ -84,7 +85,8 @@
|
|
|
84
85
|
"subtle": "#F0F0F0",
|
|
85
86
|
"locationDivider": "rgba(0, 0, 0, 0.1)",
|
|
86
87
|
"cityDivider": "#D9D9D9",
|
|
87
|
-
"messageDivider": "#F5F3F1"
|
|
88
|
+
"messageDivider": "#F5F3F1",
|
|
89
|
+
"scheduleDivider": "#D8D8D8"
|
|
88
90
|
},
|
|
89
91
|
"status": {
|
|
90
92
|
"success": "#11BF59",
|
|
@@ -161,6 +163,9 @@
|
|
|
161
163
|
"pageStart": "100rpx",
|
|
162
164
|
"panelInset": "54rpx",
|
|
163
165
|
"scale": {
|
|
166
|
+
"2": "2rpx",
|
|
167
|
+
"3": "3rpx",
|
|
168
|
+
"5": "5rpx",
|
|
164
169
|
"6": "6rpx",
|
|
165
170
|
"10": "10rpx",
|
|
166
171
|
"11": "11rpx",
|
|
@@ -172,14 +177,20 @@
|
|
|
172
177
|
"21": "21rpx",
|
|
173
178
|
"22": "22rpx",
|
|
174
179
|
"23": "23rpx",
|
|
180
|
+
"25": "25rpx",
|
|
175
181
|
"26": "26rpx",
|
|
182
|
+
"27": "27rpx",
|
|
176
183
|
"30": "30rpx",
|
|
177
184
|
"31": "31rpx",
|
|
178
185
|
"34": "34rpx",
|
|
186
|
+
"35": "35rpx",
|
|
179
187
|
"36": "36rpx",
|
|
188
|
+
"37": "37rpx",
|
|
180
189
|
"39": "39rpx",
|
|
181
190
|
"40": "40rpx",
|
|
191
|
+
"42": "42rpx",
|
|
182
192
|
"44": "44rpx",
|
|
193
|
+
"45": "45rpx",
|
|
183
194
|
"47": "47rpx",
|
|
184
195
|
"50": "50rpx",
|
|
185
196
|
"54": "54rpx",
|
|
@@ -191,7 +202,10 @@
|
|
|
191
202
|
"92": "92rpx",
|
|
192
203
|
"100": "100rpx",
|
|
193
204
|
"101": "101rpx",
|
|
194
|
-
"
|
|
205
|
+
"120": "120rpx",
|
|
206
|
+
"125": "125rpx",
|
|
207
|
+
"204": "204rpx",
|
|
208
|
+
"239": "239rpx"
|
|
195
209
|
}
|
|
196
210
|
},
|
|
197
211
|
"typography": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
version: "0.1.
|
|
2
|
+
version: "0.1.29",
|
|
3
3
|
components: ["button","calendar","card","countdown","form","form-group","form-input","form-textarea","icon","image-cropper","input","media-upload","navbar","notify","oss-upload","photo-slot","popup","popup-page","progress","rate","stepper","switch","tab","tabs","textarea","toast","upload"]
|
|
4
4
|
};
|
|
@@ -21,6 +21,7 @@ function getWindowHeight() {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
Component({
|
|
24
|
+
options: { multipleSlots: true },
|
|
24
25
|
properties: {
|
|
25
26
|
show: {
|
|
26
27
|
type: Boolean,
|
|
@@ -30,6 +31,10 @@ Component({
|
|
|
30
31
|
type: String,
|
|
31
32
|
value: ""
|
|
32
33
|
},
|
|
34
|
+
headerVariant: {
|
|
35
|
+
type: String,
|
|
36
|
+
value: "default"
|
|
37
|
+
},
|
|
33
38
|
zIndex: {
|
|
34
39
|
type: Number,
|
|
35
40
|
value: 999
|
|
@@ -16,9 +16,12 @@
|
|
|
16
16
|
|
|
17
17
|
<view
|
|
18
18
|
wx:if="{{title}}"
|
|
19
|
-
class="mo-popup-page__header mo-popup-page__header--{{titleAlign}}"
|
|
19
|
+
class="mo-popup-page__header mo-popup-page__header--{{headerVariant === 'center-double' ? 'center' : titleAlign}} {{headerVariant === 'center-double' ? 'is-double' : ''}}"
|
|
20
20
|
>
|
|
21
21
|
<text class="mo-popup-page__title">{{title}}</text>
|
|
22
|
+
<view wx:if="{{headerVariant === 'center-double'}}" class="mo-popup-page__subtitle">
|
|
23
|
+
<slot name="subtitle"></slot>
|
|
24
|
+
</view>
|
|
22
25
|
<!--
|
|
23
26
|
关闭按钮。设计「浮层标题-居中-单行 H120」(506:2954)里点击区域为 48rpx,
|
|
24
27
|
可见 ✕ 约 25rpx、色值 #999999(506:2947)。当前 close 字形接近铺满画布,
|
|
@@ -129,3 +129,24 @@
|
|
|
129
129
|
align-items: center;
|
|
130
130
|
justify-content: center;
|
|
131
131
|
}
|
|
132
|
+
|
|
133
|
+
/* Figma665:3731 H166: title top35, AUTO36; subtitle gap12. */
|
|
134
|
+
.mo-popup-page__header--center.is-double {
|
|
135
|
+
height: 166rpx;
|
|
136
|
+
flex-direction: column;
|
|
137
|
+
justify-content: flex-start;
|
|
138
|
+
padding-top: var(--mo-spacing-scale-35, 35rpx);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.mo-popup-page__header--center.is-double .mo-popup-page__title {
|
|
142
|
+
flex: none;
|
|
143
|
+
line-height: normal;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mo-popup-page__subtitle {
|
|
147
|
+
flex: none;
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
margin-top: var(--mo-spacing-3, 12rpx);
|
|
152
|
+
}
|
|
@@ -4,6 +4,7 @@ page,
|
|
|
4
4
|
--mo-border-width-hairline: 1rpx;
|
|
5
5
|
--mo-border-width-selection: 4rpx;
|
|
6
6
|
--mo-border-width-avatar-selection: 3rpx;
|
|
7
|
+
--mo-border-width-avatar-overlap: 2rpx;
|
|
7
8
|
--mo-color-brand-primary: #FECBE7;
|
|
8
9
|
--mo-color-brand-primary-active: #FF7688;
|
|
9
10
|
--mo-color-brand-primary-subtle: #FFC2C2;
|
|
@@ -63,6 +64,7 @@ page,
|
|
|
63
64
|
--mo-color-border-location-divider: rgba(0, 0, 0, 0.1);
|
|
64
65
|
--mo-color-border-city-divider: #D9D9D9;
|
|
65
66
|
--mo-color-border-message-divider: #F5F3F1;
|
|
67
|
+
--mo-color-border-schedule-divider: #D8D8D8;
|
|
66
68
|
--mo-color-status-success: #11BF59;
|
|
67
69
|
--mo-color-status-warning: #FC9517;
|
|
68
70
|
--mo-color-status-danger: #FA5051;
|
|
@@ -119,6 +121,9 @@ page,
|
|
|
119
121
|
--mo-spacing-section-gap-lg: 60rpx;
|
|
120
122
|
--mo-spacing-page-start: 100rpx;
|
|
121
123
|
--mo-spacing-panel-inset: 54rpx;
|
|
124
|
+
--mo-spacing-scale-2: 2rpx;
|
|
125
|
+
--mo-spacing-scale-3: 3rpx;
|
|
126
|
+
--mo-spacing-scale-5: 5rpx;
|
|
122
127
|
--mo-spacing-scale-6: 6rpx;
|
|
123
128
|
--mo-spacing-scale-10: 10rpx;
|
|
124
129
|
--mo-spacing-scale-11: 11rpx;
|
|
@@ -130,14 +135,20 @@ page,
|
|
|
130
135
|
--mo-spacing-scale-21: 21rpx;
|
|
131
136
|
--mo-spacing-scale-22: 22rpx;
|
|
132
137
|
--mo-spacing-scale-23: 23rpx;
|
|
138
|
+
--mo-spacing-scale-25: 25rpx;
|
|
133
139
|
--mo-spacing-scale-26: 26rpx;
|
|
140
|
+
--mo-spacing-scale-27: 27rpx;
|
|
134
141
|
--mo-spacing-scale-30: 30rpx;
|
|
135
142
|
--mo-spacing-scale-31: 31rpx;
|
|
136
143
|
--mo-spacing-scale-34: 34rpx;
|
|
144
|
+
--mo-spacing-scale-35: 35rpx;
|
|
137
145
|
--mo-spacing-scale-36: 36rpx;
|
|
146
|
+
--mo-spacing-scale-37: 37rpx;
|
|
138
147
|
--mo-spacing-scale-39: 39rpx;
|
|
139
148
|
--mo-spacing-scale-40: 40rpx;
|
|
149
|
+
--mo-spacing-scale-42: 42rpx;
|
|
140
150
|
--mo-spacing-scale-44: 44rpx;
|
|
151
|
+
--mo-spacing-scale-45: 45rpx;
|
|
141
152
|
--mo-spacing-scale-47: 47rpx;
|
|
142
153
|
--mo-spacing-scale-50: 50rpx;
|
|
143
154
|
--mo-spacing-scale-54: 54rpx;
|
|
@@ -149,7 +160,10 @@ page,
|
|
|
149
160
|
--mo-spacing-scale-92: 92rpx;
|
|
150
161
|
--mo-spacing-scale-100: 100rpx;
|
|
151
162
|
--mo-spacing-scale-101: 101rpx;
|
|
163
|
+
--mo-spacing-scale-120: 120rpx;
|
|
152
164
|
--mo-spacing-scale-125: 125rpx;
|
|
165
|
+
--mo-spacing-scale-204: 204rpx;
|
|
166
|
+
--mo-spacing-scale-239: 239rpx;
|
|
153
167
|
--mo-font-size-headline-lg: 42rpx;
|
|
154
168
|
--mo-font-size-title-1: 38rpx;
|
|
155
169
|
--mo-font-size-title-2: 36rpx;
|
package/package.json
CHANGED