|
@@ -1,8 +1,18 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<Window>
|
|
<Window>
|
|
|
<!-- 样式① 图上文下 148x172:图满宽铺顶紧贴边框,顶层透明描边框把描边画回图片上;文字区 72 高(名字 2 行 40 + 价格贴底) -->
|
|
<!-- 样式① 图上文下 148x172:图满宽铺顶紧贴边框,顶层透明描边框把描边画回图片上;文字区 72 高(名字 2 行 40 + 价格贴底) -->
|
|
|
- <DiandanFoodItem name="diandan_fooditem" width="148" height="172" bkcolor="#00000000" bordersize="0" bkimage="file='fc_r10.png' corner='10,10,10,10'">
|
|
|
|
|
- <Control name="image" width="148" height="96" bkimage="file='fc_img_ph.png'" mouse="false"></Control>
|
|
|
|
|
|
|
+ <DiandanFoodItem name="diandan_fooditem" width="148" height="172" bkcolor="#00000000" bordersize="0" inset="0,-6,0,0" bkimage="file='fc_r10.png' corner='10,10,10,10'">
|
|
|
|
|
+ <!-- 【R52 修「照片顶边黑线」+「顶部不要留边距」】
|
|
|
|
|
+ 根因:下载的源图(!max200)约 1/4 顶部自带 2~3px 黑底(黑底食品照),满宽铺顶后
|
|
|
|
|
+ 在 frame 描边下露出一条黑线。旧 R49 用白色浮层盖它 ⇒ 顶上多出 3px 白边距(用户不接受)。
|
|
|
|
|
+ 改法:裁掉黑顶,而不是盖住 ——
|
|
|
|
|
+ ① 卡片 inset 上边距取 -6:竖向流从 y=-6 开始排;
|
|
|
|
|
+ ② 照片高 96→102:正好占 y=-6..96,其 y<0 的 6px 顶部被卡片裁剪区剪掉
|
|
|
|
|
+ ⇒ 可见区从源图约 6% 处开始,顶边黑底被裁除,照片顶边紧贴边框、无白边距;
|
|
|
|
|
+ ③ 圆角仍由 fc_topmask.png(页面底色 245,247,250)遮出自然过渡,角上不再有黑线;
|
|
|
|
|
+ ④ 文字区因 102-6=96,位置与旧版完全一致。
|
|
|
|
|
+ —— 纯皮肤层修复,不改几何、不需重编 DLL。 -->
|
|
|
|
|
+ <Control name="image" width="148" height="102" bkimage="file='fc_img_ph.png'" mouse="false"></Control>
|
|
|
<Control bkimage="file='fc_topmask.png'" width="148" height="172" float="true" pos="0,0,148,172" mouse="false"/>
|
|
<Control bkimage="file='fc_topmask.png'" width="148" height="172" float="true" pos="0,0,148,172" mouse="false"/>
|
|
|
<Control name="diandan_fooditem_frame" bkimage="file='fc_r10_frame.png' corner='10,10,10,10'" width="148" height="172" float="true" pos="0,0,148,172" mouse="false"/>
|
|
<Control name="diandan_fooditem_frame" bkimage="file='fc_r10_frame.png' corner='10,10,10,10'" width="148" height="172" float="true" pos="0,0,148,172" mouse="false"/>
|
|
|
|
|
|