Pārlūkot izejas kodu

1.新增商品标题粗细配置

tags/0.0.7
“yanghuaxuan” pirms 3 gadiem
vecāks
revīzija
75f0f5c6bf
6 mainītis faili ar 10 papildinājumiem un 4 dzēšanām
  1. +2
    -2
      example/android/app/build.gradle
  2. +1
    -1
      example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java
  3. +2
    -0
      example/lib/main.dart
  4. +2
    -0
      example/pubspec.yaml
  5. +1
    -1
      lib/widgets/home/home_goods/home_goods_item_single.dart
  6. +2
    -0
      lib/widgets/home/home_goods/models/home_goods_list_style_model.dart

+ 2
- 2
example/android/app/build.gradle Parādīt failu

@@ -113,9 +113,9 @@ android {
// 智夜生活
zhiying {
applicationId "cn.zhios.zhiying"
versionCode 47
versionCode 48
dimension "app"
versionName '1.3.5'
versionName '1.3.6'
// 签名信息
signingConfig signingConfigs.zhiying
}


+ 1
- 1
example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java Parādīt failu

@@ -168,7 +168,7 @@ public class MainActivity extends FlutterActivity implements ZhiyingFlutterCommN
public Map getSetting() {
Map map = new HashMap();
map.put("domain", "http://inapi.izhyin.cn/"); //"http://120.76.175.204:8989");
// map.put("domain", "http://192.168.0.113:5000");45678910,
// map.put("domain", "http://api.zhios.cn/");45678910,
map.put("master_id", "123456");
map.put("secret_key", "123456");
// map.put("token", "123465");


+ 2
- 0
example/lib/main.dart Parādīt failu

@@ -20,6 +20,7 @@ import 'package:zhiying_new_user_free/register.dart';
import 'package:zhiying_wechat_teacher/register.dart';
import 'package:zhiying_moments/register.dart';
import 'package:zhiying_member_upgrade/register.dart';
import 'package:zhiying_equity_card/zhiying_equity_card.dart';

void main() {
FlutterError.onError = (FlutterErrorDetails details) {
@@ -65,6 +66,7 @@ class _MyAppState extends State<MyApp> {
WeChatTeachRegister.init();
FriendCircleRegister.init();
MemberUpgradeRegister.init();
EquityCardRegister.init();
print('初始化百川');
FlutterAlibc.initAlibc(version: "", appName: "").then((result) {
print("白川" + '${result.errorCode} ${result.errorMessage}');


+ 2
- 0
example/pubspec.yaml Parādīt failu

@@ -28,6 +28,8 @@ dev_dependencies:
path: ../../zhiying_new_user_free
zhiying_business_college:
path: ../../zhiying_business_college
zhiying_equity_card:
path: ../../zhiying_equity_card
#微信导师
zhiying_wechat_teacher:
#path: ../zhiying_wechat_teacher


+ 1
- 1
lib/widgets/home/home_goods/home_goods_item_single.dart Parādīt failu

@@ -142,7 +142,7 @@ class HomeGoodsItemSingle extends StatelessWidget {
}
list.add(TextSpan(
text: goods.goodTitle,
style: TextStyle(fontSize: 15, color: HexColor.fromHex('#333333'), fontWeight: FontWeight.bold),
style: TextStyle(fontSize: 15, color: HexColor.fromHex('#333333'), fontWeight: style?.listStyle?.isTitleBold=="1"? FontWeight.bold:FontWeight.w500),
));
return RichText(
maxLines: 2,


+ 2
- 0
lib/widgets/home/home_goods/models/home_goods_list_style_model.dart Parādīt failu

@@ -13,6 +13,7 @@ class HomeGoodsListStyleModel {
HomeGoodsStyleModelCouponCommission couponCommission;
HomeGoodsStyleModelHotRank hotRank;
String listColumn;
String isTitleBold;

HomeGoodsListStyleModel(
{this.hotRankIconList,
@@ -56,6 +57,7 @@ class HomeGoodsListStyleModel {
hotRank = json['hot_rank'] != null
? new HomeGoodsStyleModelHotRank.fromJson(json['hot_rank'])
: null;
isTitleBold=json['is_title_bold'];
}

Map<String, dynamic> toJson() {


Notiek ielāde…
Atcelt
Saglabāt