Merge remote changes

This commit is contained in:
chorblack 2025-04-22 20:51:53 +08:00
parent c889452e29
commit 0ffce4efe1
12 changed files with 550 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

9
app.ux Normal file
View File

@ -0,0 +1,9 @@
<script>
/**
* 应用级别的配置,供所有页面公用
*/
export default {
onCreate() {}
}
</script>

BIN
assets/.DS_Store vendored Normal file

Binary file not shown.

BIN
assets/images/.DS_Store vendored Normal file

Binary file not shown.

BIN
assets/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,5 @@
@mixin flex-box-mixins($direction: row, $justify: center, $align-items: center) {
flex-direction: $direction;
justify-content: $justify;
align-items: $align-items;
}

2
assets/styles/style.scss Normal file
View File

@ -0,0 +1,2 @@
@import './variables.scss';
@import './mixins.scss';

View File

@ -0,0 +1,9 @@
$brand: #09ba07;
$white: #ffffff;
$black: #000000;
$grey: #9393aa;
$red: #fa0101;
$green: #ffff00;
$size-factor: 5px;

36
manifest.json Normal file
View File

@ -0,0 +1,36 @@
{
"package": "top.chorblack.keypan",
"name": "输入法",
"versionName": "1.0.0",
"versionCode": 1,
"appCategory": [
"other"
],
"icon": "/assets/images/logo.png",
"features": [
{
"name": "blueos.app.appmanager.router"
},{ "name": "blueos.window.prompt" }
],
"deviceTypeList": [
"watch",
"watch-square"
],
"config": {
"designWidth": 466
},
"router": {
"entry": "pages/Demo",
"pages": {
"pages/Demo": {
"component": "index"
},
"pages/DemoDetail": {
"component": "index"
}
}
},
"display": {
"backgroundColor": "#000000"
}
}

BIN
pages/.DS_Store vendored Normal file

Binary file not shown.

462
pages/Demo/index.ux Normal file

File diff suppressed because one or more lines are too long

27
pages/DemoDetail/index.ux Normal file
View File

@ -0,0 +1,27 @@
<template>
<div class="wrapper">
<text class="title">{{ text }}</text>
</div>
</template>
<script>
export default {
data: {
text: '你好,世界'
}
}
</script>
<style lang="scss">
@import './../../assets/styles/style.scss';
.wrapper {
@include flex-box-mixins(column, center, center);
margin: 0 10 * $size-factor;
.title {
font-size: 8 * $size-factor;
text-align: center;
color: $black;
}
}
</style>