Browse Source

[转盘]重置功能修改

master
chenjingyu 4 years ago
parent
commit
baec70c3f9
  1. 8
      src/app/app-routing.module.ts
  2. 9
      src/app/ui/reset/reset.component.html
  3. 13
      src/app/ui/reset/reset.component.scss
  4. BIN
      src/assets/images/1.png
  5. BIN
      src/assets/images/2.png
  6. BIN
      src/assets/images/demo.jpg
  7. BIN
      src/assets/images/direction.png
  8. BIN
      src/assets/images/enterPaintButton.png
  9. BIN
      src/assets/images/fire.png
  10. BIN
      src/assets/images/force.png
  11. BIN
      src/assets/images/jt.png
  12. BIN
      src/assets/images/lotteryBtn.png
  13. BIN
      src/assets/images/lotteryContent.png
  14. BIN
      src/assets/images/noFire.png
  15. BIN
      src/assets/images/noForce.png
  16. BIN
      src/assets/images/noImg.png
  17. BIN
      src/assets/images/route.png
  18. BIN
      src/assets/images/turnplate-pointer-hui.png
  19. BIN
      src/assets/images/turnplate-pointer.png
  20. BIN
      src/assets/images/upload.jpg
  21. BIN
      src/assets/images/upload.png
  22. BIN
      src/assets/images/upload2.png
  23. BIN
      src/assets/images/weather.png
  24. BIN
      src/assets/images/zhuan.gif
  25. BIN
      src/assets/images/举高喷射消防车.png
  26. BIN
      src/assets/images/压缩空气泡沫消防车.png
  27. BIN
      src/assets/images/固定水泡.png
  28. BIN
      src/assets/images/地上消火栓.png
  29. BIN
      src/assets/images/标签正常.png
  30. BIN
      src/assets/images/水罐消防车.png
  31. BIN
      src/assets/images/泡沫栓.png
  32. BIN
      src/assets/images/泡沫消防车.png
  33. BIN
      src/assets/images/进攻方向.png
  34. 2118
      src/assets/js/zhuanpan.js

8
src/app/app-routing.module.ts

@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-10-07 15:00:15
* @LastEditors: sueRimn
* @LastEditTime: 2020-10-09 14:37:03
*/
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { LoginComponent } from './pages/login/login.component';

9
src/app/ui/reset/reset.component.html

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-09-25 08:48:50
* @LastEditors: sueRimn
* @LastEditTime: 2020-10-07 15:47:54
* @LastEditTime: 2020-10-09 14:28:40
-->
<html>
<meta charset="utf-8"/>
@ -22,7 +22,7 @@
<div class="centerLeft">
<div class="tanCenterbtn" id="endjieguo">
<span style="text-align: center;">抽签结果:</span>
<span *ngFor="let item of choujiang; let key=index" ></span>
<span *ngFor="let item of choujiang; let key=index" ></span>
</div>
</div>
</div>
@ -31,11 +31,12 @@
<div class="banner" name="banner" id="zhuanpan">
<div class="turnplate" style="background-image:url(../../../assets/images/turnplate-bg.png);background-size:100% 100%;">
<canvas class="item" id="wheelcanvas" width="422px" height="422px" ></canvas>
<img class="pointer" src="../../../assets/images/turnplate-pointer.png" id="clickButton" disabled/>
<img class="pointer" src="../../../assets/images/turnplate-pointer.png" id="clickButton" disabled/>
</div>
</div>
<div><button>重置</button></div>
</div>
<div><button id="Reset" class="button">重置</button></div>
<!-- <div class="colum" style="display: none;padding-left: 10%;margin-top: 20%;" id="end">

13
src/app/ui/reset/reset.component.scss

@ -57,6 +57,19 @@ span{
.stop{
pointer-events: none;
}
.button {
border-radius: 4px;
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
//选择后加背景色

BIN
src/assets/images/1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 B

BIN
src/assets/images/2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 B

BIN
src/assets/images/demo.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

BIN
src/assets/images/direction.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

BIN
src/assets/images/enterPaintButton.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

BIN
src/assets/images/fire.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
src/assets/images/force.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
src/assets/images/jt.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

BIN
src/assets/images/lotteryBtn.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
src/assets/images/lotteryContent.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

BIN
src/assets/images/noFire.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
src/assets/images/noForce.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
src/assets/images/noImg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

BIN
src/assets/images/route.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/images/turnplate-pointer-hui.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
src/assets/images/turnplate-pointer.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
src/assets/images/upload.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
src/assets/images/upload.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

BIN
src/assets/images/upload2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
src/assets/images/weather.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

BIN
src/assets/images/zhuan.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
src/assets/images/举高喷射消防车.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

BIN
src/assets/images/压缩空气泡沫消防车.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

BIN
src/assets/images/固定水泡.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

BIN
src/assets/images/地上消火栓.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

BIN
src/assets/images/标签正常.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

BIN
src/assets/images/水罐消防车.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

BIN
src/assets/images/泡沫栓.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

BIN
src/assets/images/泡沫消防车.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

BIN
src/assets/images/进攻方向.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

2118
src/assets/js/zhuanpan.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save