Browse Source

[修改]下一步功能修改

master
chenjingyu 4 years ago
parent
commit
2f8bca744d
  1. 4
      src/app/ui/first-step/first-step.component.html
  2. 5
      src/app/ui/first-step/first-step.component.ts
  3. 7
      src/app/ui/luck-draw/luck-draw.component.ts

4
src/app/ui/first-step/first-step.component.html

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-09-25 08:48:50
* @LastEditors: sueRimn
* @LastEditTime: 2020-10-18 10:19:02
* @LastEditTime: 2020-10-18 10:38:08
-->
<div class="box">
<div class="head">
@ -64,7 +64,7 @@
</div>
<div class="chongzhi" style="height: 20%;"><button type="button" [routerLink]="['/twoStep/']" class="button">下一步</button></div>
<div class="chongzhi" style="height: 20%;"><button type="button" (click)="nextStep()" class="button">下一步</button></div>
</div>
</div>

5
src/app/ui/first-step/first-step.component.ts

@ -70,5 +70,8 @@ export class FirstStepComponent implements OnInit {
startAngle:0, //开始角度
bRotate:false //false:停止;ture:旋转
};
//跳转第二个页面
nextStep(){
window.location.href="/twoStep";
}
}

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

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-09-25 08:48:50
* @LastEditors: sueRimn
* @LastEditTime: 2020-10-18 10:02:26
* @LastEditTime: 2020-10-18 10:39:53
*/
import { Component, OnInit } from '@angular/core';
import { from } from 'rxjs';
@ -64,7 +64,10 @@ export class LuckDrawComponent implements OnInit {
bRotate:false //false:停止;ture:旋转
};
//跳转第三个页面
nextStep(){
window.location.href="/twoStep";
}

Loading…
Cancel
Save