Explorar el Código

1.我的订单免单提示去除

tags/0.0.4+7^0
“yanghuaxuan” hace 3 años
padre
commit
588a18b40c
Se han modificado 2 ficheros con 28 adiciones y 28 borrados
  1. +27
    -27
      example/android/app/build.gradle
  2. +1
    -1
      lib/pages/orders_page/views/order_item_widget.dart

+ 27
- 27
example/android/app/build.gradle Ver fichero

@@ -108,33 +108,33 @@ android {


// 应用信息配置
productFlavors {
// 智夜生活
zhiying {
applicationId "cn.zhios.zhiying"
versionCode 34
dimension "app"
versionName '1.2.34'
// 签名信息
signingConfig signingConfigs.zhiying
}
}
// 打包脚本
android.applicationVariants.all { variant ->
if (variant.buildType.name != "debug") {
variant.getPackageApplicationProvider().get().outputDirectory = new File(project.rootDir.absolutePath + "/app/build/outputs/apk")
}
variant.outputs.all { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.apk')) {
//这里修改apk文件名
def fileName = "${variant.productFlavors[0].name}_${releaseTime()}01_&V${variant.productFlavors[0].versionCode}.apk"
outputFileName = fileName
}
}
}
// productFlavors {
// // 智夜生活
// zhiying {
// applicationId "cn.zhios.zhiying"
// versionCode 34
// dimension "app"
// versionName '1.2.34'
// // 签名信息
// signingConfig signingConfigs.zhiying
// }
// }
//
// // 打包脚本
// android.applicationVariants.all { variant ->
// if (variant.buildType.name != "debug") {
// variant.getPackageApplicationProvider().get().outputDirectory = new File(project.rootDir.absolutePath + "/app/build/outputs/apk")
// }
//
// variant.outputs.all { output ->
// def outputFile = output.outputFile
// if (outputFile != null && outputFile.name.endsWith('.apk')) {
// //这里修改apk文件名
// def fileName = "${variant.productFlavors[0].name}_${releaseTime()}01_&V${variant.productFlavors[0].versionCode}.apk"
// outputFileName = fileName
// }
// }
// }

configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->


+ 1
- 1
lib/pages/orders_page/views/order_item_widget.dart Ver fichero

@@ -66,7 +66,7 @@ class OrderItemWidget extends StatelessWidget {
color: Color(0xff333333),
),
),
model?.priceName == null
(model?.priceName == null|| model?.priceName.length==0)
? Container()
: Container(
decoration: BoxDecoration(color: Colors.red, borderRadius: BorderRadius.circular(4)),


Cargando…
Cancelar
Guardar