Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@aiot-toolkit/velasim": "^0.1.26-beta.3",
"aiot-toolkit": "^1.1.4",
"aiot-toolkit": "^2.0.5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check if there is any code that needs to be migrated after the upgrade
refs: https://iot.mi.com/vela/quickapp/zh/tools/toolkit/update.html

"babel-eslint": "^10.0.1",
"eslint": "^6.8.0",
"eslint-plugin-ux": "^0.0.4",
Expand Down
6 changes: 6 additions & 0 deletions calendar/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"features": [
{
"name": "system.router"
},
{
"name": "system.device"
},
{
"name": "system.app"
}
],
"config": {
Expand Down
2 changes: 1 addition & 1 deletion calendar/src/pages/index/index.ux
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default {
flex-direction: column;
}

@media not (width <= 212) {
@media screen and (shape: circle) {
.home-page {
width: 100%;
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@aiot-toolkit/velasim": "^0.1.26-beta.3",
"aiot-toolkit": "^1.1.4",
"aiot-toolkit": "^2.0.5",
"babel-eslint": "^10.0.1",
"eslint": "^6.8.0",
"eslint-plugin-ux": "^0.0.4",
Expand Down
2 changes: 1 addition & 1 deletion multi-screen-calculator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@aiot-toolkit/velasim": "^0.1.25",
"aiot-toolkit": "1.1.4",
"aiot-toolkit": "2.0.5",
"babel-eslint": "^10.0.1",
"eslint": "^6.8.0",
"eslint-plugin-ux": "^0.0.4"
Expand Down
5 changes: 4 additions & 1 deletion multi-screen-calculator/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
"versionName": "1.0.0",
"versionCode": 1,
"minPlatformVersion": 1000,
"icon": "/resources/base/media/icon.png",
"icon": "/resources/base/media/logo.png",
"deviceTypeList": [
"watch"
],
"features": [
{
"name": "system.app"
},
{
"name": "system.device"
}
],
"config": {
Expand Down
2 changes: 1 addition & 1 deletion multi-screen-calculator/src/pages/index/index.ux
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<input type="button" class="inputCommon" style="background-color: {{clickColorList[18]}};" value="{{keyBoardNum[18]}}">
</div>
<input type="button" class="clearAll" style="background-color: {{clickColorList[0]}};" value="{{keyBoardNum[0]}}">
<image src="../../res/textures/del.png" class="delIcon" ></image>
<image src="/res/textures/del.png" class="delIcon" ></image>
</div>
<div else class="container" if="{{$app.$def.screenShape === 'rect'}}">
<div class="resultBox">
Expand Down
2 changes: 1 addition & 1 deletion multi_screen_todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@aiot-toolkit/velasim": "^0.1.23",
"aiot-toolkit": "^1.1.4",
"aiot-toolkit": "^2.0.5",
"babel-eslint": "^10.0.1",
"eslint": "^6.8.0",
"eslint-plugin-ux": "^0.0.4"
Expand Down
3 changes: 3 additions & 0 deletions multi_screen_todolist/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"features": [
{
"name": "system.router"
},
{
"name": "system.app"
}
],
"config": {
Expand Down
2 changes: 1 addition & 1 deletion player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@aiot-toolkit/velasim": "^0.1.26-beta.3",
"aiot-toolkit": "^1.1.4",
"aiot-toolkit": "^2.0.5",
"babel-eslint": "^10.0.1",
"eslint": "^6.8.0",
"eslint-plugin-ux": "^0.0.4",
Expand Down
6 changes: 3 additions & 3 deletions settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
},
"scripts": {
"start": "aiot server --watch --open-nuttx --enable-custom-component",
"build": "aiot build --enable-ops-wrap --enable-jsc",
"release": "aiot release --enable-ops-wrap --enable-jsc",
"build": "aiot build",
"release": "aiot release",
"watch": "aiot watch --open-nuttx",
"lint": "eslint --format codeframe --fix --ext .ux,.js src/"
},
"devDependencies": {
"@aiot-toolkit/velasim": "^0.1.26-beta.3",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"aiot-toolkit": "^1.1.4",
"aiot-toolkit": "^2.0.5",
"babel-eslint": "^10.0.1",
"eslint": "^6.0.0",
"eslint-config-prettier": "^6.0.0",
Expand Down
15 changes: 0 additions & 15 deletions settings/quickapp.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
const path = require('path')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')


const resolve = dir => path.resolve(__dirname, dir)

module.exports = {
// 在此处添加命令行
cli: {
trimDotnine: true,
devtool: 'none',
buildNameFormat: 'ORIGINAL',
optimizeDescMeta: true
},
Expand All @@ -20,18 +17,6 @@ module.exports = {
'@common': resolve('src/Common'),
"@": resolve('src')
}
},
module: {
rules: [
{
test: /\.css$/,
use: [MiniCssExtractPlugin.loader, 'css-loader']
},
{
test: /\.less$/,
use: [MiniCssExtractPlugin.loader, 'css-loader', 'less-loader']
},
]
}
}
}
1 change: 0 additions & 1 deletion settings/src/app.ux
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export default {
margin-top: 4px;
}
.list-item {
display: list-item;
}
.bg-black {
background-color: rgba(0, 0, 0, 1);
Expand Down
1 change: 0 additions & 1 deletion settings/src/common/style/unocss-vela.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.mr-10{margin-right:10px;}
.mr-60{margin-right:60px;}
.mt-4{margin-top:4px;}
.list-item{display:list-item;}
.bg-black{background-color:rgba(0,0,0,1);}
.fs-36{font-size:36px;}
.h-30{height:30px;}
Expand Down
3 changes: 3 additions & 0 deletions settings/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"features": [
{
"name": "system.router"
},
{
"name": "system.app"
}
],
"config": {
Expand Down