diff --git a/arkoala-arkts/shopping/src/ets/pages/homePage/goodsList.ets b/arkoala-arkts/shopping/src/ets/pages/homePage/goodsList.ets index 4822107b84473d3e588c42b0dee9d886772900a7..552da561731831c85d5b0f02023c7653bff0474b 100644 --- a/arkoala-arkts/shopping/src/ets/pages/homePage/goodsList.ets +++ b/arkoala-arkts/shopping/src/ets/pages/homePage/goodsList.ets @@ -69,12 +69,12 @@ export struct GoodsList { .objectFit(ImageFit.Contain) .margin({ bottom: 40 } as Margin) Text(this.productData[item.valueOf() % 14].title) - .fontSize(16 * this.ratio) + .fontSize(16 * 1) .fontWeight(600) .margin({ bottom: 10, left: 10 } as Margin) Row() { Text(this.productData[item.valueOf() % 14].labels) - .fontSize(10 * this.ratio) + .fontSize(10 * 1) .border({ width: 1, color: '#FA808080' } as BorderOptions) .margin({ bottom: 2, left: 10 } as Margin) .padding(2) @@ -82,7 +82,7 @@ export struct GoodsList { .margin({ bottom: 2 } as Margin) Text(`¥${item.valueOf() + 1}`) - .fontSize(16 * this.ratio) + .fontSize(16 * 1) .fontColor(Color.Red) .margin({ left: 10 } as Margin) } diff --git a/arkoala-arkts/shopping/src/ets/pages/homePage/main.ets b/arkoala-arkts/shopping/src/ets/pages/homePage/main.ets index b5c430cbe9669c676d5c9b6dc7bc6c71163aa017..e8253af74ea69f474f4b95522fd224dc68b6145c 100644 --- a/arkoala-arkts/shopping/src/ets/pages/homePage/main.ets +++ b/arkoala-arkts/shopping/src/ets/pages/homePage/main.ets @@ -184,15 +184,15 @@ export struct MainPage { }.tabBar('全部') TabContent() { - GoodsList({ ListIndex: $ListIndex, ratio: $ratio }) + // GoodsList({ ListIndex: $ListIndex, ratio: $ratio }) }.tabBar('直播') TabContent() { - GoodsList({ ListIndex: $ListIndex, ratio: $ratio }) + // GoodsList({ ListIndex: $ListIndex, ratio: $ratio }) }.tabBar('便宜好货') TabContent() { - GoodsList({ ListIndex: $ListIndex, ratio: $ratio }) + // GoodsList({ ListIndex: $ListIndex, ratio: $ratio }) }.tabBar('洋淘') } .barWidth(0) diff --git a/interop/src/cpp/vmloader.cc b/interop/src/cpp/vmloader.cc index 13c7c193f1e167cb47039c36292a7ab3c840814c..2510ba2352edb47fdd0e05056f4e41799a44565a 100644 --- a/interop/src/cpp/vmloader.cc +++ b/interop/src/cpp/vmloader.cc @@ -232,7 +232,7 @@ extern "C" DLL_EXPORT KInt LoadVirtualMachine(KInt vmKind, const char* appClassP etsVMOptions = { #if defined(KOALA_LINUX) {EtsOptionType::ETS_BOOT_FILE, (char*)strdup((std::string(thisVM->sdkPath) + "/ets/etsstdlib.abc").c_str())}, -#elif defined(KOALA_OHOS_ARM32) +#elif defined(KOALA_OHOS_ARM32) || defined(KOALA_OHOS_ARM64) {EtsOptionType::ETS_BOOT_FILE, "/system/etc/etsstdlib.abc"}, #endif };