Advertisement

面试题:用Vue实现贪吃蛇

阅读量:

面试题之用Vue手写贪吃蛇

  • 利用Vue框架自行编写贪吃蛇游戏的面试题目

面试题之用Vue手写贪吃蛇

  • 仅完成了一半内容,且存在一个严重的问题
    • 下列代码为测试后自行归纳整理的结果
复制代码
    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Document</title>
      <style>
    body {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    #grid {
      background-color: #ddd;
      width: 500px;
      height: 500px;
      position: relative;
    }
    #grid .

全部评论 (0)

还没有任何评论哟~