实验十 智能手机互联网程序设计(微信程序方向)实验报告

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| * 实验目的和要求 |
| * 完成以下页面设计。 |
| 二、实验步骤与结果(给出对应的代码或运行结果截图) Wxml <view class="container"> <view class="header"> <view class="logo">标志</view> <view class="nav"> <view>首页</view> <view>产品</view> <view>关于我们</view> </view> </view> <view class="feature">特色内容</view> <view class="main"> <view class="content"> <view class="section">内容部分 1</view> <view class="section">内容部分 2</view> <view class="section">内容部分 3</view> </view> <view class="sidebar">侧边栏链接</view> </view> <view class="footer"> <view class="footer-section"> <view>联系电话</view> <view>电话:123-456-7890</view> </view> <view class="footer-section"> <view>快速链接</view> <view>常见问题</view> <view>支持服务</view> </view> <view class="footer-section"> <view>版权信息</view> <view>2024 公司名</view> </view> </view> </view> Wxss .container{ display: flex; flex-direction: column; height: 100vh; } .header{ display: flex; height: 60rpx; background-color: rgb(85, 84, 84); color: white; justify-content: center; padding: 0 20rpx; } .nav{ flex-grow: 2; display: flex; justify-content: space-around; } .feature{ height: 100rpx; background-color: rgb(123, 194, 212); display: flex; justify-content: center; align-items: center; color: white; } .main{ flex-grow: 1; flex-basis: 0; display: flex; } .content{ flex-grow: 3; flex-basis: 0; display: flex; flex-direction: column; padding: 10rpx; } .section{ flex-grow: 1; margin: 10rpx; background-color: rgb(153, 212, 230); display: flex; justify-content: center; align-items: center; } .sidebar{ flex-grow: 1; flex-basis: 0; background-color: rgb(149, 215, 235); display: flex; flex-direction: column; align-items: center; justify-content: center; } .footer{ height: 200rpx; display: flex; background-color: rgb(85, 84, 84); color: white; justify-content: center; } .footer-section{ display: flex; flex-direction: column; align-items: center; } |
| 三、问题总结与体会 |
| 思路 |

相关推荐
刘发财18 分钟前
弃用html2pdf.js,这个html转pdf方案能力是它的几十倍
前端·javascript·github
牛奶3 小时前
2026年大模型怎么选?前端人实用对比
前端·人工智能·ai编程
牛奶3 小时前
前端人为什么要学AI?
前端·人工智能·ai编程
Kagol5 小时前
🎉OpenTiny NEXT-SDK 重磅发布:四步把你的前端应用变成智能应用!
前端·开源·agent
GIS之路6 小时前
ArcGIS Pro 中的 notebook 初识
前端
JavaGuide7 小时前
7 道 RAG 基础概念知识点/面试题总结
前端·后端
ssshooter7 小时前
看完就懂 useSyncExternalStore
前端·javascript·react.js
格砸8 小时前
从入门到辞职|从ChatGPT到OpenClaw,跟上智能时代的进化
前端·人工智能·后端
Live000008 小时前
在鸿蒙中使用 Repeat 渲染嵌套列表,修改内层列表的一个元素,页面不会更新
前端·javascript·react native
柳杉8 小时前
使用Ai从零开发智慧水利态势感知大屏(开源)
前端·javascript·数据可视化