diff --git a/lib/store/store_html.dart b/lib/store/store_html.dart
index fff214f2..409ca0ae 100644
--- a/lib/store/store_html.dart
+++ b/lib/store/store_html.dart
@@ -2,7 +2,7 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
-import 'package:huixiang/view_widget/my_appbar.dart';
+import 'package:huixiang/utils/font_weight.dart';
class StoreHtml extends StatefulWidget {
final Map arguments;
@@ -16,7 +16,6 @@ class StoreHtml extends StatefulWidget {
}
class _StoreHtml extends State with WidgetsBindingObserver {
-
@override
void initState() {
super.initState();
@@ -24,26 +23,53 @@ class _StoreHtml extends State with WidgetsBindingObserver {
@override
Widget build(BuildContext context) {
- return Scaffold(
- backgroundColor: Colors.white,
- appBar: MyAppBar(
- title:"店铺详情",
- titleColor: Colors.black,
- background: Color(0xFFFFFFFF),
- leadingColor: Colors.black,
- ),
- body: Container(
- margin: EdgeInsets.only(left:11.w,right: 10.w),
- child:Html(
- data:widget.arguments["remark"] ?? "",
- customImageRenders: {
- networkSourceMatcher(): networkImageRender(
- loadingWidget: () {
- return Container();
+ return Container(
+ color: Colors.white,
+ padding:EdgeInsets.only(top:MediaQuery.of(context).padding.top+17.h,left: 16.w,right: 16.w),
+ child: Column(
+ children: [
+ Row(
+ children: [
+ GestureDetector(
+ behavior: HitTestBehavior.opaque,
+ onTap:(){
+ Navigator.of(context).pop();
},
+ child:Image.asset(
+ "assets/image/integral_return.webp",
+ height: 24,
+ width: 24,
+ )
),
- },
- ),),
+ Expanded(child:
+ Container(
+ alignment: Alignment.center,
+ margin: EdgeInsets.only(right: 24.w),
+ child: Text(
+ "店铺详情",
+ style: TextStyle(
+ color: Colors.black,
+ fontSize: 17.sp,
+ fontWeight: MyFontWeight.regular,
+ ),
+ ),
+ ),),
+ ],
+ ),
+ Container(
+ child: Html(
+ data: widget.arguments["remark"] ?? "",
+ customImageRenders: {
+ networkSourceMatcher(): networkImageRender(
+ loadingWidget: () {
+ return Container();
+ },
+ ),
+ },
+ ),
+ )
+ ],
+ ),
);
}
}