From 07f751c8ee51cf025d926d50ef5f2c70297afcf5 Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Thu, 10 Feb 2022 16:55:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=80=E8=AF=B7=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/image/2x/yao_q.png | Bin 0 -> 2384 bytes assets/image/3x/yao_q.png | Bin 0 -> 4312 bytes assets/image/yao_q.png | Bin 0 -> 1125 bytes lib/mine/invitation_record.dart | 0 lib/mine/mine_view/mine_item.dart | 35 ++++++++++++++++++++---------- lib/retrofit/min_api.dart | 8 +++---- lib/retrofit/min_api.g.dart | 2 +- lib/retrofit/retrofit_api.dart | 8 +++---- lib/retrofit/retrofit_api.g.dart | 2 +- 9 files changed, 34 insertions(+), 21 deletions(-) create mode 100644 assets/image/2x/yao_q.png create mode 100644 assets/image/3x/yao_q.png create mode 100644 assets/image/yao_q.png create mode 100644 lib/mine/invitation_record.dart diff --git a/assets/image/2x/yao_q.png b/assets/image/2x/yao_q.png new file mode 100644 index 0000000000000000000000000000000000000000..0a43148ee2348478320e70327124cb618761a2cf GIT binary patch literal 2384 zcmV-W39t5vP)Px;3Q0skRCr$PT78gH)fNAp_ckmnvbe1XRP%sn3R5{_?i>+?=%ojsSmi*sJNh2o~l67@M0c0~P>NW7?(x zkG#+nIa(R6in;l;mCuaPGZUuCxOaxT#C`GSX02VtY-)q zQ;MC^C8B5+*3F4f>{zL`o%ZDzxoM-4XUqC4fT3mkB}g1UdQE&m{DV?`^eX{s+G|V_ z1>QUZuWLkGnRyC`JPhl3VwwczuYl+Rd!kIdsWlY4`TvT5KqRyozycd+^%lPuKQVk` zpr&IJh;LHk47_vN(mz{ek*-%|9%A6D1(Ll!9*#DbLPEdIfLXD*f-NnPw+tB{kgi?Z z5^Rq9qrqB@@m_90BptW5%#A*!5}X+c{epn++md}XE~C@1+IdmzHv$5Y&~E_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xBwo~TECZ%bb3Ck0HxGg zlAnu+Me;8In~gCa`@1j=z;YaC6M)yIEE(gj>)tdlFp!w7h-?CErPL7sD@dMoU3X0~ znLM1;2bA)ENWKJc3CRIt%&K__2m}JnBoC&xyVV$T-Yb?#khX3Aduj^);^vJRC*U~F zZV`D5z}V>MX!YRW;Msggb#--1N=r-qW%S?v7mP96^7Z)n83ib%d^1@Kphs(+{@=@s zr<585a6QRSjWI2G8*&Kn$KMR#L#_2avjOsJlv3%w546^k29+@UtS}cE%{vQE(-V$@Z7a9wbT6n00000NkvXXu0mjfm9Q24 literal 0 HcmV?d00001 diff --git a/lib/mine/invitation_record.dart b/lib/mine/invitation_record.dart new file mode 100644 index 00000000..e69de29b diff --git a/lib/mine/mine_view/mine_item.dart b/lib/mine/mine_view/mine_item.dart index 450338a0..bc28cc02 100644 --- a/lib/mine/mine_view/mine_item.dart +++ b/lib/mine/mine_view/mine_item.dart @@ -131,17 +131,30 @@ class _MineItem extends State { ),) ], ), - Padding(padding:EdgeInsets.only(left:24), - child: InkWell( - onTap: () { - Navigator.of(context).pushNamed('/router/qr_share', arguments: {}); - }, - child: mineItem( - S.of(context).tuiguangma, - "assets/image/icon_mine_promotion_code.png", - ), - ),) - + Row( + children: [ + Expanded(child:InkWell( + onTap: () { + Navigator.of(context).pushNamed('/router/qr_share', arguments: {}); + }, + child: mineItem( + S.of(context).tuiguangma, + "assets/image/icon_mine_promotion_code.png", + ), + ),), + Expanded(child:InkWell( + onTap: () { + Navigator.of(context).pushNamed('/router/qr_share', arguments: {}); + }, + child: mineItem( + "邀请记录", + "assets/image/yao_q.png", + ), + ),), + Expanded(child:Container()), + Expanded(child:Container()) + ], + ), // mineItem( // S.of(context).bangzhuyufankui, // "assets/image/icon_mine_feedback.png", diff --git a/lib/retrofit/min_api.dart b/lib/retrofit/min_api.dart index 823d1620..901bc3f1 100644 --- a/lib/retrofit/min_api.dart +++ b/lib/retrofit/min_api.dart @@ -21,8 +21,8 @@ import 'data/shoppingCart.dart'; part 'min_api.g.dart'; -const base_url = "https://pos.api.lotus-wallet.com/app/"; ///正式 -const baseUrl = "https://pos.api.lotus-wallet.com/app/"; ///正式 +// const base_url = "https://pos.api.lotus-wallet.com/app/"; ///正式 +// const baseUrl = "https://pos.api.lotus-wallet.com/app/"; ///正式 // const base_url = "http://user.prod.kunqi.lotus-wallet.com/app/"; ///222 @@ -32,8 +32,8 @@ const baseUrl = "https://pos.api.lotus-wallet.com/app/"; ///正式 // const baseUrl = "http://192.168.10.236:8765/app/";///费韬 -// const base_url = "http://192.168.10.88:8765/app/";///詹云久 -// const baseUrl = "http://192.168.10.88:8765/app/";///詹云久 +const base_url = "http://192.168.10.88:8765/app/";///詹云久 +const baseUrl = "http://192.168.10.88:8765/app/";///詹云久 // const base_url = "http://192.168.10.37:8766/app/"; diff --git a/lib/retrofit/min_api.g.dart b/lib/retrofit/min_api.g.dart index 02d9988a..856ae6e1 100644 --- a/lib/retrofit/min_api.g.dart +++ b/lib/retrofit/min_api.g.dart @@ -9,7 +9,7 @@ part of 'min_api.dart'; class _MinApiService implements MinApiService { _MinApiService(this._dio, {this.baseUrl}) { ArgumentError.checkNotNull(_dio, '_dio'); - baseUrl ??= 'https://pos.api.lotus-wallet.com/app/'; + baseUrl ??= 'http://192.168.10.88:8765/app/'; } final Dio _dio; diff --git a/lib/retrofit/retrofit_api.dart b/lib/retrofit/retrofit_api.dart index adc8711d..a2ce6b7a 100644 --- a/lib/retrofit/retrofit_api.dart +++ b/lib/retrofit/retrofit_api.dart @@ -54,8 +54,8 @@ import 'data/wx_pay.dart'; part 'retrofit_api.g.dart'; -const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///正式 -const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///正式 +// const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///正式 +// const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///正式 // const base_url = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222 // const baseUrl = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222 @@ -70,8 +70,8 @@ const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///正式 // const baseUrl = "http://192.168.10.37:8766/app/"; -// const base_url = "http://192.168.10.88:8766/app/";///詹云久 -// const baseUrl = "http://192.168.10.88:8766/app/";///詹云久 +const base_url = "http://192.168.10.88:8766/app/";///詹云久 +const baseUrl = "http://192.168.10.88:8766/app/";///詹云久 @RestApi(baseUrl: baseUrl) abstract class ApiService { diff --git a/lib/retrofit/retrofit_api.g.dart b/lib/retrofit/retrofit_api.g.dart index 5735110a..527cc52a 100644 --- a/lib/retrofit/retrofit_api.g.dart +++ b/lib/retrofit/retrofit_api.g.dart @@ -9,7 +9,7 @@ part of 'retrofit_api.dart'; class _ApiService implements ApiService { _ApiService(this._dio, {this.baseUrl}) { ArgumentError.checkNotNull(_dio, '_dio'); - baseUrl ??= 'https://pos.platform.lotus-wallet.com/app/'; + baseUrl ??= 'http://192.168.10.88:8766/app/'; } final Dio _dio;