From 076ead97f2fe2dde1e21ba458b0eb05b9af93698 Mon Sep 17 00:00:00 2001 From: Songyi Huang Date: Mon, 24 May 2021 19:25:32 -0700 Subject: [PATCH] add hint to doudizhu demo; add citation info --- src/assets/index.scss | 23 ++++++++ src/components/GameBoard/DoudizhuGameBoard.js | 12 +++++ src/view/PvEView/PvEDoudizhuDemoView.js | 52 +++++++++++++++++-- 3 files changed, 84 insertions(+), 3 deletions(-) diff --git a/src/assets/index.scss b/src/assets/index.scss index b4c62e0..6cd9fc9 100644 --- a/src/assets/index.scss +++ b/src/assets/index.scss @@ -24,3 +24,26 @@ code { .el-message { z-index: 9999; } + +.citation { + margin-top: 20px; + padding: 5px; + + -webkit-user-select: text; + -ms-user-select: text; + user-select: text; + + a { + &:visited { + color: blue; + } + } + + pre { + padding: 10px; + border-radius: 5px; + color: #212529; + background-color: rgb(255, 255, 255); + border: solid 1px #e9e9e9; + } +} \ No newline at end of file diff --git a/src/components/GameBoard/DoudizhuGameBoard.js b/src/components/GameBoard/DoudizhuGameBoard.js index c8dd91e..fd9a113 100644 --- a/src/components/GameBoard/DoudizhuGameBoard.js +++ b/src/components/GameBoard/DoudizhuGameBoard.js @@ -224,6 +224,18 @@ class DoudizhuGameBoard extends React.Component { > Deselect +