{{totalNum}}
5 |6 | {{number}} 7 | 8 | 9 | 10 | 11 | {{optNum}} 12 |
13 |├── static ├── .gitkeep ├── tabs │ ├── home.png │ ├── orders.png │ ├── home-active.png │ └── orders-active.png ├── font │ ├── iconfont.ttf │ ├── iconfont.woff │ ├── iconfont.woff2 │ ├── demo.html │ └── iconfont.css ├── images │ ├── delete.png │ ├── user.png │ └── empty_list.png └── tabbar │ ├── icon_book.png │ ├── icon_chart.png │ ├── icon_home.png │ ├── icon_mine.png │ ├── icon_book_HL.png │ ├── icon_chart_HL.png │ ├── icon_home_HL.png │ ├── icon_mine_HL.png │ ├── icon_release.png │ └── 未命名文件夹 │ ├── icon_home.png │ ├── icon_mine.png │ ├── icon_home_HL.png │ ├── icon_mine_HL.png │ └── icon_release.png ├── src ├── pages │ ├── my │ │ ├── main.json │ │ ├── main.js │ │ └── index.vue │ ├── categoryList │ │ ├── main.json │ │ ├── main.js │ │ └── index.vue │ ├── accountBooks │ │ ├── main.json │ │ ├── main.js │ │ └── index.vue │ ├── addCategory │ │ ├── main.json │ │ ├── main.js │ │ └── index.vue │ ├── addBooking │ │ ├── main.json │ │ ├── main.js │ │ └── index.vue │ └── index │ │ ├── main.json │ │ ├── main.js │ │ └── index.vue ├── components │ ├── card.vue │ ├── timePicker.vue │ ├── tabBar.vue │ ├── movableSort.vue │ └── keyboard.vue ├── stylus │ ├── variables.styl │ └── index.styl ├── main.js ├── utils │ ├── login.js │ ├── api.js │ ├── index.js │ └── fly.js ├── app.json ├── App.vue └── store │ └── index.js ├── screenshots ├── 1.png ├── 2.png ├── 3.png ├── 4.png └── pic.jpg ├── config ├── prod.env.js ├── dev.env.js └── index.js ├── .postcssrc.js ├── .editorconfig ├── .gitignore ├── package.swan.json ├── project.swan.json ├── server ├── utils │ └── index.js ├── routes │ ├── index.js │ └── accounting.js ├── config.js ├── nodemon.json ├── controllers │ ├── deleteAccounting.js │ ├── getCategoryList.js │ ├── deleteCategory.js │ ├── addCategory.js │ ├── updateCategoryList.js │ ├── getAccountingDaysNCounts.js │ ├── getAccountingDetails.js │ ├── addRecord.js │ ├── getAmount.js │ ├── getAccountingList.js │ └── login.js ├── middlewares │ ├── userCheck.js │ ├── authorizationMiddleware.js │ └── errorCatch.js ├── models │ ├── accList.js │ └── user.js ├── package.json └── index.js ├── index.html ├── .babelrc ├── README.md ├── project.config.json └── package.json /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pages/my/main.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的" 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/categoryList/main.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "" 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/accountBooks/main.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的账本" 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/addCategory/main.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "开始记账" 3 | } 4 | -------------------------------------------------------------------------------- /screenshots/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/screenshots/1.png -------------------------------------------------------------------------------- /screenshots/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/screenshots/2.png -------------------------------------------------------------------------------- /screenshots/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/screenshots/3.png -------------------------------------------------------------------------------- /screenshots/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/screenshots/4.png -------------------------------------------------------------------------------- /screenshots/pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/screenshots/pic.jpg -------------------------------------------------------------------------------- /static/tabs/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabs/home.png -------------------------------------------------------------------------------- /static/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/font/iconfont.ttf -------------------------------------------------------------------------------- /static/images/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/images/delete.png -------------------------------------------------------------------------------- /static/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/images/user.png -------------------------------------------------------------------------------- /static/tabs/orders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabs/orders.png -------------------------------------------------------------------------------- /static/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/font/iconfont.woff -------------------------------------------------------------------------------- /static/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/font/iconfont.woff2 -------------------------------------------------------------------------------- /src/pages/addBooking/main.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "支出记账", 3 | "disableScroll":true 4 | } 5 | -------------------------------------------------------------------------------- /static/images/empty_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/images/empty_list.png -------------------------------------------------------------------------------- /static/tabbar/icon_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_book.png -------------------------------------------------------------------------------- /static/tabbar/icon_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_chart.png -------------------------------------------------------------------------------- /static/tabbar/icon_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_home.png -------------------------------------------------------------------------------- /static/tabbar/icon_mine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_mine.png -------------------------------------------------------------------------------- /static/tabs/home-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabs/home-active.png -------------------------------------------------------------------------------- /static/tabs/orders-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabs/orders-active.png -------------------------------------------------------------------------------- /static/tabbar/icon_book_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_book_HL.png -------------------------------------------------------------------------------- /static/tabbar/icon_chart_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_chart_HL.png -------------------------------------------------------------------------------- /static/tabbar/icon_home_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_home_HL.png -------------------------------------------------------------------------------- /static/tabbar/icon_mine_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_mine_HL.png -------------------------------------------------------------------------------- /static/tabbar/icon_release.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/icon_release.png -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"', 3 | API_ROOT: '"https://bkdemo.juheworld.cn"' 4 | } 5 | -------------------------------------------------------------------------------- /src/pages/my/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './index' 3 | 4 | const app = new Vue(App) 5 | app.$mount() 6 | -------------------------------------------------------------------------------- /static/tabbar/未命名文件夹/icon_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/未命名文件夹/icon_home.png -------------------------------------------------------------------------------- /static/tabbar/未命名文件夹/icon_mine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/未命名文件夹/icon_mine.png -------------------------------------------------------------------------------- /src/pages/accountBooks/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './index' 3 | 4 | const app = new Vue(App) 5 | app.$mount() 6 | -------------------------------------------------------------------------------- /src/pages/addBooking/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './index' 3 | 4 | const app = new Vue(App) 5 | app.$mount() 6 | -------------------------------------------------------------------------------- /src/pages/addCategory/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './index' 3 | 4 | const app = new Vue(App) 5 | app.$mount() 6 | -------------------------------------------------------------------------------- /src/pages/categoryList/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './index' 3 | 4 | const app = new Vue(App) 5 | app.$mount() 6 | -------------------------------------------------------------------------------- /static/tabbar/未命名文件夹/icon_home_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/未命名文件夹/icon_home_HL.png -------------------------------------------------------------------------------- /static/tabbar/未命名文件夹/icon_mine_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/未命名文件夹/icon_mine_HL.png -------------------------------------------------------------------------------- /static/tabbar/未命名文件夹/icon_release.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/txn513/mpvue-bookKeeping/HEAD/static/tabbar/未命名文件夹/icon_release.png -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | "postcss-mpvue-wxss": {} 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/pages/index/main.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "闪记账", 3 | "navigationBarBackgroundColor": "#f9db61", 4 | "disableScroll":true, 5 | "enablePullDownRefresh": true 6 | } 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Editor directories and files 9 | .idea 10 | *.suo 11 | *.ntvs* 12 | *.njsproj 13 | *.sln 14 | -------------------------------------------------------------------------------- /package.swan.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "wxcdc43238cb0b0c20", 3 | "setting": { 4 | "urlCheck": false 5 | }, 6 | "condition": { 7 | "swan": { 8 | "current": -1, 9 | "list": [] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /project.swan.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "wxcdc43238cb0b0c20", 3 | "setting": { 4 | "urlCheck": false 5 | }, 6 | "condition": { 7 | "swan": { 8 | "current": -1, 9 | "list": [] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /server/utils/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | localDate(v) { 3 | const d = new Date(v || Date.now()); 4 | d.setMinutes(d.getMinutes() - d.getTimezoneOffset()); 5 | return d.toISOString(); 6 | }, 7 | } -------------------------------------------------------------------------------- /server/routes/index.js: -------------------------------------------------------------------------------- 1 | const Router = require('koa-router') 2 | const loginController = require('../controllers/login.js') 3 | 4 | let router = new Router() 5 | // 登录接口 6 | router.get('/login', loginController) 7 | 8 | module.exports = router -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |4 | {{text}} 5 |
6 |类别设置
22 |23 |
.your-style {
182 | font-family: 'iconfont';
183 | font-weight: normal;
184 | font-style: normal;
185 | }
186 |
188 | abcdefghijklmnopqrstuvwxyz
189 | ABCDEFGHIJKLMNOPQRSTUVWXYZ
190 | 0123456789.:,;()*!?'@#<>$%&^+-=~
191 |
The quick brown fox jumps over the lazy dog.
193 |The quick brown fox jumps over the lazy dog.
194 |The quick brown fox jumps over the lazy dog.
195 |The quick brown fox jumps over the lazy dog.
196 |The quick brown fox jumps over the lazy dog.
197 |The quick brown fox jumps over the lazy dog.
198 |The quick brown fox jumps over the lazy dog.
199 |The quick brown fox jumps over the lazy dog.
200 |The quick brown fox jumps over the lazy dog.
201 |The quick brown fox jumps over the lazy dog.
202 |The quick brown fox jumps over the lazy dog.
203 |{{totalNum}}
5 |6 | {{number}} 7 | 8 | 9 | 10 | 11 | {{optNum}} 12 |
13 |16 | 17 | {{recordYear +'/'+recordMonth + '/' + recordDay}} 18 |
19 | 20 |{{item.categoryName}}
26 |{{item.categoryName}}
51 |
38 | 空空如也
39 |