Browse Source

[修改]下一步按钮

master
chenjingyu 4 years ago
parent
commit
7346448da2
  1. 4
      src/app/ui/four-step/four-step.component.html
  2. 5
      src/app/ui/four-step/four-step.component.scss
  3. 11
      src/app/ui/four-step/four-step.component.ts
  4. 4
      src/app/ui/luck-draw/luck-draw.component.html
  5. 4
      src/app/ui/luck-draw/luck-draw.component.ts

4
src/app/ui/four-step/four-step.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 10:45:51
--> -->
<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>

5
src/app/ui/four-step/four-step.component.scss

@ -41,6 +41,11 @@
padding: 0.125rem 0.125rem 0; padding: 0.125rem 0.125rem 0;
display: flex; display: flex;
} }
.chongzhi{
position: relative;
top: 85%;
right: 17%;
}
.centerLeft{ .centerLeft{
background-color: #FFF; background-color: #FFF;

11
src/app/ui/four-step/four-step.component.ts

@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-10-18 10:23:46
* @LastEditors: sueRimn
* @LastEditTime: 2020-10-18 10:47:51
*/
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import '../../../assets/js/fourstep' import '../../../assets/js/fourstep'
@Component({ @Component({
@ -76,5 +84,8 @@ export class FourStepComponent implements OnInit {
this.isDraw = false this.isDraw = false
} }
} }
nextStep(){
window.location.href="/drawingResult";
}
} }

4
src/app/ui/luck-draw/luck-draw.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-18 10:15:32 * @LastEditTime: 2020-10-18 10:41:21
--> -->
<html> <html>
@ -50,7 +50,7 @@
</div> </div>
</div> </div>
<div class="chongzhi" style="height: 20%;"><button type="button" [routerLink]="['/fourStep/']" class="button">下一步</button></div> <div class="chongzhi" style="height: 20%;"><button type="button" (click)="nextStep()" class="button">下一步</button></div>
</div> </div>

4
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:39:53 * @LastEditTime: 2020-10-18 10:42:13
*/ */
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { from } from 'rxjs'; import { from } from 'rxjs';
@ -66,7 +66,7 @@ export class LuckDrawComponent implements OnInit {
//跳转第三个页面 //跳转第三个页面
nextStep(){ nextStep(){
window.location.href="/twoStep"; window.location.href="/fourStep";
} }

Loading…
Cancel
Save