Skip to content

Commit

Permalink
打包等测试完毕(内容未开发)
Browse files Browse the repository at this point in the history
  • Loading branch information
google-group committed Aug 10, 2021
1 parent e4c2ef2 commit 94dbc04
Show file tree
Hide file tree
Showing 14 changed files with 240 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 统一编辑器代码风格

root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[package.json]
indent_size = 2
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://hai2007.gitee.io/sweethome/#/Sponsors']
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.git
.DS_Store
.project
node_modules
.vscode
unpackage
.hbuilderx
6 changes: 6 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Authors ordered by first contribution.

你好2007 <[email protected]> <https://github.com/hai2007> <https://hai2007.gitee.io/sweethome/>

-----------------------------------------------------
We thank all of them for their contributions!
17 changes: 17 additions & 0 deletions App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>

<style>
/*每个页面公共css */
</style>
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 hai2007 走一步,再走一步。

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# Notepad-for-Phone
简单、免费、开源的手机端的记事本,基于uni-app开发。

## Issues
使用的时候遇到任何问题或有好的建议,请点击进入[issue](https://github.com/hai2007/Notepad-for-Phone/issues),欢迎参与维护!

开源协议
---------------------------------------
[MIT](https://github.com/hai2007/Notepad-for-Phone/blob/master/LICENSE)

Copyright (c) 2021 [hai2007](https://hai2007.gitee.io/sweethome/) 走一步,再走一步。
11 changes: 11 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
...App
})
app.$mount()
68 changes: 68 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"name" : "备忘录",
"appid" : "__UNI__EB8A165",
"description" : "简单、免费、开源的手机端的记事本,基于uni-app开发。 ",
"versionName" : "0.1.0-alpha.1",
"versionCode" : "100",
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* 模块配置 */
"modules" : {},
/* 应用发布信息 */
"distribute" : {
/* android打包配置 */
"android" : {
"permissions" : []
},
/* ios打包配置 */
"ios" : {},
/* SDK配置 */
"sdkConfigs" : {
"ad" : {}
},
"icons" : {
"android" : {
"hdpi" : "static/logo.png",
"xhdpi" : "static/logo.png",
"xxhdpi" : "static/logo.png",
"xxxhdpi" : "static/logo.png"
},
"ios" : {
"appstore" : "static/logo.png"
}
}
}
},
/* 快应用特有相关 */
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
}
}
25 changes: 25 additions & 0 deletions pages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
}
,{
"path" : "pages/notepad/notepad",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}

}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "备忘录",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}
25 changes: 25 additions & 0 deletions pages/index/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<template>
<view class="menu-view">
打包测试
</view>
</template>

<script>
export default {
data() {
return {
}
},
onLoad() {
},
methods: {
}
}
</script>

<style>
</style>
25 changes: 25 additions & 0 deletions pages/notepad/notepad.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<template>
<view class="notepad">

</view>
</template>

<script>
export default {
data() {
return {
}
},
onLoad() {
},
methods: {
}
}
</script>

<style>
</style>
Binary file added static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added uni.scss
Empty file.

0 comments on commit 94dbc04

Please sign in to comment.