feat:更新图片url路径
This commit is contained in:
@@ -57,7 +57,7 @@ class MomentCard extends StatelessWidget {
|
||||
size: TDAvatarSize.medium,
|
||||
type: TDAvatarType.normal,
|
||||
fit: BoxFit.contain,
|
||||
avatarUrl: '${AppConfig.baseApiUrl}/${moment.avatar}',
|
||||
avatarUrl: '${AppConfig.imageBaseUrl}/${moment.avatar}',
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -101,7 +101,7 @@ class MomentCard extends StatelessWidget {
|
||||
// 生成图片URL列表(用于预览时切换)
|
||||
final List<String> imageUrls =
|
||||
moment.imageList
|
||||
.map((path) => '${AppConfig.baseApiUrl}/$path')
|
||||
.map((path) => '${AppConfig.imageBaseUrl}$path')
|
||||
.toList();
|
||||
|
||||
void imageTapClick(int index) {
|
||||
|
||||
Reference in New Issue
Block a user