├── .eslintignore
├── dist
├── pages
│ ├── my
│ │ ├── email.json
│ │ ├── index.json
│ │ ├── info.json
│ │ ├── info.wxss
│ │ ├── pay.json
│ │ ├── email.wxss
│ │ ├── index.wxss
│ │ ├── pay.wxml
│ │ ├── info.wxml
│ │ ├── email.wxml
│ │ └── index.wxml
│ ├── workbook
│ │ ├── index.json
│ │ ├── want.json
│ │ ├── error.wxss
│ │ ├── index.wxss
│ │ ├── exercise.wxss
│ │ ├── correct.wxss
│ │ ├── add.wxss
│ │ ├── correct.wxml
│ │ ├── chapter.wxml
│ │ ├── exercise.wxml
│ │ ├── error.wxml
│ │ ├── want.wxml
│ │ ├── index.wxml
│ │ └── add.wxml
│ └── statistics
│ │ ├── index.json
│ │ ├── error.wxss
│ │ ├── index.wxss
│ │ ├── correct.wxss
│ │ ├── correct.wxml
│ │ ├── index.wxml
│ │ └── error.wxml
├── common
│ └── resources
│ │ ├── plus.png
│ │ ├── user.png
│ │ ├── arrow.png
│ │ ├── upload.png
│ │ ├── huangguan.png
│ │ ├── icon_vip.png
│ │ ├── workbook.png
│ │ ├── statistics.png
│ │ ├── user_select.png
│ │ ├── icon_tuikuan.png
│ │ ├── workbookBorder.png
│ │ ├── workbook_select.png
│ │ ├── statisticsCorrect.jpg
│ │ ├── statistics_select.png
│ │ └── chapterExerciseCorrect.jpg
├── components
│ ├── zan-noticebar.wxss
│ ├── zan-loadmore.js
│ ├── zan-loadmore.wxss
│ ├── gnb-textbookSelect.js
│ └── zan-field.js
├── npm
│ ├── wepy
│ │ └── lib
│ │ │ ├── native.js
│ │ │ ├── wepy.js
│ │ │ ├── event.js
│ │ │ └── mixin.js
│ ├── wepy-async-function
│ │ ├── global.js
│ │ └── index.js
│ └── promise-polyfill
│ │ └── promise.js
├── project.config.json
└── app.json
├── .wepyignore
├── src
├── common
│ └── resources
│ │ ├── VIP1.png
│ │ ├── add.png
│ │ ├── arrow.png
│ │ ├── plus.png
│ │ ├── user.png
│ │ ├── camera.png
│ │ ├── entry1.jpg
│ │ ├── upload.png
│ │ ├── huangguan.png
│ │ ├── icon_check.png
│ │ ├── icon_class.png
│ │ ├── icon_new.png
│ │ ├── icon_right.png
│ │ ├── icon_tel.png
│ │ ├── icon_vip.png
│ │ ├── icon_weapp.png
│ │ ├── resource.png
│ │ ├── statistics.png
│ │ ├── workbook.png
│ │ ├── icon_tuikuan.png
│ │ ├── icon_uncheck.png
│ │ ├── icon_user_jm.png
│ │ ├── icon_version.png
│ │ ├── user_select.png
│ │ ├── icon_authority.png
│ │ ├── resource_jilu.png
│ │ ├── resource_select.png
│ │ ├── workbookBorder.png
│ │ ├── workbook_cancel.png
│ │ ├── workbook_select.png
│ │ ├── icon_contact_gzh.png
│ │ ├── icon_contact_tel.png
│ │ ├── resource_chenping.png
│ │ ├── resource_fenceng.png
│ │ ├── resource_zhuanti.png
│ │ ├── statisticsCorrect.jpg
│ │ ├── statistics_select.png
│ │ ├── icon_contact_wechat.png
│ │ └── chapterExerciseCorrect.jpg
├── components
│ ├── gnb-chapterSelect.wpy
│ ├── gnb-versionSelect.wpy
│ ├── gnb-subjectSelect.wpy
│ ├── gnb-textbookSelect.wpy
│ ├── zan-field.wpy
│ ├── zan-noticebar.wpy
│ └── zan-loadmore.wpy
├── pages
│ ├── init
│ │ └── entry.wpy
│ ├── statistics
│ │ ├── share.wpy
│ │ ├── correct.wpy
│ │ ├── select.wpy
│ │ └── index.wpy
│ ├── workbook
│ │ ├── share.wpy
│ │ ├── correct.wpy
│ │ ├── chapter.wpy
│ │ ├── error.wpy
│ │ ├── exercise.wpy
│ │ └── want.wpy
│ ├── resource
│ │ ├── chengPinFilter.wpy
│ │ ├── filter.wpy
│ │ ├── chengPin.wpy
│ │ ├── zhuanTi.wpy
│ │ └── fenCeng.wpy
│ ├── my
│ │ ├── info.wpy
│ │ ├── contact.wpy
│ │ ├── vip.wpy
│ │ ├── join.wpy
│ │ ├── pay.wpy
│ │ ├── index.wpy
│ │ └── classes.wpy
│ └── camera
│ │ └── index.wpy
└── app.wpy
├── .gitignore
├── .editorconfig
├── .eslintrc.js
├── .wepycache
├── README.md
├── package.json
└── wepy.config.js
/.eslintignore:
--------------------------------------------------------------------------------
1 | dist/*
2 |
--------------------------------------------------------------------------------
/dist/pages/my/email.json:
--------------------------------------------------------------------------------
1 | {"navigationBarTitleText":"下载"}
--------------------------------------------------------------------------------
/dist/pages/my/index.json:
--------------------------------------------------------------------------------
1 | {"navigationBarTitleText":"错题归纳本"}
--------------------------------------------------------------------------------
/dist/pages/my/info.json:
--------------------------------------------------------------------------------
1 | {"navigationBarTitleText":"个人资料"}
--------------------------------------------------------------------------------
/dist/pages/my/info.wxss:
--------------------------------------------------------------------------------
1 | .zan-cell._b350347{font-size:16px}
--------------------------------------------------------------------------------
/dist/pages/my/pay.json:
--------------------------------------------------------------------------------
1 | {"navigationBarTitleText":"我的会员"}
--------------------------------------------------------------------------------
/dist/pages/workbook/index.json:
--------------------------------------------------------------------------------
1 | {"navigationBarTitleText":"记错题"}
--------------------------------------------------------------------------------
/dist/pages/workbook/want.json:
--------------------------------------------------------------------------------
1 | {"navigationBarTitleText":"上传练习册"}
--------------------------------------------------------------------------------
/dist/pages/statistics/index.json:
--------------------------------------------------------------------------------
1 | {"navigationBarTitleText":"错题本"}
--------------------------------------------------------------------------------
/.wepyignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | .DB_store
4 | *.wpy___jb_tmp___
5 |
--------------------------------------------------------------------------------
/dist/common/resources/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/plus.png
--------------------------------------------------------------------------------
/dist/common/resources/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/user.png
--------------------------------------------------------------------------------
/src/common/resources/VIP1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/VIP1.png
--------------------------------------------------------------------------------
/src/common/resources/add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/add.png
--------------------------------------------------------------------------------
/src/common/resources/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/arrow.png
--------------------------------------------------------------------------------
/src/common/resources/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/plus.png
--------------------------------------------------------------------------------
/src/common/resources/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/user.png
--------------------------------------------------------------------------------
/dist/common/resources/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/arrow.png
--------------------------------------------------------------------------------
/dist/common/resources/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/upload.png
--------------------------------------------------------------------------------
/src/common/resources/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/camera.png
--------------------------------------------------------------------------------
/src/common/resources/entry1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/entry1.jpg
--------------------------------------------------------------------------------
/src/common/resources/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/upload.png
--------------------------------------------------------------------------------
/dist/common/resources/huangguan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/huangguan.png
--------------------------------------------------------------------------------
/dist/common/resources/icon_vip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/icon_vip.png
--------------------------------------------------------------------------------
/dist/common/resources/workbook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/workbook.png
--------------------------------------------------------------------------------
/src/common/resources/huangguan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/huangguan.png
--------------------------------------------------------------------------------
/src/common/resources/icon_check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_check.png
--------------------------------------------------------------------------------
/src/common/resources/icon_class.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_class.png
--------------------------------------------------------------------------------
/src/common/resources/icon_new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_new.png
--------------------------------------------------------------------------------
/src/common/resources/icon_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_right.png
--------------------------------------------------------------------------------
/src/common/resources/icon_tel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_tel.png
--------------------------------------------------------------------------------
/src/common/resources/icon_vip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_vip.png
--------------------------------------------------------------------------------
/src/common/resources/icon_weapp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_weapp.png
--------------------------------------------------------------------------------
/src/common/resources/resource.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/resource.png
--------------------------------------------------------------------------------
/src/common/resources/statistics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/statistics.png
--------------------------------------------------------------------------------
/src/common/resources/workbook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/workbook.png
--------------------------------------------------------------------------------
/dist/common/resources/statistics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/statistics.png
--------------------------------------------------------------------------------
/dist/common/resources/user_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/user_select.png
--------------------------------------------------------------------------------
/dist/components/zan-noticebar.wxss:
--------------------------------------------------------------------------------
1 | .zan-noticebar{color:#f60;padding:9px 10px;font-size:14px;line-height:1.5;background-color:#fff7cc}
--------------------------------------------------------------------------------
/src/common/resources/icon_tuikuan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_tuikuan.png
--------------------------------------------------------------------------------
/src/common/resources/icon_uncheck.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_uncheck.png
--------------------------------------------------------------------------------
/src/common/resources/icon_user_jm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_user_jm.png
--------------------------------------------------------------------------------
/src/common/resources/icon_version.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_version.png
--------------------------------------------------------------------------------
/src/common/resources/user_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/user_select.png
--------------------------------------------------------------------------------
/dist/common/resources/icon_tuikuan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/icon_tuikuan.png
--------------------------------------------------------------------------------
/dist/common/resources/workbookBorder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/workbookBorder.png
--------------------------------------------------------------------------------
/src/common/resources/icon_authority.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_authority.png
--------------------------------------------------------------------------------
/src/common/resources/resource_jilu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/resource_jilu.png
--------------------------------------------------------------------------------
/src/common/resources/resource_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/resource_select.png
--------------------------------------------------------------------------------
/src/common/resources/workbookBorder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/workbookBorder.png
--------------------------------------------------------------------------------
/src/common/resources/workbook_cancel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/workbook_cancel.png
--------------------------------------------------------------------------------
/src/common/resources/workbook_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/workbook_select.png
--------------------------------------------------------------------------------
/dist/common/resources/workbook_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/workbook_select.png
--------------------------------------------------------------------------------
/src/common/resources/icon_contact_gzh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_contact_gzh.png
--------------------------------------------------------------------------------
/src/common/resources/icon_contact_tel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_contact_tel.png
--------------------------------------------------------------------------------
/src/common/resources/resource_chenping.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/resource_chenping.png
--------------------------------------------------------------------------------
/src/common/resources/resource_fenceng.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/resource_fenceng.png
--------------------------------------------------------------------------------
/src/common/resources/resource_zhuanti.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/resource_zhuanti.png
--------------------------------------------------------------------------------
/src/common/resources/statisticsCorrect.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/statisticsCorrect.jpg
--------------------------------------------------------------------------------
/src/common/resources/statistics_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/statistics_select.png
--------------------------------------------------------------------------------
/dist/common/resources/statisticsCorrect.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/statisticsCorrect.jpg
--------------------------------------------------------------------------------
/dist/common/resources/statistics_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/statistics_select.png
--------------------------------------------------------------------------------
/src/common/resources/icon_contact_wechat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/icon_contact_wechat.png
--------------------------------------------------------------------------------
/src/common/resources/chapterExerciseCorrect.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/src/common/resources/chapterExerciseCorrect.jpg
--------------------------------------------------------------------------------
/dist/common/resources/chapterExerciseCorrect.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kyncc/WEAPP_GNB_MIDDLE/HEAD/dist/common/resources/chapterExerciseCorrect.jpg
--------------------------------------------------------------------------------
/dist/pages/my/email.wxss:
--------------------------------------------------------------------------------
1 | .myEmail .zan-arrow{transform:rotate(135deg);border-color:black;margin-top:-5px}.myEmail .zan-btn{border-radius:0}.myEmail .zan-field{width:65%}
--------------------------------------------------------------------------------
/dist/npm/wepy/lib/native.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 | exports.default = {};
7 | //# sourceMappingURL=native.js.map
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .vscode
3 | dist/
4 | node_modules/
5 | npm-debug.log
6 | yarn-error.log
7 | npm-debug.log*
8 | yarn-debug.log*
9 | yarn-error.log*
10 | package-lock.json*
11 |
--------------------------------------------------------------------------------
/dist/pages/workbook/error.wxss:
--------------------------------------------------------------------------------
1 | .zan-btn._74bab7e{border-radius:0}.footer._74bab7e{position:fixed;bottom:0;left:0;width:100%;padding:15px 0;background:#F9F9F9}.footer .zan-btn._74bab7e{border-radius:5px}
--------------------------------------------------------------------------------
/.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 |
--------------------------------------------------------------------------------
/dist/pages/my/index.wxss:
--------------------------------------------------------------------------------
1 | .myIndex{position:relative}.myIndex .footer{position:absolute;top:90%;width:100%;color:#3FC6C6}.myIndex .userinfo-avatar{width:160rpx;height:160rpx;border-radius:50%}.myIndex .userinfo-vip{width:60rpx;height:60rpx;position:absolute;top:160rpx;left:415rpx}
--------------------------------------------------------------------------------
/dist/pages/statistics/error.wxss:
--------------------------------------------------------------------------------
1 | @import "./../../components/zan-loadmore.wxss";
2 | .statisticsError .zan-btn{border-radius:0}.statisticsError .footer{position:fixed;bottom:0;left:0;width:100%;padding:10px 0;background:#F9F9F9}.statisticsError .footer .zan-btn{border-radius:5px}
--------------------------------------------------------------------------------
/dist/pages/statistics/index.wxss:
--------------------------------------------------------------------------------
1 | @import "./../../components/gnb-subjectSelect.wxss";
2 | @import "./../../components/gnb-textbookSelect.wxss";
3 | .StatisticsIndex .header{height:20px;padding-top:10px}.numberColor{color:#FDCA3A;text-align:center}.zan-panel .zan-row:nth-child(even){background-color:#EDF9F8}
--------------------------------------------------------------------------------
/dist/pages/workbook/index.wxss:
--------------------------------------------------------------------------------
1 | @import "./../../components/gnb-subjectSelect.wxss";
2 | @import "./../../components/gnb-textbookSelect.wxss";
3 | .workbookIndex .header._ed7e7ea{height:25px;padding:10px 0 0;width:100%;position:fixed;top:0;left:0;z-index:2;background:#F9F9F9}.add_button._ed7e7ea{position:fixed;height:100rpx;width:100rpx;bottom:5%;right:5%}
--------------------------------------------------------------------------------
/dist/pages/workbook/exercise.wxss:
--------------------------------------------------------------------------------
1 | @import "./../../components/zan-noticebar.wxss";
2 | .workBookExercise .flex{display:flex;flex-wrap:wrap}.workBookExercise .btn_exercise{background:#EDF9F8;color:#3fc6c6;height:118rpx;width:118rpx;font-size:32rpx;text-align:center;line-height:118rpx;display:inline-block;border-radius:50%;border:none;margin:20rpx 0 20rpx 20rpx;padding:0}.workBookExercise .is_checked{color:#fff;background:#FF7043}.workBookExercise .footer{position:fixed;padding:10px;background:#F9F9F9;bottom:0;width:100%}
--------------------------------------------------------------------------------
/dist/pages/statistics/correct.wxss:
--------------------------------------------------------------------------------
1 | .container._f7025e8{position:relative;color:#c69c6d}.correct_name._f7025e8{position:absolute;top:36%;width:100%}.correct_content._f7025e8{position:absolute;top:52%;left:8%;width:85%}.correct_date._f7025e8{position:absolute;top:72%;left:14%}.correct_app._f7025e8{position:absolute;top:72%;left:71%}.share_button._f7025e8{position:fixed;background:#eac363;color:#fff;font-size:30rpx;height:130rpx;line-height:130rpx;width:130rpx;border-radius:50%;bottom:5%;right:8%;box-shadow:5rpx 5rpx 14rpx #eac363;text-align:center}
--------------------------------------------------------------------------------
/dist/pages/workbook/correct.wxss:
--------------------------------------------------------------------------------
1 | .container._1ee01e3{position:relative;color:#658e90}.correct_name._1ee01e3{position:absolute;top:36%;width:100%}.correct_content._1ee01e3{position:absolute;top:52%;left:8%;width:85%}.correct_date._1ee01e3{position:absolute;top:72%;left:14%}.correct_app._1ee01e3{position:absolute;top:72%;left:71%}.share_button._1ee01e3{position:fixed;background:#4cc0be;color:#fff;font-size:30rpx;height:130rpx;line-height:130rpx;width:130rpx;border-radius:50%;bottom:5%;right:8%;box-shadow:5rpx 5rpx 14rpx #4cc0be;text-align:center}
--------------------------------------------------------------------------------
/dist/pages/workbook/add.wxss:
--------------------------------------------------------------------------------
1 | @import "./../../components/gnb-subjectSelect.wxss";
2 | @import "./../../components/gnb-versionSelect.wxss";
3 | @import "./../../components/gnb-textbookSelect.wxss";
4 | .workbookAdd .zan-btn{border-radius:0}.workbookAdd .search{position:fixed;top:0;left:0;width:100%;height:80px;z-index:999;margin-top:0;background:#f9f9f9}.workbookAdd .search .header{height:20px;padding:10px 0}.workbookAdd .search .zan-panel{margin-top:0}.workbookAdd .no-data{padding:20px 0;text-align:center;font-size:14px}.workbookAdd .no-data .tel{padding:10px 0;font-size:24px;color:#1cae8e}
--------------------------------------------------------------------------------
/dist/pages/statistics/correct.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{name}}
4 | {{result.content}}
5 | {{result.date}}
6 | 归纳本
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dist/pages/workbook/correct.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{name}}
4 | {{result.content}}
5 | {{result.date}}
6 | 归纳本
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | parser: 'babel-eslint',
4 | parserOptions: {
5 | sourceType: 'module'
6 | },
7 | env: {
8 | browser: true
9 | },
10 | // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
11 | extends: 'standard',
12 | // required to lint *.wpy files
13 | plugins: [
14 | 'html'
15 | ],
16 | settings: {
17 | 'html/html-extensions': ['.html', '.wpy']
18 | },
19 | globals: {'wx': true},
20 | // add your custom rules here
21 | 'rules': {
22 | // allow paren-less arrow functions
23 | 'arrow-parens': 0,
24 | // allow async-await
25 | 'generator-star-spacing': 0,
26 | // allow debugger during development
27 | 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
28 | 'space-before-function-paren': 0
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/dist/npm/wepy-async-function/global.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Tencent is pleased to support the open source community by making WePY available.
3 | * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
4 | *
5 | * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
6 | * http://opensource.org/licenses/MIT
7 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
8 | */
9 |
10 |
11 | var global = module.exports = typeof window !== 'undefined' && window.Math === Math
12 | ? window : typeof self !== 'undefined' && self.Math === Math ? self : this;
13 |
--------------------------------------------------------------------------------
/dist/project.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "项目配置文件",
3 | "packOptions": {
4 | "ignore": []
5 | },
6 | "setting": {
7 | "urlCheck": true,
8 | "es6": false,
9 | "postcss": false,
10 | "minified": false,
11 | "newFeature": true
12 | },
13 | "compileType": "miniprogram",
14 | "libVersion": "2.2.5",
15 | "appid": "wx2a3d7e73ca459b21",
16 | "projectname": "%E5%BD%92%E7%BA%B3%E6%9C%AC%E4%B8%AD%E5%AD%A6",
17 | "svr": "",
18 | "client": "",
19 | "qcloudRoot": "",
20 | "miniprogramRoot": "",
21 | "pluginRoot": "",
22 | "debugOptions": {
23 | "hidedInDevtools": []
24 | },
25 | "scripts": {},
26 | "condition": {
27 | "search": {
28 | "current": -1,
29 | "list": []
30 | },
31 | "conversation": {
32 | "current": -1,
33 | "list": []
34 | },
35 | "plugin": {
36 | "current": -1,
37 | "list": []
38 | },
39 | "game": {
40 | "list": []
41 | },
42 | "miniprogram": {
43 | "current": -1,
44 | "list": []
45 | }
46 | }
47 | }
--------------------------------------------------------------------------------
/dist/npm/wepy-async-function/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Tencent is pleased to support the open source community by making WePY available.
3 | * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
4 | *
5 | * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
6 | * http://opensource.org/licenses/MIT
7 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
8 | */
9 |
10 |
11 | var g = require('./global.js');
12 |
13 | if (!g.Promise) {
14 | // IOS 10.0.1 may cause IOS crash.
15 | g.Promise = require('./../promise-polyfill/promise.js');
16 | }
17 | if (!g.regeneratorRuntime) {
18 | g.regeneratorRuntime = require('./../regenerator-runtime/runtime.js');
19 | }
20 |
--------------------------------------------------------------------------------
/src/components/gnb-chapterSelect.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{title}}: {{chapter[value].name || chapter[0].name}}
5 |
6 |
7 |
8 |
9 |
10 |
43 |
--------------------------------------------------------------------------------
/.wepycache:
--------------------------------------------------------------------------------
1 | {"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/wepy.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy-async-function/index.js":1523427808000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/app.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/page.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/component.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/event.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/base.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/util.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/mixin.js":499162500000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy-async-function/global.js":1517302333000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/promise-polyfill/promise.js":1511627065000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/regenerator-runtime/runtime.js":1493390741000,"/Users/liyingkun/Documents/WEAPP/WEAPP_GNB_MIDDLE/node_modules/wepy/lib/native.js":499162500000}
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # WEAPP_GNB_MIDDLE
2 | > 小程序--中学错题归纳本
3 |
4 | 
5 |
6 | ## JS框架
7 | - [小程序组件化开发框架-WePY](https://tencent.github.io/wepy/document.html#/)
8 |
9 | ## 组件
10 | - [有赞微信小程序UI库](https://github.com/youzan/zanui-weapp)
11 | - [ZanUI in WePY](https://github.com/brucx/wepy-zanui-demo)
12 |
13 | ## 配置
14 | 全局安装或更新WePY命令行工具
15 | ```
16 | npm install wepy-cli -g
17 | ```
18 | 在开发目录中生成Demo开发项目
19 | ```
20 | wepy new myproject
21 | ```
22 | 1.7.0之后的版本使用 wepy init standard myproject 初始化项目,使用 wepy list 查看项目模板
23 | 切换至项目目录
24 | ```
25 | cd myproject
26 | ```
27 | 安装依赖
28 | ```
29 | npm install
30 | ```
31 | 开启实时编译
32 | ```
33 | wepy build --watch
34 | ```
35 |
36 | ## 文件夹目录
37 | ```
38 | ├── dist # 微信调试目录
39 | ├── src # 代码
40 | ├── common # 公共资源
41 | ├── components # 组件
42 | ├── pages # 页面
43 | ├── init # 初始化配置
44 | ├── workbook # 记错题
45 | ├── papaer # 资源
46 | ├── statistics # 错题本
47 | ├── my # 我的
48 | ```
49 |
50 | ## 注意
51 | 使用微信开发者工具-->添加项目,项目目录请选择dist目录。
52 |
53 | 微信开发者工具-->项目-->关闭ES6转ES5。 重要:漏掉此项会运行报错。
54 |
55 | 微信开发者工具-->项目-->关闭上传代码时样式自动补全。 重要:某些情况下漏掉此项也会运行报错。
56 |
57 | 微信开发者工具-->项目-->关闭代码压缩上传。 重要:开启后,会导致真机computed, props.sync 等等属性失效。
58 |
59 | 本地项目根目录运行wepy build --watch,开启实时编译。(注:如果同时在微信开发者工具-->设置-->编辑器中勾选了文件保存时自动编译小程序,将可以实时预览,非常方便。)
60 |
--------------------------------------------------------------------------------
/dist/pages/workbook/chapter.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ item.name }}
8 |
9 |
10 |
11 | {{item.name}}
12 | {{item.scale}}
13 |
14 |
15 |
16 |
17 | {{itemB.name}}
18 | {{itemB.scale}}
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/pages/init/entry.wpy:
--------------------------------------------------------------------------------
1 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
55 |
--------------------------------------------------------------------------------
/dist/app.json:
--------------------------------------------------------------------------------
1 | {"pages":["pages/workbook/index","pages/init/entry","pages/camera/index","pages/my/index","pages/my/vip","pages/my/classes","pages/my/contact","pages/my/info","pages/my/pay","pages/my/email","pages/my/join","pages/workbook/add","pages/workbook/want","pages/workbook/error","pages/workbook/correct","pages/workbook/share","pages/workbook/chapter","pages/workbook/exercise","pages/resource/index","pages/resource/chengPin","pages/resource/fenCeng","pages/resource/zhuanTi","pages/resource/chengPinFilter","pages/statistics/index","pages/statistics/error","pages/statistics/select","pages/statistics/share","pages/statistics/correct"],"tabBar":{"color":"#aaa","selectedColor":"#3FC6C6","borderStyle":"black","backgroundColor":"#ffffff","list":[{"pagePath":"pages/workbook/index","iconPath":"common/resources/statistics.png","selectedIconPath":"common/resources/statistics_select.png","text":"记错题"},{"pagePath":"pages/statistics/index","iconPath":"common/resources/workbook.png","selectedIconPath":"common/resources/workbook_select.png","text":"错题本"},{"pagePath":"pages/resource/index","iconPath":"common/resources/resource.png","selectedIconPath":"common/resources/resource_select.png","text":"资源"},{"pagePath":"pages/my/index","iconPath":"common/resources/user.png","selectedIconPath":"common/resources/user_select.png","text":"我的"}]},"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#FBFBFB","navigationBarTitleText":"错题归纳本初中","navigationBarTextStyle":"black"},"networkTimeout":{"request":6000,"downloadFile":6000}}
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gnb_middle",
3 | "version": "3.5.0",
4 | "description": "",
5 | "main": "dist/app.js",
6 | "scripts": {
7 | "dev": "wepy build --watch",
8 | "build": "cross-env NODE_ENV=production wepy build --no-cache",
9 | "test": "echo \"Error: no test specified\" && exit 1",
10 | "lint": "eslint --ext .js,.wpy src --fix"
11 | },
12 | "author": "Hope",
13 | "license": "MIT",
14 | "dependencies": {
15 | "wepy": "^1.7.0",
16 | "wepy-async-function": "^1.4.4"
17 | },
18 | "devDependencies": {
19 | "babel-eslint": "^9.0.0",
20 | "babel-plugin-syntax-export-extensions": "^6.13.0",
21 | "babel-plugin-transform-class-properties": "^6.24.1",
22 | "babel-plugin-transform-decorators-legacy": "^1.3.4",
23 | "babel-plugin-transform-export-extensions": "^6.22.0",
24 | "babel-plugin-transform-object-rest-spread": "^6.26.0",
25 | "babel-preset-env": "^1.7.0",
26 | "cross-env": "^5.2.0",
27 | "eslint": "^5.5.0",
28 | "eslint-config-standard": "^12.0.0",
29 | "eslint-friendly-formatter": "^4.0.1",
30 | "eslint-plugin-html": "^4.0.5",
31 | "eslint-plugin-import": "^2.14.0",
32 | "eslint-plugin-node": "^7.0.1",
33 | "eslint-plugin-promise": "^4.0.1",
34 | "eslint-plugin-standard": "^4.0.0",
35 | "wepy-compiler-babel": "^1.5.3",
36 | "wepy-compiler-less": "^1.3.12",
37 | "wepy-compiler-sass": "^1.3.12",
38 | "wepy-compiler-stylus": "^1.3.12",
39 | "wepy-eslint": "^1.5.4",
40 | "wepy-plugin-uglifyjs": "^1.3.7"
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/dist/pages/my/pay.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 我的会员剩余天数:{{surplus}}天
8 | 我的会员,错题、试卷任你下
9 |
10 |
11 |
12 |
13 | ¥99 /月
14 |
15 |
16 |
17 |
18 |
19 | ¥209 /半年
20 |
21 |
22 |
23 |
24 |
25 | ¥299 /年
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/dist/pages/workbook/exercise.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ $zanNoticebar1$text }}
8 |
9 |
10 |
11 |
12 |
13 |
14 | {{ nodes.name }}
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
28 |
--------------------------------------------------------------------------------
/dist/npm/wepy/lib/wepy.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 |
7 | var _app = require('./app.js');
8 |
9 | var _app2 = _interopRequireDefault(_app);
10 |
11 | var _page = require('./page.js');
12 |
13 | var _page2 = _interopRequireDefault(_page);
14 |
15 | var _component = require('./component.js');
16 |
17 | var _component2 = _interopRequireDefault(_component);
18 |
19 | var _event = require('./event.js');
20 |
21 | var _event2 = _interopRequireDefault(_event);
22 |
23 | var _base = require('./base.js');
24 |
25 | var _base2 = _interopRequireDefault(_base);
26 |
27 | var _util = require('./util.js');
28 |
29 | var _util2 = _interopRequireDefault(_util);
30 |
31 | var _mixin = require('./mixin.js');
32 |
33 | var _mixin2 = _interopRequireDefault(_mixin);
34 |
35 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36 |
37 | exports.default = {
38 | event: _event2.default,
39 | app: _app2.default,
40 | component: _component2.default,
41 | page: _page2.default,
42 | mixin: _mixin2.default,
43 |
44 | $createApp: _base2.default.$createApp,
45 | $createPage: _base2.default.$createPage,
46 |
47 | $isEmpty: _util2.default.$isEmpty,
48 | $isEqual: _util2.default.$isEqual,
49 | $isDeepEqual: _util2.default.$isDeepEqual,
50 | $has: _util2.default.$has,
51 | $extend: _util2.default.$extend,
52 | $isPlainObject: _util2.default.$isPlainObject,
53 | $copy: _util2.default.$copy
54 | };
55 | //# sourceMappingURL=wepy.js.map
--------------------------------------------------------------------------------
/dist/npm/wepy/lib/event.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 |
7 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
8 |
9 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
10 |
11 | var _class = function () {
12 | function _class(name, source, type) {
13 | _classCallCheck(this, _class);
14 |
15 | this.active = true;
16 |
17 |
18 | this.name = name;
19 | this.source = source;
20 | this.type = type;
21 | }
22 |
23 | _createClass(_class, [{
24 | key: "$destroy",
25 | value: function $destroy() {
26 | this.active = false;
27 | }
28 | }, {
29 | key: "$transfor",
30 | value: function $transfor(wxevent) {
31 | var k = 0;
32 | for (k in wxevent) {
33 | this[k] = wxevent[k];
34 | }
35 | }
36 | }]);
37 |
38 | return _class;
39 | }();
40 |
41 | exports.default = _class;
42 | //# sourceMappingURL=event.js.map
--------------------------------------------------------------------------------
/src/components/gnb-versionSelect.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{list[index].name}}
5 |
6 |
7 |
8 |
9 |
10 |
60 |
61 |
70 |
--------------------------------------------------------------------------------
/src/components/gnb-subjectSelect.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{list[index].name}}
5 |
6 |
7 |
8 |
9 |
10 |
60 |
69 |
--------------------------------------------------------------------------------
/src/components/gnb-textbookSelect.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{list[index].name}}
5 |
6 |
7 |
8 |
9 |
10 |
60 |
61 |
70 |
--------------------------------------------------------------------------------
/wepy.config.js:
--------------------------------------------------------------------------------
1 | const path = require('path');
2 | var prod = process.env.NODE_ENV === 'production'
3 |
4 | module.exports = {
5 | wpyExt: '.wpy',
6 | build: {
7 | web: {
8 | htmlTemplate: path.join('src', 'index.template.html'),
9 | htmlOutput: path.join('web', 'index.html'),
10 | jsOutput: path.join('web', 'index.js')
11 | }
12 | },
13 | resolve: {
14 | alias: {
15 | '@': path.join(__dirname, 'src')
16 | },
17 | modules: ['node_modules']
18 | },
19 | eslint: true,
20 | compilers: {
21 | less: {
22 | compress: true
23 | },
24 | stylus: {
25 | compress: true
26 | },
27 | sass: {
28 | outputStyle: 'compressed'
29 | },
30 | babel: {
31 | sourceMap: true,
32 | presets: [
33 | 'env'
34 | ],
35 | plugins: [
36 | 'transform-class-properties',
37 | 'transform-decorators-legacy',
38 | 'transform-object-rest-spread',
39 | 'transform-export-extensions'
40 | ]
41 | }
42 | },
43 | plugins: {},
44 | appConfig: {
45 | noPromiseAPI: ['createSelectorQuery']
46 | }
47 | }
48 |
49 | if (prod) {
50 | delete module.exports.compilers.babel.sourcesMap
51 | // 压缩sass
52 | module.exports.compilers['sass'] = { outputStyle: 'compressed' }
53 |
54 | // 压缩less
55 | module.exports.compilers['less'] = { compress: true }
56 |
57 | // 压缩js
58 | module.exports.plugins = {
59 | uglifyjs: {
60 | filter: /\.js$/,
61 | config: {
62 | }
63 | },
64 | imagemin: {
65 | filter: /\.(jpg|png|jpeg)$/,
66 | config: {
67 | jpg: {
68 | quality: 80
69 | },
70 | png: {
71 | quality: 80
72 | }
73 | }
74 | }
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/src/pages/statistics/share.wpy:
--------------------------------------------------------------------------------
1 |
42 |
43 |
44 | {{name}}
45 | {{content}}
46 | {{date}}
47 | 归纳本
48 |
49 |
50 |
51 |
52 |
53 |
77 |
--------------------------------------------------------------------------------
/src/pages/workbook/share.wpy:
--------------------------------------------------------------------------------
1 |
42 |
43 |
44 |
45 | {{name}}
46 | {{content}}
47 | {{date}}
48 | 归纳本
49 |
50 |
51 |
52 |
53 |
54 |
78 |
--------------------------------------------------------------------------------
/dist/pages/my/info.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{ $nameField$options.title }}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/dist/pages/statistics/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
25 |
26 |
27 | 记题数
28 | 错题数
29 | 正确率
30 |
31 |
32 |
33 | {{item.name}}
34 | {{item.record}}
35 | {{item.error}}
36 | {{item.correct}}
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/dist/pages/workbook/error.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{ block.platename }}
7 |
8 |
9 |
10 |
11 |
12 |
13 | 下载:{{item.downNum}}
14 | {{item.name}}
15 |
16 |
17 |
18 |
19 |
20 |
21 |
29 |
--------------------------------------------------------------------------------
/dist/npm/wepy/lib/mixin.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 |
7 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
8 |
9 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
10 |
11 | var _class = function () {
12 | function _class() {
13 | _classCallCheck(this, _class);
14 |
15 | this.data = {};
16 | this.computed = {};
17 | this.components = {};
18 | this.methods = {};
19 | this.events = {};
20 | }
21 |
22 | _createClass(_class, [{
23 | key: '$init',
24 | value: function $init(parent) {
25 | var _this = this;
26 |
27 | var k = void 0;
28 |
29 | Object.getOwnPropertyNames(this).concat(Object.getOwnPropertyNames(Object.getPrototypeOf(this))).forEach(function (k) {
30 | if (k[0] + k[1] !== 'on' && k !== 'constructor') {
31 | if (!parent[k]) parent[k] = _this[k];
32 | }
33 | });
34 |
35 | ['data', 'computed', 'events', 'components'].forEach(function (item) {
36 | Object.getOwnPropertyNames(_this[item]).forEach(function (k) {
37 | if (k !== 'init' && !parent[item][k]) parent[item][k] = _this[item][k];
38 | });
39 | });
40 | }
41 | }]);
42 |
43 | return _class;
44 | }();
45 |
46 | exports.default = _class;
47 | //# sourceMappingURL=mixin.js.map
--------------------------------------------------------------------------------
/dist/pages/workbook/want.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 请按示例上传练习册封面和版印次,我们将尽快上架该练习册,请注意查看消息通知~
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/dist/pages/my/email.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 题目发送到邮箱,直接打印回家做
4 |
5 |
6 |
7 |
8 | {{ $zanField1$options.title }}
9 |
10 |
11 |
12 |
13 |
14 | {{emailCodes[emailCodeIndex]}}
15 |
16 |
17 |
18 |
19 |
20 |
21 |
24 |
25 |
--------------------------------------------------------------------------------
/dist/pages/my/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{userInfo.name}}
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | 我的会员
16 |
17 |
18 |
19 |
20 |
21 | 我的班级
22 |
23 |
24 |
25 |
26 |
27 | 联系我们
28 |
29 |
30 |
31 |
32 |
33 | 加盟代理
34 |
35 |
36 |
37 |
43 |
--------------------------------------------------------------------------------
/src/pages/workbook/correct.wpy:
--------------------------------------------------------------------------------
1 |
42 |
43 |
44 | {{name}}
45 | {{result.content}}
46 | {{result.date}}
47 | 归纳本
48 |
49 |
50 |
51 |
52 |
53 |
95 |
--------------------------------------------------------------------------------
/src/pages/statistics/correct.wpy:
--------------------------------------------------------------------------------
1 |
42 |
43 |
44 | {{name}}
45 | {{result.content}}
46 | {{result.date}}
47 | 归纳本
48 |
49 |
50 |
51 |
52 |
53 |
96 |
--------------------------------------------------------------------------------
/src/components/zan-field.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ options.title }}
6 |
18 |
31 |
32 |
33 |
90 |
--------------------------------------------------------------------------------
/src/pages/resource/chengPinFilter.wpy:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 | 年份
17 |
18 |
19 |
20 |
21 |
22 | 类型
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
88 |
--------------------------------------------------------------------------------
/src/pages/my/info.wpy:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
109 |
--------------------------------------------------------------------------------
/src/components/zan-noticebar.wpy:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
16 |
21 | {{ text }}
22 |
23 |
24 |
25 |
26 |
98 |
--------------------------------------------------------------------------------
/src/pages/my/contact.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 客服电话
8 | 17316279044
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | 客服微信
19 | 微信号:guinaben01
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | 公众号
30 | 公众号:guinaben3456
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
92 |
--------------------------------------------------------------------------------
/dist/pages/workbook/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 | {{item.year}}版
39 |
40 |
41 | {{item.name}}
42 | {{item.number}}人正在使用
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 | 拍错题
54 |
55 |
56 | 零散错题,拍照提交
57 |
58 |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/dist/pages/statistics/error.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{item.workbookName}}
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | 下载:{{item.downNum}}
16 |
17 | {{item.name}}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | 全部订正完成!
33 |
34 |
35 |
36 |
37 |
38 |
41 |
42 |
43 |
44 |
45 |
46 | {{ $zanLoadmore1$nodata_str }}
47 |
48 |
49 |
50 |
51 |
52 |
53 | 加载中...
54 |
55 |
56 |
57 |
58 |
59 |
67 |
--------------------------------------------------------------------------------
/src/pages/workbook/chapter.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ item.name }}
8 |
9 |
10 |
11 | {{item.name}}
12 | {{item.scale}}
13 |
14 |
15 |
16 |
17 | {{itemB.name}}
18 | {{itemB.scale}}
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
101 |
--------------------------------------------------------------------------------
/src/pages/my/vip.wpy:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 | 支付提示
14 |
15 | ¥7.9/天
16 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
127 |
--------------------------------------------------------------------------------
/dist/components/zan-loadmore.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 | exports.default = undefined;
7 |
8 | var _wepy = require('./../npm/wepy/lib/wepy.js');
9 |
10 | var _wepy2 = _interopRequireDefault(_wepy);
11 |
12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13 |
14 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15 |
16 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
17 |
18 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19 |
20 | var zanLoadmore = function (_wepy$component) {
21 | _inherits(zanLoadmore, _wepy$component);
22 |
23 | function zanLoadmore() {
24 | var _ref;
25 |
26 | var _temp, _this, _ret;
27 |
28 | _classCallCheck(this, zanLoadmore);
29 |
30 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
31 | args[_key] = arguments[_key];
32 | }
33 |
34 | return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = zanLoadmore.__proto__ || Object.getPrototypeOf(zanLoadmore)).call.apply(_ref, [this].concat(args))), _this), _this.props = {
35 | loading: {
36 | type: Boolean,
37 | default: false
38 | },
39 | nodata: {
40 | type: Boolean,
41 | default: false
42 | },
43 | nomore: {
44 | type: Boolean,
45 | default: false
46 | },
47 | nodata_str: {
48 | type: String,
49 | default: '暂无数据'
50 | }
51 | }, _this.methods = {}, _temp), _possibleConstructorReturn(_this, _ret);
52 | }
53 |
54 | return zanLoadmore;
55 | }(_wepy2.default.component);
56 |
57 | exports.default = zanLoadmore;
58 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInphbi1sb2FkbW9yZS5qcyJdLCJuYW1lcyI6WyJ6YW5Mb2FkbW9yZSIsInByb3BzIiwibG9hZGluZyIsInR5cGUiLCJCb29sZWFuIiwiZGVmYXVsdCIsIm5vZGF0YSIsIm5vbW9yZSIsIm5vZGF0YV9zdHIiLCJTdHJpbmciLCJtZXRob2RzIiwid2VweSIsImNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUNBOzs7Ozs7Ozs7Ozs7SUFFcUJBLFc7Ozs7Ozs7Ozs7Ozs7O2dNQUNuQkMsSyxHQUFRO0FBQ05DLGVBQVM7QUFDUEMsY0FBTUMsT0FEQztBQUVQQyxpQkFBUztBQUZGLE9BREg7QUFLTkMsY0FBUTtBQUNOSCxjQUFNQyxPQURBO0FBRU5DLGlCQUFTO0FBRkgsT0FMRjtBQVNORSxjQUFRO0FBQ05KLGNBQU1DLE9BREE7QUFFTkMsaUJBQVM7QUFGSCxPQVRGO0FBYU5HLGtCQUFZO0FBQ1ZMLGNBQU1NLE1BREk7QUFFVkosaUJBQVM7QUFGQztBQWJOLEssUUFrQlJLLE8sR0FBVSxFOzs7O0VBbkI2QkMsZUFBS0MsUzs7a0JBQXpCWixXIiwiZmlsZSI6Inphbi1sb2FkbW9yZS5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0IHdlcHkgZnJvbSAnd2VweSdcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgemFuTG9hZG1vcmUgZXh0ZW5kcyB3ZXB5LmNvbXBvbmVudCB7XG4gIHByb3BzID0ge1xuICAgIGxvYWRpbmc6IHtcbiAgICAgIHR5cGU6IEJvb2xlYW4sXG4gICAgICBkZWZhdWx0OiBmYWxzZVxuICAgIH0sXG4gICAgbm9kYXRhOiB7XG4gICAgICB0eXBlOiBCb29sZWFuLFxuICAgICAgZGVmYXVsdDogZmFsc2VcbiAgICB9LFxuICAgIG5vbW9yZToge1xuICAgICAgdHlwZTogQm9vbGVhbixcbiAgICAgIGRlZmF1bHQ6IGZhbHNlXG4gICAgfSxcbiAgICBub2RhdGFfc3RyOiB7XG4gICAgICB0eXBlOiBTdHJpbmcsXG4gICAgICBkZWZhdWx0OiAn5pqC5peg5pWw5o2uJ1xuICAgIH1cbiAgfVxuICBtZXRob2RzID0ge31cbn1cbiJdfQ==
--------------------------------------------------------------------------------
/dist/components/zan-loadmore.wxss:
--------------------------------------------------------------------------------
1 | .zan-loadmore{position:relative;width:65%;margin:21px auto;line-height:20px;font-size:14px;text-align:center;vertical-align:middle}.zan-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:weuiLoading 1s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lY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNEMkQyRDInCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgyNzAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNEQURBREEnCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgzMDAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNFMkUyRTInCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgzMzAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0Pgo8L3N2Zz4=) no-repeat;-webkit-background-size:100%;background-size:100%}.zan-loadmore .zan-loading{margin-right:4px}.zan-loadmore__tips{display:inline-block;vertical-align:middle;height:20px;line-height:20px}.zan-loadmore--nodata,.zan-loadmore--nomore{color:#999}.zan-loadmore--nodata::after,.zan-loadmore--nomore::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(0.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-top-width:1px}.zan-loadmore--nodata{margin-top:120px}.zan-loadmore--nodata .zan-loadmore__tips{position:relative;top:-11px;background:#f9f9f9;padding:0 6px;z-index:1}.zan-loadmore--nomore .zan-loadmore__tips{position:relative;top:-11px;background:#f9f9f9;padding:0 6px;z-index:1}.zan-loadmore__dot{position:absolute;left:50%;top:10px;margin-left:-2px;margin-top:-2px;content:' ';width:4px;height:4px;border-radius:50%;background-color:#e5e5e5;display:inline-block;vertical-align:middle}
2 |
--------------------------------------------------------------------------------
/src/pages/workbook/error.wpy:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | {{ block.platename }}
24 |
25 |
26 |
27 |
28 |
29 |
30 | 下载:{{item.downNum}}
31 | {{item.name}}
32 |
33 |
34 |
35 |
36 |
37 |
38 |
46 |
47 |
48 |
49 |
112 |
--------------------------------------------------------------------------------
/src/pages/resource/filter.wpy:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
18 |
19 |
20 | 年级
21 |
22 |
23 |
24 |
25 | 年份
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 | 类型
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
89 |
--------------------------------------------------------------------------------
/src/pages/statistics/select.wpy:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
18 |
19 |
23 |
24 |
31 |
32 |
33 |
34 |
124 |
--------------------------------------------------------------------------------
/src/pages/my/join.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
46 |
55 |
--------------------------------------------------------------------------------
/src/pages/my/pay.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 我的会员剩余天数:{{surplus}}天
8 | 我的会员,错题、试卷任你下
9 |
10 |
11 |
12 |
13 | ¥99 /月
14 |
15 |
16 |
17 |
18 |
19 | ¥209 /半年
20 |
21 |
22 |
23 |
24 |
25 | ¥299 /年
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
145 |
--------------------------------------------------------------------------------
/src/pages/my/index.wpy:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 | {{userInfo.name}}
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 | 我的会员
40 |
41 |
42 |
43 |
44 |
45 | 我的班级
46 |
47 |
48 |
49 |
50 |
51 | 联系我们
52 |
53 |
54 |
55 |
56 |
57 | 加盟代理
58 |
59 |
60 |
61 |
67 |
68 |
69 |
70 |
128 |
--------------------------------------------------------------------------------
/src/pages/my/classes.wpy:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | {{school.name}}
27 |
28 | {{class.name}}
29 |
30 |
31 |
32 |
33 |
34 |
35 |
154 |
--------------------------------------------------------------------------------
/src/pages/workbook/exercise.wpy:
--------------------------------------------------------------------------------
1 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | {{ nodes.name }}
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
54 |
55 |
56 |
57 |
164 |
--------------------------------------------------------------------------------
/dist/pages/workbook/add.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
37 |
38 |
39 |
40 | {{ $searchField$options.title }}
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 | {{item.year}}版
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 | {{item.name}}({{item.isfree ? '普编' : '定制'}})
74 |
75 |
76 | {{version}}
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 | 暂无练习册,定制专属练习册请咨询
85 | 17316279044
86 | 点击手机号拨打
87 |
88 |
89 |
--------------------------------------------------------------------------------
/src/pages/resource/chengPin.wpy:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
31 |
32 |
33 |
34 |
35 | 精
36 | {{item.name}}
37 |
38 |
39 |
40 | 更新:{{item.time}}
41 | 下载:{{item.downloadNumber}}
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
170 |
--------------------------------------------------------------------------------
/src/app.wpy:
--------------------------------------------------------------------------------
1 |
2 |
62 |
218 |
--------------------------------------------------------------------------------
/src/components/zan-loadmore.wpy:
--------------------------------------------------------------------------------
1 |
97 |
98 |
99 |
100 |
101 |
104 |
105 |
106 |
107 |
108 |
109 | {{ nodata_str }}
110 |
111 |
112 |
113 |
114 |
115 |
116 | 加载中...
117 |
118 |
119 |
120 |
121 |
146 |
--------------------------------------------------------------------------------
/src/pages/workbook/want.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 | 请按示例上传练习册封面和版印次,我们将尽快上架该练习册,请注意查看消息通知~
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
35 |
36 |
37 |
38 |
39 |
40 |
174 |
--------------------------------------------------------------------------------
/src/pages/resource/zhuanTi.wpy:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
29 |
30 |
31 |
32 |
33 | 精
34 | {{item.name}}
35 |
36 |
37 |
38 | 更新:{{item.time}}
39 | 下载:{{item.downloadNumber}}
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
184 |
--------------------------------------------------------------------------------
/src/pages/statistics/index.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 | 记题数
14 | 错题数
15 | 正确率
16 |
17 |
18 |
19 | {{item.name}}
20 | {{item.record}}
21 | {{item.error}}
22 | {{item.correct}}
23 |
24 |
25 |
26 |
27 |
28 |
29 |
172 |
187 |
--------------------------------------------------------------------------------
/dist/components/gnb-textbookSelect.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 | exports.default = undefined;
7 |
8 | var _wepy = require('./../npm/wepy/lib/wepy.js');
9 |
10 | var _wepy2 = _interopRequireDefault(_wepy);
11 |
12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13 |
14 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15 |
16 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
17 |
18 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19 |
20 | var gnbTextbookSelect = function (_wepy$component) {
21 | _inherits(gnbTextbookSelect, _wepy$component);
22 |
23 | function gnbTextbookSelect() {
24 | var _ref;
25 |
26 | var _temp, _this, _ret;
27 |
28 | _classCallCheck(this, gnbTextbookSelect);
29 |
30 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
31 | args[_key] = arguments[_key];
32 | }
33 |
34 | return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = gnbTextbookSelect.__proto__ || Object.getPrototypeOf(gnbTextbookSelect)).call.apply(_ref, [this].concat(args))), _this), _this.props = {
35 | textbook: {
36 | type: String,
37 | twoWay: true
38 | },
39 | list: {
40 | type: Array,
41 | default: [],
42 | twoWay: true
43 | }
44 | }, _this.data = {
45 | index: 0
46 | }, _this.watch = {
47 | textbook: function textbook(val) {
48 | var _this2 = this;
49 |
50 | if (this.list.length) {
51 | this.list.forEach(function (item, index) {
52 | if (item.id.toString() === val.toString()) {
53 | _this2.index = index;
54 | _this2.$apply();
55 | return {};
56 | }
57 | });
58 | }
59 | },
60 | list: function list(val) {
61 | var _this3 = this;
62 |
63 | this.list.forEach(function (item, index) {
64 | if (item.id.toString() === _this3.textbook.toString()) {
65 | _this3.index = index;
66 | _this3.$apply();
67 | return {};
68 | }
69 | });
70 | }
71 | }, _this.methods = {
72 | bindPickerChange: function bindPickerChange(e) {
73 | this.index = e.detail.value;
74 | this.textbook = this.list[this.index].id;
75 | this.$emit('event', this.list[this.index].id);
76 | this.$apply();
77 | }
78 | }, _temp), _possibleConstructorReturn(_this, _ret);
79 | }
80 |
81 | return gnbTextbookSelect;
82 | }(_wepy2.default.component);
83 |
84 | exports.default = gnbTextbookSelect;
85 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImduYi10ZXh0Ym9va1NlbGVjdC5qcyJdLCJuYW1lcyI6WyJnbmJUZXh0Ym9va1NlbGVjdCIsInByb3BzIiwidGV4dGJvb2siLCJ0eXBlIiwiU3RyaW5nIiwidHdvV2F5IiwibGlzdCIsIkFycmF5IiwiZGVmYXVsdCIsImRhdGEiLCJpbmRleCIsIndhdGNoIiwidmFsIiwibGVuZ3RoIiwiZm9yRWFjaCIsIml0ZW0iLCJpZCIsInRvU3RyaW5nIiwiJGFwcGx5IiwibWV0aG9kcyIsImJpbmRQaWNrZXJDaGFuZ2UiLCJlIiwiZGV0YWlsIiwidmFsdWUiLCIkZW1pdCIsIndlcHkiLCJjb21wb25lbnQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFDQTs7Ozs7Ozs7Ozs7O0lBRXFCQSxpQjs7Ozs7Ozs7Ozs7Ozs7NE1BQ25CQyxLLEdBQVE7QUFDTkMsZ0JBQVU7QUFDUkMsY0FBTUMsTUFERTtBQUVSQyxnQkFBUTtBQUZBLE9BREo7QUFLTkMsWUFBTTtBQUNKSCxjQUFNSSxLQURGO0FBRUpDLGlCQUFTLEVBRkw7QUFHSkgsZ0JBQVE7QUFISjtBQUxBLEssUUFXUkksSSxHQUFPO0FBQ0xDLGFBQU87QUFERixLLFFBR1BDLEssR0FBUTtBQUNOVCxjQURNLG9CQUNJVSxHQURKLEVBQ1M7QUFBQTs7QUFDYixZQUFJLEtBQ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gICAgIHJldHVybiB7fVxuICAgICAgICB9XG4gICAgICB9KVxuICAgIH1cbiAgfVxuICBtZXRob2RzID0ge1xuICAgIGJpbmRQaWNrZXJDaGFuZ2UgKGUpIHtcbiAgICAgIHRoaXMuaW5kZXggPSBlLmRldGFpbC52YWx1ZVxuICAgICAgdGhpcy50ZXh0Ym9vayA9IHRoaXMubGlzdFt0aGlzLmluZGV4XS5pZFxuICAgICAgdGhpcy4kZW1pdCgnZXZlbnQnLCB0aGlzLmxpc3RbdGhpcy5pbmRleF0uaWQpXG4gICAgICB0aGlzLiRhcHBseSgpXG4gICAgfVxuICB9XG59XG4iXX0=
--------------------------------------------------------------------------------
/src/pages/camera/index.wpy:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | 选择章节
14 |
15 |
16 |
17 | {{item.name}}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
33 |
34 |
35 |
36 |
187 |
199 |
--------------------------------------------------------------------------------
/dist/components/zan-field.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 | exports.default = undefined;
7 |
8 | var _wepy = require('./../npm/wepy/lib/wepy.js');
9 |
10 | var _wepy2 = _interopRequireDefault(_wepy);
11 |
12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13 |
14 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15 |
16 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
17 |
18 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19 |
20 | var zanField = function (_wepy$component) {
21 | _inherits(zanField, _wepy$component);
22 |
23 | function zanField() {
24 | var _ref;
25 |
26 | var _temp, _this, _ret;
27 |
28 | _classCallCheck(this, zanField);
29 |
30 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
31 | args[_key] = arguments[_key];
32 | }
33 |
34 | return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = zanField.__proto__ || Object.getPrototypeOf(zanField)).call.apply(_ref, [this].concat(args))), _this), _this.props = {
35 | options: {
36 | type: Object,
37 | twoWay: true,
38 | default: {
39 | right: true,
40 | error: true,
41 | name: '',
42 | disabled: false,
43 | value: '',
44 | type: 'textarea',
45 | mode: 'wrapped',
46 | title: '',
47 | inputType: 'number',
48 | placeholder: ''
49 | }
50 | },
51 | componentId: String
52 | }, _this.data = {}, _this.methods = {
53 | clear: function clear() {
54 | this.options.value = ' ';
55 | this.$apply();
56 | this.options.value = '';
57 | this.$apply();
58 | },
59 | handleZanFieldChange: function handleZanFieldChange(event) {
60 | event.componentId = this.componentId;
61 |
62 | console.info('[zan:field:change]', event);
63 |
64 | return this.$emit('zanFieldChange', event);
65 | },
66 | handleZanFieldFocus: function handleZanFieldFocus(event) {
67 | event.componentId = this.componentId;
68 |
69 | console.info('[zan:field:focus]', event);
70 |
71 | return this.$emit('zanFieldFocus', event);
72 | },
73 | handleZanFieldBlur: function handleZanFieldBlur(event) {
74 | event.componentId = this.componentId;
75 |
76 | console.info('[zan:field:blur]', event);
77 |
78 | return this.$emit('zanFieldBlur', event);
79 | }
80 | }, _temp), _possibleConstructorReturn(_this, _ret);
81 | }
82 |
83 | return zanField;
84 | }(_wepy2.default.component);
85 |
86 | exports.default = zanField;
87 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInphbi1maWVsZC5qcyJdLCJu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bmRsZVphbkZpZWxkQmx1cihldmVudCkge1xuICAgICAgZXZlbnQuY29tcG9uZW50SWQgPSB0aGlzLmNvbXBvbmVudElkXG5cbiAgICAgIGNvbnNvbGUuaW5mbygnW3phbjpmaWVsZDpibHVyXScsIGV2ZW50KVxuXG4gICAgICByZXR1cm4gdGhpcy4kZW1pdCgnemFuRmllbGRCbHVyJywgZXZlbnQpXG4gICAgfVxuICB9XG59XG4iXX0=
--------------------------------------------------------------------------------
/src/pages/resource/fenCeng.wpy:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
35 |
36 |
37 |
38 |
39 | 精
40 | {{item.name}}
41 |
42 |
43 |
44 | 更新:{{item.time}}
45 | 下载:{{item.downloadNumber}}
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
194 |
--------------------------------------------------------------------------------
/dist/npm/promise-polyfill/promise.js:
--------------------------------------------------------------------------------
1 | (function (root) {
2 |
3 | // Store setTimeout reference so promise-polyfill will be unaffected by
4 | // other code modifying setTimeout (like sinon.useFakeTimers())
5 | var setTimeoutFunc = setTimeout;
6 |
7 | function noop() {}
8 |
9 | // Polyfill for Function.prototype.bind
10 | function bind(fn, thisArg) {
11 | return function () {
12 | fn.apply(thisArg, arguments);
13 | };
14 | }
15 |
16 | function Promise(fn) {
17 | if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');
18 | if (typeof fn !== 'function') throw new TypeError('not a function');
19 | this._state = 0;
20 | this._handled = false;
21 | this._value = undefined;
22 | this._deferreds = [];
23 |
24 | doResolve(fn, this);
25 | }
26 |
27 | function handle(self, deferred) {
28 | while (self._state === 3) {
29 | self = self._value;
30 | }
31 | if (self._state === 0) {
32 | self._deferreds.push(deferred);
33 | return;
34 | }
35 | self._handled = true;
36 | Promise._immediateFn(function () {
37 | var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;
38 | if (cb === null) {
39 | (self._state === 1 ? resolve : reject)(deferred.promise, self._value);
40 | return;
41 | }
42 | var ret;
43 | try {
44 | ret = cb(self._value);
45 | } catch (e) {
46 | reject(deferred.promise, e);
47 | return;
48 | }
49 | resolve(deferred.promise, ret);
50 | });
51 | }
52 |
53 | function resolve(self, newValue) {
54 | try {
55 | // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure
56 | if (newValue === self) throw new TypeError('A promise cannot be resolved with itself.');
57 | if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) {
58 | var then = newValue.then;
59 | if (newValue instanceof Promise) {
60 | self._state = 3;
61 | self._value = newValue;
62 | finale(self);
63 | return;
64 | } else if (typeof then === 'function') {
65 | doResolve(bind(then, newValue), self);
66 | return;
67 | }
68 | }
69 | self._state = 1;
70 | self._value = newValue;
71 | finale(self);
72 | } catch (e) {
73 | reject(self, e);
74 | }
75 | }
76 |
77 | function reject(self, newValue) {
78 | self._state = 2;
79 | self._value = newValue;
80 | finale(self);
81 | }
82 |
83 | function finale(self) {
84 | if (self._state === 2 && self._deferreds.length === 0) {
85 | Promise._immediateFn(function() {
86 | if (!self._handled) {
87 | Promise._unhandledRejectionFn(self._value);
88 | }
89 | });
90 | }
91 |
92 | for (var i = 0, len = self._deferreds.length; i < len; i++) {
93 | handle(self, self._deferreds[i]);
94 | }
95 | self._deferreds = null;
96 | }
97 |
98 | function Handler(onFulfilled, onRejected, promise) {
99 | this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
100 | this.onRejected = typeof onRejected === 'function' ? onRejected : null;
101 | this.promise = promise;
102 | }
103 |
104 | /**
105 | * Take a potentially misbehaving resolver function and make sure
106 | * onFulfilled and onRejected are only called once.
107 | *
108 | * Makes no guarantees about asynchrony.
109 | */
110 | function doResolve(fn, self) {
111 | var done = false;
112 | try {
113 | fn(function (value) {
114 | if (done) return;
115 | done = true;
116 | resolve(self, value);
117 | }, function (reason) {
118 | if (done) return;
119 | done = true;
120 | reject(self, reason);
121 | });
122 | } catch (ex) {
123 | if (done) return;
124 | done = true;
125 | reject(self, ex);
126 | }
127 | }
128 |
129 | Promise.prototype['catch'] = function (onRejected) {
130 | return this.then(null, onRejected);
131 | };
132 |
133 | Promise.prototype.then = function (onFulfilled, onRejected) {
134 | var prom = new (this.constructor)(noop);
135 |
136 | handle(this, new Handler(onFulfilled, onRejected, prom));
137 | return prom;
138 | };
139 |
140 | Promise.all = function (arr) {
141 | return new Promise(function (resolve, reject) {
142 | if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');
143 | var args = Array.prototype.slice.call(arr);
144 | if (args.length === 0) return resolve([]);
145 | var remaining = args.length;
146 |
147 | function res(i, val) {
148 | try {
149 | if (val && (typeof val === 'object' || typeof val === 'function')) {
150 | var then = val.then;
151 | if (typeof then === 'function') {
152 | then.call(val, function (val) {
153 | res(i, val);
154 | }, reject);
155 | return;
156 | }
157 | }
158 | args[i] = val;
159 | if (--remaining === 0) {
160 | resolve(args);
161 | }
162 | } catch (ex) {
163 | reject(ex);
164 | }
165 | }
166 |
167 | for (var i = 0; i < args.length; i++) {
168 | res(i, args[i]);
169 | }
170 | });
171 | };
172 |
173 | Promise.resolve = function (value) {
174 | if (value && typeof value === 'object' && value.constructor === Promise) {
175 | return value;
176 | }
177 |
178 | return new Promise(function (resolve) {
179 | resolve(value);
180 | });
181 | };
182 |
183 | Promise.reject = function (value) {
184 | return new Promise(function (resolve, reject) {
185 | reject(value);
186 | });
187 | };
188 |
189 | Promise.race = function (values) {
190 | return new Promise(function (resolve, reject) {
191 | for (var i = 0, len = values.length; i < len; i++) {
192 | values[i].then(resolve, reject);
193 | }
194 | });
195 | };
196 |
197 | // Use polyfill for setImmediate for performance gains
198 | Promise._immediateFn = (typeof setImmediate === 'function' && function (fn) { setImmediate(fn); }) ||
199 | function (fn) {
200 | setTimeoutFunc(fn, 0);
201 | };
202 |
203 | Promise._unhandledRejectionFn = function _unhandledRejectionFn(err) {
204 | if (typeof console !== 'undefined' && console) {
205 | console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console
206 | }
207 | };
208 |
209 | /**
210 | * Set the immediate function to execute callbacks
211 | * @param fn {function} Function to execute
212 | * @deprecated
213 | */
214 | Promise._setImmediateFn = function _setImmediateFn(fn) {
215 | Promise._immediateFn = fn;
216 | };
217 |
218 | /**
219 | * Change the function to execute on unhandled rejection
220 | * @param {function} fn Function to execute on unhandled rejection
221 | * @deprecated
222 | */
223 | Promise._setUnhandledRejectionFn = function _setUnhandledRejectionFn(fn) {
224 | Promise._unhandledRejectionFn = fn;
225 | };
226 |
227 | if (typeof module !== 'undefined' && module.exports) {
228 | module.exports = Promise;
229 | } else if (!root.Promise) {
230 | root.Promise = Promise;
231 | }
232 |
233 | })(this);
234 |
--------------------------------------------------------------------------------