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

新鲜话题与标题对齐
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" apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android { android {
compileSdkVersion 28 compileSdkVersion 31
sourceSets { sourceSets {
main.java.srcDirs += 'src/main/kotlin' main.java.srcDirs += 'src/main/kotlin'

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

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

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

@ -333,9 +333,12 @@ class AvatarsParticipate extends StatelessWidget {
child: Container( child: Container(
child: Row( child: Row(
children: [ children: [
StackAvatar( Offstage(
offstage: avatars.isEmpty,
child: StackAvatar(
avatars: avatars, avatars: avatars,
), ),
),
16.w.heightBox, 16.w.heightBox,
'${pNum}' '${pNum}'
.richText .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/utils/network/net_util.dart';
import 'package:aku_new_community/widget/others/user_tool.dart'; import 'package:aku_new_community/widget/others/user_tool.dart';
import 'package:bot_toast/bot_toast.dart'; import 'package:bot_toast/bot_toast.dart';
import 'package:common_utils/common_utils.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:intl/intl.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
class CommunityPage extends StatefulWidget { class CommunityPage extends StatefulWidget {
@ -336,7 +338,7 @@ class _CommunityPageState extends State<CommunityPage>
children: [ children: [
Container( Container(
width: 316.w, width: 316.w,
alignment: Alignment.center, alignment: Alignment.centerLeft,
child: Text( child: Text(
item.title, item.title,
maxLines: 2, maxLines: 2,
@ -360,7 +362,7 @@ class _CommunityPageState extends State<CommunityPage>
), ),
Spacer(), Spacer(),
Text( Text(
item.createDate, DateUtil.formatDateStr(item.createDate,format: 'MM-dd'),
maxLines: 2, maxLines: 2,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
@ -432,6 +434,8 @@ class _CommunityPageState extends State<CommunityPage>
_searchHistoryWidget() { _searchHistoryWidget() {
return Container( return Container(
alignment: Alignment.centerLeft,
padding: EdgeInsets.only(left: 32.w, right: 32.w),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[ children: <Widget>[

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