Browse Source

细节更改

ff_new
w-R 3 years ago
parent
commit
4bef54a284
  1. 3
      lib/community/community_view/class_details.dart
  2. 39
      lib/community/community_view/home_class.dart
  3. 1
      lib/store/store_order.dart

3
lib/community/community_view/class_details.dart

@ -9,6 +9,7 @@ import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/chapter.dart'; import 'package:huixiang/retrofit/data/chapter.dart';
import 'package:huixiang/retrofit/data/course_details.dart'; import 'package:huixiang/retrofit/data/course_details.dart';
import 'package:huixiang/retrofit/retrofit_api.dart'; import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/flutter_utils.dart';
import 'package:huixiang/utils/font_weight.dart'; import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/tips_dialog.dart'; import 'package:huixiang/view_widget/tips_dialog.dart';
import 'package:huixiang/web/web_view/comment_list.dart'; import 'package:huixiang/web/web_view/comment_list.dart';
@ -198,7 +199,7 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
children: [ children: [
Container( Container(
height: 22.h, height: 22.h,
width: 40.w, padding:EdgeInsets.only(left:2,right:2),
alignment: Alignment.center, alignment: Alignment.center,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(2), borderRadius: BorderRadius.circular(2),

39
lib/community/community_view/home_class.dart

@ -202,25 +202,30 @@ class _HomeClass extends State<HomeClass> {
), ),
], ],
), ),
Container( Row(
margin: EdgeInsets.only(top: 8,right: 8), children: [
height: 16.h, Spacer(),
width: 30.w, Container(
alignment: Alignment.center, margin: EdgeInsets.only(top: 8,right: 8),
decoration: BoxDecoration( padding:EdgeInsets.only(left:2,right:2),
borderRadius: height: 16.h,
BorderRadius.circular(2), alignment: Alignment.center,
color: Color(0xFFFFCD00), decoration: BoxDecoration(
), borderRadius:
child: Text( BorderRadius.circular(2),
( collect?.tags != null && collect.tags.length > 0 )?collect.tags[0] : "", color: Color(0xFFFFCD00),
style: TextStyle( ),
fontSize: 12.sp, child: Text(
fontWeight: MyFontWeight.medium, ( collect?.tags != null && collect.tags.length > 0 )?collect.tags[0] : "",
color: Color(0xFF634815), style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFF634815),
),
), ),
), ),
), ],),
], ],
), ),
Expanded(child: Expanded(child:

1
lib/store/store_order.dart

@ -82,6 +82,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
SharedPreferences.getInstance().then((value) { SharedPreferences.getInstance().then((value) {
minLogin(value); minLogin(value);
queryStoreInfo();
}); });
} }

Loading…
Cancel
Save