隐藏京东商品来源字样

隐藏京东商品标签
pull/1/head
张萌 3 years ago
parent 1b58992085
commit e076f788b9

@ -1,3 +1,4 @@
import 'package:common_utils/common_utils.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';

@ -67,7 +67,7 @@ class CollectionListCard extends StatelessWidget {
), ),
), ),
5.hb, 5.hb,
_getIcon(2), // _getIcon(2),
//_getIcon(model.kind??0), //_getIcon(model.kind??0),
Spacer(), Spacer(),
20.hb, 20.hb,

@ -83,15 +83,15 @@ class MarketHomeGoodsCard extends StatelessWidget {
style: TextStyle(fontSize: 28.sp, color: ktextPrimary), style: TextStyle(fontSize: 28.sp, color: ktextPrimary),
), ),
), ),
Padding( // Padding(
padding: EdgeInsets.only( // padding: EdgeInsets.only(
left: 16.w, // left: 16.w,
right: 16.w, // right: 16.w,
top: 10.w, // top: 10.w,
), // ),
child: Container( // child: Container(
child: _getIcon(1), // child: _getIcon(1),
)), // )),
10.hb, 10.hb,
Padding( Padding(
padding: EdgeInsets.symmetric( padding: EdgeInsets.symmetric(

@ -327,7 +327,7 @@ class _MarketPageState extends State<MarketPage>
172 * 2.w, 172 * 2.w,
flexibleSpace: _flexibleSpaceBar(context), flexibleSpace: _flexibleSpaceBar(context),
bottom: PreferredSize( bottom: PreferredSize(
preferredSize: Size.fromHeight(tabBarHeight+50.h), preferredSize: Size.fromHeight(tabBarHeight),
child: _goodsTitle( child: _goodsTitle(
normalTypeButton, normalTypeButton,
salesTypeButton, salesTypeButton,
@ -600,9 +600,9 @@ class _MarketPageState extends State<MarketPage>
geSearch() { geSearch() {
return Column( return Column(
children: [ children: [
16.hb, // 16.hb,
'本商城所有商品来源于京东'.text.color(Color(0xFFACACAC)).normal.size(30.sp).make(), // // '本商城所有商品来源于京东'.text.color(Color(0xFFACACAC)).normal.size(30.sp).make(),
16.hb, // 16.hb,
Row( Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [

@ -527,9 +527,9 @@ class _OrderCardState extends State<OrderCard> {
Widget _goodCard(MyOrderListVoList model) { Widget _goodCard(MyOrderListVoList model) {
var top = RichText( var top = RichText(
text: TextSpan(children: [ text: TextSpan(children: [
WidgetSpan( // WidgetSpan(
child: _getKindWd(model.kind ?? 0), // child: _getKindWd(model.kind ?? 0),
), // ),
TextSpan( TextSpan(
text: model.skuName, text: model.skuName,
style: TextStyle(fontSize: 28.sp, color: ktextPrimary)), style: TextStyle(fontSize: 28.sp, color: ktextPrimary)),

@ -581,9 +581,9 @@ class _OrderDetailPageState extends State<OrderDetailPage> {
Widget _goodCard(MyOrderListVoList model) { Widget _goodCard(MyOrderListVoList model) {
var top = RichText( var top = RichText(
text: TextSpan(children: [ text: TextSpan(children: [
WidgetSpan( // WidgetSpan(
child: _getKindWd(model.kind ?? 0), // child: _getKindWd(model.kind ?? 0),
), // ),
TextSpan( TextSpan(
text: model.skuName, text: model.skuName,
style: TextStyle(fontSize: 28.sp, color: ktextPrimary)), style: TextStyle(fontSize: 28.sp, color: ktextPrimary)),

@ -283,7 +283,7 @@ class _GoodDetailPageState extends State<GoodDetailPage> {
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),
_getIcon(_goodDetail!.kind), // _getIcon(_goodDetail!.kind),
24.hb, 24.hb,
Row( Row(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
@ -348,7 +348,7 @@ class _GoodDetailPageState extends State<GoodDetailPage> {
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),
_getIcon(_goodDetail!.kind), // _getIcon(_goodDetail!.kind),
Spacer(), Spacer(),
Row( Row(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,

@ -76,7 +76,7 @@ class GoodsListCardState extends State<GoodsListCard> {
), ),
), ),
5.hb, 5.hb,
_getIcon(2), // _getIcon(2),
//_getIcon(model.kind??0), //_getIcon(model.kind??0),
Spacer(), Spacer(),
20.hb, 20.hb,

@ -455,9 +455,9 @@ class _SubmitOrderNormalPageState extends State<SubmitOrderNormalPage> {
Widget _goodCard(GoodDetailModel model) { Widget _goodCard(GoodDetailModel model) {
var top = RichText( var top = RichText(
text: TextSpan(children: [ text: TextSpan(children: [
WidgetSpan( // WidgetSpan(
child: _getKindWd(model.kind), // child: _getKindWd(model.kind),
), // ),
TextSpan( TextSpan(
text: model.skuName, text: model.skuName,
style: TextStyle(fontSize: 28.sp, color: ktextPrimary)), style: TextStyle(fontSize: 28.sp, color: ktextPrimary)),

@ -91,15 +91,15 @@ class _SearchGoodsCardState extends State<SearchGoodsCard> {
style: TextStyle(fontSize: 28.sp, color: ktextPrimary), style: TextStyle(fontSize: 28.sp, color: ktextPrimary),
), ),
), ),
Padding( // Padding(
padding: EdgeInsets.only( // padding: EdgeInsets.only(
left: 16.w, // left: 16.w,
right: 16.w, // right: 16.w,
top: 10.w, // top: 10.w,
), // ),
child: Container( // child: Container(
child: _getIcon(widget.item.kind ?? 0), // child: _getIcon(widget.item.kind ?? 0),
)), // )),
10.hb, 10.hb,
Padding( Padding(
padding: EdgeInsets.symmetric( padding: EdgeInsets.symmetric(

@ -265,9 +265,9 @@ class _ShopCarPageState extends State<ShopCarPage> {
Widget _goodCard(ShopCarListModel model, int index) { Widget _goodCard(ShopCarListModel model, int index) {
var top = RichText( var top = RichText(
text: TextSpan(children: [ text: TextSpan(children: [
WidgetSpan( // WidgetSpan(
child: _getKindWd(model.kind ?? 0), // child: _getKindWd(model.kind ?? 0),
), // ),
TextSpan( TextSpan(
text: model.skuName, text: model.skuName,
style: TextStyle(fontSize: 28.sp, color: ktextPrimary)), style: TextStyle(fontSize: 28.sp, color: ktextPrimary)),

Loading…
Cancel
Save