|
|
@ -1,24 +1,11 @@ |
|
|
|
import 'dart:convert'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter_html/flutter_html.dart'; |
|
|
|
|
|
|
|
import 'package:flutter_html/image_render.dart'; |
|
|
|
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
|
|
|
|
import 'package:flutter_swiper/flutter_swiper.dart'; |
|
|
|
import 'package:flutter_swiper/flutter_swiper.dart'; |
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/retrofit/data/goods.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/retrofit/data/user_info.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
import 'package:huixiang/view_widget/border_text.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/view_widget/classic_header.dart'; |
|
|
|
import 'package:huixiang/view_widget/classic_header.dart'; |
|
|
|
import 'package:huixiang/view_widget/custom_image.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/view_widget/my_footer.dart'; |
|
|
|
import 'package:huixiang/view_widget/my_footer.dart'; |
|
|
|
import 'package:huixiang/view_widget/round_button.dart'; |
|
|
|
|
|
|
|
import 'package:pull_to_refresh/pull_to_refresh.dart'; |
|
|
|
import 'package:pull_to_refresh/pull_to_refresh.dart'; |
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
|
|
|
|
|
|
|
|
class ShopDetailsPage extends StatefulWidget { |
|
|
|
class ShopDetailsPage extends StatefulWidget { |
|
|
@ -75,35 +62,6 @@ class _ShopDetailsPage extends State<ShopDetailsPage> { |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
buildProduct(), |
|
|
|
buildProduct(), |
|
|
|
Container( |
|
|
|
|
|
|
|
padding: EdgeInsets.only(top: 16.h,left: 14.w,right: 14.w,bottom: 16.h), |
|
|
|
|
|
|
|
margin: EdgeInsets.symmetric(vertical: 12.h), |
|
|
|
|
|
|
|
width: double.infinity, |
|
|
|
|
|
|
|
color: Colors.white, |
|
|
|
|
|
|
|
child:Column( |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
"物流", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize:15.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
|
|
|
color: Color(0xFF000000), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
"免邮费(吉林省、黑龙江省、西藏自治区、新疆维吾尔自治区、香港特别行政区除外)", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize:12.sp, |
|
|
|
|
|
|
|
height: 1.5, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF4D4D4D), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Container( |
|
|
|
Container( |
|
|
|
width: double.infinity, |
|
|
|
width: double.infinity, |
|
|
|
padding: EdgeInsets.only(top: 16.h,left: 14.w,right: 14.w,bottom: 16.h), |
|
|
|
padding: EdgeInsets.only(top: 16.h,left: 14.w,right: 14.w,bottom: 16.h), |
|
|
|