社区热门资讯标题左对齐、时间格式修改

新鲜话题与标题对齐
pull/1/head
戴余标 3 years ago
parent 4f03080506
commit 3250b30e96

@ -32,7 +32,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 28
compileSdkVersion 31
sourceSets {
main.java.srcDirs += 'src/main/kotlin'

@ -161,7 +161,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1020;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

@ -328,7 +328,7 @@ class _VisitorAccessPageState extends State<VisitorAccessPage> {
children: [
_buildHouseCard(
S.of(context)!.tempPlotName,
appProvider.selectedHouse!.roomName,
appProvider.selectedHouse?.roomName??'',
),
_input(
'访客姓名',
@ -359,7 +359,7 @@ class _VisitorAccessPageState extends State<VisitorAccessPage> {
_selectTime(),
SizedBox(height: 64.w),
_create(
appProvider.selectedHouse!.estateId,
appProvider.selectedHouse?.estateId,
4,
_phoneNum.text,
),

@ -333,9 +333,12 @@ class AvatarsParticipate extends StatelessWidget {
child: Container(
child: Row(
children: [
StackAvatar(
Offstage(
offstage: avatars.isEmpty,
child: StackAvatar(
avatars: avatars,
),
),
16.w.heightBox,
'${pNum}'
.richText

@ -25,10 +25,12 @@ import 'package:aku_new_community/utils/network/base_model.dart';
import 'package:aku_new_community/utils/network/net_util.dart';
import 'package:aku_new_community/widget/others/user_tool.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:common_utils/common_utils.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:intl/intl.dart';
import 'package:provider/provider.dart';
class CommunityPage extends StatefulWidget {
@ -336,7 +338,7 @@ class _CommunityPageState extends State<CommunityPage>
children: [
Container(
width: 316.w,
alignment: Alignment.center,
alignment: Alignment.centerLeft,
child: Text(
item.title,
maxLines: 2,
@ -360,7 +362,7 @@ class _CommunityPageState extends State<CommunityPage>
),
Spacer(),
Text(
item.createDate,
DateUtil.formatDateStr(item.createDate,format: 'MM-dd'),
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(
@ -432,6 +434,8 @@ class _CommunityPageState extends State<CommunityPage>
_searchHistoryWidget() {
return Container(
alignment: Alignment.centerLeft,
padding: EdgeInsets.only(left: 32.w, right: 32.w),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save