|
|
@@ -884,9 +884,8 @@ export struct SettingPage {
|
|
|
.clickEffect({ level: ClickEffectLevel.MIDDLE,scale:0.6 })
|
|
|
.animation({ duration: 300, curve: Curve.Ease })
|
|
|
.onClick(() => {
|
|
|
- this.getUIContext()?.animateTo({ duration: 555 }, () => {
|
|
|
- this.mType =0
|
|
|
- })
|
|
|
+ const eventData: emitter.EventData = {};
|
|
|
+ emitter.emit({ eventId: EventConstants.EVENT_SETTING_BACK_TO_HOME }, eventData);
|
|
|
})
|
|
|
.attributeModifier(new ShadowModifier())
|
|
|
.zIndex(0)
|
|
|
@@ -2155,31 +2154,7 @@ export struct SettingPage {
|
|
|
blurStyle: BlurStyle.Thin,
|
|
|
title: { title: '缓存管理' }
|
|
|
})
|
|
|
- Line().width('100%').height(0.3).backgroundColor($r('app.color.index_tab_unselected_font_color'))
|
|
|
|
|
|
- Row() {
|
|
|
- SymbolGlyph($r('sys.symbol.trash'))
|
|
|
- .fontSize(20)
|
|
|
- .fontColor([this.themeColor])
|
|
|
- .alignSelf(ItemAlign.Center)
|
|
|
- .margin({ left: 15 })
|
|
|
- Text('清除网盘缓存')
|
|
|
- .margin({ left: 8 })
|
|
|
- .fontSize(15)
|
|
|
- .fontColor(Color.Gray)
|
|
|
- .fontWeight(480)
|
|
|
- .layoutWeight(1)
|
|
|
- Text(this.isClearingCache ? '清理中…' : '立即清理')
|
|
|
- .margin({ right: 18 })
|
|
|
- .fontSize(13)
|
|
|
- .fontColor(this.themeColor)
|
|
|
- }
|
|
|
- .height(55)
|
|
|
- .clickEffect({ level: ClickEffectLevel.HEAVY })
|
|
|
- .onClick(() => {
|
|
|
- this.handleClearWebDavCache();
|
|
|
- })
|
|
|
- Line().width('100%').height(0.3).backgroundColor($r('app.color.index_tab_unselected_font_color'))
|
|
|
|
|
|
// WebDAV上传默认重复文件处理方式
|
|
|
Row() {
|