Web 实验三 DIV+CSS 布局 · 网页入口与实测结果

本页由 LabFlow 从本次运行的规划与浏览器证据生成,供单独查看两个实验网页和逐项实测值;Word 报告只保留可点击的网页入口与运行截图。

Word 报告:report/report.docx(报告内两项任务的网页入口在本页所在交付包解压后有效)

任务编号:524595b9c69e47c7b2718c32832614fd

任务 1 制作播放器图标

网页入口:project/task1.html (浏览器:158.0.8127.37,检查 12/12 通过)

任务1运行截图

#检查项动作预期实测结果
1所有引用图片解码成功measure所有引用图片解码成功[]通过
2[R3] 请结合所学知识,运用CSS盒子模型的相关属性、背景属性以及渐变属性制作一个播放器图标,效果如图1所示visible[R3] 请结合所学知识,运用CSS盒子模型的相关属性、背景属性以及渐变属性制作一个播放器图标,效果如图1所示True通过
3[R12] ▶text▶["▶"]通过
4[R13] 整幅页面背景为紫红色渐变,中心偏亮、四周偏暗,形成柔和暗角。style{"background-color": "rgb(120, 20, 80)"}[{"background-color": "rgb(120, 20, 80)"}]通过
5[R14] 页面中央放置一个带圆角的大号紫红色底板,底板下方有深色投影。style{"background-color": "rgb(150, 30, 100)"}[{"background-color": "rgb(150, 30, 100)"}]通过
6[R15] 紫红色底板内部居中嵌套一层深色圆角屏幕框,屏幕框内部为橙粉色渐变画面。style{"background-color": "rgb(40, 20, 30)"}[{"background-color": "rgb(40, 20, 30)"}]通过
7R15style{"background-color": "rgb(255, 160, 120)"}[{"background-color": "rgb(255, 160, 120)"}]通过
8[R16] 橙粉色画面中央放置一个白色圆形按钮,圆形按钮内为深色三角形播放符号。style{"background-color": "rgb(255, 255, 255)"}[{"background-color": "rgb(255, 255, 255)"}]通过
9[R17] 播放符号为深色三角形,位于白色圆形按钮中央,尖端朝右。style{"color": "rgb(40, 20, 30)"}[{"color": "rgb(40, 20, 30)"}]通过
10[R18] 白色圆形按钮位于橙粉色渐变画面正中央。style{"text-align": "center"}[{"text-align": "center"}]通过
11[R19] 深色屏幕框为圆角矩形,包裹橙粉色渐变画面。style{"background-color": "rgb(40, 20, 30)"}[{"background-color": "rgb(40, 20, 30)"}]通过
12[R20] 外层紫红色底板为圆角矩形,颜色较深,底部有投影。style{"background-color": "rgb(150, 30, 100)"}[{"background-color": "rgb(150, 30, 100)"}]通过

任务 2 制作团购页面

网页入口:project/task2.html (浏览器:158.0.8127.37,检查 25/25 通过)

任务2运行截图

#检查项动作预期实测结果
1所有引用图片解码成功measure所有引用图片解码成功[{"src": "assets/new.gif", "width": 35, "height": 21, "displayWidth": 35, "displayHeight": 21}, {"src": "assets/pic.jpg", "width": 296, "height": 180, "displayWidth": 390, "displayHeight": 237}, {"src": "assets/btn.jpg", "width": 87, "height": 35, "displayWidth": 87, "displayHeight": 35}]通过
2图片按素材原比例显示measure图片按素材原比例显示[{"src": "assets/new.gif", "width": 35, "height": 21, "displayWidth": 35, "displayHeight": 21}, {"src": "assets/pic.jpg", "width": 296, "height": 180, "displayWidth": 390, "displayHeight": 237}, {"src": "assets/btn.jpg", "width": 87, "height": 35, "displayWidth": 87, "displayHeight": 35}]通过
3[R5] 请结合给出的素材,运用浮动和定位制作一个团购页面,效果如图2所示visible[R5] 请结合给出的素材,运用浮动和定位制作一个团购页面,效果如图2所示True通过
4[R25] 团购网text团购网["团购网"]通过
5[R26] NEWvisible[R26] NEWTrue通过
6[R31] 【69店通用】过桥米线代金券1张,无需预约,全场通用text【69店通用】过桥米线代金券1张,无需预约,全场通用["【69店通用】过桥米线代金券1张,无需预约,全场通用"]通过
7[R32] ¥ 19.9text¥ 19.9["¥ 19.9"]通过
8[R33] 原价:¥39 | 6.6折text原价:¥39 | 6.6折["原价:¥39 | 6.6折"]通过
9[R34] 去抢购visible[R34] 去抢购True通过
10[R35] 页面整体为白底浅灰细边框的竖向卡片,卡片内自上而下排列:顶部左侧“团购网”标题与右侧 NEW 角标并排,其下为商品大图,图片下方为商品标题与描述,最底部左侧为价格信息、右侧为“去抢购”按钮。above.item-pic{"above": {"x": 335, "y": 43, "width": 390, "height": 26}, "below": [{"x": 335, "y": 79, "width": 390, "height": 237.15625, "top": 79, "right": 725, "bottom": 316.15625, "left": 335}]}通过
11R35above.item-title{"above": {"x": 335, "y": 79, "width": 390, "height": 237.15625}, "below": [{"x": 335, "y": 326.15625, "width": 390, "height": 22, "top": 326.15625, "right": 725, "bottom": 348.15625, "left": 335}]}通过
12R35above.card-footer{"above": {"x": 335, "y": 326.15625, "width": 390, "height": 22}, "below": [{"x": 335, "y": 360.15625, "width": 390, "height": 50, "top": 360.15625, "right": 725, "bottom": 410.15625, "left": 335}]}通过
13[R36] 商品大图使用 assets/pic.jpg,铺满卡片内容宽度并位于标题与描述上方。style{"display": "block"}[{"display": "block"}]通过
14[R37] NEW 角标使用 assets/new.gif,位于“团购网”标题右侧、商品大图上方。left_of.new-tag{"left": {"x": 335, "y": 43, "width": 66, "height": 26}, "right": [{"x": 690, "y": 46, "width": 35, "height": 21, "top": 46, "right": 725, "bottom": 67, "left": 690}]}通过
15[R38] “去抢购”按钮使用 assets/btn.jpg,位于价格信息右侧、卡片底部,与左侧价格行水平并排。left_of.buy-btn{"left": {"x": 335, "y": 371.15625, "width": 188.453125, "height": 39}, "right": [{"x": 638, "y": 373.15625, "width": 87, "height": 35, "top": 373.15625, "right": 725, "bottom": 408.15625, "left": 638}]}通过
16[R39] “团购网”为深蓝色文字,位于卡片左上角。style{"color": "rgb(0, 51, 153)"}[{"color": "rgb(0, 51, 153)"}]通过
17[R41] 商品标题中“【69店通用】”为深蓝色加粗文字,其余标题文字为黑色。style{"color": "rgb(0, 51, 153)", "font-weight": "700"}[{"color": "rgb(0, 51, 153)", "font-weight": "700"}]通过
18[R42] 价格“¥ 19.9”为橙色大号文字,突出显示。style{"color": "rgb(255, 102, 0)"}[{"color": "rgb(255, 102, 0)"}]通过
19[R43] “原价:¥39 | 6.6折”为黑色小号文字,位于现价右侧。style{"color": "rgb(0, 0, 0)"}[{"color": "rgb(0, 0, 0)"}]通过
20[R44] “去抢购”按钮为橙色圆角矩形底、白色文字,位于卡片右下角。visible[R44] “去抢购”按钮为橙色圆角矩形底、白色文字,位于卡片右下角。True通过
21[R27] 1text1["团购网\n\n【69店通用】过桥米线代金券1张,无需预约,全场通用\n\n¥ 19.9 原价:¥39 | 6.6折\n1 2 3 4"]通过
22[R28] 2text2["团购网\n\n【69店通用】过桥米线代金券1张,无需预约,全场通用\n\n¥ 19.9 原价:¥39 | 6.6折\n1 2 3 4"]通过
23[R29] 3text3["团购网\n\n【69店通用】过桥米线代金券1张,无需预约,全场通用\n\n¥ 19.9 原价:¥39 | 6.6折\n1 2 3 4"]通过
24[R30] 4text4["团购网\n\n【69店通用】过桥米线代金券1张,无需预约,全场通用\n\n¥ 19.9 原价:¥39 | 6.6折\n1 2 3 4"]通过
25[R40] NEW 角标为绿色底、白色文字,位于“团购网”右侧。visible[R40] NEW 角标为绿色底、白色文字,位于“团购网”右侧。True通过

线下验收(待教师现场确认)

本页数据来自交付包 evidence/tests.json 与 evidence/plan.json。