From 120a2b31419b5fdb72719b0467d2744bbcc5fda0 Mon Sep 17 00:00:00 2001 From: TxZgX Date: Fri, 24 Dec 2021 21:16:46 +0800 Subject: [PATCH] add 2.2 --- MyApplication2/build.gradle | 10 ++-- MyApplication2/entry/build.gradle | 10 ++-- .../src/main/js/default/pages/index/index.css | 52 ++++++++++--------- .../src/main/js/default/pages/page0/page0.css | 36 ++++++------- 4 files changed, 56 insertions(+), 52 deletions(-) diff --git a/MyApplication2/build.gradle b/MyApplication2/build.gradle index 531a5f4..a810ddf 100644 --- a/MyApplication2/build.gradle +++ b/MyApplication2/build.gradle @@ -5,13 +5,13 @@ apply plugin: 'com.huawei.ohos.app' ohos { signingConfigs { debug { - storeFile file('C:\\Users\\honor\\.ohos\\config\\auto_debug_myapplication_56657123.p12') - storePassword '00000018DD9439DF3A05ECAD0575EFDD00A6D4C321C19ADA324DC74615798DBD1AA11AC134A63B38' + storeFile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p12') + storePassword '000000188550E520D1D35E8FA4F11D913FBD84D3F631AB50FAD45494E67F834DC8EBADEC664EB7BF' keyAlias = 'debugKey' - keyPassword '000000186497247FD778A61E93DDFC948BAE20D577AEDA2080FCE510D83DF6470EA3F375DABD28A7' + keyPassword '000000183BB9640897FE212C7B0BBB75A795F44DC2B183C86F3420C3404261768A94E422D7582A45' signAlg = 'SHA256withECDSA' - profile file('C:\\Users\\honor\\.ohos\\config\\auto_debug_myapplication_56657123.p7b') - certpath file('C:\\Users\\honor\\.ohos\\config\\auto_debug_myapplication_56657123.cer') + profile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p7b') + certpath file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.cer') } } compileSdkVersion 5 diff --git a/MyApplication2/entry/build.gradle b/MyApplication2/entry/build.gradle index 80aad93..dfd0169 100644 --- a/MyApplication2/entry/build.gradle +++ b/MyApplication2/entry/build.gradle @@ -4,13 +4,13 @@ apply plugin: 'com.huawei.ohos.decctest' ohos { signingConfigs { debug { - storeFile file('C:\\Users\\honor\\.ohos\\config\\auto_debug_myapplication_56657123.p12') - storePassword '00000018ABED8099CAAA6EC570D4E456ABF55BBB47D8D1BE27C2F7E7A55EB2A5D81A3ECD28278B1C' + storeFile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p12') + storePassword '0000001856EA9B72DCD12C677995573A97D0C716FC9BB7125E89E37CF6A53AAF1671950486A02D87' keyAlias = 'debugKey' - keyPassword '000000182BFA80CB83594170D6A068FA249C80099F9B45A3650D15571AC7AA6789CBEA5CAAEEDF58' + keyPassword '0000001864EF071721F6AA68EE1B417DC789469C2CD5E46B0BBF6CA9B91450990764CAC390EE3A7C' signAlg = 'SHA256withECDSA' - profile file('C:\\Users\\honor\\.ohos\\config\\auto_debug_myapplication_56657123.p7b') - certpath file('C:\\Users\\honor\\.ohos\\config\\auto_debug_myapplication_56657123.cer') + profile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p7b') + certpath file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.cer') } } compileSdkVersion 7 diff --git a/MyApplication2/entry/src/main/js/default/pages/index/index.css b/MyApplication2/entry/src/main/js/default/pages/index/index.css index c733b72..921e4b6 100644 --- a/MyApplication2/entry/src/main/js/default/pages/index/index.css +++ b/MyApplication2/entry/src/main/js/default/pages/index/index.css @@ -1,67 +1,71 @@ .container{ - width: 227px; - height: 227px; + width: 100%; + height: 100%; flex-direction: column; justify-content: center; align-items: center; } .score{ text-align: center; - width: 70px; - height: 17px; + width: 30.5%; + height: 7.4%; letter-spacing: 0px; font-size: 11.5px; - margin-top: 1px; - margin-bottom:3px; + margin-top: 0.5%; + margin-bottom:1%; color: #eb0bc7f6; } .best{ text-align: center; - width: 60px; - height: 17px; + width: 26%; + height: 7.4%; font-size: 12.5px; letter-spacing: 0px; - margin-top: 8.3px; + margin-top: 3.6%; color: #64f6f3; } .tile-wrap{ - width: 150px; - height: 150px; + width: 75%; + height: 86.5%; + justify-content: center; + align-items: center; flex-wrap: wrap; background-color: #FFFFFF; } .tile{ - width: 35px; - height: 35px; - margin-top: 2px; - margin-left: 2px; + width: 24.4%; + height: 24.4%; + margin-top: 0.5%; + margin-left: 0.5%; justify-content: center; align-items: center; } .btn{ - width: 61.5px; - height: 20.5px; + width: 26.7%; + height: 9%; background-color: #155ddc; - margin-top: 5px; + margin-top: 2%; + margin-bottom:10%; font-size: 13px; - margin-bottom: 3px; } .text{ font-size: 13px; color: #000000; } .stack{ - width: 150px; - height: 150px; + width: 75%; + height: 86.5%; + justify-content: center; + align-items: center; } .subcontainer{ - width: 150px; - height: 150px; + width: 75%; + height: 86.5%; justify-content: center; align-items: center; background-color: black; } .gameover{ - font-size: 30px; + font-size: 32px; color: #FF7500; } diff --git a/MyApplication2/entry/src/main/js/default/pages/page0/page0.css b/MyApplication2/entry/src/main/js/default/pages/page0/page0.css index 4cd622a..eae5ee8 100644 --- a/MyApplication2/entry/src/main/js/default/pages/page0/page0.css +++ b/MyApplication2/entry/src/main/js/default/pages/page0/page0.css @@ -1,42 +1,42 @@ .container{ - width: 227px; - height: 227px; + width: 100%; + height: 100%; flex-direction: column; justify-content: center; align-items: center; } .title { text-align: center; - width: 140px; - height: 62px; + width: 62%; + height: 22%; letter-spacing: 0px; font-size: 19px; - margin-top: 40px; - margin-bottom:3px; + margin-top: 20%; + margin-bottom:2%; color: #eb0750cb; } .title1 { text-align: center; - width: 180px; - height: 150px; + width: 78%; + height: 65%; font-size: 15.5px; - margin-top: 5px; - margin-bottom:5px; + margin-top: 2%; + margin-bottom:1%; color: #eb0597bb; } .btn{ - width: 65.5px; - height: 35.5px; + width: 28.5%; + height: 15.5%; background-color: #155ddc; - margin-top: 5px; + margin-top: 20%; font-size: 13px; - margin-bottom: 3px; + margin-bottom: 15%; } .btn1{ - width: 65.5px; - height: 35.5px; + width: 28.5%; + height: 15.5%; background-color: #155ddc; - margin-top: 5px; + margin-top: 15%; font-size: 13px; - margin-bottom: 5px; + margin-bottom: 35%; } \ No newline at end of file