|
|
@@ -115,12 +115,12 @@ export struct RemoteDriveAccountDialog {
|
|
|
// this.buildTypeSelector();
|
|
|
|
|
|
// 账户封面选择
|
|
|
- Column({ space: 8 }) {
|
|
|
- Text('账户封面(可选)')
|
|
|
+ Row({ space: 8 }) {
|
|
|
+ Text('账户封面')
|
|
|
.fontSize(14)
|
|
|
.fontColor(this.isDarkMode ? '#EBEBF5' : '#666666')
|
|
|
.fontWeight(FontWeight.Medium)
|
|
|
- .alignSelf(ItemAlign.Start);
|
|
|
+ .alignSelf(ItemAlign.Center);
|
|
|
|
|
|
// 封面选择区域
|
|
|
Row({ space: 12 }) {
|
|
|
@@ -153,10 +153,10 @@ export struct RemoteDriveAccountDialog {
|
|
|
|
|
|
// 操作按钮
|
|
|
Column({ space: 8 }) {
|
|
|
- Button('选择封面')
|
|
|
+ Button('选择封面(可选)')
|
|
|
.width(120)
|
|
|
.height(36)
|
|
|
- .fontSize(12)
|
|
|
+ .fontSize(11)
|
|
|
.fontColor(this.isDarkMode ? '#FFFFFF' : $r('app.color.text_color'))
|
|
|
.backgroundColor(this.isDarkMode ? '#2C2C2E' : $r('app.color.input_background'))
|
|
|
.onClick(() => {
|
|
|
@@ -181,7 +181,7 @@ export struct RemoteDriveAccountDialog {
|
|
|
.justifyContent(FlexAlign.Start);
|
|
|
}
|
|
|
.width('100%')
|
|
|
- .alignItems(HorizontalAlign.Start);
|
|
|
+ .alignItems(VerticalAlign.Center);
|
|
|
|
|
|
// 账户名称
|
|
|
Row({ space: 8 }) {
|
|
|
@@ -244,7 +244,7 @@ export struct RemoteDriveAccountDialog {
|
|
|
});
|
|
|
}
|
|
|
.alignItems(VerticalAlign.Center);
|
|
|
- this.buildHelperText('若留空将自动使用协议默认端口')
|
|
|
+ // this.buildHelperText('若留空将自动使用协议默认端口')
|
|
|
|
|
|
if (this.driveType === RemoteDriveType.Smb) {
|
|
|
// SMB 共享名称
|
|
|
@@ -307,7 +307,7 @@ export struct RemoteDriveAccountDialog {
|
|
|
});
|
|
|
}
|
|
|
.alignItems(VerticalAlign.Center);
|
|
|
- this.buildHelperText('从共享根开始的路径,例如 /music 或 /音乐/歌单1')
|
|
|
+ // this.buildHelperText('从共享根开始的路径,例如 /music 或 /音乐/歌单1')
|
|
|
|
|
|
// 用户名
|
|
|
Row({ space: 8 }) {
|