From 478a4dcb6d34937136a57a8856d67b8561a21d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E5=B7=8D?= Date: Tue, 25 Oct 2022 10:54:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=E5=88=97=E8=A1=A8Pa?= =?UTF-8?q?ge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韩巍 --- entry/src/main/ets/pages/SecondFold.ets | 87 ------------------------- 1 file changed, 87 deletions(-) diff --git a/entry/src/main/ets/pages/SecondFold.ets b/entry/src/main/ets/pages/SecondFold.ets index 2434528..22f1647 100644 --- a/entry/src/main/ets/pages/SecondFold.ets +++ b/entry/src/main/ets/pages/SecondFold.ets @@ -112,8 +112,6 @@ export struct SecondFold { } } .backgroundColor("#cccccc") -// .width("100%") -// .height("100%") } @@ -131,10 +129,7 @@ export struct SecondFold { getFileList(){ - //LogInfo(this.TAG ,'-----FileList.length:'+ this.FileList.length) - for (let i = 0;i < this.FileList.length; i++) { - //LogInfo(this.TAG ,'-----itme:'+JSON.stringify(this.FileList[i])) } return this.FileList } @@ -151,8 +146,6 @@ export struct SecondFold { formatDate(time){ - //LogInfo(this.TAG ,'time:'+time) -// var date = new Date(time); var date = new Date(time); var Y = date.getFullYear() + '-'; @@ -172,71 +165,6 @@ export struct SecondFold { -//@Component -//export struct SettingItemView1 { -// private image: string -// private text: string -// private text_gray1: string -// private text_gray2: string -// private text_gray3: string -// private left_margin: number -// private callBack: Function -// private height: number = 60 -// -// build() { -// Stack({ alignContent: Alignment.End }) { -// Row() { -// Flex({ direction: FlexDirection.Row, alignContent: FlexAlign.Start,justifyContent: FlexAlign.Start }) { -// Image(this.image) -//// Image($r('app.media.ic_photo')) -// .width(40) -// .height(40) -// Column() { -// Text(this.text) -// .fontSize(15) -// .fontColor('#000000') -// Text('共'+this.text_gray1+'个文件') -// .fontSize(15) -// .fontColor(Color.Gray) -// .margin({ top: 5 }) -// } -// -// } -// //.width('20%') -// -// } -// .width('100%') -// .height(this.height) -// .padding({ left: 10, right: 10 }) -// .backgroundColor(Color.White) -// -// -// Flex({ direction: FlexDirection.Row, alignContent: FlexAlign.Center, justifyContent: FlexAlign.Center }) { -// Column() { -// Text(this.text_gray2) -// .fontSize(15) -// .fontColor(Color.Gray) -// .margin({ top: 5 }) -// Text(this.text_gray3) -// .fontSize(15) -// .fontColor(Color.Gray) -// .margin({ top: 5 }) -// } -// .margin({ top: 5 }) -// } -// .size({ width: '80%', height: '100%' }) -// -//// Image($r('app.media.right')) -//// .height(20) -//// .width(15) -//// .align(Alignment.End) -//// .margin({ right: 15 }) -// } -// .width('100%') -// .height(this.height) -// } -//} - @Component export struct SettingItemView1 { private image: string @@ -253,21 +181,15 @@ export struct SettingItemView1 { Row() { Flex({ direction: FlexDirection.Row, alignContent: FlexAlign.Start,justifyContent: FlexAlign.Start }) { Image(this.image) - // Image($r('app.media.ic_photo')) .width(40) .height(40) Column() { Text(this.text) .fontSize(15) .fontColor('#000000') -// Text('共'+this.text_gray1+'个文件') -// .fontSize(15) -// .fontColor(Color.Gray) -// .margin({ top: 5 }) }.margin({left:10}) } - //.width('20%') } .width('100%') @@ -278,10 +200,6 @@ export struct SettingItemView1 { Flex({ direction: FlexDirection.Row, alignContent: FlexAlign.Center, justifyContent: FlexAlign.Center }) { Column() { -// Text(this.text_gray2) -// .fontSize(15) -// .fontColor(Color.Gray) -// .margin({ top: 5 }) Text(this.text_gray3) .fontSize(15) .fontColor(Color.Gray) @@ -291,11 +209,6 @@ export struct SettingItemView1 { } .size({ width: '80%', height: '100%' }) - // Image($r('app.media.right')) - // .height(20) - // .width(15) - // .align(Alignment.End) - // .margin({ right: 15 }) } .width('100%') .height(this.height) -- Gitee