vue3实现移动端拨号打电话视频通话app的ui原型图代码
代码语言:html
所属分类:布局界面
代码描述:vue3实现移动端拨号打电话视频通话app的ui原型图代码
代码标签: vue 移动端 拨号 打电话 视频 通话 app ui 原型图 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue3.2.22.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.5.5.0.js"></script> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; color: #333; } .app-container { max-width: 400px; margin: 0 auto; min-height: 100vh; background: #fff; position: relative; box-shadow: 0 0 30px rgba(0,0,0,0.3); } .header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; text-align: center; position: relative; } .header h1 { font-size: 20px; font-weight: 600; } .back-btn { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); background: none; border: none; color: white; cursor: pointer; padding: 5px; } .content { padding: 20px; min-height: calc(100vh - 140px); padding-bottom: 100px; } .bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 400px; background: white; border-top: 1px solid #e0e0e0; display: flex; box-shadow: 0 -5px 15px rgba(0,0,0,0.1); } .nav-item { flex: 1; padding: 15px; text-align: center; cursor: pointer; transition: all 0.3s; border: none; background: none; } .nav-item.active { color: #667eea; background: #f8f9ff; } .nav-item svg { display: block; margin: 0 auto 5px; } .dialpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; } .dial-button { aspect-ratio: 1; border: none; border-radius: 50%; background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%); font-size: 24px; font-weight: 600; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2); } .dial-button:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3); } .dial-button:active { transform: scale(0.95); } .dial-display { background: #f8f9ff; padding: 20px; border-radius: 15px; text-align: center; font-size: 28px; font-weight: 300; letter-spacing: 2px; min-height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; } .call-buttons { display: flex; justify-content: center; gap: 30px; margin-top: 30px; } .call-btn { width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; } .call-btn.voice { background: linear-gradient(135deg, #4CAF50, #45a049); color: white; } .call-btn.video { background: linear-gradient(135deg, #2196F3, #1976D2); color: white; } .call-btn.end { background: linear-gradient(135deg, #f44336, #d32f2f); color: white; } .contact-list { list-style: none; } .contact-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: all 0.3s; } .contact-item:hover { background: #f8f9ff; margin: 0 -20px; padding-left: 20px; padding-right: 20px; } .contact-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; margin-right: 15px; } .contact-info { flex: 1; } .contact-name { font-weight: 600; margin-bottom: 5px; } .contact-phone { color: #666; font-size: 14px; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0