Git Product home page Git Product logo

Comments (2)

ccxdcyl avatar ccxdcyl commented on August 24, 2024

1.评分弹窗增加功能:

  • ⭐️⭐️⭐️挑战者地址:(title为灰色,地址为黑色,且点击打开新标签页,在新标签页跳转地址个人主页)优先做
  • ⭐️⭐️⭐️挑战者提交时间(新增):title为灰色,时间为黑色,显示为最新一次提交的时间。优先做见图1-2
  • ⭐️⭐️⭐️批注:创建者在评分时可以对答案进行批注,批注编辑框支持滚动(参考效果)(挑战者需要查看到批注)核心需求
  • ⭐️⭐️挑战总得分:默认不显示,评分后显示。(Tiele颜色为灰色,分数颜色为黑色)
  • ⭐️⭐️挑战及格分(Title和分数都为灰色)
  • ⭐️⭐️本题评分:默认不显示,评分后,显示分数
    注:「挑战总得分」和「本题评分」需要跟随评分星星的变化,跟随变化对应的分数,见图2

图1
Image

图1-2

Image

图2
Image

2.交互逻辑调整

  • ⭐️⭐️提交成功后等待评分页 和 收到挑战结果的页面,有「查看挑战详情」和「重新挑战」,点击「重新挑战」-进入当前挑战的「答题页面」,(点击查看挑战详情保持现在逻辑不变)-见图3
  • ⭐️当挑战包含开放题时,在得分处,显示通过/未通过;(未通过挑战时不显示、「得分」和「达到xx分即表示挑战成功」)
    当挑战不包含开放题时,保持现在逻辑,显示分数。

图3
Image

图4
Image

3.挑战者查看开放题增加功能:

  • ⭐️⭐️⭐️显示「查看批注」,点击出现弹窗,显示「批注」内容,弹窗支持滚动查看,(参考[效果]核心需求(https://ant.design/~demos/components-input-demo-textarea/))-见图5
  • ⭐️⭐️增加「查看上次挑战」,点击出现弹窗,显示「上次得分」和上次提交的答案-见图6
  • ⭐️当没有挑战过时,点击「查看批注」、「查看上次答案」时,弹窗内显示为no data

图5
Image

图6

Image

from website.

0xdwong avatar 0xdwong commented on August 24, 2024

显示【挑战者提交时间】已完成 #406

from website.

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.