Giter Club home page Giter Club logo

Comments (1)

Jesonhu avatar Jesonhu commented on July 19, 2024

Todo-List--主线任务

  • 4.9审稿单修改

  • 《温***天》完成

    最初发现思路不正确,按照之前的思路,弹层作为GameControl的子组件,想要弹层比 ‘BtnGroup’ 组件层级高。但是 ‘BtnGroup’ 层级是需要比 ‘GameControl’ 层级高的,这样无法实现 ‘弹层组件’ 层级比 'BtnGroup' 高的效果。

    然后将 '弹层组件' 放在 'GameStage' 中,因为 'GameStage' 是 'BtnGroup' 和 ‘GameControl’ 的父级,这样 '弹层组件' 就作为它两兄弟组件存在。由此实现:‘弹层组件’ 在最上层,‘BtnGroup’ 在第二高层,‘GameControl’ 在第三层的效果

    • 坑1: 在 'GameControl' 中操作 'GameStage' 来显示 '弹层组件' 的时候, new GameStage 这是错误的操作,new出来的是新的实例,不是当前舞台 'GameStage'

from ....

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.