瀏覽代碼

1.关于我们增加构建时间戳显示

tags/0.0.17+3
“yanghuaxuan” 3 年之前
父節點
當前提交
a0bbdf8db0
共有 3 個檔案被更改,包括 3 行新增2 行删除
  1. +1
    -2
      lib/pages/about_us_page/about_us_page.dart
  2. +1
    -0
      lib/pages/about_us_page/bloc/about_us_repository.dart
  3. +1
    -0
      lib/pages/about_us_page/model/about_us_model.dart

+ 1
- 2
lib/pages/about_us_page/about_us_page.dart 查看文件

@@ -142,7 +142,7 @@ class __AboutUsPageContainerState extends State<_AboutUsPageContainer> {
color: HexColor.fromHex(model?.appVersionColor ?? '#999999'),
)),
TextSpan(
text: ' ${model?.appVerison ?? '1.0.0'}',
text: ' ${model?.appVerison ?? '1.0.0'}'+' (${model?.appVersionCode??"000"})',
style: TextStyle(
fontSize: 11,
color: HexColor.fromHex(model?.appVersionColor ?? '#999999'),
@@ -150,7 +150,6 @@ class __AboutUsPageContainerState extends State<_AboutUsPageContainer> {
]),
),
const SizedBox(height: 20),

/// 更新,评价
_isiOSReview ? Container() : _buildListWidget(model),
_buildAgreement(model)


+ 1
- 0
lib/pages/about_us_page/bloc/about_us_repository.dart 查看文件

@@ -56,6 +56,7 @@ class AboutUsRepository {
AboutUsModel model = AboutUsModel.fromJson(jsonDecode(modListData));
if (!EmptyUtil.isEmpty(packageInfo) && !EmptyUtil.isEmpty(model)) {
model.appVerison = packageInfo.version;
model.appVersionCode=packageInfo.buildNumber;
return model;
}
}


+ 1
- 0
lib/pages/about_us_page/model/about_us_model.dart 查看文件

@@ -13,6 +13,7 @@ class AboutUsModel {
String bottomName;
String bottomNameColor;
String appVerison;
String appVersionCode;

AboutUsModel(
{this.appBarName,


Loading…
取消
儲存