Merge remote changes
This commit is contained in:
parent
c889452e29
commit
0ffce4efe1
9
app.ux
Normal file
9
app.ux
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<script>
|
||||||
|
/**
|
||||||
|
* 应用级别的配置,供所有页面公用
|
||||||
|
*/
|
||||||
|
|
||||||
|
export default {
|
||||||
|
onCreate() {}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
BIN
assets/.DS_Store
vendored
Normal file
BIN
assets/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
assets/images/.DS_Store
vendored
Normal file
BIN
assets/images/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
assets/images/logo.png
Normal file
BIN
assets/images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
5
assets/styles/mixins.scss
Normal file
5
assets/styles/mixins.scss
Normal 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
2
assets/styles/style.scss
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@import './variables.scss';
|
||||||
|
@import './mixins.scss';
|
||||||
9
assets/styles/variables.scss
Normal file
9
assets/styles/variables.scss
Normal 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
36
manifest.json
Normal 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
BIN
pages/.DS_Store
vendored
Normal file
Binary file not shown.
462
pages/Demo/index.ux
Normal file
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
27
pages/DemoDetail/index.ux
Normal 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>
|
||||||
Loading…
x
Reference in New Issue
Block a user