Browse Source

[转盘]ui设计

master
chenjingyu 4 years ago
parent
commit
0a8be66018
  1. 11
      src/app/ui/reset/reset.component.html
  2. 16
      src/app/ui/reset/reset.component.scss
  3. BIN
      src/assets/images/backgroud.png
  4. BIN
      src/assets/images/head.jpg
  5. BIN
      src/assets/images/turnplate-bg.png
  6. BIN
      src/assets/images/turnplate-pointer-hui.png
  7. BIN
      src/assets/images/turnplate-pointer.png

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

@ -4,11 +4,14 @@
* @Author: sueRimn
* @Date: 2020-09-25 08:48:50
* @LastEditors: sueRimn
* @LastEditTime: 2020-10-09 14:28:40
* @LastEditTime: 2020-10-09 17:18:07
-->
<html>
<meta charset="utf-8"/>
<body>
<body >
<div class="head">
<img src="../../../assets/images/head.jpg">
</div>
<div class="mainbox">
<div class="colum">
<div class="centerLeft" >
@ -27,7 +30,7 @@
</div>
</div>
<div id="con1" class="colum" style="padding-left: 18%;margin-top: 10%;">
<div id="con1" class="colum" style="">
<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>
@ -36,7 +39,7 @@
</div>
</div>
<div><button id="Reset" class="button">重置</button></div>
<div style="height: 100%;"><button id="Reset" class="button">重置</button></div>
<!-- <div class="colum" style="display: none;padding-left: 10%;margin-top: 20%;" id="end">

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

@ -1,14 +1,21 @@
html, body {
height: 100%;
background-image: url("../../../assets/images/backgroud.png");
//background-size: 99% 99%;
}
.head{
width: 100%;
height: 50px;
}
.mainbox {
width: 95%;
height: 95%;
width: 99%;
height: 90%;
padding: 0.125rem 0.125rem 0;
display: flex;
/* background-attachment: fixed;
background-repeat:no-repeat; */
}
.centerLeft{
@ -31,6 +38,7 @@ flex-direction: column;
user-select: none;
background-size:100% 100%;
span{
color: #000;
z-index:99;
width: 350px;
height: 50px;
@ -74,7 +82,7 @@ span{
//选择后加背景色
.beijicolor{
background-color: #F7BA2A ;
background-color:#FE693E ;
}
body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div{margin:0;padding:0;border:0;}
body{color:#333; font-size:12px;font-family:"Microsoft YaHei"}

BIN
src/assets/images/backgroud.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
src/assets/images/head.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 207 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 14 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Loading…
Cancel
Save