|
@@ -1,4 +1,5 @@
|
|
|
import {task, taskclass} from '../util/request/testR'
|
|
|
+import router from '@ohos.router'
|
|
|
@Component
|
|
|
export struct TaskComp {
|
|
|
@State bugNum:number=0
|
|
@@ -46,6 +47,11 @@ export struct TaskComp {
|
|
|
.backgroundImageSize({width:'100%',height:'100%'})
|
|
|
.height('100%')
|
|
|
.borderRadius(15)
|
|
|
+ .onClick(()=>{
|
|
|
+ router.pushUrl({
|
|
|
+ url:'pages/process/ProcessHome'
|
|
|
+ })
|
|
|
+ })
|
|
|
|
|
|
|
|
|
//左右column
|
|
@@ -113,6 +119,11 @@ export struct TaskComp {
|
|
|
.height('70%')
|
|
|
.borderRadius(15)
|
|
|
.alignItems(HorizontalAlign.End)
|
|
|
+ .onClick(()=>{
|
|
|
+ router.pushUrl({
|
|
|
+ url:'pages/process/ProcessHome'
|
|
|
+ })
|
|
|
+ })
|
|
|
Divider().vertical(true)
|
|
|
.height('60%')
|
|
|
Column(){
|
|
@@ -144,6 +155,11 @@ export struct TaskComp {
|
|
|
|
|
|
}.width('100%')
|
|
|
.height('50%')
|
|
|
+ .onClick(()=>{
|
|
|
+ router.pushUrl({
|
|
|
+ url:'pages/process/ProcessHome'
|
|
|
+ })
|
|
|
+ })
|
|
|
Divider().vertical(false)
|
|
|
.width('80%')
|
|
|
Column(){
|
|
@@ -171,8 +187,11 @@ export struct TaskComp {
|
|
|
.fontSize(px2vp(64))
|
|
|
.fontWeight(FontWeight.Bold)
|
|
|
|
|
|
- }.width('100%')
|
|
|
+ }.width('80%')
|
|
|
.height('50%')
|
|
|
+ .backgroundColor('#ffff')
|
|
|
+ .borderRadius(px2vp(21))
|
|
|
+ .margin(5)
|
|
|
|
|
|
|
|
|
}.width('30%')
|