mod: 视频详情、跳转Hero效果
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
// 工具函数
|
||||
import 'dart:io';
|
||||
import 'dart:math';
|
||||
import 'package:get/get_utils/get_utils.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
|
||||
@ -130,4 +131,8 @@ class Utils {
|
||||
}
|
||||
return date;
|
||||
}
|
||||
|
||||
static String makeHeroTag(v) {
|
||||
return v.toString() + Random().nextInt(9999).toString();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user