Browse Source

[合并]合并代码

master
邵佳豪 4 years ago
parent
commit
d597cdb08c
  1. 7
      src/app/ui/first-step-copy/first-step-copy.component.html
  2. 12
      src/app/ui/first-step-copy/first-step-copy.component.scss
  3. 4
      src/app/ui/four-step-copy/four-step-copy.component.html
  4. 2
      src/app/ui/four-step-copy/four-step-copy.component.scss
  5. 8
      src/app/ui/four-step-copy/four-step-copy.component.ts
  6. 30
      src/app/ui/luck-draw/luck-draw.component.ts
  7. 2
      src/assets/js/zhuanpan.js

7
src/app/ui/first-step-copy/first-step-copy.component.html

@ -4,7 +4,7 @@
* @Author: sueRimn * @Author: sueRimn
* @Date: 2020-09-25 08:48:50 * @Date: 2020-09-25 08:48:50
* @LastEditors: sueRimn * @LastEditors: sueRimn
* @LastEditTime: 2020-10-14 09:08:17 * @LastEditTime: 2020-10-18 11:21:18
--> -->
<div class="box"> <div class="box">
<div class="head"> <div class="head">
@ -60,12 +60,11 @@
<div style="text-align: center;"> <div style="text-align: center;">
<div id="slotMachineButtonShuffle10" class="slotMachineButton" style="font-size: 25px">开始抽签</div> <div id="slotMachineButtonShuffle10" class="slotMachineButton" style="font-size: 25px">开始抽签</div>
<button (click)="nextstep()">下一步</button> <!-- <button (click)="nextstep()">下一步</button> -->
</div> </div>
</div> </div>
<div class="chongzhi" style="height: 20%;"><button type="button" (click)="nextStep()" class="button">下一步</button></div>
</div> </div>
</div> </div>

12
src/app/ui/first-step-copy/first-step-copy.component.scss

@ -41,7 +41,11 @@
padding: 0.125rem 0.125rem 0; padding: 0.125rem 0.125rem 0;
display: flex; display: flex;
} }
.chongzhi{
position: relative;
top: 85%;
right: 29%;
}
.centerLeft{ .centerLeft{
background-color: #FFF; background-color: #FFF;
float: left; float: left;
@ -148,11 +152,7 @@
margin: 4px 2px; margin: 4px 2px;
cursor: pointer; cursor: pointer;
} }
.chongzhi{
position: relative;
top: 85%;
right: 17%;
}
//选择后加背景色 //选择后加背景色
.beijicolor{ .beijicolor{

4
src/app/ui/four-step-copy/four-step-copy.component.html

@ -4,7 +4,7 @@
* @Author: sueRimn * @Author: sueRimn
* @Date: 2020-09-25 08:48:50 * @Date: 2020-09-25 08:48:50
* @LastEditors: sueRimn * @LastEditors: sueRimn
* @LastEditTime: 2020-10-14 09:08:17 * @LastEditTime: 2020-10-18 11:22:16
--> -->
<div class="box"> <div class="box">
<div class="head"> <div class="head">
@ -68,7 +68,7 @@
</div> </div>
<div class="chongzhi" style="height: 20%;"><button type="button" (click)="nextStep()" class="button">下一步</button></div>
</div> </div>
</div> </div>

2
src/app/ui/four-step-copy/four-step-copy.component.scss

@ -151,7 +151,7 @@
.chongzhi{ .chongzhi{
position: relative; position: relative;
top: 85%; top: 85%;
right: 17%; right: 23.5%;
} }
//选择后加背景色 //选择后加背景色

8
src/app/ui/four-step-copy/four-step-copy.component.ts

@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-10-18 10:23:46
* @LastEditors: sueRimn
* @LastEditTime: 2020-10-18 11:22:51
*/
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import '../../../assets/js/fourstepcopy' import '../../../assets/js/fourstepcopy'
@Component({ @Component({

30
src/app/ui/luck-draw/luck-draw.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn * @Author: sueRimn
* @Date: 2020-09-25 08:48:50 * @Date: 2020-09-25 08:48:50
* @LastEditors: sueRimn * @LastEditors: sueRimn
* @LastEditTime: 2020-10-18 10:42:13 * @LastEditTime: 2020-10-18 11:06:41
*/ */
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { from } from 'rxjs'; import { from } from 'rxjs';
@ -33,20 +33,20 @@ export class LuckDrawComponent implements OnInit {
} }
//支队数据和是否抽奖 //支队数据和是否抽奖
choujiang=[ choujiang=[
{name:"南宁支队",idnum:1}, {name:"南宁支队(5)",idnum:1},
{name:"柳州支队",idnum:2}, {name:"柳州支队(10)",idnum:2},
{name:"桂林支队",idnum:3}, {name:"桂林支队(14)",idnum:3},
{name:"梧州支队",idnum:4}, {name:"梧州支队(3)",idnum:4},
{name:"北海支队",idnum:5}, {name:"北海支队(8)",idnum:5},
{name:"防城港支队",idnum:6}, {name:"防城港支队(13)",idnum:6},
{name:"钦州支队",idnum:7}, {name:"钦州支队(6)",idnum:7},
{name:"贵港支队",idnum:8}, {name:"贵港支队(1)",idnum:8},
{name:"玉林支队",idnum:9}, {name:"玉林支队(7)",idnum:9},
{name:"百色支队",idnum:10}, {name:"百色支队(12)",idnum:10},
{name:"贺州支队",idnum:11}, {name:"贺州支队(2)",idnum:11},
{name:"河池支队",idnum:12}, {name:"河池支队(4)",idnum:12},
{name:"来宾支队",idnum:13}, {name:"来宾支队(9)",idnum:13},
{name:"崇左支队",idnum:14} {name:"崇左支队(11)",idnum:14}
] ]
//选中支队 //选中支队
chooseid=-1 chooseid=-1

2
src/assets/js/zhuanpan.js

@ -18,6 +18,7 @@ function chongzhi(){
$(document).ready(function(){ $(document).ready(function(){
console.log(url) console.log(url)
if(url=="twoStep"){ if(url=="twoStep"){
$('.chongzhi').addClass("stop")
$("#Reset").on("click",function(){ $("#Reset").on("click",function(){
drawRouletteWheel() drawRouletteWheel()
$("#clickButton").attr("src", "../../../assets/images/turnplate-pointer.png") $("#clickButton").attr("src", "../../../assets/images/turnplate-pointer.png")
@ -623,6 +624,7 @@ $(document).ready(function(){
callback:function (){ callback:function (){
$("#clickButton").attr("src", "../../../assets/images/turnplate-pointer-hui.png") $("#clickButton").attr("src", "../../../assets/images/turnplate-pointer-hui.png")
$("span[name='aaachen']").removeClass("stop") $("span[name='aaachen']").removeClass("stop")
$('.chongzhi').removeClass("stop")
//抽签完成后左侧表格点击事件 //抽签完成后左侧表格点击事件
$("span[name='aaachen']").on("click",function(){ $("span[name='aaachen']").on("click",function(){

Loading…
Cancel
Save