Showing
1 changed file
with
34 additions
and
72 deletions
| @@ -223,83 +223,45 @@ class _DishShowPageState extends State<DishShowPage> { | @@ -223,83 +223,45 @@ class _DishShowPageState extends State<DishShowPage> { | ||
| 223 | child: SingleChildScrollView( | 223 | child: SingleChildScrollView( |
| 224 | controller: controller, | 224 | controller: controller, |
| 225 | child: Column(children: [ | 225 | child: Column(children: [ |
| 226 | - _item('附加招牌菜展示', select: addDish, onTap: () { | 226 | + _item('预订安排通知中附加招牌菜介绍图片', select: addDish, onTap: () { |
| 227 | setState(() { | 227 | setState(() { |
| 228 | addDish = !addDish; | 228 | addDish = !addDish; |
| 229 | }); | 229 | }); |
| 230 | }), | 230 | }), |
| 231 | VEmptyView(24), | 231 | VEmptyView(24), |
| 232 | - Container( | ||
| 233 | - alignment: Alignment.centerLeft, | ||
| 234 | - padding: EdgeInsets.only(left: w(16)), | ||
| 235 | - height: w(48), | ||
| 236 | - child: Text( | ||
| 237 | - '效果预览', | ||
| 238 | - style: TextStyle( | ||
| 239 | - fontSize: font(16), color: MyColours.color_515151), | ||
| 240 | - ), | ||
| 241 | - ), | ||
| 242 | - addDish | ||
| 243 | - ? Column( | ||
| 244 | - children: [ | ||
| 245 | - VEmptyView(24), | ||
| 246 | - Stack( | ||
| 247 | - alignment: Alignment.topCenter, | ||
| 248 | - children: [ | ||
| 249 | - ImgPickerInvitationWidget( | ||
| 250 | - scrollController: controller, | ||
| 251 | - model: _uploadImageProvider, | ||
| 252 | - index: 5, | ||
| 253 | - imageModel: | ||
| 254 | - _uploadImageProvider.storeImage1), | ||
| 255 | - Container( | ||
| 256 | - width: double.infinity, | ||
| 257 | - padding: EdgeInsets.only( | ||
| 258 | - left: w(26), top: w(16), bottom: w(16)), | ||
| 259 | - decoration: BoxDecoration( | ||
| 260 | - gradient: LinearGradient( | ||
| 261 | - stops: [0, 1], | ||
| 262 | - begin: Alignment.topCenter, | ||
| 263 | - end: Alignment.bottomCenter, | ||
| 264 | - colors: [ | ||
| 265 | - themColor, | ||
| 266 | - MyColours.color_4D0C0F0E, | ||
| 267 | - ], | ||
| 268 | - ), | ||
| 269 | - ), | ||
| 270 | - child: Column( | ||
| 271 | - crossAxisAlignment: | ||
| 272 | - CrossAxisAlignment.start, | ||
| 273 | - children: [ | ||
| 274 | - Text('Favorites', | ||
| 275 | - style: TextStyle( | ||
| 276 | - color: MyColours.color_B39437, | ||
| 277 | - fontSize: font(14))), | ||
| 278 | - Text('菜品展示', | ||
| 279 | - style: TextStyle( | ||
| 280 | - color: MyColours.color_B39437, | ||
| 281 | - fontSize: font(14))) | ||
| 282 | - ], | ||
| 283 | - ), | ||
| 284 | - ) | ||
| 285 | - ], | ||
| 286 | - ), | ||
| 287 | - VEmptyView(18), | ||
| 288 | - ImgPickerInvitationWidget( | ||
| 289 | - scrollController: controller, | ||
| 290 | - model: _uploadImageProvider, | ||
| 291 | - index: 6, | ||
| 292 | - imageModel: _uploadImageProvider.storeImage2), | ||
| 293 | - VEmptyView(18), | ||
| 294 | - ImgPickerInvitationWidget( | ||
| 295 | - scrollController: controller, | ||
| 296 | - model: _uploadImageProvider, | ||
| 297 | - index: 7, | ||
| 298 | - imageModel: _uploadImageProvider.storeImage3), | ||
| 299 | - VEmptyView(18), | ||
| 300 | - ], | ||
| 301 | - ) | ||
| 302 | - : SizedBox() | 232 | + // Container( |
| 233 | + // alignment: Alignment.centerLeft, | ||
| 234 | + // padding: EdgeInsets.only(left: w(16)), | ||
| 235 | + // height: w(48), | ||
| 236 | + // child: Text( | ||
| 237 | + // '效果预览', | ||
| 238 | + // style: TextStyle( | ||
| 239 | + // fontSize: font(16), color: MyColours.color_515151), | ||
| 240 | + // ), | ||
| 241 | + // ), | ||
| 242 | + Column( | ||
| 243 | + children: [ | ||
| 244 | + VEmptyView(24), | ||
| 245 | + ImgPickerInvitationWidget( | ||
| 246 | + scrollController: controller, | ||
| 247 | + model: _uploadImageProvider, | ||
| 248 | + index: 5, | ||
| 249 | + imageModel: _uploadImageProvider.storeImage1), | ||
| 250 | + VEmptyView(18), | ||
| 251 | + ImgPickerInvitationWidget( | ||
| 252 | + scrollController: controller, | ||
| 253 | + model: _uploadImageProvider, | ||
| 254 | + index: 6, | ||
| 255 | + imageModel: _uploadImageProvider.storeImage2), | ||
| 256 | + VEmptyView(18), | ||
| 257 | + ImgPickerInvitationWidget( | ||
| 258 | + scrollController: controller, | ||
| 259 | + model: _uploadImageProvider, | ||
| 260 | + index: 7, | ||
| 261 | + imageModel: _uploadImageProvider.storeImage3), | ||
| 262 | + VEmptyView(18), | ||
| 263 | + ], | ||
| 264 | + ) | ||
| 303 | ]))), | 265 | ]))), |
| 304 | Container( | 266 | Container( |
| 305 | color: MyColours.color_ffffff, | 267 | color: MyColours.color_ffffff, |
-
Please register or login to post a comment