|
@@ -135,6 +135,52 @@ class _GangInformationPageState extends State<GangInformationPage> {
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
|
|
+ Container(
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ margin: EdgeInsets.only(top: 3),
|
|
|
|
|
+ padding: EdgeInsets.only(
|
|
|
|
|
+ top: 9, bottom: 14, left: 16, right: 16),
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ Row(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ Text(
|
|
|
|
|
+ '介绍',
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ color: MyColors.c333333, fontSize: 15),
|
|
|
|
|
+ ),
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ child: SvgPicture.asset('images/svg/箭头.svg'),
|
|
|
|
|
+ visible: widget.data.ownerUid ==
|
|
|
|
|
+ MyCookie().getUID(),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
+ ),
|
|
|
|
|
+ Container(
|
|
|
|
|
+ decoration: BoxDecoration(
|
|
|
|
|
+ color: MyColors.c19FF4233,
|
|
|
|
|
+ borderRadius: BorderRadius.all(
|
|
|
|
|
+ Radius.circular(4),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ child: Text(
|
|
|
|
|
+ store == null
|
|
|
|
|
+ ? '暂无介绍'
|
|
|
|
|
+ : store.introduction.isEmpty
|
|
|
|
|
+ ? '暂无介绍'
|
|
|
|
|
+ : store.introduction,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ color: MyColors.c666666, fontSize: 13),
|
|
|
|
|
+ ),
|
|
|
|
|
+ alignment: Alignment.topLeft,
|
|
|
|
|
+ padding: EdgeInsets.symmetric(
|
|
|
|
|
+ vertical: 20, horizontal: 16),
|
|
|
|
|
+ margin: EdgeInsets.only(top: 10),
|
|
|
|
|
+ )
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
Visibility(
|
|
Visibility(
|
|
|
visible: store != null && store.mobile.isNotEmpty,
|
|
visible: store != null && store.mobile.isNotEmpty,
|
|
|
child: GestureDetector(
|
|
child: GestureDetector(
|
|
@@ -779,37 +825,40 @@ class _GangInformationPageState extends State<GangInformationPage> {
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
- GestureDetector(
|
|
|
|
|
- onTap: () {},
|
|
|
|
|
- behavior: HitTestBehavior.translucent,
|
|
|
|
|
- child: Container(
|
|
|
|
|
- child: Row(
|
|
|
|
|
- children: [
|
|
|
|
|
- Text(
|
|
|
|
|
- '隐私保护',
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- color: MyColors.c333333, fontSize: 15),
|
|
|
|
|
- ),
|
|
|
|
|
- CupertinoSwitch(
|
|
|
|
|
- value: privacyProtection,
|
|
|
|
|
- onChanged: (v) {
|
|
|
|
|
- if (v) {
|
|
|
|
|
- MyTools().toPage(
|
|
|
|
|
- context,
|
|
|
|
|
- PrivacyProtectionPropsPage(
|
|
|
|
|
- widget.data, vpKeyChatWaterMark),
|
|
|
|
|
- (then) {
|
|
|
|
|
- controller.requestRefresh();
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
- }),
|
|
|
|
|
- ],
|
|
|
|
|
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible: widget.data.ownerUid==MyCookie().getUID(),
|
|
|
|
|
+ child: GestureDetector(
|
|
|
|
|
+ onTap: () {},
|
|
|
|
|
+ behavior: HitTestBehavior.translucent,
|
|
|
|
|
+ child: Container(
|
|
|
|
|
+ child: Row(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ Text(
|
|
|
|
|
+ '隐私保护',
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ color: MyColors.c333333, fontSize: 15),
|
|
|
|
|
+ ),
|
|
|
|
|
+ CupertinoSwitch(
|
|
|
|
|
+ value: privacyProtection,
|
|
|
|
|
+ onChanged: (v) {
|
|
|
|
|
+ if (v) {
|
|
|
|
|
+ MyTools().toPage(
|
|
|
|
|
+ context,
|
|
|
|
|
+ PrivacyProtectionPropsPage(
|
|
|
|
|
+ widget.data, vpKeyChatWaterMark),
|
|
|
|
|
+ (then) {
|
|
|
|
|
+ controller.requestRefresh();
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ }),
|
|
|
|
|
+ ],
|
|
|
|
|
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
+ ),
|
|
|
|
|
+ padding:
|
|
|
|
|
+ EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ margin: EdgeInsets.only(top: 3),
|
|
|
),
|
|
),
|
|
|
- padding:
|
|
|
|
|
- EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- margin: EdgeInsets.only(top: 3),
|
|
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
/* Container(
|
|
/* Container(
|