|
|
@ -2,7 +2,6 @@ import 'dart:io';
|
|
|
|
import 'dart:typed_data';
|
|
|
|
import 'dart:typed_data';
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:aku_community/base/base_style.dart';
|
|
|
|
import 'package:aku_community/base/base_style.dart';
|
|
|
|
import 'package:aku_community/const/resource.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community/constants/api.dart';
|
|
|
|
import 'package:aku_community/constants/api.dart';
|
|
|
|
import 'package:aku_community/ui/profile/house/download_contract_page.dart';
|
|
|
|
import 'package:aku_community/ui/profile/house/download_contract_page.dart';
|
|
|
|
import 'package:aku_community/ui/profile/house/house_func.dart';
|
|
|
|
import 'package:aku_community/ui/profile/house/house_func.dart';
|
|
|
@ -15,6 +14,7 @@ import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
import 'package:power_logger/power_logger.dart';
|
|
|
|
import 'package:power_logger/power_logger.dart';
|
|
|
|
|
|
|
|
import 'package:syncfusion_flutter_pdfviewer/pdfviewer.dart';
|
|
|
|
import 'package:velocity_x/velocity_x.dart';
|
|
|
|
import 'package:velocity_x/velocity_x.dart';
|
|
|
|
|
|
|
|
|
|
|
|
class ContractPreviewPage extends StatefulWidget {
|
|
|
|
class ContractPreviewPage extends StatefulWidget {
|
|
|
@ -59,18 +59,7 @@ class _ContractPreviewPageState extends State<ContractPreviewPage> {
|
|
|
|
title: '合同预览',
|
|
|
|
title: '合同预览',
|
|
|
|
body: ListView(
|
|
|
|
body: ListView(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Stack(
|
|
|
|
SfPdfViewer.network(API.image(widget.url)),
|
|
|
|
children: [
|
|
|
|
|
|
|
|
FadeInImage.assetNetwork(
|
|
|
|
|
|
|
|
placeholder: R.ASSETS_IMAGES_PLACEHOLDER_WEBP,
|
|
|
|
|
|
|
|
image: API.image(widget.url)),
|
|
|
|
|
|
|
|
Positioned(
|
|
|
|
|
|
|
|
right: 70.w,
|
|
|
|
|
|
|
|
bottom: 200.w,
|
|
|
|
|
|
|
|
child: signName,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
bottomNavi: BottomButton(
|
|
|
|
bottomNavi: BottomButton(
|
|
|
|