diff --git a/source/vue/xzs-student/package-lock.json b/source/vue/xzs-student/package-lock.json index 0ac9410..9429ee4 100644 --- a/source/vue/xzs-student/package-lock.json +++ b/source/vue/xzs-student/package-lock.json @@ -1792,6 +1792,17 @@ "integrity": "sha1-4a1IbmxUUBY0xsOXxcEh2qODYHw=", "dev": true }, + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.2.1.tgz", + "integrity": "sha1-kK51xCTQCNJiTFvynq0xd+v881k=", + "dev": true, + "optional": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, "cacache": { "version": "13.0.1", "resolved": "https://registry.npm.taobao.org/cacache/download/cacache-13.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcacache%2Fdownload%2Fcacache-13.0.1.tgz", @@ -1818,6 +1829,34 @@ "unique-filename": "^1.1.1" } }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-3.0.0.tgz", + "integrity": "sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ=", + "dev": true, + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz", + "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", + "dev": true, + "optional": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz", + "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", + "dev": true, + "optional": true + }, "debug": { "version": "4.1.1", "resolved": "https://registry.npm.taobao.org/debug/download/debug-4.1.1.tgz", @@ -1848,6 +1887,13 @@ "path-exists": "^4.0.0" } }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz", + "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", + "dev": true, + "optional": true + }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npm.taobao.org/locate-path/download/locate-path-5.0.0.tgz?cache=0&sync_timestamp=1597081764621&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flocate-path%2Fdownload%2Flocate-path-5.0.0.tgz", @@ -1918,6 +1964,16 @@ "minipass": "^3.1.1" } }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1598611787836&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz", + "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", + "dev": true, + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + }, "terser-webpack-plugin": { "version": "2.3.8", "resolved": "https://registry.npm.taobao.org/terser-webpack-plugin/download/terser-webpack-plugin-2.3.8.tgz?cache=0&sync_timestamp=1597229611059&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser-webpack-plugin%2Fdownload%2Fterser-webpack-plugin-2.3.8.tgz", @@ -1934,6 +1990,21 @@ "terser": "^4.6.12", "webpack-sources": "^1.4.3" } + }, + "vue-loader-v16": { + "version": "npm:vue-loader@16.0.0-beta.5", + "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.0.0-beta.5.tgz", + "integrity": "sha1-BO3IiUkrA6RF56xm6SJqcBdcqKA=", + "dev": true, + "optional": true, + "requires": { + "@types/mini-css-extract-plugin": "^0.9.1", + "chalk": "^3.0.0", + "hash-sum": "^2.0.0", + "loader-utils": "^1.2.3", + "merge-source-map": "^1.1.0", + "source-map": "^0.6.1" + } } } }, @@ -12569,86 +12640,6 @@ } } }, - "vue-loader-v16": { - "version": "npm:vue-loader@16.0.0-beta.5", - "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.0.0-beta.5.tgz", - "integrity": "sha1-BO3IiUkrA6RF56xm6SJqcBdcqKA=", - "dev": true, - "optional": true, - "requires": { - "@types/mini-css-extract-plugin": "^0.9.1", - "chalk": "^3.0.0", - "hash-sum": "^2.0.0", - "loader-utils": "^1.2.3", - "merge-source-map": "^1.1.0", - "source-map": "^0.6.1" - }, - "dependencies": { - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.2.1.tgz", - "integrity": "sha1-kK51xCTQCNJiTFvynq0xd+v881k=", - "dev": true, - "optional": true, - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-3.0.0.tgz", - "integrity": "sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ=", - "dev": true, - "optional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz", - "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", - "dev": true, - "optional": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz", - "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", - "dev": true, - "optional": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz", - "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", - "dev": true, - "optional": true - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", - "dev": true, - "optional": true - }, - "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.1.0.tgz", - "integrity": "sha1-aOMlkd9z4lrRxLSRCKLsUHliv9E=", - "dev": true, - "optional": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "vue-router": { "version": "3.4.3", "resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-3.4.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.4.3.tgz", diff --git a/source/vue/xzs-student/src/layout/index.vue b/source/vue/xzs-student/src/layout/index.vue index d980ade..69e30be 100644 --- a/source/vue/xzs-student/src/layout/index.vue +++ b/source/vue/xzs-student/src/layout/index.vue @@ -46,8 +46,8 @@ diff --git a/source/wx/xzs-student/app.js b/source/wx/xzs-student/app.js deleted file mode 100644 index 6d7519b..0000000 --- a/source/wx/xzs-student/app.js +++ /dev/null @@ -1,110 +0,0 @@ -const { - $Message -} = require('/component/iView/base/index'); -const mtjwxsdk = require('./utils/mtj-wx-sdk.js'); - -App({ - globalData: { - baseAPI: "http://localhost:8000", - pageSize: 10 - }, - onLaunch: function() { - let _this = this - let token = wx.getStorageSync('token') - if (null == token || token == '') { - wx.login({ - success(wxres) { - if (wxres.code) { - _this.formPost('/api/wx/student/auth/checkBind', { - "code": wxres.code - }).then(res => { - if (res.code == 1) { - wx.setStorageSync('token', res.response) - wx.reLaunch({ - url: '/pages/index/index', - }); - } else if (res.code == 2) { - wx.reLaunch({ - url: '/pages/user/bind/index', - }); - } else { - _this.message(res.message, 'error') - } - }).catch(e => { - _this.message(e, 'error') - }) - } else { - _this.message(res.errMsg, 'error') - } - } - }) - } - }, - message: function(content, type) { - $Message({ - content: content, - type: type - }); - }, - formPost: function(url, data) { - let _this = this - return new Promise(function(resolve, reject) { - wx.showNavigationBarLoading(); - wx.request({ - url: _this.globalData.baseAPI + url, - header: { - 'content-type': 'application/x-www-form-urlencoded', - 'token': wx.getStorageSync('token') - }, - method: 'POST', - data, - success(res) { - - if (res.statusCode !== 200 || typeof res.data !== 'object') { - reject('网络出错') - return false; - } - - if (res.data.code === 400) { - let token = res.data.response - wx.setStorageSync('token', token) - wx.request({ - url: _this.globalData.baseAPI + url, - header: { - 'content-type': 'application/x-www-form-urlencoded', - 'token': wx.getStorageSync('token') - }, - method: 'POST', - data, - success(result) { - resolve(result.data); - return true; - } - }) - } else if (res.data.code === 401) { - wx.reLaunch({ - url: '/pages/user/bind/index', - }); - return false; - } else if (res.data.code === 500) { - reject(res.data.message) - return false; - } else if (res.data.code === 501) { - reject(res.data.message) - return false; - } else { - resolve(res.data); - return true; - } - }, - fail(res) { - reject(res.errMsg) - return false; - }, - complete(res) { - wx.hideNavigationBarLoading(); - } - }) - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/app.json b/source/wx/xzs-student/app.json deleted file mode 100644 index ba2f906..0000000 --- a/source/wx/xzs-student/app.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "pages": [ - "pages/index/index", - "pages/user/bind/index", - "pages/exam/index/index", - "pages/exam/do/index", - "pages/exam/edit/index", - "pages/exam/read/index", - "pages/record/index", - "pages/my/index/index", - "pages/my/info/index", - "pages/my/message/info/index", - "pages/my/message/list/index", - "pages/my/log/index", - "pages/user/register/index" - ], - "window": { - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTitleText": "学之思", - "navigationBarTextStyle": "black", - "backgroundTextStyle": "dark" - }, - "tabBar": { - "color": "#6e6d6b", - "selectedColor": "#ff9966", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "list": [ - { - "pagePath": "pages/index/index", - "text": "首页", - "iconPath": "/assets/tabBar/index.png", - "selectedIconPath": "/assets/tabBar/index-select.png" - }, - { - "pagePath": "pages/exam/index/index", - "text": "试卷", - "iconPath": "/assets/tabBar/exam.png", - "selectedIconPath": "/assets/tabBar/exam-select.png" - }, - { - "pagePath": "pages/record/index", - "text": "记录", - "iconPath": "/assets/tabBar/record.png", - "selectedIconPath": "/assets/tabBar/record-select.png" - }, - { - "pagePath": "pages/my/index/index", - "text": "我的", - "iconPath": "/assets/tabBar/my.png", - "selectedIconPath": "/assets/tabBar/my-select.png" - } - ] - }, - "sitemapLocation": "sitemap.json" -} \ No newline at end of file diff --git a/source/wx/xzs-student/app.wxss b/source/wx/xzs-student/app.wxss deleted file mode 100644 index e0002cb..0000000 --- a/source/wx/xzs-student/app.wxss +++ /dev/null @@ -1,47 +0,0 @@ -/**app.wxss**/ -@import '/component/iView/button/index.wxss'; -@import '/component/iView/radio/index.wxss'; -@import '/component/iView/input/index.wxss'; - -page { - background: #f7f7f7; -} - -.container { - height: 100%; - display: flex; - flex-direction: column; - align-items: center; - justify-content: space-between; - padding: 200rpx 0; - box-sizing: border-box; -} - -.student-page { - background: white; -} - -.student-page button { - height: 30px; - line-height: 30px; - margin-top: 7px; -} - -.gapfilling-span { - color: red; - padding: 0px 30px; - margin: 0px 5px; - border-bottom: 3px double red; -} - -.ueditor-p { - display: inline !important; -} - -.exam-hidden { - display: none; -} - -.exam-pick-input{ - height: 30px; -} \ No newline at end of file diff --git a/source/wx/xzs-student/assets/carousel/1.png b/source/wx/xzs-student/assets/carousel/1.png deleted file mode 100644 index 0dca22c..0000000 Binary files a/source/wx/xzs-student/assets/carousel/1.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/carousel/2.png b/source/wx/xzs-student/assets/carousel/2.png deleted file mode 100644 index 721a205..0000000 Binary files a/source/wx/xzs-student/assets/carousel/2.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/carousel/3.png b/source/wx/xzs-student/assets/carousel/3.png deleted file mode 100644 index a6aebd0..0000000 Binary files a/source/wx/xzs-student/assets/carousel/3.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/carousel/4.png b/source/wx/xzs-student/assets/carousel/4.png deleted file mode 100644 index 8236fee..0000000 Binary files a/source/wx/xzs-student/assets/carousel/4.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/logo.png b/source/wx/xzs-student/assets/logo.png deleted file mode 100644 index 778b744..0000000 Binary files a/source/wx/xzs-student/assets/logo.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/logo2.png b/source/wx/xzs-student/assets/logo2.png deleted file mode 100644 index 65e4f49..0000000 Binary files a/source/wx/xzs-student/assets/logo2.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/exam-select.png b/source/wx/xzs-student/assets/tabBar/exam-select.png deleted file mode 100644 index 1906e40..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/exam-select.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/exam.png b/source/wx/xzs-student/assets/tabBar/exam.png deleted file mode 100644 index 0101d94..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/exam.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/index-select.png b/source/wx/xzs-student/assets/tabBar/index-select.png deleted file mode 100644 index aa33310..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/index-select.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/index.png b/source/wx/xzs-student/assets/tabBar/index.png deleted file mode 100644 index 8d14c6c..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/index.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/my-select.png b/source/wx/xzs-student/assets/tabBar/my-select.png deleted file mode 100644 index ae3c163..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/my-select.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/my.png b/source/wx/xzs-student/assets/tabBar/my.png deleted file mode 100644 index 993fd68..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/my.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/record-select.png b/source/wx/xzs-student/assets/tabBar/record-select.png deleted file mode 100644 index f8b9629..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/record-select.png and /dev/null differ diff --git a/source/wx/xzs-student/assets/tabBar/record.png b/source/wx/xzs-student/assets/tabBar/record.png deleted file mode 100644 index b73bf05..0000000 Binary files a/source/wx/xzs-student/assets/tabBar/record.png and /dev/null differ diff --git a/source/wx/xzs-student/component/iView/action-sheet/index.js b/source/wx/xzs-student/component/iView/action-sheet/index.js deleted file mode 100644 index 2db31aa..0000000 --- a/source/wx/xzs-student/component/iView/action-sheet/index.js +++ /dev/null @@ -1,47 +0,0 @@ -Component({ - externalClasses: ['i-class', 'i-class-mask', 'i-class-header'], - - options: { - multipleSlots: true - }, - - properties: { - visible: { - type: Boolean, - value: false - }, - maskClosable: { - type: Boolean, - value: true - }, - showCancel: { - type: Boolean, - value: false - }, - cancelText: { - type: String, - value: '取消' - }, - actions: { - type: Array, - value: [] - } - }, - - methods: { - handleClickMask () { - if (!this.data.maskClosable) return; - this.handleClickCancel(); - }, - - handleClickItem ({ currentTarget = {} }) { - const dataset = currentTarget.dataset || {}; - const { index } = dataset; - this.triggerEvent('click', { index }); - }, - - handleClickCancel () { - this.triggerEvent('cancel'); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/action-sheet/index.json b/source/wx/xzs-student/component/iView/action-sheet/index.json deleted file mode 100644 index 6b1e67d..0000000 --- a/source/wx/xzs-student/component/iView/action-sheet/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-button": "../button/index", - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/action-sheet/index.wxml b/source/wx/xzs-student/component/iView/action-sheet/index.wxml deleted file mode 100644 index 332f393..0000000 --- a/source/wx/xzs-student/component/iView/action-sheet/index.wxml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - {{ item.name }} - - - - - {{ cancelText }} - - diff --git a/source/wx/xzs-student/component/iView/action-sheet/index.wxss b/source/wx/xzs-student/component/iView/action-sheet/index.wxss deleted file mode 100644 index 05c6f04..0000000 --- a/source/wx/xzs-student/component/iView/action-sheet/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-as{position:fixed;width:100%;box-sizing:border-box;left:0;right:0;bottom:0;background:#f7f7f7;transform:translate3d(0,100%,0);transform-origin:center;transition:all .2s ease-in-out;z-index:900;visibility:hidden}.i-as-show{transform:translate3d(0,0,0);visibility:visible}.i-as-mask{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);z-index:900;transition:all .2s ease-in-out;opacity:0;visibility:hidden}.i-as-mask-show{opacity:1;visibility:visible}.i-as-action-item{position:relative}.i-as-action-item::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px}.i-as-header{background:#fff;text-align:center;position:relative;font-size:12px;color:#80848f}.i-as-header::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px}.i-as-cancel{margin-top:6px}.i-as-btn-loading{display:inline-block;vertical-align:middle;margin-right:10px;width:12px;height:12px;background:0 0;border-radius:50%;border:2px solid #e5e5e5;border-color:#666 #e5e5e5 #e5e5e5 #e5e5e5;animation:btn-spin .6s linear;animation-iteration-count:infinite}.i-as-btn-text{display:inline-block;vertical-align:middle}.i-as-btn-icon{font-size:14px!important;margin-right:4px}@keyframes btn-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/alert/index.js b/source/wx/xzs-student/component/iView/alert/index.js deleted file mode 100644 index 461b67d..0000000 --- a/source/wx/xzs-student/component/iView/alert/index.js +++ /dev/null @@ -1,37 +0,0 @@ -Component({ - externalClasses: ['i-class'], - options: { - multipleSlots: true - }, - properties: { - //info, success, warning, error - type: { - type: String, - value: 'info' - }, - closable: { - type: Boolean, - value: false - }, - showIcon: { - type: Boolean, - default: false - }, - desc: { - type: Boolean, - default: false - }, - }, - data: { - closed: false - }, - methods: { - handleTap() { - this.setData({ - closed: !this.data.closed, - }); - this.triggerEvent('close'); - }, - - } -}); diff --git a/source/wx/xzs-student/component/iView/alert/index.json b/source/wx/xzs-student/component/iView/alert/index.json deleted file mode 100644 index db3afc0..0000000 --- a/source/wx/xzs-student/component/iView/alert/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/alert/index.wxml b/source/wx/xzs-student/component/iView/alert/index.wxml deleted file mode 100644 index eebabde..0000000 --- a/source/wx/xzs-student/component/iView/alert/index.wxml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/source/wx/xzs-student/component/iView/alert/index.wxss b/source/wx/xzs-student/component/iView/alert/index.wxss deleted file mode 100644 index 0e61fce..0000000 --- a/source/wx/xzs-student/component/iView/alert/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-alert{position:relative;margin:10px;padding:8px 48px 8px 16px;font-size:14px;border-radius:2px;color:#fff;background:#f7f7f7;color:#495060}.i-alert.i-alert-with-icon{padding:8px 48px 8px 38px}.i-alert-info{color:#fff;background:#2db7f5}.i-alert-success{color:#fff;background:#19be6b}.i-alert-warning{color:#fff;background:#f90}.i-alert-error{color:#fff;background:#ed3f14}.i-alert-icon{position:absolute;top:9px;left:16px;font-size:14px}.i-alert-desc{font-size:12px}.i-alert-with-desc{padding:16px;position:relative}.i-alert-with-desc.i-alert-with-icon{padding:16px 16px 16px 69px}.i-alert-with-desc .i-alert-icon{top:50%;left:24px;margin-top:-21px;font-size:28px}.i-alert-close{font-size:12px;position:absolute;right:16px;top:8px;overflow:hidden;cursor:pointer} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/avatar/index.js b/source/wx/xzs-student/component/iView/avatar/index.js deleted file mode 100644 index fae9476..0000000 --- a/source/wx/xzs-student/component/iView/avatar/index.js +++ /dev/null @@ -1,20 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - properties: { - // circle || square - shape: { - type: String, - value: 'circle' - }, - // small || large || default - size: { - type: String, - value: 'default' - }, - src: { - type: String, - value: '' - } - } -}); diff --git a/source/wx/xzs-student/component/iView/avatar/index.json b/source/wx/xzs-student/component/iView/avatar/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/avatar/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/avatar/index.wxml b/source/wx/xzs-student/component/iView/avatar/index.wxml deleted file mode 100644 index 11730c6..0000000 --- a/source/wx/xzs-student/component/iView/avatar/index.wxml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/avatar/index.wxss b/source/wx/xzs-student/component/iView/avatar/index.wxss deleted file mode 100644 index 8f6e636..0000000 --- a/source/wx/xzs-student/component/iView/avatar/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-avatar{display:inline-block;text-align:center;background:#ccc;color:#fff;white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;width:32px;height:32px;line-height:32px;border-radius:16px;font-size:18px}.i-avatar .ivu-avatar-string{line-height:32px}.i-avatar-large{width:40px;height:40px;line-height:40px;border-radius:20px;font-size:24px}.i-avatar-large .ivu-avatar-string{line-height:40px}.i-avatar-small{width:24px;height:24px;line-height:24px;border-radius:12px;font-size:14px}.i-avatar-small .ivu-avatar-string{line-height:24px}.i-avatar-image{background:0 0}.i-avatar-square{border-radius:4px}.i-avatar>image{width:100%;height:100%} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/badge/index.js b/source/wx/xzs-student/component/iView/badge/index.js deleted file mode 100644 index 2b9fb30..0000000 --- a/source/wx/xzs-student/component/iView/badge/index.js +++ /dev/null @@ -1,29 +0,0 @@ -Component({ - externalClasses: ['i-class', 'i-class-alone'], - - properties: { - count: { - type: Number, - value: 0, - observer: 'finalCount' - }, - overflowCount: { - type: Number, - value: 99 - }, - dot: { - type: Boolean, - value: false - }, - }, - data: { - finalCount: 0 - }, - methods: { - finalCount() { - this.setData({ - finalCount: parseInt(this.data.count) >= parseInt(this.data.overflowCount) ? `${this.data.overflowCount}+` : this.data.count - }); - }, - } -}); diff --git a/source/wx/xzs-student/component/iView/badge/index.json b/source/wx/xzs-student/component/iView/badge/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/badge/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/badge/index.wxml b/source/wx/xzs-student/component/iView/badge/index.wxml deleted file mode 100644 index 372fd7f..0000000 --- a/source/wx/xzs-student/component/iView/badge/index.wxml +++ /dev/null @@ -1,5 +0,0 @@ - - - - {{ finalCount }} - diff --git a/source/wx/xzs-student/component/iView/badge/index.wxss b/source/wx/xzs-student/component/iView/badge/index.wxss deleted file mode 100644 index 281658f..0000000 --- a/source/wx/xzs-student/component/iView/badge/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-badge{position:relative;display:inline-block;line-height:1;vertical-align:middle}.i-badge-count{position:absolute;transform:translateX(50%);top:-6px;right:0;height:18px;border-radius:9px;min-width:18px;background:#ed3f14;border:1px solid transparent;color:#fff;line-height:18px;text-align:center;padding:0 5px;font-size:12px;white-space:nowrap;transform-origin:-10% center;z-index:10;box-shadow:0 0 0 1px #fff;box-sizing:border-box;text-rendering:optimizeLegibility}.i-badge-count-alone{top:auto;display:block;position:relative;transform:translateX(0)}.i-badge-dot{position:absolute;transform:translateX(-50%);transform-origin:0 center;top:-4px;right:-8px;height:8px;width:8px;border-radius:100%;background:#ed3f14;z-index:10;box-shadow:0 0 0 1px #fff} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/base/index.js b/source/wx/xzs-student/component/iView/base/index.js deleted file mode 100644 index 6cb977f..0000000 --- a/source/wx/xzs-student/component/iView/base/index.js +++ /dev/null @@ -1,37 +0,0 @@ -function getCtx (selector) { - const pages = getCurrentPages(); - const ctx = pages[pages.length - 1]; - - const componentCtx = ctx.selectComponent(selector); - - if (!componentCtx) { - console.error('无法找到对应的组件,请按文档说明使用组件'); - return null; - } - return componentCtx; -} - -function Toast(options) { - const { selector = '#toast' } = options; - const ctx = getCtx(selector); - - ctx.handleShow(options); -} - -Toast.hide = function (selector = '#toast') { - const ctx = getCtx(selector); - - ctx.handleHide(); -}; - -function Message(options) { - const { selector = '#message' } = options; - const ctx = getCtx(selector); - - ctx.handleShow(options); -} - -module.exports = { - $Toast: Toast, - $Message: Message -}; \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/button/index.js b/source/wx/xzs-student/component/iView/button/index.js deleted file mode 100644 index f0e9b3e..0000000 --- a/source/wx/xzs-student/component/iView/button/index.js +++ /dev/null @@ -1,80 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - properties: { - // default, primary, ghost, info, success, warning, error - type: { - type: String, - value: '', - }, - inline: { - type: Boolean, - value: false - }, - // default, large, small - size: { - type: String, - value: '', - }, - // circle, square - shape: { - type: String, - value: 'square' - }, - disabled: { - type: Boolean, - value: false, - }, - loading: { - type: Boolean, - value: false, - }, - long: { - type: Boolean, - value: false - }, - openType: String, - appParameter: String, - hoverStopPropagation: Boolean, - hoverStartTime: { - type: Number, - value: 20 - }, - hoverStayTime: { - type: Number, - value: 70 - }, - lang: { - type: String, - value: 'en' - }, - sessionFrom: { - type: String, - value: '' - }, - sendMessageTitle: String, - sendMessagePath: String, - sendMessageImg: String, - showMessageCard: Boolean - }, - - methods: { - handleTap () { - if (this.data.disabled) return false; - - this.triggerEvent('click'); - }, - bindgetuserinfo({ detail = {} } = {}) { - this.triggerEvent('getuserinfo', detail); - }, - bindcontact({ detail = {} } = {}) { - this.triggerEvent('contact', detail); - }, - bindgetphonenumber({ detail = {} } = {}) { - this.triggerEvent('getphonenumber', detail); - }, - binderror({ detail = {} } = {}) { - this.triggerEvent('error', detail); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/button/index.json b/source/wx/xzs-student/component/iView/button/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/button/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/button/index.wxml b/source/wx/xzs-student/component/iView/button/index.wxml deleted file mode 100644 index e154eee..0000000 --- a/source/wx/xzs-student/component/iView/button/index.wxml +++ /dev/null @@ -1,20 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/button/index.wxss b/source/wx/xzs-student/component/iView/button/index.wxss deleted file mode 100644 index 550bc81..0000000 --- a/source/wx/xzs-student/component/iView/button/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-btn{text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;white-space:nowrap;user-select:none;font-size:14px;border-radius:2px;border:0!important;position:relative;text-decoration:none;height:44px;line-height:44px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);color:#fff!important;background:#f7f7f7!important;color:#495060!important;margin:10px}.i-btn-hover{opacity:.9}.i-btn-long{border-radius:0;margin:0;box-shadow:none}.i-btn-large{height:48px;line-height:48px}.i-btn-small{height:40px;line-height:40px}.i-btn-primary{color:#fff!important;background:#2d8cf0!important}.i-btn-ghost{color:#fff!important;background:#fff!important;color:#495060!important}.i-btn-success{color:#fff!important;background:#19be6b!important}.i-btn-warning{color:#fff!important;background:#f90!important}.i-btn-error{color:#fff!important;background:#ed3f14!important}.i-btn-info{color:#fff!important;background:#2db7f5!important}.i-btn-circle{border-radius:44px}.i-btn-large.i-btn-circle{border-radius:48px}.i-btn-small.i-btn-circle{border-radius:40px}.i-btn-loading{opacity:.6}.i-btn-loading-inner{display:inline-block;margin-right:12px;vertical-align:middle;width:14px;height:14px;background:0 0;border-radius:50%;border:2px solid #fff;border-color:#fff #fff #fff transparent;animation:btn-spin .6s linear;animation-iteration-count:infinite}.i-btn-disabled{color:#bbbec4!important;background:#f7f7f7!important}.i-btn-inline{display:inline-block}@keyframes btn-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/card/index.js b/source/wx/xzs-student/component/iView/card/index.js deleted file mode 100644 index 20ad106..0000000 --- a/source/wx/xzs-student/component/iView/card/index.js +++ /dev/null @@ -1,26 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - options: { - multipleSlots: true - }, - - properties: { - full: { - type: Boolean, - value: false - }, - thumb: { - type: String, - value: '' - }, - title: { - type: String, - value: '' - }, - extra: { - type: String, - value: '' - } - } -}); diff --git a/source/wx/xzs-student/component/iView/card/index.json b/source/wx/xzs-student/component/iView/card/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/card/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/card/index.wxml b/source/wx/xzs-student/component/iView/card/index.wxml deleted file mode 100644 index 4792293..0000000 --- a/source/wx/xzs-student/component/iView/card/index.wxml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - {{ title }} - - {{ extra }} - - - - diff --git a/source/wx/xzs-student/component/iView/card/index.wxss b/source/wx/xzs-student/component/iView/card/index.wxss deleted file mode 100644 index fd8fad4..0000000 --- a/source/wx/xzs-student/component/iView/card/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-card{margin:0 16px;font-size:14px;overflow:hidden;position:relative;background:#fff;border:1rpx solid #dddee1;border-radius:5px}.i-card-full{margin:0;border-left:none;border-right:none;border-radius:0}.i-card-header{display:flex;padding:6px 16px;align-items:center}.i-card-header-content{flex:1;text-align:left}.i-card-header-thumb{display:inline-block;width:64px;height:64px;position:relative;margin-left:auto;margin-right:auto;overflow:hidden;background-size:cover;vertical-align:middle}.i-card-header-title{display:inline-block;vertical-align:middle;font-size:14px;color:#1c2438}.i-card-header-extra{flex:1;text-align:right;font-size:14px;color:#80848f}.i-card-body{position:relative;padding:6px 16px;color:#495060;font-size:14px}.i-card-body::before{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-top-width:1px}.i-card-footer{position:relative;padding:6px 16px;color:#80848f;font-size:12px} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/cell-group/index.js b/source/wx/xzs-student/component/iView/cell-group/index.js deleted file mode 100644 index ad36baa..0000000 --- a/source/wx/xzs-student/component/iView/cell-group/index.js +++ /dev/null @@ -1,33 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../cell/index': { - type: 'child', - linked () { - this._updateIsLastCell(); - }, - linkChanged () { - this._updateIsLastCell(); - }, - unlinked () { - this._updateIsLastCell(); - } - } - }, - - methods: { - _updateIsLastCell() { - let cells = this.getRelationNodes('../cell/index'); - const len = cells.length; - - if (len > 0) { - let lastIndex = len - 1; - - cells.forEach((cell, index) => { - cell.updateIsLastCell(index === lastIndex); - }); - } - } - } -}); diff --git a/source/wx/xzs-student/component/iView/cell-group/index.json b/source/wx/xzs-student/component/iView/cell-group/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/cell-group/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/cell-group/index.wxml b/source/wx/xzs-student/component/iView/cell-group/index.wxml deleted file mode 100644 index 1897919..0000000 --- a/source/wx/xzs-student/component/iView/cell-group/index.wxml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/cell/index.js b/source/wx/xzs-student/component/iView/cell/index.js deleted file mode 100644 index 50e635c..0000000 --- a/source/wx/xzs-student/component/iView/cell/index.js +++ /dev/null @@ -1,86 +0,0 @@ -const warn = (msg, getValue) => { - console.warn(msg); - console.log('接受到的值为:', getValue); -}; - -Component({ - externalClasses: ['i-class'], - - options: { - multipleSlots: true - }, - - relations: { - '../cell-group/index': { - type: 'parent' - } - }, - - properties: { - // 左侧标题 - title: { - type: String - }, - // 标题下方的描述信息 - label: { - type: String - }, - // 右侧内容 - value: { - type: String - }, - // 只有点击 footer 区域才触发 tab 事件 - onlyTapFooter: { - type: Boolean - }, - // 是否展示右侧箭头并开启尝试以 url 跳转 - isLink: { - type: null, - value: '' - }, - // 链接类型,可选值为 navigateTo,redirectTo,switchTab,reLaunch - linkType: { - type: String, - value: 'navigateTo' - }, - url: { - type: String, - value: '' - } - }, - - data: { - isLastCell: true - }, - - methods: { - navigateTo () { - const { url } = this.data; - const type = typeof this.data.isLink; - - this.triggerEvent('click', {}); - - if (!this.data.isLink || !url || url === 'true' || url === 'false') return; - - if (type !== 'boolean' && type !== 'string') { - warn('isLink 属性值必须是一个字符串或布尔值', this.data.isLink); - return; - } - - if (['navigateTo', 'redirectTo', 'switchTab', 'reLaunch'].indexOf(this.data.linkType) === -1) { - warn('linkType 属性可选值为 navigateTo,redirectTo,switchTab,reLaunch', this.data.linkType); - return; - } - wx[this.data.linkType].call(wx, {url}); - }, - handleTap () { - if (!this.data.onlyTapFooter) { - this.navigateTo(); - } - }, - - updateIsLastCell (isLastCell) { - this.setData({ isLastCell }); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/cell/index.json b/source/wx/xzs-student/component/iView/cell/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/cell/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/cell/index.wxml b/source/wx/xzs-student/component/iView/cell/index.wxml deleted file mode 100644 index c3683e3..0000000 --- a/source/wx/xzs-student/component/iView/cell/index.wxml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - {{ title }} - {{ label }} - - - - {{ value }} - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/cell/index.wxss b/source/wx/xzs-student/component/iView/cell/index.wxss deleted file mode 100644 index e45ad75..0000000 --- a/source/wx/xzs-student/component/iView/cell/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-cell{position:relative;padding:12px 15px;display:flex;background:#fff;align-items:center;line-height:1.4;font-size:14px;overflow:hidden}.i-cell::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px;left:15px;right:0}.i-cell-last::after{display:none}.i-cell-icon{margin-right:5px}.i-cell-icon:empty{display:none}.i-cell-bd{flex:1}.i-cell-text{line-height:24px;font-size:14px}.i-cell-desc{line-height:1.2;font-size:12px;color:#80848f}.i-cell-ft{position:relative;text-align:right;color:#495060}.i-cell-access .i-cell-ft{padding-right:13px}.i-cell-access .i-cell-ft::after{content:" ";display:inline-block;width:6px;height:6px;position:absolute;top:50%;right:2px;border-width:2px 2px 0 0;border-color:#dddee1;border-style:solid;transform:translateY(-50%) matrix(.71,.71,-.71,.71,0,0)} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/checkbox-group/index.js b/source/wx/xzs-student/component/iView/checkbox-group/index.js deleted file mode 100644 index 6465450..0000000 --- a/source/wx/xzs-student/component/iView/checkbox-group/index.js +++ /dev/null @@ -1,38 +0,0 @@ -Component({ - externalClasses: ['i-class'], - relations: { - '../checkbox/index': { - type: 'child', - linked() { - this.changeCurrent(); - }, - linkChanged() { - this.changeCurrent(); - }, - unlinked() { - this.changeCurrent(); - } - } - }, - properties: { - current: { - type: Array, - value: [], - observer: 'changeCurrent' - }, - }, - methods: { - changeCurrent(val = this.data.current) { - let items = this.getRelationNodes('../checkbox/index'); - const len = items.length; - if (len > 0) { - items.forEach(item => { - item.changeCurrent(val.indexOf(item.data.value) !== -1); - }); - } - }, - emitEvent(current) { - this.triggerEvent('change', current); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/checkbox-group/index.json b/source/wx/xzs-student/component/iView/checkbox-group/index.json deleted file mode 100644 index edf138d..0000000 --- a/source/wx/xzs-student/component/iView/checkbox-group/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-cell-group": "../cell-group/index" - } -} diff --git a/source/wx/xzs-student/component/iView/checkbox-group/index.wxml b/source/wx/xzs-student/component/iView/checkbox-group/index.wxml deleted file mode 100644 index 6940180..0000000 --- a/source/wx/xzs-student/component/iView/checkbox-group/index.wxml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/source/wx/xzs-student/component/iView/checkbox-group/index.wxss b/source/wx/xzs-student/component/iView/checkbox-group/index.wxss deleted file mode 100644 index e69de29..0000000 diff --git a/source/wx/xzs-student/component/iView/checkbox/index.js b/source/wx/xzs-student/component/iView/checkbox/index.js deleted file mode 100644 index b383952..0000000 --- a/source/wx/xzs-student/component/iView/checkbox/index.js +++ /dev/null @@ -1,56 +0,0 @@ -const prefixCls = 'i-checkbox'; - -Component({ - externalClasses: ['i-class'], - relations: { - '../checkbox-group/index': { - type: 'parent' - } - }, - properties: { - value: { - type: String, - value: '' - }, - checked: { - type: Boolean, - value: false - }, - disabled: { - type: Boolean, - value: false - }, - color: { - type: String, - value: '#2d8cf0' - }, - position: { - type: String, - value: 'left', //left right - observer: 'setPosition' - } - }, - data: { - checked: true, - positionCls: `${prefixCls}-checkbox-left`, - }, - attached() { - this.setPosition(); - }, - methods: { - changeCurrent(current) { - this.setData({ checked: current }); - }, - checkboxChange() { - if (this.data.disabled) return; - const item = { current: !this.data.checked, value: this.data.value }; - const parent = this.getRelationNodes('../checkbox-group/index')[0]; - parent ? parent.emitEvent(item) : this.triggerEvent('change', item); - }, - setPosition() { - this.setData({ - positionCls: this.data.position.indexOf('left') !== -1 ? `${prefixCls}-checkbox-left` : `${prefixCls}-checkbox-right`, - }); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/checkbox/index.json b/source/wx/xzs-student/component/iView/checkbox/index.json deleted file mode 100644 index e2ab49a..0000000 --- a/source/wx/xzs-student/component/iView/checkbox/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-cell": "../cell/index" - } -} diff --git a/source/wx/xzs-student/component/iView/checkbox/index.wxml b/source/wx/xzs-student/component/iView/checkbox/index.wxml deleted file mode 100644 index 214493f..0000000 --- a/source/wx/xzs-student/component/iView/checkbox/index.wxml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/source/wx/xzs-student/component/iView/checkbox/index.wxss b/source/wx/xzs-student/component/iView/checkbox/index.wxss deleted file mode 100644 index a07699f..0000000 --- a/source/wx/xzs-student/component/iView/checkbox/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-checkbox-cell::after{display:block}.i-checkbox-checkbox-left{float:left}.i-checkbox-checkbox-right{float:right}.i-checkbox-radio{vertical-align:middle}.i-checkbox-title{display:inline-block;vertical-align:middle} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/col/index.js b/source/wx/xzs-student/component/iView/col/index.js deleted file mode 100644 index 9b2d65d..0000000 --- a/source/wx/xzs-student/component/iView/col/index.js +++ /dev/null @@ -1,20 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../row/index': { - type: 'parent' - } - }, - - properties: { - span: { - value: 0, - type: Number - }, - offset: { - value: 0, - type: Number - } - } -}); diff --git a/source/wx/xzs-student/component/iView/col/index.json b/source/wx/xzs-student/component/iView/col/index.json deleted file mode 100644 index 32640e0..0000000 --- a/source/wx/xzs-student/component/iView/col/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/col/index.wxml b/source/wx/xzs-student/component/iView/col/index.wxml deleted file mode 100644 index 838a22b..0000000 --- a/source/wx/xzs-student/component/iView/col/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/col/index.wxss b/source/wx/xzs-student/component/iView/col/index.wxss deleted file mode 100644 index bdce125..0000000 --- a/source/wx/xzs-student/component/iView/col/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-col{float:left;box-sizing:border-box;width:0}.i-col-span-1{display:block;width:4.16666667%}.i-col-offset-1{margin-left:4.16666667%}.i-col-span-2{display:block;width:8.33333333%}.i-col-offset-2{margin-left:8.33333333%}.i-col-span-3{display:block;width:12.5%}.i-col-offset-3{margin-left:12.5%}.i-col-span-4{display:block;width:16.66666667%}.i-col-offset-4{margin-left:16.66666667%}.i-col-span-5{display:block;width:20.83333333%}.i-col-offset-5{margin-left:20.83333333%}.i-col-span-6{display:block;width:25%}.i-col-offset-6{margin-left:25%}.i-col-span-7{display:block;width:29.16666667%}.i-col-offset-7{margin-left:29.16666667%}.i-col-span-8{display:block;width:33.33333333%}.i-col-offset-8{margin-left:33.33333333%}.i-col-span-9{display:block;width:37.5%}.i-col-offset-9{margin-left:37.5%}.i-col-span-10{display:block;width:41.66666667%}.i-col-offset-10{margin-left:41.66666667%}.i-col-span-11{display:block;width:45.83333333%}.i-col-offset-11{margin-left:45.83333333%}.i-col-span-12{display:block;width:50%}.i-col-offset-12{margin-left:50%}.i-col-span-13{display:block;width:54.16666667%}.i-col-offset-13{margin-left:54.16666667%}.i-col-span-14{display:block;width:58.33333333%}.i-col-offset-14{margin-left:58.33333333%}.i-col-span-15{display:block;width:62.5%}.i-col-offset-15{margin-left:62.5%}.i-col-span-16{display:block;width:66.66666667%}.i-col-offset-16{margin-left:66.66666667%}.i-col-span-17{display:block;width:70.83333333%}.i-col-offset-17{margin-left:70.83333333%}.i-col-span-18{display:block;width:75%}.i-col-offset-18{margin-left:75%}.i-col-span-19{display:block;width:79.16666667%}.i-col-offset-19{margin-left:79.16666667%}.i-col-span-20{display:block;width:83.33333333%}.i-col-offset-20{margin-left:83.33333333%}.i-col-span-21{display:block;width:87.5%}.i-col-offset-21{margin-left:87.5%}.i-col-span-22{display:block;width:91.66666667%}.i-col-offset-22{margin-left:91.66666667%}.i-col-span-23{display:block;width:95.83333333%}.i-col-offset-23{margin-left:95.83333333%}.i-col-span-24{display:block;width:100%}.i-col-offset-24{margin-left:100%} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/collapse-item/index.js b/source/wx/xzs-student/component/iView/collapse-item/index.js deleted file mode 100644 index bc415c1..0000000 --- a/source/wx/xzs-student/component/iView/collapse-item/index.js +++ /dev/null @@ -1,46 +0,0 @@ -Component({ - externalClasses: ['i-class-content', 'i-class-title', 'i-class'], - - relations: { - '../collapse/index': { - type: 'parent', - linked: function (target) { - const options = { - accordion: target.data.accordion - } - if (target.data.name === this.data.name) { - options.showContent = 'i-collapse-item-show-content'; - } - this.setData(options); - } - } - }, - - properties: { - title: String, - name: String - }, - - data: { - showContent: '', - accordion: false - }, - - options: { - multipleSlots: true - }, - - methods: { - trigger(e) { - const data = this.data; - if (data.accordion) { - this.triggerEvent('collapse', {name: data.name}, {composed: true, bubbles: true}); - } else { - this.setData({ - showContent: data.showContent ? '' : 'i-collapse-item-show-content' - }); - } - }, - } -}); - diff --git a/source/wx/xzs-student/component/iView/collapse-item/index.json b/source/wx/xzs-student/component/iView/collapse-item/index.json deleted file mode 100644 index 54575da..0000000 --- a/source/wx/xzs-student/component/iView/collapse-item/index.json +++ /dev/null @@ -1,7 +0,0 @@ - -{ - "component": true, - "usingComponents": { - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/collapse-item/index.wxml b/source/wx/xzs-student/component/iView/collapse-item/index.wxml deleted file mode 100644 index ba22b0a..0000000 --- a/source/wx/xzs-student/component/iView/collapse-item/index.wxml +++ /dev/null @@ -1,9 +0,0 @@ - - - - {{title}} - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/collapse-item/index.wxss b/source/wx/xzs-student/component/iView/collapse-item/index.wxss deleted file mode 100644 index d44c032..0000000 --- a/source/wx/xzs-student/component/iView/collapse-item/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-collapse-item{padding:2px 8px;border-top:1px solid #dddee1}.i-collapse-item-title{vertical-align:middle}.i-collapse-item-title-wrap{padding:2px 0 0}.i-collapse-item-content{padding:6px;display:none}.i-collapse-item-show-content{display:block}.i-collapse-item-arrow{transition:transform .2s ease-in-out}.i-collapse-item-arrow-show{transition:transform .2s ease-in-out;transform:rotate(90deg)} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/collapse/index.js b/source/wx/xzs-student/component/iView/collapse/index.js deleted file mode 100644 index acc1455..0000000 --- a/source/wx/xzs-student/component/iView/collapse/index.js +++ /dev/null @@ -1,31 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../collapse-item/index': { - type: 'child' - } - }, - properties: { - name: String, - accordion: Boolean - }, - methods: { - clickfn(e) { - const params = e.detail; - const allList = this.getRelationNodes('../collapse-item/index'); - allList.forEach((item) => { - if (params.name === item.data.name) { - item.setData({ - showContent: 'i-collapse-item-show-content' - }); - } else { - item.setData({ - showContent: '' - }); - } - }); - }, - } -}); - diff --git a/source/wx/xzs-student/component/iView/collapse/index.json b/source/wx/xzs-student/component/iView/collapse/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/collapse/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/collapse/index.wxml b/source/wx/xzs-student/component/iView/collapse/index.wxml deleted file mode 100644 index 0f379f7..0000000 --- a/source/wx/xzs-student/component/iView/collapse/index.wxml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/source/wx/xzs-student/component/iView/collapse/index.wxss b/source/wx/xzs-student/component/iView/collapse/index.wxss deleted file mode 100644 index e69de29..0000000 diff --git a/source/wx/xzs-student/component/iView/count-down/index.js b/source/wx/xzs-student/component/iView/count-down/index.js deleted file mode 100644 index f1da533..0000000 --- a/source/wx/xzs-student/component/iView/count-down/index.js +++ /dev/null @@ -1,90 +0,0 @@ -Component({ - properties: { - target: Number, - showDay: Boolean, - callback: String, - format: Array, - clearTimer: Boolean - }, - externalClasses: ['countdown-class'], - data: { - time: '', - resultFormat: [], - changeFormat: false - }, - ready() { - this.getFormat(); - - }, - methods: { - getFormat() { - const data = this.data; - const len = data.format.length; - - if (!data.showDay) data.resultFormat.push(''); - - if (len >= 3) { - for (let i = 0; i < len; i++) { - if (data.resultFormat.length >= 4) break; - if (data.format[i]) { - data.resultFormat.push(data.format[i].toString()); - } - } - - if (data.resultFormat.length >= 4) data.changeFormat = true; - } - - this.getLastTime(); - }, - init() { - const self = this; - setTimeout(function () { - self.getLastTime.call(self); - }, 1000); - }, - getLastTime() { - const data = this.data; - const gapTime = Math.ceil((data.target - new Date().getTime()) / 1000); - let result = ''; - let time = '00:00:00'; - let day = '00'; - const format = data.resultFormat; - - if (gapTime > 0) { - day = this.formatNum(parseInt(gapTime / 86400)); - let lastTime = gapTime % 86400; - const hour = this.formatNum(parseInt(lastTime / 3600)); - lastTime = lastTime % 3600; - const minute = this.formatNum(parseInt(lastTime / 60)); - const second = this.formatNum(lastTime % 60); - - if (data.changeFormat) time = `${hour}${format[1]}${minute}${format[2]}${second}${format[3]}`; - else time = `${hour}:${minute}:${second}`; - - if (!data.clearTimer) this.init.call(this); - } else { - this.endfn(); - } - - if (data.showDay) { - if (data.changeFormat) { - result = `${day}${format[0]} ${time}`; - } else { - result = `${day}d ${time}`; - } - } else { - result = time; - } - this.setData({ - time: result - }); - - }, - formatNum(num) { - return num > 9 ? num : `0${num}`; - }, - endfn() { - this.triggerEvent('callback', {}); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/count-down/index.json b/source/wx/xzs-student/component/iView/count-down/index.json deleted file mode 100644 index 74f1315..0000000 --- a/source/wx/xzs-student/component/iView/count-down/index.json +++ /dev/null @@ -1,4 +0,0 @@ - -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/count-down/index.wxml b/source/wx/xzs-student/component/iView/count-down/index.wxml deleted file mode 100644 index bd73789..0000000 --- a/source/wx/xzs-student/component/iView/count-down/index.wxml +++ /dev/null @@ -1,4 +0,0 @@ - - {{time}} - - diff --git a/source/wx/xzs-student/component/iView/count-down/index.wxss b/source/wx/xzs-student/component/iView/count-down/index.wxss deleted file mode 100644 index e69de29..0000000 diff --git a/source/wx/xzs-student/component/iView/divider/index.js b/source/wx/xzs-student/component/iView/divider/index.js deleted file mode 100644 index 6b0e448..0000000 --- a/source/wx/xzs-student/component/iView/divider/index.js +++ /dev/null @@ -1,25 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties: { - content: { - type: String, - value: '' - }, - height : { - type: Number, - value: 48 - }, - color : { - type : String, - value : '#80848f' - }, - lineColor : { - type : String, - value : '#e9eaec' - }, - size : { - type: String, - value: 12 - } - } -}); diff --git a/source/wx/xzs-student/component/iView/divider/index.json b/source/wx/xzs-student/component/iView/divider/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/divider/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/divider/index.wxml b/source/wx/xzs-student/component/iView/divider/index.wxml deleted file mode 100644 index b7111d3..0000000 --- a/source/wx/xzs-student/component/iView/divider/index.wxml +++ /dev/null @@ -1,19 +0,0 @@ - - - {{content}} - - - - - - - - module.exports = { - getStyle : function(color,size,height){ - var color = 'color:' + color +';'; - var size = 'font-size:' + size + 'px;'; - var height = 'height:' + height+'px;' - return color + size + height; - } - } - diff --git a/source/wx/xzs-student/component/iView/divider/index.wxss b/source/wx/xzs-student/component/iView/divider/index.wxss deleted file mode 100644 index 98827ab..0000000 --- a/source/wx/xzs-student/component/iView/divider/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-divider{width:100%;text-align:center;font-size:12px;position:relative;display:flex;align-items:center;justify-content:center}.i-divider-line{position:absolute;left:0;width:100%;height:1rpx;background-color:#f7f7f7;top:50%}.i-divider-content{background:#fff;position:relative;z-index:1;display:inline-block;padding:0 10px} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/drawer/index.js b/source/wx/xzs-student/component/iView/drawer/index.js deleted file mode 100644 index adb248a..0000000 --- a/source/wx/xzs-student/component/iView/drawer/index.js +++ /dev/null @@ -1,33 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties: { - visible: { - type: Boolean, - value: false - }, - - mask: { - type: Boolean, - value: true - }, - - maskClosable: { - type: Boolean, - value: true - }, - - mode: { - type: String, - value: 'left' // left right - } - }, - data: {}, - methods: { - handleMaskClick() { - if (!this.data.maskClosable) { - return; - } - this.triggerEvent('close', {}); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/drawer/index.json b/source/wx/xzs-student/component/iView/drawer/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/drawer/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/drawer/index.wxml b/source/wx/xzs-student/component/iView/drawer/index.wxml deleted file mode 100644 index 67380d9..0000000 --- a/source/wx/xzs-student/component/iView/drawer/index.wxml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/source/wx/xzs-student/component/iView/drawer/index.wxss b/source/wx/xzs-student/component/iView/drawer/index.wxss deleted file mode 100644 index 2824713..0000000 --- a/source/wx/xzs-student/component/iView/drawer/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-drawer{visibility:hidden}.i-drawer-show{visibility:visible}.i-drawer-show .i-drawer-mask{display:block;opacity:1}.i-drawer-show .i-drawer-container{opacity:1}.i-drawer-show.i-drawer-left .i-drawer-container,.i-drawer-show.i-drawer-right .i-drawer-container{transform:translate3d(0,-50%,0)}.i-drawer-mask{opacity:0;position:fixed;top:0;left:0;right:0;bottom:0;z-index:6;background:rgba(0,0,0,.6);transition:all .3s ease-in-out}.i-drawer-container{position:fixed;left:50%;top:50%;transform:translate3d(-50%,-50%,0);transform-origin:center;transition:all .3s ease-in-out;z-index:7;opacity:0}.i-drawer-left .i-drawer-container{left:0;top:50%;transform:translate3d(-100%,-50%,0)}.i-drawer-right .i-drawer-container{right:0;top:50%;left:auto;transform:translate3d(100%,-50%,0)} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid-icon/index.js b/source/wx/xzs-student/component/iView/grid-icon/index.js deleted file mode 100644 index 5315185..0000000 --- a/source/wx/xzs-student/component/iView/grid-icon/index.js +++ /dev/null @@ -1,10 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../grid-item/index': { - type: 'parent' - } - }, - -}); diff --git a/source/wx/xzs-student/component/iView/grid-icon/index.json b/source/wx/xzs-student/component/iView/grid-icon/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/grid-icon/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/grid-icon/index.wxml b/source/wx/xzs-student/component/iView/grid-icon/index.wxml deleted file mode 100644 index b9f9025..0000000 --- a/source/wx/xzs-student/component/iView/grid-icon/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid-icon/index.wxss b/source/wx/xzs-student/component/iView/grid-icon/index.wxss deleted file mode 100644 index 88c58a7..0000000 --- a/source/wx/xzs-student/component/iView/grid-icon/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-grid-icon{display:block;width:28px;height:28px;margin:0 auto}.i-grid-icon image{width:100%;height:100%} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid-item/index.js b/source/wx/xzs-student/component/iView/grid-item/index.js deleted file mode 100644 index e492542..0000000 --- a/source/wx/xzs-student/component/iView/grid-item/index.js +++ /dev/null @@ -1,16 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../grid/index': { - type: 'parent' - }, - '../grid-icon/index': { - type: 'child' - } - }, - - data: { - width: '33.33%' - } -}); diff --git a/source/wx/xzs-student/component/iView/grid-item/index.json b/source/wx/xzs-student/component/iView/grid-item/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/grid-item/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/grid-item/index.wxml b/source/wx/xzs-student/component/iView/grid-item/index.wxml deleted file mode 100644 index 8e133cd..0000000 --- a/source/wx/xzs-student/component/iView/grid-item/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid-item/index.wxss b/source/wx/xzs-student/component/iView/grid-item/index.wxss deleted file mode 100644 index ed0f395..0000000 --- a/source/wx/xzs-student/component/iView/grid-item/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-grid-item{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid #e9eaec;border-bottom:1rpx solid #e9eaec} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid-label/index.js b/source/wx/xzs-student/component/iView/grid-label/index.js deleted file mode 100644 index 5315185..0000000 --- a/source/wx/xzs-student/component/iView/grid-label/index.js +++ /dev/null @@ -1,10 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../grid-item/index': { - type: 'parent' - } - }, - -}); diff --git a/source/wx/xzs-student/component/iView/grid-label/index.json b/source/wx/xzs-student/component/iView/grid-label/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/grid-label/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/grid-label/index.wxml b/source/wx/xzs-student/component/iView/grid-label/index.wxml deleted file mode 100644 index 7ab5a8a..0000000 --- a/source/wx/xzs-student/component/iView/grid-label/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid-label/index.wxss b/source/wx/xzs-student/component/iView/grid-label/index.wxss deleted file mode 100644 index d45a990..0000000 --- a/source/wx/xzs-student/component/iView/grid-label/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-grid-label{margin-top:5px;display:block;text-align:center;color:#1c2438;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid/index.js b/source/wx/xzs-student/component/iView/grid/index.js deleted file mode 100644 index f9c9c40..0000000 --- a/source/wx/xzs-student/component/iView/grid/index.js +++ /dev/null @@ -1,50 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../grid-item/index': { - type: 'child', - linked () { - this.setGridItemWidth(); - }, - linkChanged () { - this.setGridItemWidth(); - }, - unlinked () { - this.setGridItemWidth(); - } - } - }, - - methods: { - setGridItemWidth () { - const nodes = this.getRelationNodes('../grid-item/index'); - - // const len = nodes.length; - // if (len < 3) { - // nodes.forEach(item => { - // item.setData({ - // 'width': '33.33%' - // }); - // }); - // } else { - // const width = 100 / nodes.length; - // nodes.forEach(item => { - // item.setData({ - // 'width': width + '%' - // }); - // }); - // } - const width = 100 / nodes.length; - nodes.forEach(item => { - item.setData({ - 'width': width + '%' - }); - }); - } - }, - - ready () { - this.setGridItemWidth(); - } -}); diff --git a/source/wx/xzs-student/component/iView/grid/index.json b/source/wx/xzs-student/component/iView/grid/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/grid/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/grid/index.wxml b/source/wx/xzs-student/component/iView/grid/index.wxml deleted file mode 100644 index 4c9143c..0000000 --- a/source/wx/xzs-student/component/iView/grid/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/grid/index.wxss b/source/wx/xzs-student/component/iView/grid/index.wxss deleted file mode 100644 index 842fc98..0000000 --- a/source/wx/xzs-student/component/iView/grid/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-grid{border-top:1rpx solid #e9eaec;border-left:1rpx solid #e9eaec;overflow:hidden} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/icon/index.js b/source/wx/xzs-student/component/iView/icon/index.js deleted file mode 100644 index eb43ab9..0000000 --- a/source/wx/xzs-student/component/iView/icon/index.js +++ /dev/null @@ -1,22 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - properties: { - type: { - type: String, - value: '' - }, - custom: { - type: String, - value: '' - }, - size: { - type: Number, - value: 14 - }, - color: { - type: String, - value: '' - } - } -}); diff --git a/source/wx/xzs-student/component/iView/icon/index.json b/source/wx/xzs-student/component/iView/icon/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/icon/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/icon/index.wxml b/source/wx/xzs-student/component/iView/icon/index.wxml deleted file mode 100644 index d689bc5..0000000 --- a/source/wx/xzs-student/component/iView/icon/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/icon/index.wxss b/source/wx/xzs-student/component/iView/icon/index.wxss deleted file mode 100644 index b18dcbb..0000000 --- a/source/wx/xzs-student/component/iView/icon/index.wxss +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:iconfont;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAADscAAsAAAAAdLQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQwAAAFZW7klYY21hcAAAAYAAAAORAAAI/nDS68xnbHlmAAAFFAAAL68AAF2IQcM2EGhlYWQAADTEAAAALwAAADYRc1XVaGhlYQAANPQAAAAcAAAAJAfeBAxobXR4AAA1EAAAABcAAAIsK+kAAGxvY2EAADUoAAABGAAAARhydooIbWF4cAAANkAAAAAfAAAAIAGeAKBuYW1lAAA2YAAAAUUAAAJtPlT+fXBvc3QAADeoAAADdAAABqJtuHD2eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGBwYKp6nMTf8b2CIYW5gaAAKM4LkANrfC9wA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6OFStsH5apYjYa30SRx3awLtSh6vIY2I6qA83qfLpfpOOeJNqu9QkNHUx0SfpYQgenunXvRL/NEzvqxp4Z6Q03tDzSW21Ytef+dF+JjM2JVEHXMvGuj2YdElz7DZOBxYZXfa46tDCK1FqQXYune0JosX1YnPVb2jqX4ZrnTCbOemc2RNW89jU/7kmkGVG0TPzgXqWmzawH5VLK3Icb61L6y/FukOOXJurS0DZRWxdS5IeFfUBqyvuyj+1rU0nbt9vR6F8KbDL8') format('woff')}.i-icon{display:inline-block;font-family:iconfont;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.i-icon-accessory:before{content:"\e6dd"}.i-icon-activity:before{content:"\e6de"}.i-icon-activity_fill:before{content:"\e6df"}.i-icon-add:before{content:"\e6e0"}.i-icon-addressbook_fill:before{content:"\e6e2"}.i-icon-addressbook:before{content:"\e6e3"}.i-icon-barrage_fill:before{content:"\e6e4"}.i-icon-barrage:before{content:"\e6e5"}.i-icon-browse_fill:before{content:"\e6e6"}.i-icon-browse:before{content:"\e6e7"}.i-icon-brush:before{content:"\e6e8"}.i-icon-brush_fill:before{content:"\e6e9"}.i-icon-businesscard_fill:before{content:"\e6ea"}.i-icon-businesscard:before{content:"\e6eb"}.i-icon-camera_fill:before{content:"\e6ec"}.i-icon-camera:before{content:"\e6ed"}.i-icon-clock_fill:before{content:"\e6ee"}.i-icon-clock:before{content:"\e6ef"}.i-icon-close:before{content:"\e6f0"}.i-icon-collection_fill:before{content:"\e6f1"}.i-icon-collection:before{content:"\e6f2"}.i-icon-computer_fill:before{content:"\e6f3"}.i-icon-computer:before{content:"\e6f4"}.i-icon-coordinates_fill:before{content:"\e6f5"}.i-icon-coordinates:before{content:"\e6f6"}.i-icon-coupons_fill:before{content:"\e6f7"}.i-icon-coupons:before{content:"\e6f8"}.i-icon-createtask_fill:before{content:"\e6f9"}.i-icon-createtask:before{content:"\e6fa"}.i-icon-customerservice_fill:before{content:"\e6fb"}.i-icon-customerservice:before{content:"\e6fc"}.i-icon-delete_fill:before{content:"\e6fd"}.i-icon-delete:before{content:"\e6fe"}.i-icon-document:before{content:"\e6ff"}.i-icon-document_fill:before{content:"\e700"}.i-icon-dynamic_fill:before{content:"\e701"}.i-icon-dynamic:before{content:"\e702"}.i-icon-editor:before{content:"\e703"}.i-icon-eit:before{content:"\e704"}.i-icon-emoji_fill:before{content:"\e705"}.i-icon-emoji:before{content:"\e706"}.i-icon-enter:before{content:"\e707"}.i-icon-enterinto:before{content:"\e708"}.i-icon-enterinto_fill:before{content:"\e709"}.i-icon-feedback_fill:before{content:"\e70a"}.i-icon-feedback:before{content:"\e70b"}.i-icon-flag_fill:before{content:"\e70c"}.i-icon-flag:before{content:"\e70d"}.i-icon-flashlight:before{content:"\e70e"}.i-icon-flashlight_fill:before{content:"\e70f"}.i-icon-fullscreen:before{content:"\e710"}.i-icon-group:before{content:"\e711"}.i-icon-group_fill:before{content:"\e712"}.i-icon-homepage_fill:before{content:"\e713"}.i-icon-homepage:before{content:"\e714"}.i-icon-integral_fill:before{content:"\e715"}.i-icon-integral:before{content:"\e716"}.i-icon-interactive_fill:before{content:"\e717"}.i-icon-interactive:before{content:"\e718"}.i-icon-keyboard:before{content:"\e719"}.i-icon-label:before{content:"\e71a"}.i-icon-label_fill:before{content:"\e71b"}.i-icon-like_fill:before{content:"\e71c"}.i-icon-like:before{content:"\e71d"}.i-icon-live_fill:before{content:"\e71e"}.i-icon-live:before{content:"\e71f"}.i-icon-lock_fill:before{content:"\e720"}.i-icon-lock:before{content:"\e721"}.i-icon-mail:before{content:"\e722"}.i-icon-mail_fill:before{content:"\e723"}.i-icon-message:before{content:"\e724"}.i-icon-message_fill:before{content:"\e725"}.i-icon-mine:before{content:"\e726"}.i-icon-mine_fill:before{content:"\e727"}.i-icon-mobilephone_fill:before{content:"\e728"}.i-icon-mobilephone:before{content:"\e729"}.i-icon-more:before{content:"\e72a"}.i-icon-narrow:before{content:"\e72b"}.i-icon-offline_fill:before{content:"\e72c"}.i-icon-offline:before{content:"\e72d"}.i-icon-other:before{content:"\e72e"}.i-icon-picture_fill:before{content:"\e72f"}.i-icon-picture:before{content:"\e730"}.i-icon-play:before{content:"\e731"}.i-icon-play_fill:before{content:"\e732"}.i-icon-playon_fill:before{content:"\e733"}.i-icon-playon:before{content:"\e734"}.i-icon-praise_fill:before{content:"\e735"}.i-icon-praise:before{content:"\e736"}.i-icon-prompt_fill:before{content:"\e737"}.i-icon-prompt:before{content:"\e738"}.i-icon-redpacket_fill:before{content:"\e739"}.i-icon-redpacket:before{content:"\e73a"}.i-icon-refresh:before{content:"\e73b"}.i-icon-remind_fill:before{content:"\e73c"}.i-icon-remind:before{content:"\e73d"}.i-icon-return:before{content:"\e73e"}.i-icon-right:before{content:"\e73f"}.i-icon-scan:before{content:"\e740"}.i-icon-send:before{content:"\e741"}.i-icon-service_fill:before{content:"\e742"}.i-icon-service:before{content:"\e743"}.i-icon-setup_fill:before{content:"\e744"}.i-icon-setup:before{content:"\e745"}.i-icon-share_fill:before{content:"\e746"}.i-icon-share:before{content:"\e747"}.i-icon-success_fill:before{content:"\e748"}.i-icon-success:before{content:"\e749"}.i-icon-suspend:before{content:"\e74a"}.i-icon-switch:before{content:"\e74b"}.i-icon-systemprompt_fill:before{content:"\e74c"}.i-icon-systemprompt:before{content:"\e74d"}.i-icon-tailor:before{content:"\e74e"}.i-icon-task:before{content:"\e74f"}.i-icon-task_fill:before{content:"\e750"}.i-icon-tasklist_fill:before{content:"\e751"}.i-icon-tasklist:before{content:"\e752"}.i-icon-time_fill:before{content:"\e753"}.i-icon-time:before{content:"\e754"}.i-icon-translation_fill:before{content:"\e755"}.i-icon-translation:before{content:"\e756"}.i-icon-trash:before{content:"\e757"}.i-icon-trash_fill:before{content:"\e758"}.i-icon-undo:before{content:"\e759"}.i-icon-video:before{content:"\e75a"}.i-icon-video_fill:before{content:"\e75b"}.i-icon-warning_fill:before{content:"\e75c"}.i-icon-warning:before{content:"\e75d"}.i-icon-search:before{content:"\e75e"}.i-icon-searchfill:before{content:"\e75f"}.i-icon-publishgoods_fill:before{content:"\e760"}.i-icon-shop_fill:before{content:"\e761"}.i-icon-transaction_fill:before{content:"\e762"}.i-icon-packup:before{content:"\e763"}.i-icon-unfold:before{content:"\e764"}.i-icon-financial_fill:before{content:"\e765"}.i-icon-commodity:before{content:"\e766"} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/index-item/index.js b/source/wx/xzs-student/component/iView/index-item/index.js deleted file mode 100644 index ed818df..0000000 --- a/source/wx/xzs-student/component/iView/index-item/index.js +++ /dev/null @@ -1,32 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - name : { - type : String, - value : '' - } - }, - relations : { - '../index/index' : { - type : 'parent' - } - }, - data : { - top : 0, - height : 0, - currentName : '' - }, - methods: { - updateDataChange() { - const className = '.i-index-item'; - const query = wx.createSelectorQuery().in(this); - query.select( className ).boundingClientRect((res)=>{ - this.setData({ - top : res.top, - height : res.height, - currentName : this.data.name - }) - }).exec() - } - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/index-item/index.json b/source/wx/xzs-student/component/iView/index-item/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/index-item/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/index-item/index.wxml b/source/wx/xzs-student/component/iView/index-item/index.wxml deleted file mode 100644 index 8986c8d..0000000 --- a/source/wx/xzs-student/component/iView/index-item/index.wxml +++ /dev/null @@ -1,11 +0,0 @@ - - {{name}} - - - - - - module.exports = { - - } - diff --git a/source/wx/xzs-student/component/iView/index-item/index.wxss b/source/wx/xzs-student/component/iView/index-item/index.wxss deleted file mode 100644 index aeecf8d..0000000 --- a/source/wx/xzs-student/component/iView/index-item/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-index-item-header{height:30px;line-height:30px;background:#eee;font-size:14px;padding-left:10px;width:100%;box-sizing:border-box}.i-index-item-content{font-size:14px} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/index/index.js b/source/wx/xzs-student/component/iView/index/index.js deleted file mode 100644 index c556f19..0000000 --- a/source/wx/xzs-student/component/iView/index/index.js +++ /dev/null @@ -1,158 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - height : { - type : String, - value : '300' - }, - itemHeight : { - type : Number, - value : 18 - } - }, - relations : { - '../index-item/index' : { - type : 'child', - linked(){ - this._updateDataChange(); - }, - linkChanged () { - this._updateDataChange(); - }, - unlinked () { - this._updateDataChange(); - } - } - }, - data : { - scrollTop : 0, - fixedData : [], - current : 0, - timer : null, - startTop : 0, - itemLength : 0, - currentName : '', - isTouches : false - }, - methods : { - loop(){}, - _updateDataChange( ){ - const indexItems = this.getRelationNodes('../index-item/index'); - const len = indexItems.length; - const fixedData = this.data.fixedData; - /* - * 使用函数节流限制重复去设置数组内容进而限制多次重复渲染 - * 暂时没有研究微信在渲染的时候是否会进行函数节流 - */ - if (len > 0) { - - if( this.data.timer ){ - clearTimeout( this.data.timer ) - this.setData({ - timer : null - }) - } - - this.data.timer = setTimeout(()=>{ - const data = []; - indexItems.forEach((item) => { - if( item.data.name && fixedData.indexOf( item.data.name ) === -1 ){ - data.push(item.data.name); - item.updateDataChange(); - } - }) - this.setData({ - fixedData : data, - itemLength : indexItems.length - }) - //组件加载完成之后重新设置顶部高度 - this.setTouchStartVal(); - },0); - this.setData({ - timer : this.data.timer - }) - - } - }, - handlerScroll(event){ - const detail = event.detail; - const scrollTop = detail.scrollTop; - const indexItems = this.getRelationNodes('../index-item/index'); - indexItems.forEach((item,index)=>{ - let data = item.data; - let offset = data.top + data.height; - if( scrollTop < offset && scrollTop >= data.top ){ - this.setData({ - current : index, - currentName : data.currentName - }) - } - }) - }, - getCurrentItem(index){ - const indexItems = this.getRelationNodes('../index-item/index'); - let result = {}; - result = indexItems[index].data; - result.total = indexItems.length; - return result; - }, - triggerCallback(options){ - this.triggerEvent('change',options) - }, - handlerFixedTap(event){ - const eindex = event.currentTarget.dataset.index; - const item = this.getCurrentItem(eindex); - this.setData({ - scrollTop : item.top, - currentName : item.currentName, - isTouches : true - }) - this.triggerCallback({ - index : eindex, - current : item.currentName - }) - }, - handlerTouchMove(event){ - const data = this.data; - const touches = event.touches[0] || {}; - const pageY = touches.pageY; - const rest = pageY - data.startTop; - let index = Math.ceil( rest/data.itemHeight ); - index = index >= data.itemLength ? data.itemLength -1 : index; - const movePosition = this.getCurrentItem(index); - - /* - * 当touch选中的元素和当前currentName不相等的时候才震动一下 - * 微信震动事件 - */ - if( movePosition.name !== this.data.currentName ){ - wx.vibrateShort(); - } - - this.setData({ - scrollTop : movePosition.top, - currentName : movePosition.name, - isTouches : true - }) - - this.triggerCallback({ - index : index, - current : movePosition.name - }) - }, - handlerTouchEnd(){ - this.setData({ - isTouches : false - }) - }, - setTouchStartVal(){ - const className = '.i-index-fixed'; - const query = wx.createSelectorQuery().in(this); - query.select( className ).boundingClientRect((res)=>{ - this.setData({ - startTop : res.top - }) - }).exec() - } - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/index/index.json b/source/wx/xzs-student/component/iView/index/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/index/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/index/index.wxml b/source/wx/xzs-student/component/iView/index/index.wxml deleted file mode 100644 index f83d847..0000000 --- a/source/wx/xzs-student/component/iView/index/index.wxml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - {{item}} - - - {{currentName}} - - - - module.exports = { - setScrollStyle : function(height){ - var units = ['%','px','rem','rpx','em','rem']; - var hasUnits = false; - for( var i = 0; i < units.length;i++ ){ - var u = units[i]; - if( height.indexOf( u ) > -1 ){ - hasUnits = true; - break; - } - } - return 'height:'+ ( hasUnits ? height : height+'px' ); - } - } - diff --git a/source/wx/xzs-student/component/iView/index/index.wxss b/source/wx/xzs-student/component/iView/index/index.wxss deleted file mode 100644 index c0887c1..0000000 --- a/source/wx/xzs-student/component/iView/index/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-index{width:100%;height:100%}.i-index-line{position:absolute;left:0;width:100%;height:1rpx;background-color:#f7f7f7;top:50%}.i-index-content{background:#fff;position:relative;z-index:1;display:inline-block;padding:0 10px}.i-index-fixed{position:fixed;right:0;top:50%;z-index:10;padding-left:10px;transform:translateY(-50%)}.i-index-fixed-item{display:block;height:18px;line-height:18px;padding:0 5px;text-align:center;color:#2d8cf0;font-size:12px;border-radius:50%}.i-index-fixed-item-current{background:#2d8cf0;color:#fff}.i-index-tooltip{position:fixed;left:50%;top:50%;transform:translate3d(-50%,-50%,0);background:rgba(0,0,0,.7);color:#fff;font-size:24px;border-radius:50%;width:80px;height:80px;line-height:80px;text-align:center} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/input-number/index.js b/source/wx/xzs-student/component/iView/input-number/index.js deleted file mode 100644 index 7a7d3f5..0000000 --- a/source/wx/xzs-student/component/iView/input-number/index.js +++ /dev/null @@ -1,101 +0,0 @@ -function addNum (num1, num2) { - let sq1, sq2, m; - try { - sq1 = num1.toString().split('.')[1].length; - } - catch (e) { - sq1 = 0; - } - try { - sq2 = num2.toString().split('.')[1].length; - } - catch (e) { - sq2 = 0; - } - m = Math.pow(10, Math.max(sq1, sq2)); - return (Math.round(num1 * m) + Math.round(num2 * m)) / m; -} - -Component({ - externalClasses: ['i-class'], - - properties: { - // small || default || large - size: String, - value: { - type: Number, - value: 1 - }, - min: { - type: Number, - value: -Infinity - }, - max: { - type: Number, - value: Infinity - }, - step: { - type: Number, - value: 1 - } - }, - - - methods: { - handleChangeStep(e, type) { - const { dataset = {} } = e.currentTarget; - const { disabled } = dataset; - const { step } = this.data; - let { value } = this.data; - - if (disabled) return null; - - if (type === 'minus') { - value = addNum(value, -step); - } else if (type === 'plus') { - value = addNum(value, step); - } - - if (value < this.data.min || value > this.data.max) return null; - - this.handleEmit(value, type); - }, - - handleMinus(e) { - this.handleChangeStep(e, 'minus'); - }, - - handlePlus(e) { - this.handleChangeStep(e, 'plus'); - }, - - handleBlur(e) { - let { value } = e.detail; - const { min, max } = this.data; - - if (!value) { - setTimeout(() => { - this.handleEmit(value); - }, 16); - return; - } - - value = +value; - if (value > max) { - value = max; - } else if (value < min) { - value = min; - } - - this.handleEmit(value); - }, - handleEmit (value, type) { - const data = { - value: value - }; - if (type) data.type = type; - - this.triggerEvent('change', data); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/input-number/index.json b/source/wx/xzs-student/component/iView/input-number/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/input-number/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/input-number/index.wxml b/source/wx/xzs-student/component/iView/input-number/index.wxml deleted file mode 100644 index b3503f4..0000000 --- a/source/wx/xzs-student/component/iView/input-number/index.wxml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - + - diff --git a/source/wx/xzs-student/component/iView/input-number/index.wxss b/source/wx/xzs-student/component/iView/input-number/index.wxss deleted file mode 100644 index f696bb4..0000000 --- a/source/wx/xzs-student/component/iView/input-number/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-input-number{color:#495060}.i-input-number view{display:inline-block;line-height:20px;padding:5px 0;text-align:center;min-width:40px;box-sizing:border-box;vertical-align:middle;font-size:12px;border:1rpx solid #dddee1}.i-input-number-minus{border-right:none;border-radius:2px 0 0 2px}.i-input-number-plus{border-left:none;border-radius:0 2px 2px 0}.i-input-number-text{border:1rpx solid #dddee1;display:inline-block;text-align:center;vertical-align:middle;height:30px;width:40px;min-height:auto;font-size:12px;line-height:30px}.i-input-number-disabled{border-color:#dddee1;color:#bbbec4;background:#f7f7f7} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/input/index.js b/source/wx/xzs-student/component/iView/input/index.js deleted file mode 100644 index c9d4c41..0000000 --- a/source/wx/xzs-student/component/iView/input/index.js +++ /dev/null @@ -1,61 +0,0 @@ -Component({ - behaviors: ['wx://form-field'], - - externalClasses: ['i-class'], - - properties: { - title: { - type: String - }, - // text || textarea || password || number - type: { - type: String, - value: 'text' - }, - disabled: { - type: Boolean, - value: false - }, - placeholder: { - type: String, - value: '' - }, - autofocus: { - type: Boolean, - value: false - }, - mode: { - type: String, - value: 'normal' - }, - right: { - type: Boolean, - value: false - }, - error: { - type: Boolean, - value: false - }, - maxlength: { - type: Number - } - }, - - methods: { - handleInputChange(event) { - const { detail = {} } = event; - const { value = '' } = detail; - this.setData({ value }); - - this.triggerEvent('change', event); - }, - - handleInputFocus(event) { - this.triggerEvent('focus', event); - }, - - handleInputBlur(event) { - this.triggerEvent('blur', event); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/input/index.json b/source/wx/xzs-student/component/iView/input/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/input/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/input/index.wxml b/source/wx/xzs-student/component/iView/input/index.wxml deleted file mode 100644 index 52b0ee3..0000000 --- a/source/wx/xzs-student/component/iView/input/index.wxml +++ /dev/null @@ -1,31 +0,0 @@ - - {{ title }} - - - diff --git a/source/wx/xzs-student/component/iView/input/index.wxss b/source/wx/xzs-student/component/iView/input/index.wxss deleted file mode 100644 index 9e7e9c1..0000000 --- a/source/wx/xzs-student/component/iView/input/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-cell{position:relative;padding:12px 15px;display:flex;background:#fff;align-items:center;line-height:1.4;font-size:14px;overflow:hidden}.i-cell::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px;left:15px;right:0}.i-cell-last::after{display:none}.i-cell-icon{margin-right:5px}.i-cell-icon:empty{display:none}.i-cell-bd{flex:1}.i-cell-text{line-height:24px;font-size:14px}.i-cell-desc{line-height:1.2;font-size:12px;color:#80848f}.i-cell-ft{position:relative;text-align:right;color:#495060}.i-cell-access .i-cell-ft{padding-right:13px}.i-cell-access .i-cell-ft::after{content:" ";display:inline-block;width:6px;height:6px;position:absolute;top:50%;right:2px;border-width:2px 2px 0 0;border-color:#dddee1;border-style:solid;transform:translateY(-50%) matrix(.71,.71,-.71,.71,0,0)}.i-input{padding:7px 15px;color:#495060}.i-input-wrapped{margin:10px 15px;background-color:#fff}.i-input-wrapped::after{left:0;border-width:1px;border-radius:4px}.i-input-error{color:#ed3f14}.i-input-title{color:#495060;min-width:65px;padding-right:10px}.i-input-input{flex:1;line-height:1.6;padding:4px 0;min-height:22px;height:auto;font-size:14px}.i-input-placeholder{font-size:14px}.i-input-input-right{text-align:right}.i-input.i-input-wrapped::after{display:block}.i-input-wrapped.i-input-error::after{border-color:#ed3f14} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/load-more/index.js b/source/wx/xzs-student/component/iView/load-more/index.js deleted file mode 100644 index d0cd46c..0000000 --- a/source/wx/xzs-student/component/iView/load-more/index.js +++ /dev/null @@ -1,14 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - properties: { - loading: { - type: Boolean, - value: true - }, - tip: { - type: String, - value: '' - } - }, -}); diff --git a/source/wx/xzs-student/component/iView/load-more/index.json b/source/wx/xzs-student/component/iView/load-more/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/load-more/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/load-more/index.wxml b/source/wx/xzs-student/component/iView/load-more/index.wxml deleted file mode 100644 index 66571af..0000000 --- a/source/wx/xzs-student/component/iView/load-more/index.wxml +++ /dev/null @@ -1,8 +0,0 @@ - - - - {{ tip }} - 正在加载 - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/load-more/index.wxss b/source/wx/xzs-student/component/iView/load-more/index.wxss deleted file mode 100644 index ffe4026..0000000 --- a/source/wx/xzs-student/component/iView/load-more/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-load-more{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.i-load-more-loading{display:inline-block;margin-right:12px;vertical-align:middle;width:14px;height:14px;background:0 0;border-radius:50%;border:2px solid #e9eaec;border-color:#e9eaec #e9eaec #e9eaec #2d8cf0;animation:btn-spin .6s linear;animation-iteration-count:infinite}.i-load-more-tip{display:inline-block;vertical-align:middle;color:#495060}.i-load-more-line{border-top:1px solid #dddee1;display:flex;border-top:0}.i-load-more-line::before{position:relative;top:-1px;-webkit-box-flex:1;-webkit-flex:1;flex:1;content:'';border-top:1px solid #dddee1}.i-load-more-line::after{position:relative;top:-1px;-webkit-box-flex:1;-webkit-flex:1;flex:1;content:'';border-top:1px solid #dddee1}.i-load-more-line .i-load-more-tip{position:relative;top:-.9em;padding:0 .55em}.i-load-more-empty{width:4px;height:4px;border-radius:50%;background-color:#e5e5e5;display:inline-block;position:relative;vertical-align:0;top:-.16em}@keyframes btn-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/message/index.js b/source/wx/xzs-student/component/iView/message/index.js deleted file mode 100644 index 21a6d68..0000000 --- a/source/wx/xzs-student/component/iView/message/index.js +++ /dev/null @@ -1,45 +0,0 @@ -const default_data = { - visible: false, - content: '', - duration: 2, - type: 'default', // default || success || warning || error -}; - -let timmer = null; - -Component({ - externalClasses: ['i-class'], - - data: { - ...default_data - }, - - methods: { - handleShow (options) { - const { type = 'default', duration = 2 } = options; - - this.setData({ - ...options, - type, - duration, - visible: true - }); - - const d = this.data.duration * 1000; - - if (timmer) clearTimeout(timmer); - if (d !== 0) { - timmer = setTimeout(() => { - this.handleHide(); - timmer = null; - }, d); - } - }, - - handleHide () { - this.setData({ - ...default_data - }); - } - } -}); \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/message/index.json b/source/wx/xzs-student/component/iView/message/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/message/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/message/index.wxml b/source/wx/xzs-student/component/iView/message/index.wxml deleted file mode 100644 index aecaad9..0000000 --- a/source/wx/xzs-student/component/iView/message/index.wxml +++ /dev/null @@ -1,3 +0,0 @@ - - {{ content }} - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/message/index.wxss b/source/wx/xzs-student/component/iView/message/index.wxss deleted file mode 100644 index e6a79a6..0000000 --- a/source/wx/xzs-student/component/iView/message/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-message{display:block;width:100%;min-height:32px;line-height:2.3;position:fixed;top:0;left:0;right:0;background:#2d8cf0;color:#fff;text-align:center;font-size:14px;z-index:1010;opacity:0;-webkit-transform:translateZ(0) translateY(-100%);transition:all .4s ease-in-out}.i-message-show{-webkit-transform:translateZ(0) translateY(0);opacity:1}.i-message-default{background:#2d8cf0}.i-message-success{background:#19be6b}.i-message-warning{background:#f90}.i-message-error{background:#ed3f14} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/modal/index.js b/source/wx/xzs-student/component/iView/modal/index.js deleted file mode 100644 index ae178e5..0000000 --- a/source/wx/xzs-student/component/iView/modal/index.js +++ /dev/null @@ -1,54 +0,0 @@ -Component({ - externalClasses: ['i-class', 'i-class-mask'], - - properties: { - visible: { - type: Boolean, - value: false - }, - title: { - type: String, - value: '' - }, - showOk: { - type: Boolean, - value: true - }, - showCancel: { - type: Boolean, - value: true - }, - okText: { - type: String, - value: '确定' - }, - cancelText: { - type: String, - value: '取消' - }, - // 按钮组,有此值时,不显示 ok 和 cancel 按钮 - actions: { - type: Array, - value: [] - }, - // horizontal || vertical - actionMode: { - type: String, - value: 'horizontal' - } - }, - - methods: { - handleClickItem ({ currentTarget = {} }) { - const dataset = currentTarget.dataset || {}; - const { index } = dataset; - this.triggerEvent('click', { index }); - }, - handleClickOk () { - this.triggerEvent('ok'); - }, - handleClickCancel () { - this.triggerEvent('cancel'); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/modal/index.json b/source/wx/xzs-student/component/iView/modal/index.json deleted file mode 100644 index 50d034a..0000000 --- a/source/wx/xzs-student/component/iView/modal/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "component": true, - "usingComponents": { - "i-grid": "../grid/index", - "i-grid-item": "../grid-item/index", - "i-button": "../button/index", - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/modal/index.wxml b/source/wx/xzs-student/component/iView/modal/index.wxml deleted file mode 100644 index 11bcbd4..0000000 --- a/source/wx/xzs-student/component/iView/modal/index.wxml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - {{ title }} - - - - - - - - - - - - - - - - - - - {{ cancelText }} - - - {{ okText }} - - - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/modal/index.wxss b/source/wx/xzs-student/component/iView/modal/index.wxss deleted file mode 100644 index d1c42fc..0000000 --- a/source/wx/xzs-student/component/iView/modal/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-modal{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;height:100%;z-index:1000;display:flex;outline:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;transform:translateZ(1px);opacity:0;visibility:hidden}.i-modal-show{visibility:visible;opacity:1}.i-modal-mask{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);z-index:1000;transition:all .2s ease-in-out;opacity:0;visibility:hidden}.i-modal-mask-show{opacity:1;visibility:visible}.i-modal-main{width:270px;position:relative}.i-modal-content{border-radius:7px;padding-top:15px;position:relative;background-color:#fff;border:0;background-clip:padding-box;text-align:center;height:100%;overflow:hidden}.i-modal-body{max-height:100px;margin-bottom:15px;font-size:14px;color:#80848f;height:100%;line-height:1.5;overflow:auto}.i-modal-title{padding:6px 15px 15px;margin:0;font-size:18px;line-height:1;color:#1c2438;text-align:center}.i-modal-actions{margin:0 1px}.i-modal-action-vertical{position:relative}.i-modal-action-vertical:after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-top-width:1px}.i-modal-grid{border-radius:0 0 7px 7px;border-left:none}.i-modal-grid-item,.i-modal-grid-item-last{padding:0;border-bottom:none}.i-modal-grid-item-last{border-right:none}.i-modal-btn-ok{color:#2d8cf0!important}.i-modal-btn-loading{display:inline-block;vertical-align:middle;margin-right:10px;width:12px;height:12px;background:0 0;border-radius:50%;border:2px solid #e5e5e5;border-color:#666 #e5e5e5 #e5e5e5 #e5e5e5;animation:btn-spin .6s linear;animation-iteration-count:infinite}.i-modal-btn-text{display:inline-block;vertical-align:middle}.i-modal-btn-icon{font-size:14px!important;margin-right:4px}@keyframes btn-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/notice-bar/index.js b/source/wx/xzs-student/component/iView/notice-bar/index.js deleted file mode 100644 index 7043dbd..0000000 --- a/source/wx/xzs-student/component/iView/notice-bar/index.js +++ /dev/null @@ -1,112 +0,0 @@ -const VALID_MODE = ['closeable']; -const FONT_COLOR = '#f60'; -const BG_COLOR = '#fff7cc'; - -Component({ - externalClasses: ['i-class'], - - properties: { - closable: { - type: Boolean, - value: false - }, - icon: { - type: String, - value: '' - }, - loop: { - type: Boolean, - value: false - }, - // 背景颜色 - backgroundcolor: { - type: String, - value: '#fefcec' - }, - // 字体及图标颜色 - color: { - type: String, - value: '#f76a24' - }, - // 滚动速度 - speed: { - type: Number, - value: 1000 - } - }, - - data: { - show: true, - wrapWidth: 0, - width: 0, - duration: 0, - animation: null, - timer: null, - }, - detached() { - this.destroyTimer(); - }, - ready() { - if (this.data.loop) { - this.initAnimation(); - } - }, - - methods: { - initAnimation() { - wx.createSelectorQuery().in(this).select('.i-noticebar-content-wrap').boundingClientRect((wrapRect) => { - wx.createSelectorQuery().in(this).select('.i-noticebar-content').boundingClientRect((rect) => { - const duration = rect.width / 40 * this.data.speed; - const animation = wx.createAnimation({ - duration: duration, - timingFunction: "linear", - }); - this.setData({ - wrapWidth: wrapRect.width, - width: rect.width, - duration: duration, - animation: animation - }, () => { - this.startAnimation(); - }); - }).exec(); - - }).exec(); - }, - startAnimation() { - //reset - if (this.data.animation.option.transition.duration !== 0) { - this.data.animation.option.transition.duration = 0; - const resetAnimation = this.data.animation.translateX(this.data.wrapWidth).step(); - this.setData({ - animationData: resetAnimation.export() - }); - } - this.data.animation.option.transition.duration = this.data.duration; - const animationData = this.data.animation.translateX(-this.data.width).step(); - setTimeout(() => { - this.setData({ - animationData: animationData.export() - }); - }, 100); - const timer = setTimeout(() => { - this.startAnimation(); - }, this.data.duration); - this.setData({ - timer, - }); - }, - destroyTimer() { - if (this.data.timer) { - clearTimeout(this.data.timer); - } - }, - handleClose() { - this.destroyTimer(); - this.setData({ - show: false, - timer: null - }); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/notice-bar/index.json b/source/wx/xzs-student/component/iView/notice-bar/index.json deleted file mode 100644 index db3afc0..0000000 --- a/source/wx/xzs-student/component/iView/notice-bar/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/notice-bar/index.wxml b/source/wx/xzs-student/component/iView/notice-bar/index.wxml deleted file mode 100644 index 5de1e11..0000000 --- a/source/wx/xzs-student/component/iView/notice-bar/index.wxml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/source/wx/xzs-student/component/iView/notice-bar/index.wxss b/source/wx/xzs-student/component/iView/notice-bar/index.wxss deleted file mode 100644 index 9ea2aa7..0000000 --- a/source/wx/xzs-student/component/iView/notice-bar/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-noticebar{display:flex;height:72rpx;line-height:72rpx;font-size:14px;color:#f76a24;background-color:#fefcec;overflow:hidden}.i-noticebar-icon{display:flex;margin-left:30rpx;align-items:center}.i-noticebar-icon+view{margin-left:10rpx}.i-noticebar-operation{display:flex;margin-right:16rpx;align-items:center}.i-noticebar-content-wrap{position:relative;flex:1;margin:0 30rpx;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.i-noticebar-content-wrap .i-noticebar-content{position:absolute;transition-duration:20s} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/page/index.js b/source/wx/xzs-student/component/iView/page/index.js deleted file mode 100644 index e0f44c5..0000000 --- a/source/wx/xzs-student/component/iView/page/index.js +++ /dev/null @@ -1,42 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - options: { - multipleSlots: true - }, - - properties: { - // button || number || pointer - mode: { - type: String, - value: 'button' - }, - current: { - type: Number, - value: 1 - }, - total: { - type: Number, - value: 0 - }, - // 是否隐藏数值 - simple: { - type: Boolean, - value: false - } - }, - - methods: { - handleChange (type) { - this.triggerEvent('change', { - type: type - }); - }, - handlePrev () { - this.handleChange('prev'); - }, - handleNext () { - this.handleChange('next'); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/page/index.json b/source/wx/xzs-student/component/iView/page/index.json deleted file mode 100644 index 7b1a128..0000000 --- a/source/wx/xzs-student/component/iView/page/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-button": "../button/index" - } -} diff --git a/source/wx/xzs-student/component/iView/page/index.wxml b/source/wx/xzs-student/component/iView/page/index.wxml deleted file mode 100644 index a84d47b..0000000 --- a/source/wx/xzs-student/component/iView/page/index.wxml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - {{ current }}/{{total}} - - - - - - - - diff --git a/source/wx/xzs-student/component/iView/page/index.wxss b/source/wx/xzs-student/component/iView/page/index.wxss deleted file mode 100644 index 06c5c3b..0000000 --- a/source/wx/xzs-student/component/iView/page/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-page{display:block;width:100%;height:44px;overflow:hidden;box-sizing:border-box;position:relative}.i-page-prev{position:absolute;left:10px;top:0}.i-page-next{position:absolute;right:10px;top:0}.i-page-number{width:100%;height:44px;line-height:44px;margin:0 auto;text-align:center}.i-page-number-current{display:inline;color:#2d8cf0}.i-page-pointer{width:100%;height:44px;line-height:44px;margin:0 auto;text-align:center}.i-page-pointer-dot{display:inline-block;width:8px;height:8px;margin:0 2px;border-radius:50%;background:#bbbec4}.i-page-pointer-dot.current{background:#80848f}.i-page-button{display:inline-block;margin:0} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/panel/index.js b/source/wx/xzs-student/component/iView/panel/index.js deleted file mode 100644 index b572da5..0000000 --- a/source/wx/xzs-student/component/iView/panel/index.js +++ /dev/null @@ -1,19 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - properties: { - title: { - type: String, - value: '' - }, - // 标题顶部距离 - hideTop: { - type: Boolean, - value: false - }, - hideBorder: { - type: Boolean, - value: false - } - } -}); diff --git a/source/wx/xzs-student/component/iView/panel/index.json b/source/wx/xzs-student/component/iView/panel/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/panel/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/panel/index.wxml b/source/wx/xzs-student/component/iView/panel/index.wxml deleted file mode 100644 index aa91c20..0000000 --- a/source/wx/xzs-student/component/iView/panel/index.wxml +++ /dev/null @@ -1,4 +0,0 @@ - - {{ title }} - - diff --git a/source/wx/xzs-student/component/iView/panel/index.wxss b/source/wx/xzs-student/component/iView/panel/index.wxss deleted file mode 100644 index edee3b8..0000000 --- a/source/wx/xzs-student/component/iView/panel/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-panel{position:relative;overflow:hidden}.i-panel-title{font-size:14px;line-height:1;color:#1c2438;padding:20px 16px 10px}.i-panel-title-hide-top{padding-top:0}.i-panel-content{position:relative;background:#fff;overflow:hidden}.i-panel-content::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-top-width:1px;border-bottom-width:1px}.i-panel-without-border::after{border:0 none} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/progress/index.js b/source/wx/xzs-student/component/iView/progress/index.js deleted file mode 100644 index b87b962..0000000 --- a/source/wx/xzs-student/component/iView/progress/index.js +++ /dev/null @@ -1,23 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - properties: { - percent: { - type: Number, - value: 0 - }, - // normal || active || wrong || success - status: { - type: String, - value: 'normal' - }, - strokeWidth: { - type: Number, - value: 10 - }, - hideInfo: { - type: Boolean, - value: false - } - } -}); diff --git a/source/wx/xzs-student/component/iView/progress/index.json b/source/wx/xzs-student/component/iView/progress/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/progress/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/progress/index.wxml b/source/wx/xzs-student/component/iView/progress/index.wxml deleted file mode 100644 index 09b5abc..0000000 --- a/source/wx/xzs-student/component/iView/progress/index.wxml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - {{ percent }}% - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/progress/index.wxss b/source/wx/xzs-student/component/iView/progress/index.wxss deleted file mode 100644 index 21b9d9c..0000000 --- a/source/wx/xzs-student/component/iView/progress/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-progress{display:inline-block;width:100%;font-size:12px;position:relative}.i-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0;box-sizing:border-box}.i-progress-show-info .i-progress-outer{padding-right:55px;margin-right:-55px}.i-progress-inner{display:inline-block;width:100%;background-color:#f3f3f3;border-radius:100px;vertical-align:middle}.i-progress-bg{border-radius:100px;background-color:#2db7f5;transition:all .2s linear;position:relative}.i-progress-text{display:inline-block;margin-left:5px;text-align:left;font-size:1em;vertical-align:middle}.i-progress-active .i-progress-bg:before{content:'';opacity:0;position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;border-radius:10px;animation:i-progress-active 2s ease-in-out infinite}.i-progress-wrong .i-progress-bg{background-color:#ed3f14}.i-progress-wrong .i-progress-text{color:#ed3f14}.i-progress-success .i-progress-bg{background-color:#19be6b}.i-progress-success .i-progress-text{color:#19be6b}@keyframes i-progress-active{0%{opacity:.3;width:0}100%{opacity:0;width:100%}} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/radio-group/index.js b/source/wx/xzs-student/component/iView/radio-group/index.js deleted file mode 100644 index db76e41..0000000 --- a/source/wx/xzs-student/component/iView/radio-group/index.js +++ /dev/null @@ -1,38 +0,0 @@ -Component({ - externalClasses: ['i-class'], - relations: { - '../radio/index': { - type: 'child', - linked() { - this.changeCurrent(); - }, - linkChanged() { - this.changeCurrent(); - }, - unlinked() { - this.changeCurrent(); - } - } - }, - properties: { - current: { - type: String, - value: '', - observer: 'changeCurrent' - }, - }, - methods: { - changeCurrent(val = this.data.current) { - let items = this.getRelationNodes('../radio/index'); - const len = items.length; - if (len > 0) { - items.forEach(item => { - item.changeCurrent(val === item.data.value); - }); - } - }, - emitEvent(current) { - this.triggerEvent('change', current); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/radio-group/index.json b/source/wx/xzs-student/component/iView/radio-group/index.json deleted file mode 100644 index edf138d..0000000 --- a/source/wx/xzs-student/component/iView/radio-group/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-cell-group": "../cell-group/index" - } -} diff --git a/source/wx/xzs-student/component/iView/radio-group/index.wxml b/source/wx/xzs-student/component/iView/radio-group/index.wxml deleted file mode 100644 index 6940180..0000000 --- a/source/wx/xzs-student/component/iView/radio-group/index.wxml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/source/wx/xzs-student/component/iView/radio-group/index.wxss b/source/wx/xzs-student/component/iView/radio-group/index.wxss deleted file mode 100644 index e69de29..0000000 diff --git a/source/wx/xzs-student/component/iView/radio/index.js b/source/wx/xzs-student/component/iView/radio/index.js deleted file mode 100644 index cb73db5..0000000 --- a/source/wx/xzs-student/component/iView/radio/index.js +++ /dev/null @@ -1,56 +0,0 @@ -const prefixCls = 'i-radio'; - -Component({ - externalClasses: ['i-class'], - relations: { - '../radio-group/index': { - type: 'parent' - } - }, - properties: { - value: { - type: String, - value: '' - }, - checked: { - type: Boolean, - value: false - }, - disabled: { - type: Boolean, - value: false - }, - color: { - type: String, - value: '#2d8cf0' - }, - position: { - type: String, - value: 'left', //left right - observer: 'setPosition' - } - }, - data: { - checked: true, - positionCls: `${prefixCls}-radio-left`, - }, - attached() { - this.setPosition(); - }, - methods: { - changeCurrent(current) { - this.setData({ checked: current }); - }, - radioChange() { - if (this.data.disabled) return; - const item = { current: !this.data.checked, value: this.data.value }; - const parent = this.getRelationNodes('../radio-group/index')[0]; - parent ? parent.emitEvent(item) : this.triggerEvent('change', item); - }, - setPosition() { - this.setData({ - positionCls: this.data.position.indexOf('left') !== -1 ? `${prefixCls}-radio-left` : `${prefixCls}-radio-right`, - }); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/radio/index.json b/source/wx/xzs-student/component/iView/radio/index.json deleted file mode 100644 index e2ab49a..0000000 --- a/source/wx/xzs-student/component/iView/radio/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-cell": "../cell/index" - } -} diff --git a/source/wx/xzs-student/component/iView/radio/index.wxml b/source/wx/xzs-student/component/iView/radio/index.wxml deleted file mode 100644 index 1e20b79..0000000 --- a/source/wx/xzs-student/component/iView/radio/index.wxml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/source/wx/xzs-student/component/iView/radio/index.wxss b/source/wx/xzs-student/component/iView/radio/index.wxss deleted file mode 100644 index c52b211..0000000 --- a/source/wx/xzs-student/component/iView/radio/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-radio-cell::after{display:block}.i-radio-radio-left{float:left}.i-radio-radio-right{float:right}.i-radio-radio{vertical-align:middle}.i-radio-title{display:inline-block;vertical-align:middle} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/rate/index.js b/source/wx/xzs-student/component/iView/rate/index.js deleted file mode 100644 index a7e374a..0000000 --- a/source/wx/xzs-student/component/iView/rate/index.js +++ /dev/null @@ -1,69 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - count : { - type : Number, - value : 5 - }, - value : { - type : Number, - value : 0 - }, - disabled : { - type : Boolean, - value : false - }, - size : { - type : Number, - value : 20 - }, - name : { - type : String, - value : '' - } - }, - data : { - touchesStart : { - pageX : 0 - } - }, - methods : { - handleClick(e){ - const data = this.data; - if( data.disabled ){ - return; - } - const index = e.currentTarget.dataset.index; - this.triggerEvent('change',{ - index : index + 1 - }) - }, - handleTouchMove(e){ - const data = this.data; - if( data.disabled ){ - return; - } - if( !e.changedTouches[0] ){ - return; - } - const movePageX = e.changedTouches[0].pageX; - const space = movePageX - data.touchesStart.pageX; - - if( space <= 0 ){ - return; - } - let setIndex = Math.ceil( space/data.size ); - setIndex = setIndex > data.count ? data.count : setIndex ; - this.triggerEvent('change',{ - index : setIndex - }) - } - }, - ready(){ - const className = '.i-rate'; - var query = wx.createSelectorQuery().in(this) - query.select( className ).boundingClientRect((res)=>{ - this.data.touchesStart.pageX = res.left || 0; - }).exec() - } -}); diff --git a/source/wx/xzs-student/component/iView/rate/index.json b/source/wx/xzs-student/component/iView/rate/index.json deleted file mode 100644 index 687543c..0000000 --- a/source/wx/xzs-student/component/iView/rate/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents":{ - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/rate/index.wxml b/source/wx/xzs-student/component/iView/rate/index.wxml deleted file mode 100644 index d600660..0000000 --- a/source/wx/xzs-student/component/iView/rate/index.wxml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - -var prefixCls = 'i-rate'; -module.exports = { - getCurrent : function( value,index ){ - if( index < value ){ - return prefixCls + '-current' - } - } -} - diff --git a/source/wx/xzs-student/component/iView/rate/index.wxss b/source/wx/xzs-student/component/iView/rate/index.wxss deleted file mode 100644 index e889107..0000000 --- a/source/wx/xzs-student/component/iView/rate/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-rate{margin:0;padding:0;font-size:20px;display:inline-block;vertical-align:middle;font-weight:400;font-style:normal}.i-rate-hide-input{display:none}.i-rate-star{display:inline-block;color:#e9e9e9}.i-rate-current{color:#f5a623}.i-rate-text{display:inline-block;vertical-align:middle;margin-left:6px;font-size:14px} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/row/index.js b/source/wx/xzs-student/component/iView/row/index.js deleted file mode 100644 index 3428387..0000000 --- a/source/wx/xzs-student/component/iView/row/index.js +++ /dev/null @@ -1,9 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../col/index': { - type: 'child' - } - } -}); diff --git a/source/wx/xzs-student/component/iView/row/index.json b/source/wx/xzs-student/component/iView/row/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/row/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/row/index.wxml b/source/wx/xzs-student/component/iView/row/index.wxml deleted file mode 100644 index fe8159e..0000000 --- a/source/wx/xzs-student/component/iView/row/index.wxml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/row/index.wxss b/source/wx/xzs-student/component/iView/row/index.wxss deleted file mode 100644 index 3b8b432..0000000 --- a/source/wx/xzs-student/component/iView/row/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-row:after{content:"";display:table;clear:both} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/slide/index.js b/source/wx/xzs-student/component/iView/slide/index.js deleted file mode 100644 index a397f4f..0000000 --- a/source/wx/xzs-student/component/iView/slide/index.js +++ /dev/null @@ -1,15 +0,0 @@ -Component({ - externalClasses: ['i-class'], - options: { - // 在组件定义时的选项中启用多slot支持 - multipleSlots: true - }, - methods : { - handleTap2(){ - console.log(event,1111111) - }, - handleTap3(){ - - } - } -}); diff --git a/source/wx/xzs-student/component/iView/slide/index.json b/source/wx/xzs-student/component/iView/slide/index.json deleted file mode 100644 index 6b1e67d..0000000 --- a/source/wx/xzs-student/component/iView/slide/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-button": "../button/index", - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/slide/index.wxml b/source/wx/xzs-student/component/iView/slide/index.wxml deleted file mode 100644 index a13c673..0000000 --- a/source/wx/xzs-student/component/iView/slide/index.wxml +++ /dev/null @@ -1,4 +0,0 @@ - - 1111 - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/slide/index.wxss b/source/wx/xzs-student/component/iView/slide/index.wxss deleted file mode 100644 index e69de29..0000000 diff --git a/source/wx/xzs-student/component/iView/spin/index.js b/source/wx/xzs-student/component/iView/spin/index.js deleted file mode 100644 index 3297f81..0000000 --- a/source/wx/xzs-student/component/iView/spin/index.js +++ /dev/null @@ -1,23 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - properties: { - // small || default || large - size: { - type: String, - value: 'default' - }, - fix: { - type: Boolean, - value: false - }, - fullscreen: { - type: Boolean, - value: false - }, - custom: { - type: Boolean, - value: false - } - } -}); diff --git a/source/wx/xzs-student/component/iView/spin/index.json b/source/wx/xzs-student/component/iView/spin/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/spin/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/spin/index.wxml b/source/wx/xzs-student/component/iView/spin/index.wxml deleted file mode 100644 index 8c25439..0000000 --- a/source/wx/xzs-student/component/iView/spin/index.wxml +++ /dev/null @@ -1,6 +0,0 @@ - -
- -
-
-
diff --git a/source/wx/xzs-student/component/iView/spin/index.wxss b/source/wx/xzs-student/component/iView/spin/index.wxss deleted file mode 100644 index 8ed714a..0000000 --- a/source/wx/xzs-student/component/iView/spin/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-spin{color:#2d8cf0;vertical-align:middle;text-align:center}.i-spin-dot{position:relative;display:block;border-radius:50%;background-color:#2d8cf0;width:20px;height:20px;animation:ani-spin-bounce 1s 0s ease-in-out infinite}.i-spin-large .i-spin-dot{width:32px;height:32px}.i-spin-small .i-spin-dot{width:12px;height:12px}.i-spin-fix{position:absolute;top:0;left:0;z-index:8;width:100%;height:100%;background-color:rgba(255,255,255,.9)}.i-spin-fullscreen{z-index:2010}.i-spin-fullscreen-wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.i-spin-fix .i-spin-main{position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.i-spin-fix .i-spin-dot{display:inline-block}.i-spin-show-text .i-spin-dot,.i-spin-text{display:none}.i-spin-show-text .i-spin-text{display:block;font-size:14px}@keyframes ani-spin-bounce{0%{transform:scale(0)}100%{transform:scale(1);opacity:0}} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/step/index.js b/source/wx/xzs-student/component/iView/step/index.js deleted file mode 100644 index 06a81a2..0000000 --- a/source/wx/xzs-student/component/iView/step/index.js +++ /dev/null @@ -1,52 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - status : { - type : String, - //wait、process、finish、error - value : '' - }, - title : { - type : String, - value : '' - }, - content : { - type : String, - value : '' - }, - icon : { - type : String, - value : '' - } - }, - options: { - // 在组件定义时的选项中启用多slot支持 - multipleSlots: true - }, - relations : { - '../steps/index' : { - type : 'parent' - } - }, - data : { - //step length - len : 1, - //current in step index - index : 0, - //parent component select current index - current : 0, - //css direction - direction : 'horizontal' - }, - methods : { - updateDataChange( options ){ - this.setData({ - len : options.len, - index : options.index, - current : options.current, - direction : options.direction - }) - } - } - -}) \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/step/index.json b/source/wx/xzs-student/component/iView/step/index.json deleted file mode 100644 index ffb5dee..0000000 --- a/source/wx/xzs-student/component/iView/step/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/step/index.wxml b/source/wx/xzs-student/component/iView/step/index.wxml deleted file mode 100644 index 63549dc..0000000 --- a/source/wx/xzs-student/component/iView/step/index.wxml +++ /dev/null @@ -1,70 +0,0 @@ - - - {{ index+1 }} - - - - - - - - {{title}} - - - - - - {{content}} - - - - - - - -var allStatus = ['wait','process','finish','error']; -module.exports = { - noIco : function( status,current,index,icon ){ - var aindex = allStatus.indexOf(status); - var noIcon = true; - if( index < current || icon !== '' ){ - noIcon = false; - } - return noIcon; - }, - getIcoClass : function( status,ico ){ - var class = ''; - if( status === 'error' ){ - class = 'close'; - }else{ - class = 'right'; - } - if( ico !== '' ){ - class = ico; - } - return class; - }, - getItemStyle : function(len,direction){ - if( direction === 'horizontal' ){ - return 'width :'+100/len + '%'; - }else{ - return 'width : 100%;'; - } - }, - getClass : function( status,current,index ) { - //wait、process、finish、error - var startClass = 'i-step-' - var classes = ''; - var cindex = allStatus.indexOf( status ); - if( cindex !== -1 ){ - classes = startClass + allStatus[cindex]; - } - if( index < current ){ - classes = startClass + 'finish'; - }else if( index === current ){ - classes = startClass + 'process'; - } - return classes; - } -} - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/step/index.wxss b/source/wx/xzs-student/component/iView/step/index.wxss deleted file mode 100644 index 284b42a..0000000 --- a/source/wx/xzs-student/component/iView/step/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-step-ico{width:24px;height:100%;border-radius:100%;background:#fff;position:relative;z-index:2;margin:0 auto;border:#dddee1 solid 1px}.i-step-ico-in{vertical-align:baseline}.i-step-line{position:absolute;left:50%;top:12px;width:100%;height:1px;background:#dddee1}.i-step-horizontal .i-step-ico::after{position:absolute;top:11px;left:23px;z-index:1;content:'';height:1px;background:#fff;width:10px}.i-step-horizontal .i-step-item-main{text-align:center}.i-step-horizontal .i-step-ico::before{position:absolute;top:11px;left:-11px;z-index:1;content:'';height:1px;background:#fff;width:10px}.i-step-ico{box-sizing:border-box;font-size:12px}.i-step-process .i-step-ico{border:#2d8cf0 solid 1px;color:#fff;background:#2d8cf0}.i-step-wait .i-step-ico{border:#e9eaec solid 1px;color:#e9eaec}.i-step-wait .i-step-line{background:#2d8cf0}.i-step-finish .i-step-ico{border:#2d8cf0 solid 1px;color:#2d8cf0}.i-step-finish .i-step-line{background:#2d8cf0}.i-step-error .i-step-ico{border:#ed3f14 solid 1px;color:#ed3f14}.i-step-error .i-step-line{background:#ed3f14}.i-step-item{font-size:12px;position:relative;display:inline-block;box-sizing:border-box;padding-left:10px;vertical-align:top}.i-step-item-ico{width:100%;height:24px;line-height:24px;text-align:center}.i-step-item-main{margin-top:10px;clear:both}.i-step-item-title{font-size:14px;font-weight:700;color:#1c2438}.i-step-item-content{font-size:12px;font-weight:700;margin-top:2px;color:#80848f}.i-step-vertical{padding-bottom:30px}.i-step-vertical .i-step-item-ico{width:24px;float:left}.i-step-vertical .i-step-item-main{margin-left:40px;margin-top:0;clear:inherit}.i-step-vertical .i-step-line{position:absolute;height:100%;top:0;left:10px;margin:0 0 0 12px;width:1px} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/steps/index.js b/source/wx/xzs-student/component/iView/steps/index.js deleted file mode 100644 index 06bed88..0000000 --- a/source/wx/xzs-student/component/iView/steps/index.js +++ /dev/null @@ -1,50 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - current : { - type : Number, - value : -1, - observer : '_updateDataChange' - }, - status : { - type : String, - //wait、process、finish、error - value : '' - }, - direction : { - type : String, - //value has horizontal or vertical - value : 'horizontal' - } - }, - relations : { - '../step/index' : { - type : 'child', - linked(){ - this._updateDataChange(); - }, - linkChanged () { - this._updateDataChange(); - }, - unlinked () { - this._updateDataChange(); - } - } - }, - methods: { - _updateDataChange() { - let steps = this.getRelationNodes('../step/index'); - const len = steps.length; - if (len > 0) { - steps.forEach((step, index) => { - step.updateDataChange({ - len : len, - index : index, - current : this.data.current, - direction : this.data.direction - }); - }); - } - } - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/steps/index.json b/source/wx/xzs-student/component/iView/steps/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/steps/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/steps/index.wxml b/source/wx/xzs-student/component/iView/steps/index.wxml deleted file mode 100644 index d9c7942..0000000 --- a/source/wx/xzs-student/component/iView/steps/index.wxml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/source/wx/xzs-student/component/iView/steps/index.wxss b/source/wx/xzs-student/component/iView/steps/index.wxss deleted file mode 100644 index 616ed04..0000000 --- a/source/wx/xzs-student/component/iView/steps/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-steps{width:100%} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/sticky-item/index.js b/source/wx/xzs-student/component/iView/sticky-item/index.js deleted file mode 100644 index 4fc3dbe..0000000 --- a/source/wx/xzs-student/component/iView/sticky-item/index.js +++ /dev/null @@ -1,40 +0,0 @@ -Component({ - externalClasses: ['i-class'], - options: { - multipleSlots: true - }, - relations : { - '../sticky/index' : { - type : 'parent' - } - }, - data : { - top : 0, - height : 0, - isFixed : false, - index : -1, - }, - methods: { - updateScrollTopChange(scrollTop){ - const data = this.data; - const top = data.top; - const height = data.height; - this.setData({ - isFixed : ( scrollTop >= top && scrollTop < top + height ) ? true : false - }) - }, - updateDataChange(index) { - const className = '.i-sticky-item'; - const query = wx.createSelectorQuery().in(this); - query.select( className ).boundingClientRect((res)=>{ - if( res ){ - this.setData({ - top : res.top, - height : res.height, - index : index - }) - } - }).exec() - } - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/sticky-item/index.json b/source/wx/xzs-student/component/iView/sticky-item/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/sticky-item/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/sticky-item/index.wxml b/source/wx/xzs-student/component/iView/sticky-item/index.wxml deleted file mode 100644 index 613a5c0..0000000 --- a/source/wx/xzs-student/component/iView/sticky-item/index.wxml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/source/wx/xzs-student/component/iView/sticky-item/index.wxss b/source/wx/xzs-student/component/iView/sticky-item/index.wxss deleted file mode 100644 index 7328f0f..0000000 --- a/source/wx/xzs-student/component/iView/sticky-item/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-sticky-item-header{background:#eee;font-size:14px;width:100%;height:32px;line-height:32px}.i-sticky-item-content{font-size:14px}.i-sticky-title{width:100%;padding:0 15px;box-sizing:border-box;background:#eee}.i-sticky-fixed .i-sticky-title{position:fixed;top:0} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/sticky/index.js b/source/wx/xzs-student/component/iView/sticky/index.js deleted file mode 100644 index 546aa4c..0000000 --- a/source/wx/xzs-student/component/iView/sticky/index.js +++ /dev/null @@ -1,63 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - scrollTop : { - type : Number, - observer(val){ - this._updateScrollTopChange(); - } - } - }, - relations : { - '../sticky-item/index' : { - type : 'child', - linked(){ - this._updateDataChange(); - }, - linkChanged () { - this._updateDataChange(); - }, - unlinked () { - this._updateDataChange(); - } - } - }, - data : { - timer : null, - itemLength : 0, - }, - methods : { - _updateScrollTopChange(){ - const stickies = this.getRelationNodes('../sticky-item/index'); - if( stickies.length > 0 ){ - stickies.forEach((item) => { - if( item ){ - item.updateScrollTopChange( this.data.scrollTop ); - } - }) - } - }, - _updateDataChange( ){ - const stickies = this.getRelationNodes('../sticky-item/index'); - if( stickies.length > 0 ){ - if( this.data.timer ){ - clearTimeout( this.data.timer ) - this.setData({ - timer : null - }) - } - this.data.timer = setTimeout(()=>{ - stickies.forEach((item,index) => { - if( item ){ - item.updateDataChange(index); - } - }) - },0) - this.setData({ - timer : this.data.timer - }) - } - } - } - -}) \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/sticky/index.json b/source/wx/xzs-student/component/iView/sticky/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/sticky/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/sticky/index.wxml b/source/wx/xzs-student/component/iView/sticky/index.wxml deleted file mode 100644 index aee0c63..0000000 --- a/source/wx/xzs-student/component/iView/sticky/index.wxml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/source/wx/xzs-student/component/iView/sticky/index.wxss b/source/wx/xzs-student/component/iView/sticky/index.wxss deleted file mode 100644 index e69de29..0000000 diff --git a/source/wx/xzs-student/component/iView/swipeout/index.js b/source/wx/xzs-student/component/iView/swipeout/index.js deleted file mode 100644 index b23748c..0000000 --- a/source/wx/xzs-student/component/iView/swipeout/index.js +++ /dev/null @@ -1,161 +0,0 @@ - /* -* touch事件判断方式 -* https://github.com/madrobby/zepto/blob/master/src/touch.js#files -*/ -function swipeDirection(x1, x2, y1, y2) { - return Math.abs(x1 - x2) >= - Math.abs(y1 - y2) ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down') -} - -Component({ - externalClasses: ['i-class'], - properties: { - actions: { - value: [], - type: Array, - observer : '_updateButtonSize' - }, - unclosable : { - value : false, - type : Boolean - }, - toggle : { - value : false, - type : Boolean, - observer : 'closeButtonGroup' - }, - operateWidth : { - type : Number, - value : 160 - } - }, - options: { - // 在组件定义时的选项中启用多slot支持 - multipleSlots: true - }, - data : { - //touch start position - tStart : { - pageX : 0, - pageY : 0 - }, - //限制滑动距离 - limitMove : 0, - //element move position - position : { - pageX : 0, - pageY : 0 - } - }, - methods : { - //阻止事件冒泡 - loop(){}, - _updateButtonSize(){ - const actions = this.data.actions; - if( actions.length > 0 ){ - const query = wx.createSelectorQuery().in(this); - let limitMovePosition = 0; - actions.forEach(item => { - limitMovePosition += item.width || 0; - }); - this.data.limitMove = limitMovePosition; - /* - * 动态获取每个传进值的按钮尺寸不能正确获取,在安卓上少了6px - * 暂时实现需要在actions里面传递宽度 - * 需要后期调研 - */ - //query.selectAll('.i-swipeout-button-right-item').boundingClientRect((rects)=>{ - // if( rects ){ - // console.log(rects,1111111) - // rects.forEach(item => { - // limitMovePosition += item.width; - // }); - // this.data.limitMove = limitMovePosition; - // console.log(limitMovePosition,111111111) - // } - // }).exec() - }else{ - this.data.limitMove = this.data.operateWidth; - - } - }, - handlerTouchstart(event){ - const touches = event.touches ? event.touches[0] : {}; - const tStart = this.data.tStart; - if( touches ){ - for( let i in tStart ){ - if( touches[i] ){ - tStart[i] = touches[i]; - } - } - } - }, - swipper(touches){ - const data = this.data; - const start = data.tStart; - const spacing = { - pageX : touches.pageX - start.pageX, - pageY : touches.pageY - start.pageY - } - if( data.limitMove < Math.abs( spacing.pageX ) ){ - spacing.pageX = -data.limitMove; - - } - this.setData({ - 'position' : spacing - }) - }, - handlerTouchmove(event){ - const start = this.data.tStart; - const touches = event.touches ? event.touches[0] : {}; - if( touches ){ - const direction = swipeDirection( start.pageX,touches.pageX,start.pageY,touches.pageY ); - if( direction === 'Left' ){ - this.swipper( touches ); - } - } - }, - handlerTouchend(event){ - const start = this.data.tStart; - const touches = event.changedTouches ? event.changedTouches[0] : {}; - if( touches ){ - const direction = swipeDirection( start.pageX,touches.pageX,start.pageY,touches.pageY ); - const spacing = { - pageX : touches.pageX - start.pageX, - pageY : touches.pageY - start.pageY - } - if( Math.abs( spacing.pageX ) >= 40 && direction === "Left" ){ - spacing.pageX = spacing.pageX < 0 ? - this.data.limitMove : this.data.limitMove; - }else{ - spacing.pageX = 0; - } - this.setData({ - 'position' : spacing - }) - } - }, - handlerButton(event){ - if( !this.data.unclosable ){ - this.closeButtonGroup(); - } - const dataset = event.currentTarget.dataset; - this.triggerEvent('change',{ - index : dataset.index - }) - }, - closeButtonGroup(){ - this.setData({ - 'position' : {pageX : 0,pageY : 0} - }) - }, - //控制自定义组件 - handlerParentButton(event){ - if( !this.data.unclosable ){ - this.closeButtonGroup(); - } - } - }, - ready(){ - this._updateButtonSize(); - } -}); diff --git a/source/wx/xzs-student/component/iView/swipeout/index.json b/source/wx/xzs-student/component/iView/swipeout/index.json deleted file mode 100644 index c63f9a6..0000000 --- a/source/wx/xzs-student/component/iView/swipeout/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": { - "i-cell": "../cell/index", - "i-icon": "../icon/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/swipeout/index.wxml b/source/wx/xzs-student/component/iView/swipeout/index.wxml deleted file mode 100644 index f588015..0000000 --- a/source/wx/xzs-student/component/iView/swipeout/index.wxml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - {{item.name}} - - - - - - - - - module.exports = { - setStyle : function( item ){ - var defaults = '#f7f7f7'; - return 'background:' + ( item.background ? item.background : defaults ) +';' + 'color:'+ item.color; - }, - setPosition : function( position ){ - return 'transform:translate(' + position.pageX + 'px,0);'; - } - } - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/swipeout/index.wxss b/source/wx/xzs-student/component/iView/swipeout/index.wxss deleted file mode 100644 index 597cffc..0000000 --- a/source/wx/xzs-student/component/iView/swipeout/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-swipeout-wrap{border-bottom:#dddee1 solid 1px;background:#fff;position:relative;overflow:hidden}.i-swipeout-item{width:100%;padding:15px 20px;box-sizing:border-box;transition:transform .2s ease;font-size:14px}.i-swipeout-content{white-space:nowrap;overflow:hidden}.i-swipeout-button-right-group{position:absolute;right:-100%;top:0;height:100%;z-index:1;width:100%}.i-swipeout-button-right-item{height:100%;float:left;white-space:nowrap;box-sizing:border-box;display:flex;align-items:center;justify-content:center} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/switch/index.js b/source/wx/xzs-student/component/iView/switch/index.js deleted file mode 100644 index 5ebccfa..0000000 --- a/source/wx/xzs-student/component/iView/switch/index.js +++ /dev/null @@ -1,38 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - value : { - type : Boolean, - value : false - }, - //large small default - size : { - type : String, - value : 'default' - }, - // is or not disable - disabled : { - type : Boolean, - value : false - }, - // hidden inut name - name : { - type : String, - value : '' - } - }, - options: { - // 在组件定义时的选项中启用多slot支持 - multipleSlots: true - }, - methods : { - toggle(){ - if( this.data.disabled ) return; - const data = this.data; - const value = data.value ? false : true; - this.triggerEvent('change',{ - value : value - }) - } - } -}); diff --git a/source/wx/xzs-student/component/iView/switch/index.json b/source/wx/xzs-student/component/iView/switch/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/switch/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/switch/index.wxml b/source/wx/xzs-student/component/iView/switch/index.wxml deleted file mode 100644 index a180254..0000000 --- a/source/wx/xzs-student/component/iView/switch/index.wxml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - -var sizes = ['large', 'default']; -var prefixCls = 'i-switch'; -module.exports = { - setSize : function( size ){ - var index = sizes.indexOf( size ); - return prefixCls + ( index > -1 ? ( '-'+size ) : 'default' ) - }, - setCurrent : function( value,disabled ){ - var className = value && !disabled ? prefixCls + '-checked' : ''; - if( disabled ){ - className += ' ' + prefixCls + '-disabled'; - } - return className; - } -} - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/switch/index.wxss b/source/wx/xzs-student/component/iView/switch/index.wxss deleted file mode 100644 index 128fea6..0000000 --- a/source/wx/xzs-student/component/iView/switch/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-switch{display:inline-block;width:48px;height:24px;line-height:24px;border-radius:24px;vertical-align:middle;border:1px solid #ccc;background-color:#ccc;position:relative;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:all .2s ease-in-out}.i-switch-hide-input{display:none;opacity:0}.i-switch-inner{color:#fff;font-size:12px;position:absolute;left:25px;vertical-align:middle}.i-switch-inner .i-icon{width:12px;height:12px;text-align:center;vertical-align:middle}.i-switch:after{content:'';width:22px;height:22px;border-radius:22px;background-color:#fff;position:absolute;left:1px;top:1px;cursor:pointer;transition:left .2s ease-in-out,width .2s ease-in-out}.i-switch-checked:after{left:8px}.i-switch-large{width:60px}.i-switch-large.i-switch-checked:after{left:37px}.i-switch-checked:after{left:25px}.i-switch-checked{border-color:#2d8cf0;background-color:#2d8cf0}.i-switch-checked .i-switch-inner{left:8px}.i-switch-checked:after{left:25px}.i-switch-disabled{background:#f3f3f3;border-color:#f3f3f3}.i-switch-disabled:after{background:#ccc;cursor:not-allowed}.i-switch-disabled .i-switch-inner{color:#ccc} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tab-bar-item/index.js b/source/wx/xzs-student/component/iView/tab-bar-item/index.js deleted file mode 100644 index 0c24c1a..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar-item/index.js +++ /dev/null @@ -1,62 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../tab-bar/index': { - type: 'parent' - } - }, - - properties: { - icon: { - type: String, - value: '' - }, - currentIcon: { - type: String, - value: '' - }, - img: { - type: String, - value: '' - }, - currentImg: { - type: String, - value: '' - }, - key: { - type: String, - value: '' - }, - title: { - type: String, - value: '' - }, - dot: { - type: Boolean, - value: false - }, - count: { - type: Number, - value: 0 - } - }, - - data: { - current: false, - currentColor: '' - }, - - methods: { - changeCurrent (current) { - this.setData({ current }); - }, - changeCurrentColor (currentColor) { - this.setData({ currentColor }); - }, - handleClickItem () { - const parent = this.getRelationNodes('../tab-bar/index')[0]; - parent.emitEvent(this.data.key); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/tab-bar-item/index.json b/source/wx/xzs-student/component/iView/tab-bar-item/index.json deleted file mode 100644 index 918aaf8..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar-item/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-badge": "../badge/index", - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/tab-bar-item/index.wxml b/source/wx/xzs-student/component/iView/tab-bar-item/index.wxml deleted file mode 100644 index 7153909..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar-item/index.wxml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - {{ title }} - {{ title }} - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tab-bar-item/index.wxss b/source/wx/xzs-student/component/iView/tab-bar-item/index.wxss deleted file mode 100644 index 0f8a9c8..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar-item/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-tab-bar-item{flex:1;display:flex;width:100%;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;text-align:center}.i-tab-bar-item-icon{display:flex;-webkit-box-pack:center;justify-content:center;box-sizing:border-box;color:#80848f}.i-tab-bar-item-icon-current{color:#2d8cf0}.i-tab-bar-item-img{display:flex;-webkit-box-pack:center;justify-content:center;box-sizing:border-box;width:22px;height:22px}.i-tab-bar-item-title{font-size:10px;margin:3px 0 0;line-height:1;text-align:center;box-sizing:border-box;color:#80848f}.i-tab-bar-item-title-current{color:#2d8cf0}.i-tab-bar-item-img{display:flex;-webkit-box-pack:center;justify-content:center;box-sizing:border-box;color:#80848f} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tab-bar/index.js b/source/wx/xzs-student/component/iView/tab-bar/index.js deleted file mode 100644 index ca02fe4..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar/index.js +++ /dev/null @@ -1,66 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../tab-bar-item/index': { - type: 'child', - linked () { - this.changeCurrent(); - }, - linkChanged () { - this.changeCurrent(); - }, - unlinked () { - this.changeCurrent(); - } - } - }, - - properties: { - current: { - type: String, - value: '', - observer: 'changeCurrent' - }, - color: { - type: String, - value: '' - }, - fixed: { - type: Boolean, - value: false - } - }, - - data: { - list: [] - }, - - methods: { - changeCurrent (val = this.data.current) { - let items = this.getRelationNodes('../tab-bar-item/index'); - const len = items.length; - - if (len > 0) { - const list = []; - items.forEach(item => { - item.changeCurrent(item.data.key === val); - item.changeCurrentColor(this.data.color); - list.push({ - key: item.data.key - }); - }); - this.setData({ - list: list - }); - } - }, - emitEvent (key) { - this.triggerEvent('change', { key }); - }, - handleClickItem (e) { - const key = e.currentTarget.dataset.key; - this.emitEvent(key); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/tab-bar/index.json b/source/wx/xzs-student/component/iView/tab-bar/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/tab-bar/index.wxml b/source/wx/xzs-student/component/iView/tab-bar/index.wxml deleted file mode 100644 index 9dbfbea..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar/index.wxml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tab-bar/index.wxss b/source/wx/xzs-student/component/iView/tab-bar/index.wxss deleted file mode 100644 index 5c6fd9c..0000000 --- a/source/wx/xzs-student/component/iView/tab-bar/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-tab-bar{display:flex;width:100%;height:50px;box-sizing:border-box;position:relative;justify-content:space-around;align-items:center;-webkit-box-align:center;background:#fff}.i-tab-bar::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-top-width:1px}.i-tab-bar-fixed{position:fixed;bottom:0;z-index:2}.i-tab-bar-list{position:absolute;top:0;bottom:0;left:0;right:0}.i-tab-bar-layer{display:block;float:left;height:100%} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tab/index.js b/source/wx/xzs-student/component/iView/tab/index.js deleted file mode 100644 index c8d3079..0000000 --- a/source/wx/xzs-student/component/iView/tab/index.js +++ /dev/null @@ -1,50 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../tabs/index': { - type: 'parent' - } - }, - - properties: { - key: { - type: String, - value: '' - }, - title: { - type: String, - value: '' - }, - dot: { - type: Boolean, - value: false - }, - count: { - type: Number, - value: 0 - } - }, - - data: { - current: false, - currentColor: '', - scroll: false - }, - - methods: { - changeCurrent (current) { - this.setData({ current }); - }, - changeCurrentColor (currentColor) { - this.setData({ currentColor }); - }, - changeScroll (scroll) { - this.setData({ scroll }); - }, - handleClickItem () { - const parent = this.getRelationNodes('../tabs/index')[0]; - parent.emitEvent(this.data.key); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/tab/index.json b/source/wx/xzs-student/component/iView/tab/index.json deleted file mode 100644 index eb6877d..0000000 --- a/source/wx/xzs-student/component/iView/tab/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-badge": "../badge/index" - } -} diff --git a/source/wx/xzs-student/component/iView/tab/index.wxml b/source/wx/xzs-student/component/iView/tab/index.wxml deleted file mode 100644 index 29d3955..0000000 --- a/source/wx/xzs-student/component/iView/tab/index.wxml +++ /dev/null @@ -1,9 +0,0 @@ - - - - {{ title }} - {{ title }} - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tab/index.wxss b/source/wx/xzs-student/component/iView/tab/index.wxss deleted file mode 100644 index 135637b..0000000 --- a/source/wx/xzs-student/component/iView/tab/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-tabs-tab{flex:1;display:flex;width:100%;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;text-align:center;position:relative}.i-tabs-tab-bar{display:block;width:100%;height:2px;background:0 0;position:absolute;bottom:0;left:0;background:#2d8cf0}.i-tabs-tab-title{font-size:14px;text-align:center;box-sizing:border-box;color:#80848f}.i-tabs-tab-title-current{color:#2d8cf0}.i-tabs-tab-scroll{display:inline-block;width:60px} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tabs/index.js b/source/wx/xzs-student/component/iView/tabs/index.js deleted file mode 100644 index b9d0326..0000000 --- a/source/wx/xzs-student/component/iView/tabs/index.js +++ /dev/null @@ -1,56 +0,0 @@ -Component({ - externalClasses: ['i-class'], - - relations: { - '../tab/index': { - type: 'child', - linked () { - this.changeCurrent(); - }, - linkChanged () { - this.changeCurrent(); - }, - unlinked () { - this.changeCurrent(); - } - } - }, - - properties: { - current: { - type: String, - value: '', - observer: 'changeCurrent' - }, - color: { - type: String, - value: '' - }, - scroll: { - type: Boolean, - value: false - }, - fixed: { - type: Boolean, - value: false - } - }, - - methods: { - changeCurrent (val = this.data.current) { - let items = this.getRelationNodes('../tab/index'); - const len = items.length; - - if (len > 0) { - items.forEach(item => { - item.changeScroll(this.data.scroll); - item.changeCurrent(item.data.key === val); - item.changeCurrentColor(this.data.color); - }); - } - }, - emitEvent (key) { - this.triggerEvent('change', { key }); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/tabs/index.json b/source/wx/xzs-student/component/iView/tabs/index.json deleted file mode 100644 index 467ce29..0000000 --- a/source/wx/xzs-student/component/iView/tabs/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component": true -} diff --git a/source/wx/xzs-student/component/iView/tabs/index.wxml b/source/wx/xzs-student/component/iView/tabs/index.wxml deleted file mode 100644 index b61d51b..0000000 --- a/source/wx/xzs-student/component/iView/tabs/index.wxml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tabs/index.wxss b/source/wx/xzs-student/component/iView/tabs/index.wxss deleted file mode 100644 index 985fb18..0000000 --- a/source/wx/xzs-student/component/iView/tabs/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-tabs{display:flex;width:100%;height:42px;line-height:42px;box-sizing:border-box;position:relative;justify-content:space-around;align-items:center;-webkit-box-align:center;background:#fff}.i-tabs::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px}.i-tabs-scroll{display:block;overflow-x:auto;white-space:nowrap}.i-tabs-fixed{position:fixed;top:0;z-index:2} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tag/index.js b/source/wx/xzs-student/component/iView/tag/index.js deleted file mode 100644 index 338440a..0000000 --- a/source/wx/xzs-student/component/iView/tag/index.js +++ /dev/null @@ -1,42 +0,0 @@ -Component({ - externalClasses: ['i-class'], - properties : { - //slot name - name : { - type : String, - value : '' - }, - //can click or not click - checkable : { - type : Boolean, - value : false - }, - //is current choose - checked : { - type : Boolean, - value : true - }, - //background and color setting - color : { - type : String, - value : 'default' - }, - //control fill or not - type : { - type : String, - value : 'dot' - } - }, - methods : { - tapTag(){ - const data = this.data; - if( data.checkable ){ - const checked = data.checked ? false : true; - this.triggerEvent('change',{ - name : data.name || '', - checked : checked - }); - } - } - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tag/index.json b/source/wx/xzs-student/component/iView/tag/index.json deleted file mode 100644 index 1dd6c7f..0000000 --- a/source/wx/xzs-student/component/iView/tag/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "component" : true -} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tag/index.wxml b/source/wx/xzs-student/component/iView/tag/index.wxml deleted file mode 100644 index ed2c675..0000000 --- a/source/wx/xzs-student/component/iView/tag/index.wxml +++ /dev/null @@ -1,27 +0,0 @@ - - - - -module.exports = { - getClass : function(color,type,checked,checkable) { - var initColorList = ['blue', 'green', 'red', 'yellow', 'default']; - var theme = ''; - var className = 'i-tag-'; - if( initColorList.indexOf( color ) > -1 ){ - theme = className + color; - } - if( type === 'border' ){ - theme = className+color+'-border'; - } - if( checkable && checked ){ - theme = className+color+'-checked'; - }else if( checkable && !checked ){ - theme = ( type === 'border' ? className + color +'-border' : className+'none' ); - } - - return theme; - } -} - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/tag/index.wxss b/source/wx/xzs-student/component/iView/tag/index.wxss deleted file mode 100644 index e19f976..0000000 --- a/source/wx/xzs-student/component/iView/tag/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-tag{display:inline-block;height:18px;line-height:18px;padding:0 4px;border-radius:2px;background:#fff;font-size:11px;vertical-align:middle;border:1rpx solid #dddee1}.i-tag-none{border-color:#fff}.i-tag-default{border-color:#dddee1;background:#e9eaec}.i-tag-red{background:#ed3f14;color:#fff}.i-tag-red-border{color:#ed3f14;background:#fff;border-color:#ed3f14}.i-tag-red-checked{background:#ed3f14;color:#fff;border-color:#ed3f14}.i-tag-green{background:#19be6b;color:#fff;border-color:#19be6b}.i-tag-green-border{color:#19be6b;background:#fff;border-color:#19be6b}.i-tag-green-checked{background:#19be6b;color:#fff;border-color:#19be6b}.i-tag-blue{background:#2d8cf0;color:#fff;border-color:#2d8cf0}.i-tag-blue-border{color:#2d8cf0;background:#fff;border-color:#2d8cf0}.i-tag-blue-checked{background:#2d8cf0;color:#fff;border-color:#2d8cf0}.i-tag-yellow{background:#f90;color:#fff;border-color:#f90}.i-tag-yellow-border{color:#f90;background:#fff;border-color:#f90}.i-tag-yellow-checked{background:#f90;color:#fff;border-color:#f90}.i-tag-default-checked{background:#e9eaec;color:#495060;border-color:#e9eaec} \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/toast/index.js b/source/wx/xzs-student/component/iView/toast/index.js deleted file mode 100644 index 6493111..0000000 --- a/source/wx/xzs-student/component/iView/toast/index.js +++ /dev/null @@ -1,48 +0,0 @@ -const default_data = { - visible: false, - content: '', - icon: '', - image: '', - duration: 2, - mask: true, - type: 'default', // default || success || warning || error || loading -}; - -let timmer = null; - -Component({ - externalClasses: ['i-class'], - - data: { - ...default_data - }, - - methods: { - handleShow (options) { - const { type = 'default', duration = 2 } = options; - - this.setData({ - ...options, - type, - duration, - visible: true - }); - - const d = this.data.duration * 1000; - - if (timmer) clearTimeout(timmer); - if (d !== 0) { - timmer = setTimeout(() => { - this.handleHide(); - timmer = null; - }, d); - } - }, - - handleHide () { - this.setData({ - ...default_data - }); - } - } -}); diff --git a/source/wx/xzs-student/component/iView/toast/index.json b/source/wx/xzs-student/component/iView/toast/index.json deleted file mode 100644 index 31309b1..0000000 --- a/source/wx/xzs-student/component/iView/toast/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "component": true, - "usingComponents": - { - "i-icon": "../icon/index" - } -} diff --git a/source/wx/xzs-student/component/iView/toast/index.wxml b/source/wx/xzs-student/component/iView/toast/index.wxml deleted file mode 100644 index ca5f732..0000000 --- a/source/wx/xzs-student/component/iView/toast/index.wxml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - {{ content }} - \ No newline at end of file diff --git a/source/wx/xzs-student/component/iView/toast/index.wxss b/source/wx/xzs-student/component/iView/toast/index.wxss deleted file mode 100644 index 5b3bd7f..0000000 --- a/source/wx/xzs-student/component/iView/toast/index.wxss +++ /dev/null @@ -1 +0,0 @@ -.i-toast{position:fixed;top:35%;left:50%;transform:translate3d(-50%,-50%,0);background:rgba(0,0,0,.7);color:#fff;font-size:14px;line-height:1.5em;margin:0 auto;box-sizing:border-box;padding:10px 18px;text-align:center;border-radius:4px;z-index:1010}.i-toast-mask{position:fixed;top:0;bottom:0;left:0;right:0;z-index:1010}.i-toast-icon{font-size:38px!important;margin-bottom:6px}.i-toast-image{max-width:100px;max-height:100px}.i-toast-loading{display:inline-block;vertical-align:middle;width:28px;height:28px;background:0 0;border-radius:50%;border:2px solid #fff;border-color:#fff #fff #fff #2d8cf0;animation:btn-spin .8s linear;animation-iteration-count:infinite}@keyframes btn-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/do/index.js b/source/wx/xzs-student/pages/exam/do/index.js deleted file mode 100644 index e0be7be..0000000 --- a/source/wx/xzs-student/pages/exam/do/index.js +++ /dev/null @@ -1,104 +0,0 @@ -import { - formatSeconds -} from '../../../utils/util.js' - -let app = getApp() -Page({ - data: { - spinShow: false, - paperId: null, - form: {}, - timer: null, - doTime: 0, - remainTime: 0, - remainTimeStr: '', - modalShow: false, - result: 0, - timeOutShow: false - }, - onLoad: function(options) { - let paperId = options.id - let _this = this - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/exampaper/select/' + paperId, null) - .then(res => { - _this.setData({ - spinShow: false - }); - if (res.code === 1) { - _this.setData({ - form: res.response, - paperId: paperId, - remainTime: res.response.suggestTime * 60 - }); - _this.timeReduce() - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - }, - timeReduce() { - let _this = this - let timer = setInterval(function() { - let remainTime = _this.data.remainTime - if (remainTime <= 0) { - _this.timeOut() - } else { - _this.setData({ - remainTime: remainTime - 1, - remainTimeStr: formatSeconds(remainTime), - doTime: _this.data.doTime + 1 - }); - } - }, 1000) - _this.setData({ - timer: timer - }); - }, - onUnload() { - clearInterval(this.data.timer) - }, - returnRecord() { - wx.reLaunch({ - url: '/pages/record/index', - }); - }, - timeOut() { - clearInterval(this.data.timer) - this.setData({ - timeOutShow: true - }); - }, - formSubmit: function(e) { - let _this = this - if (this.data.timer) { - clearInterval(this.data.timer) - } - wx.showLoading({ - title: '提交中', - mask: true - }) - e.detail.value.id = this.data.paperId - e.detail.value.doTime = this.data.doTime - app.formPost('/api/wx/student/exampaper/answer/answerSubmit', e.detail.value) - .then(res => { - if (res.code === 1) { - _this.setData({ - modalShow: true, - result: res.response - }); - } else { - app.message(res.response, 'error') - } - wx.hideLoading() - }).catch(e => { - wx.hideLoading() - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/do/index.json b/source/wx/xzs-student/pages/exam/do/index.json deleted file mode 100644 index 31a9d27..0000000 --- a/source/wx/xzs-student/pages/exam/do/index.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "usingComponents": { - "i-panel": "/component/iView/panel/index", - "i-cell-group": "/component/iView/cell-group/index", - "i-cell": "/component/iView/cell/index", - "i-radio-group": "/component/iView/radio-group/index", - "i-radio": "/component/iView/radio/index", - "i-row": "/component/iView/row/index", - "i-col": "/component/iView/col/index", - "i-input": "/component/iView/input/index", - "i-action-sheet": "/component/iView/action-sheet/index", - "i-modal": "/component/iView/modal/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/do/index.wxml b/source/wx/xzs-student/pages/exam/do/index.wxml deleted file mode 100644 index 37e8e33..0000000 --- a/source/wx/xzs-student/pages/exam/do/index.wxml +++ /dev/null @@ -1,80 +0,0 @@ - - - {{remainTimeStr}} - - - - - - -

{{form.name}}

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - {{inputItem.prefix}} - - - - - - - - - - - - - - - - - - - - 考试试卷结束,请提交试卷! - - - -
- - - 得分:{{result}} - - - - -
-
\ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/do/index.wxss b/source/wx/xzs-student/pages/exam/do/index.wxss deleted file mode 100644 index 628b1d7..0000000 --- a/source/wx/xzs-student/pages/exam/do/index.wxss +++ /dev/null @@ -1,76 +0,0 @@ -.exam-page { - background: white; -} - -.exam-count-down { - font-size: 15px; - line-height: 35px; -} - -.view-wrap { - position: fixed; - width: 100%; - background: #fff6f6; - text-align: center; - height: 35px; - z-index: 999; -} - -.view-wrap-hidden { - height: 35px; -} - -.exam-name-title { - text-align: center; - margin-top: 10px; - font-size: 17px; -} - -.exam-panel-title { - margin-top: 30px; -} - -.exam-radio-item-label { - float: left; - margin-left: 10px; - line-height: 35px; -} - -.exam-item-left { - float: left; -} - -.exam-input-contain { - margin: 10px 2px !important; - border-width: 1px; - border-color: #dddee1; - border-style: solid; - width: 95%; - height: 40px; -} - -.exam-input-contain-label { - float: left; - padding: 0px 15px; - line-height: 40px; -} - -.exam-input-contain-content { - float: left; - height: 40px; -} - -.exam-textarea-contain { - margin: 10px 2px !important; - border-width: 1px; - border-color: #dddee1; - border-style: solid; - width: 100%; -} - -.exam-timeout-title{ - font-size: 16px; - color: red; - margin-top: 10px; - margin-bottom: 20px; -} diff --git a/source/wx/xzs-student/pages/exam/edit/index.js b/source/wx/xzs-student/pages/exam/edit/index.js deleted file mode 100644 index 9fedb66..0000000 --- a/source/wx/xzs-student/pages/exam/edit/index.js +++ /dev/null @@ -1,66 +0,0 @@ -// pages/exam/edit/index.js -Page({ - - /** - * Page initial data - */ - data: { - - }, - - /** - * Lifecycle function--Called when page load - */ - onLoad: function (options) { - - }, - - /** - * Lifecycle function--Called when page is initially rendered - */ - onReady: function () { - - }, - - /** - * Lifecycle function--Called when page show - */ - onShow: function () { - - }, - - /** - * Lifecycle function--Called when page hide - */ - onHide: function () { - - }, - - /** - * Lifecycle function--Called when page unload - */ - onUnload: function () { - - }, - - /** - * Page event handler function--Called when user drop down - */ - onPullDownRefresh: function () { - - }, - - /** - * Called when page reach bottom - */ - onReachBottom: function () { - - }, - - /** - * Called when user click on the top right corner to share - */ - onShareAppMessage: function () { - - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/edit/index.json b/source/wx/xzs-student/pages/exam/edit/index.json deleted file mode 100644 index 8835af0..0000000 --- a/source/wx/xzs-student/pages/exam/edit/index.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "usingComponents": {} -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/edit/index.wxml b/source/wx/xzs-student/pages/exam/edit/index.wxml deleted file mode 100644 index 0fc8bc5..0000000 --- a/source/wx/xzs-student/pages/exam/edit/index.wxml +++ /dev/null @@ -1,2 +0,0 @@ - -pages/exam/edit/index.wxml diff --git a/source/wx/xzs-student/pages/exam/edit/index.wxss b/source/wx/xzs-student/pages/exam/edit/index.wxss deleted file mode 100644 index 476ea5e..0000000 --- a/source/wx/xzs-student/pages/exam/edit/index.wxss +++ /dev/null @@ -1 +0,0 @@ -/* pages/exam/edit/index.wxss */ \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/index/index.js b/source/wx/xzs-student/pages/exam/index/index.js deleted file mode 100644 index 6b9f5e1..0000000 --- a/source/wx/xzs-student/pages/exam/index/index.js +++ /dev/null @@ -1,91 +0,0 @@ -// pages/exam/index/index.js -let app = getApp() -Page({ - data: { - paperType: 1, - spinShow: false, - loadMoreLoad: false, - loadMoreTip: '暂无数据', - queryParam: { - paperType: 1, - pageIndex: 1, - pageSize: app.globalData.pageSize - }, - tableData: [], - total: 1 - }, - onLoad: function(options) { - this.setData({ - spinShow: true - }); - this.search(true) - }, - tabChange({ - detail - }) { - this.setData({ - spinShow: true - }); - let size = app.globalData.pageSize - this.setData({ - paperType: detail.key, - queryParam: { - paperType: detail.key, - pageIndex: 1, - pageSize: app.globalData.pageSize - } - }); - this.search(true) - }, - onPullDownRefresh() { - this.setData({ - spinShow: true - }); - if (!this.loading) { - this.setData({ - ['queryParam.pageIndex']: 1 - }); - this.search(true) - } - }, - onReachBottom() { - if (!this.loading && this.data.queryParam.pageIndex < this.data.total) { - this.setData({ - loadMoreLoad: true, - loadMoreTip: '正在加载' - }); - this.setData({ - ['queryParam.pageIndex']: this.data.queryParam.pageIndex + 1 - }); - this.search(false) - } - }, - search: function(override) { - let _this = this - app.formPost('/api/wx/student/exampaper/pageList', this.data.queryParam).then(res => { - _this.setData({ - spinShow: false - }); - wx.stopPullDownRefresh() - if (res.code === 1) { - const re = res.response - _this.setData({ - ['queryParam.pageIndex']: re.pageNum, - tableData: override ? re.list : this.data.tableData.concat(re.list), - total: re.pages - }); - if (re.pageNum >= re.pages) { - this.setData({ - loadMoreLoad: false, - loadMoreTip: '暂无数据' - }); - } - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/index/index.json b/source/wx/xzs-student/pages/exam/index/index.json deleted file mode 100644 index c987d02..0000000 --- a/source/wx/xzs-student/pages/exam/index/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "usingComponents": { - "i-tabs": "/component/iView/tabs/index", - "i-tab": "/component/iView/tab/index", - "i-cell-group": "/component/iView/cell-group/index", - "i-cell": "/component/iView/cell/index", - "i-load-more": "/component/iView/load-more/index", - "i-button": "/component/iView/button/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - }, - "enablePullDownRefresh": true -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/index/index.wxml b/source/wx/xzs-student/pages/exam/index/index.wxml deleted file mode 100644 index 885d86b..0000000 --- a/source/wx/xzs-student/pages/exam/index/index.wxml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/index/index.wxss b/source/wx/xzs-student/pages/exam/index/index.wxss deleted file mode 100644 index 080cdf1..0000000 --- a/source/wx/xzs-student/pages/exam/index/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -.exam-tab-view { - margin-top: 42px; -} - -.xzs-load-more { - margin-top: 60px !important; -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/read/exam-fun.wxs b/source/wx/xzs-student/pages/exam/read/exam-fun.wxs deleted file mode 100644 index e69de29..0000000 diff --git a/source/wx/xzs-student/pages/exam/read/index.js b/source/wx/xzs-student/pages/exam/read/index.js deleted file mode 100644 index 7e7dc6a..0000000 --- a/source/wx/xzs-student/pages/exam/read/index.js +++ /dev/null @@ -1,59 +0,0 @@ -import { - formatSeconds, -} from '../../../utils/util.js' - -let app = getApp() -Page({ - data: { - spinShow: false, - paperId: null, - paper: {}, - answer: {}, - timer: null, - doTime: 0, - remainTime: 0, - remainTimeStr: '', - modalShow: false, - result: 0, - timeOutShow: false - }, - onLoad: function(options) { - let paperId = options.id - let _this = this - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/exampaper/answer/read/' + paperId, null) - .then(res => { - _this.setData({ - spinShow: false - }); - if (res.code === 1) { - _this.setData({ - paper: res.response.paper, - answer: res.response.answer, - paperId: paperId, - }); - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - }, - onUnload() { - clearInterval(this.data.timer) - }, - returnRecord() { - wx.reLaunch({ - url: '/pages/record/index', - }); - }, - timeOut() { - clearInterval(this.data.timer) - this.setData({ - timeOutShow: true - }); - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/read/index.json b/source/wx/xzs-student/pages/exam/read/index.json deleted file mode 100644 index dd27c4e..0000000 --- a/source/wx/xzs-student/pages/exam/read/index.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "usingComponents": { - "i-panel": "/component/iView/panel/index", - "i-cell-group": "/component/iView/cell-group/index", - "i-cell": "/component/iView/cell/index", - "i-radio-group": "/component/iView/radio-group/index", - "i-radio": "/component/iView/radio/index", - "i-row": "/component/iView/row/index", - "i-col": "/component/iView/col/index", - "i-input": "/component/iView/input/index", - "i-action-sheet": "/component/iView/action-sheet/index", - "i-modal": "/component/iView/modal/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index", - "i-rate": "/component/iView/rate/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/read/index.wxml b/source/wx/xzs-student/pages/exam/read/index.wxml deleted file mode 100644 index 426dbd0..0000000 --- a/source/wx/xzs-student/pages/exam/read/index.wxml +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - -

{{paper.name}}

-
- -

试卷得分: {{answer.score}}

-

试卷耗时: {{answer.doTime}}秒

-
- - - - - - - - - - - - - - - - - - - - - - - - - - {{inputItem.prefix}} - - - - - - - - - - - - 结果: - 正确 - 错误 - 待批改 - - 得分: {{answer.answerItems[questionItem.itemOrder-1].score}} - 分数: {{questionItem.score}} - - 难度: - - - - - - - - - - - - - - - - - -
-
\ No newline at end of file diff --git a/source/wx/xzs-student/pages/exam/read/index.wxss b/source/wx/xzs-student/pages/exam/read/index.wxss deleted file mode 100644 index 2317efb..0000000 --- a/source/wx/xzs-student/pages/exam/read/index.wxss +++ /dev/null @@ -1,134 +0,0 @@ -.exam-page { - background: white; -} - -.view-wrap { - position: fixed; - width: 100%; - background: #fff6f6; - text-align: center; - height: 35px; - z-index: 999; -} - -.view-wrap-hidden { - height: 15px; -} - -.exam-name-title { - text-align: center; - margin-top: 5px; - font-size: 20px; -} - -.exam-result { - text-align: center; - margin-top: 5px; - font-size: 15px; -} - -.exam-result-detail { - margin-left: 25px; -} - -.exam-panel-title { - margin-top: 20px; -} - -.exam-radio-item-label { - float: left; - margin-left: 10px; - line-height: 35px; -} - -.exam-item-left { - float: left; -} - -.item-content-selected { - color: #409eff; -} - -.exam-input-contain { - margin: 10px 2px !important; - border-width: 1px; - border-color: #dddee1; - border-style: solid; - width: 95%; - height: 40px; -} - -.exam-input-contain-label { - float: left; - padding: 0px 15px; - line-height: 40px; -} - -.exam-input-contain-content { - float: left; - height: 40px; -} - -.exam-textarea-contain { - margin: 10px 2px !important; - border-width: 1px; - border-color: #dddee1; - border-style: solid; - width: 100%; -} - -.exam-timeout-title { - font-size: 16px; - color: red; - margin-top: 10px; - margin-bottom: 20px; -} - -.gapfilling-span { - color: red; - padding: 0px 30px; - margin: 0px 5px; - border-bottom: 3px double red; -} - -.ueditor-p { - display: inline !important; -} - -.question-answer-result { - text-align: center; - height: 28px; - width: 60px; - line-height: 26px; - display: inline-block; -} - -.question-answer-error { - background-color: #fef0f0; - border-color: #fde2e2; - color: #f56c6c; -} - -.question-answer-right { - background-color: #f0f9eb; - border-color: #e1f3d8; - color: #67c23a; -} - -.question-answer-judge { - background-color: #fdf6ec; - border-color: #faecd8; - color: #e6a23c; -} - -.exam-clear { - clear: both; -} - -.exam-extend-item { - padding: 4px; -} - -.exam-item-rate { - line-height: 0px; -} diff --git a/source/wx/xzs-student/pages/index/index.js b/source/wx/xzs-student/pages/index/index.js deleted file mode 100644 index 6dd1d9d..0000000 --- a/source/wx/xzs-student/pages/index/index.js +++ /dev/null @@ -1,65 +0,0 @@ -//index.js -//获取应用实例 -const app = getApp() - -Page({ - data: { - spinShow: false, - fixedPaper: [], - pushPaper: [], - timeLimitPaper: [], - taskList: [] - }, - onLoad: function() { - this.setData({ - spinShow: true - }); - this.indexLoad() - }, - onPullDownRefresh() { - this.setData({ - spinShow: true - }); - if (!this.loading) { - this.indexLoad() - } - }, - indexLoad: function() { - let _this = this - app.formPost('/api/wx/student/dashboard/index', null).then(res => { - _this.setData({ - spinShow: false - }); - wx.stopPullDownRefresh() - if (res.code === 1) { - _this.setData({ - fixedPaper: res.response.fixedPaper, - timeLimitPaper: res.response.timeLimitPaper, - pushPaper: res.response.pushPaper - }); - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - - app.formPost('/api/wx/student/dashboard/task', null).then(res => { - _this.setData({ - spinShow: false - }); - wx.stopPullDownRefresh() - if (res.code === 1) { - _this.setData({ - taskList: res.response, - }); - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/index/index.json b/source/wx/xzs-student/pages/index/index.json deleted file mode 100644 index 78ca4d1..0000000 --- a/source/wx/xzs-student/pages/index/index.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "usingComponents": { - "i-panel": "/component/iView/panel/index", - "i-cell-group": "/component/iView/cell-group/index", - "i-cell": "/component/iView/cell/index", - "i-collapse": "/component/iView/collapse/index", - "i-collapse-item": "/component/iView/collapse-item/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - }, - "enablePullDownRefresh": true -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/index/index.wxml b/source/wx/xzs-student/pages/index/index.wxml deleted file mode 100644 index 059f914..0000000 --- a/source/wx/xzs-student/pages/index/index.wxml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/index/index.wxss b/source/wx/xzs-student/pages/index/index.wxss deleted file mode 100644 index e1f85c7..0000000 --- a/source/wx/xzs-student/pages/index/index.wxss +++ /dev/null @@ -1,35 +0,0 @@ -/**index.wxss**/ - -.caption-wrap { - background-color: white; - margin-top: 15px; -} - -.caption-title { - background-color: #f7f7f7; - display: block; - margin-left: 5px; -} - -.index-collapse { - font-size: 14px; - line-height: 24px; -} - -.index-collapse-item { - padding: 8px 15px !important; - border: 0px !important; -} - -.slide-image { - width: 100%; - height: 150px; -} - -.index-cell { - padding: 5px 15px !important; -} - -p{ - display: none; -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/index/index.js b/source/wx/xzs-student/pages/my/index/index.js deleted file mode 100644 index ef47816..0000000 --- a/source/wx/xzs-student/pages/my/index/index.js +++ /dev/null @@ -1,54 +0,0 @@ -const app = getApp() -Page({ - data: { - spinShow: false, - info: {} - }, - - onLoad: function(options) { - this.loadUserInfo() - }, - loadUserInfo() { - let _this = this - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/user/current', null).then(res => { - if (res.code == 1) { - _this.setData({ - info: res.response - }); - } - _this.setData({ - spinShow: false - }); - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - }, - logOut() { - let _this = this - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/auth/unBind', null).then(res => { - if (res.code == 1) { - wx.setStorageSync('token', '') - wx.reLaunch({ - url: '/pages/user/bind/index', - }); - } - _this.setData({ - spinShow: false - }); - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/index/index.json b/source/wx/xzs-student/pages/my/index/index.json deleted file mode 100644 index 32db9d1..0000000 --- a/source/wx/xzs-student/pages/my/index/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "usingComponents": { - "i-cell-group": "/component/iView/cell-group/index", - "i-cell": "/component/iView/cell/index", - "i-icon": "/component/iView/icon/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/index/index.wxml b/source/wx/xzs-student/pages/my/index/index.wxml deleted file mode 100644 index a00b3ed..0000000 --- a/source/wx/xzs-student/pages/my/index/index.wxml +++ /dev/null @@ -1,46 +0,0 @@ - - - - {{info.userName}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -武汉思维跳跃科技有限公司 提供技术支持 - - - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/index/index.wxss b/source/wx/xzs-student/pages/my/index/index.wxss deleted file mode 100644 index 66464c6..0000000 --- a/source/wx/xzs-student/pages/my/index/index.wxss +++ /dev/null @@ -1,32 +0,0 @@ -/**index.wxss**/ - -.userinfo { - display: flex; - flex-direction: row; - align-items: center; - background: #598ce4; - height: 100px; -} - -.userinfo-avatar { - width: 48px; - height: 48px; - margin-left: 30px; -} - -.userinfo-nickname { - color: white; - margin-left: 20px; -} - - -.my-group-margin{ - margin-top: 10px; -} - -.copyright{ - color: #8c8c8c; - text-align: center; - margin-top: 20px; - font-size: 14px; -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/info/index.js b/source/wx/xzs-student/pages/my/info/index.js deleted file mode 100644 index e9bb18f..0000000 --- a/source/wx/xzs-student/pages/my/info/index.js +++ /dev/null @@ -1,68 +0,0 @@ -// pages/user/info/index.js -const app = getApp() -Page({ - data: { - userInfo: null, - spinShow: false, - levelIndex: 0 - }, - onLoad: function(options) { - this.loadUserInfo() - }, - loadUserInfo() { - let _this = this - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/user/current', null).then(res => { - if (res.code == 1) { - _this.setData({ - userInfo: res.response, - levelIndex: res.response.userLevel-1 - }); - } - _this.setData({ - spinShow: false - }); - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - }, - bindLevelChange: function(e) { - this.setData({ - levelIndex: e.detail.value - }) - }, - bindDateChange(e) { - let { - value - } = e.detail; - this.setData({ - "userInfo.birthDay": value - }) - }, - formSubmit: function(e) { - let _this = this - wx.showLoading({ - title: '提交中', - mask: true - }) - app.formPost('/api/wx/student/user/update', e.detail.value) - .then(res => { - if (res.code == 1) { - wx.reLaunch({ - url: '/pages/my/index/index', - }); - } else { - app.message(res.message, 'error') - } - wx.hideLoading() - }).catch(e => { - app.message(e, 'error') - wx.hideLoading() - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/info/index.json b/source/wx/xzs-student/pages/my/info/index.json deleted file mode 100644 index e79f0a5..0000000 --- a/source/wx/xzs-student/pages/my/info/index.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "usingComponents": { - "i-button": "/component/iView/button/index", - "i-panel": "/component/iView/panel/index", - "i-input": "/component/iView/input/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index", - "i-radio-group": "/component/iView/radio-group/index", - "i-radio": "/component/iView/radio/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/info/index.wxml b/source/wx/xzs-student/pages/my/info/index.wxml deleted file mode 100644 index 243f965..0000000 --- a/source/wx/xzs-student/pages/my/info/index.wxml +++ /dev/null @@ -1,40 +0,0 @@ - - -
- - - - - - - - - - - - - - {{ userInfo.birthDay }} - - - - - - - - - {{ enumItem.state.user.levelEnum[levelIndex].value }} - - - - - - - -
- - - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/info/index.wxss b/source/wx/xzs-student/pages/my/info/index.wxss deleted file mode 100644 index 7629cc0..0000000 --- a/source/wx/xzs-student/pages/my/info/index.wxss +++ /dev/null @@ -1,18 +0,0 @@ -.my-info-sex { - height: 45px; - font-size: 13px; -} - -.my-info-sex-item { - line-height: 45px; - margin-left: 20px; -} - -.my-info-level { - font-size: 13px; -} - -.my-info-level-item { - line-height: 45px; - margin-left: 25px; -} diff --git a/source/wx/xzs-student/pages/my/log/index.js b/source/wx/xzs-student/pages/my/log/index.js deleted file mode 100644 index 0138dd8..0000000 --- a/source/wx/xzs-student/pages/my/log/index.js +++ /dev/null @@ -1,32 +0,0 @@ -const app = getApp() -Page({ - data: { - logList: null, - len: 0 - }, - onLoad: function(options) { - this.search(); - }, - search: function() { - let _this = this - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/user/log', null).then(res => { - _this.setData({ - spinShow: false - }); - if (res.code === 1) { - _this.setData({ - logList: res.response, - len: res.response.length - }); - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/log/index.json b/source/wx/xzs-student/pages/my/log/index.json deleted file mode 100644 index da6a15a..0000000 --- a/source/wx/xzs-student/pages/my/log/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "usingComponents": { - "i-steps": "/component/iView/steps/index", - "i-step": "/component/iView/step/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index", - "i-panel": "/component/iView/panel/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/log/index.wxml b/source/wx/xzs-student/pages/my/log/index.wxml deleted file mode 100644 index a9e73c0..0000000 --- a/source/wx/xzs-student/pages/my/log/index.wxml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - {{item.createTime}} - - - {{item.content}} - - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/log/index.wxss b/source/wx/xzs-student/pages/my/log/index.wxss deleted file mode 100644 index 859159c..0000000 --- a/source/wx/xzs-student/pages/my/log/index.wxss +++ /dev/null @@ -1,24 +0,0 @@ -/* pages/user/log/index.wxss */ -@import '/component/iView/steps/index.wxss'; -@import '/component/iView/step/index.wxss'; - -.i-step-ico { - background: #fff !important; - box-sizing: border-box !important; -} - -.i-step-item-title { - font-size: 12px; - font-weight: 400 !important; -} - -.i-step-item-content { - font-size: 12px; - font-weight: 400 !important; -} - -.user-log-page { - background: #fff; - padding: 5px; - padding-top: 10px; -} diff --git a/source/wx/xzs-student/pages/my/message/info/index.js b/source/wx/xzs-student/pages/my/message/info/index.js deleted file mode 100644 index 8feb7de..0000000 --- a/source/wx/xzs-student/pages/my/message/info/index.js +++ /dev/null @@ -1,79 +0,0 @@ -const app = getApp() -Page({ - data: { - message: null - }, - - onLoad: function(options) { - let msgId = options.id; - let _this = this - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/user/message/detail/' + msgId, null).then(res => { - _this.setData({ - spinShow: false - }); - if (res.code === 1) { - _this.setData({ - message: res.response, - }); - app.formPost('/api/wx/student/user/message/read/' + msgId, null); - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - }, - - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function() { - - }, - - /** - * 生命周期函数--监听页面显示 - */ - onShow: function() { - - }, - - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function() { - - }, - - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function() { - - }, - - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function() { - - }, - - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom: function() { - - }, - - /** - * 用户点击右上角分享 - */ - onShareAppMessage: function() { - - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/message/info/index.json b/source/wx/xzs-student/pages/my/message/info/index.json deleted file mode 100644 index 90cee21..0000000 --- a/source/wx/xzs-student/pages/my/message/info/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "usingComponents": { - "i-panel": "/component/iView/panel/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/message/info/index.wxml b/source/wx/xzs-student/pages/my/message/info/index.wxml deleted file mode 100644 index 8f9985d..0000000 --- a/source/wx/xzs-student/pages/my/message/info/index.wxml +++ /dev/null @@ -1,19 +0,0 @@ - - -

{{message.title}}

-
- - -

发送人:{{message.sendUserName}}

-
- -

发送时间:{{message.createTime}}

-
- -

发送内容:{{message.content}}

-
- - - -
-
\ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/message/info/index.wxss b/source/wx/xzs-student/pages/my/message/info/index.wxss deleted file mode 100644 index 30aa817..0000000 --- a/source/wx/xzs-student/pages/my/message/info/index.wxss +++ /dev/null @@ -1,16 +0,0 @@ -.msg-page { - background: white; - width: 100%; - height: 100%; - padding: 10px 0px; -} - -.msg-title { - text-align: center; - font-size: 14px; -} - -.msg-content { - padding: 8px 15px; - font-size: 14px; -} diff --git a/source/wx/xzs-student/pages/my/message/list/index.js b/source/wx/xzs-student/pages/my/message/list/index.js deleted file mode 100644 index 61b6666..0000000 --- a/source/wx/xzs-student/pages/my/message/list/index.js +++ /dev/null @@ -1,72 +0,0 @@ -const app = getApp() -Page({ - data: { - spinShow: false, - loadMoreLoad: false, - loadMoreTip: '暂无数据', - queryParam: { - pageIndex: 1, - pageSize: app.globalData.pageSize - }, - tableData: [], - total: 1 - }, - onLoad: function(options) { - this.setData({ - spinShow: true - }); - this.search(true); - }, - onPullDownRefresh() { - this.setData({ - spinShow: true - }); - if (!this.loading) { - this.setData({ - ['queryParam.pageIndex']: 1 - }); - this.search(true) - } - }, - onReachBottom() { - if (!this.loading && this.data.queryParam.pageIndex < this.data.total) { - this.setData({ - loadMoreLoad: true, - loadMoreTip: '正在加载' - }); - this.setData({ - ['queryParam.pageIndex']: this.data.queryParam.pageIndex + 1 - }); - this.search(false) - } - }, - search: function(override) { - let _this = this - app.formPost('/api/wx/student/user/message/page', this.data.queryParam).then(res => { - _this.setData({ - spinShow: false - }); - wx.stopPullDownRefresh() - if (res.code === 1) { - const re = res.response - _this.setData({ - ['queryParam.pageIndex']: re.pageNum, - tableData: override ? re.list : this.data.tableData.concat(re.list), - total: re.pages - }); - - if (re.pageNum >= re.pages) { - this.setData({ - loadMoreLoad: false, - loadMoreTip: '暂无数据' - }); - } - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/message/list/index.json b/source/wx/xzs-student/pages/my/message/list/index.json deleted file mode 100644 index b50e013..0000000 --- a/source/wx/xzs-student/pages/my/message/list/index.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "usingComponents": { - "i-cell-group": "/component/iView/cell-group/index", - "i-cell": "/component/iView/cell/index", - "i-load-more": "/component/iView/load-more/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - }, - "enablePullDownRefresh": true -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/message/list/index.wxml b/source/wx/xzs-student/pages/my/message/list/index.wxml deleted file mode 100644 index f1050e1..0000000 --- a/source/wx/xzs-student/pages/my/message/list/index.wxml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/my/message/list/index.wxss b/source/wx/xzs-student/pages/my/message/list/index.wxss deleted file mode 100644 index d46aba1..0000000 --- a/source/wx/xzs-student/pages/my/message/list/index.wxss +++ /dev/null @@ -1 +0,0 @@ -/* pages/user/message/index.wxss */ \ No newline at end of file diff --git a/source/wx/xzs-student/pages/record/index.js b/source/wx/xzs-student/pages/record/index.js deleted file mode 100644 index ce08d93..0000000 --- a/source/wx/xzs-student/pages/record/index.js +++ /dev/null @@ -1,73 +0,0 @@ -// pages/exam/index/index.js -let app = getApp() -Page({ - data: { - spinShow: false, - loadMoreLoad: false, - loadMoreTip: '暂无数据', - queryParam: { - pageIndex: 1, - pageSize: app.globalData.pageSize - }, - tableData: [], - total: 1 - }, - onLoad: function(options) { - this.setData({ - spinShow: true - }); - this.search(true) - }, - onPullDownRefresh() { - this.setData({ - spinShow: true - }); - if (!this.loading) { - this.setData({ - ['queryParam.pageIndex']: 1 - }); - this.search(true) - } - }, - onReachBottom() { - if (!this.loading && this.data.queryParam.pageIndex < this.data.total) { - this.setData({ - loadMoreLoad: true, - loadMoreTip: '正在加载' - }); - this.setData({ - ['queryParam.pageIndex']: this.data.queryParam.pageIndex + 1 - }); - this.search(false) - } - }, - search: function(override) { - let _this = this - app.formPost('/api/wx/student/exampaper/answer/pageList', this.data.queryParam) - .then(res => { - _this.setData({ - spinShow: false - }); - wx.stopPullDownRefresh() - if (res.code === 1) { - const re = res.response - _this.setData({ - ['queryParam.pageIndex']: re.pageNum, - tableData: override ? re.list : this.data.tableData.concat(re.list), - total: re.pages - }); - if (re.pageNum >= re.pages) { - this.setData({ - loadMoreLoad: false, - loadMoreTip: '暂无数据' - }); - } - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/record/index.json b/source/wx/xzs-student/pages/record/index.json deleted file mode 100644 index c987d02..0000000 --- a/source/wx/xzs-student/pages/record/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "usingComponents": { - "i-tabs": "/component/iView/tabs/index", - "i-tab": "/component/iView/tab/index", - "i-cell-group": "/component/iView/cell-group/index", - "i-cell": "/component/iView/cell/index", - "i-load-more": "/component/iView/load-more/index", - "i-button": "/component/iView/button/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - }, - "enablePullDownRefresh": true -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/record/index.wxml b/source/wx/xzs-student/pages/record/index.wxml deleted file mode 100644 index bbb18ba..0000000 --- a/source/wx/xzs-student/pages/record/index.wxml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/record/index.wxss b/source/wx/xzs-student/pages/record/index.wxss deleted file mode 100644 index 2b5f480..0000000 --- a/source/wx/xzs-student/pages/record/index.wxss +++ /dev/null @@ -1 +0,0 @@ -/* pages/exam/index/index.wxss */ \ No newline at end of file diff --git a/source/wx/xzs-student/pages/user/bind/index.js b/source/wx/xzs-student/pages/user/bind/index.js deleted file mode 100644 index 9dcb6d5..0000000 --- a/source/wx/xzs-student/pages/user/bind/index.js +++ /dev/null @@ -1,47 +0,0 @@ -const app = getApp() -Page({ - data: { - spinShow: false, - userName: '', - password: '', - }, - formSubmit: function(e) { - let _this = this - _this.setData({ - spinShow: true - }); - wx.login({ - success(wxres) { - if (wxres.code) { - e.detail.value.code = wxres.code - app.formPost('/api/wx/student/auth/bind', e.detail.value) - .then(res => { - _this.setData({ - spinShow: false - }); - if (res.code == 1) { - wx.setStorageSync('token', res.response) - wx.reLaunch({ - url: '/pages/index/index', - }); - } else { - app.message(res.message, 'error') - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } else { - app.message(res.errMsg, 'error') - } - } - }) - }, - register: function(e) { - wx.navigateTo({ - url: "../register/index" - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/user/bind/index.json b/source/wx/xzs-student/pages/user/bind/index.json deleted file mode 100644 index f3c0078..0000000 --- a/source/wx/xzs-student/pages/user/bind/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "usingComponents": { - "i-button": "/component/iView/button/index", - "i-panel": "/component/iView/panel/index", - "i-input": "/component/iView/input/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/pages/user/bind/index.wxml b/source/wx/xzs-student/pages/user/bind/index.wxml deleted file mode 100644 index 0402b55..0000000 --- a/source/wx/xzs-student/pages/user/bind/index.wxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - -
- - - - - - - - - - - - - 学之思是一款学校考试系统,仅供学校内部学生使用,需要提供账号密码。没有账号? - 马上注册 - - -
- - diff --git a/source/wx/xzs-student/pages/user/bind/index.wxss b/source/wx/xzs-student/pages/user/bind/index.wxss deleted file mode 100644 index 667bba2..0000000 --- a/source/wx/xzs-student/pages/user/bind/index.wxss +++ /dev/null @@ -1,7 +0,0 @@ -/* pages/user/bind/index.wxss */ - -.card-image-container { - align-items: center; - display: flex; - justify-content: center; -} diff --git a/source/wx/xzs-student/pages/user/register/index.js b/source/wx/xzs-student/pages/user/register/index.js deleted file mode 100644 index c4e5312..0000000 --- a/source/wx/xzs-student/pages/user/register/index.js +++ /dev/null @@ -1,48 +0,0 @@ -const app = getApp() -Page({ - data: { - levelIndex: 0 - }, - bindLevelChange: function (e) { - this.setData({ - levelIndex: e.detail.value - }) - }, - formSubmit: function(e) { - let _this = this; - let form = e.detail.value - if (form.userName == null || form.userName == '') { - app.message('用户名不能为空', 'error'); - return; - } - if (form.password == null || form.password == '') { - app.message('密码不能为空', 'error'); - return; - } - if (form.userLevel == null || form.userLevel == '') { - app.message('年级不能为空', 'error'); - return; - } - _this.setData({ - spinShow: true - }); - app.formPost('/api/wx/student/user/register', form) - .then(res => { - _this.setData({ - spinShow: false - }); - if (res.code == 1) { - wx.reLaunch({ - url: '/pages/user/bind/index', - }); - } else { - app.message(res.message, 'error') - } - }).catch(e => { - _this.setData({ - spinShow: false - }); - app.message(e, 'error') - }) - } -}) \ No newline at end of file diff --git a/source/wx/xzs-student/pages/user/register/index.json b/source/wx/xzs-student/pages/user/register/index.json deleted file mode 100644 index 36b1f3a..0000000 --- a/source/wx/xzs-student/pages/user/register/index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "usingComponents": { - "i-button": "/component/iView/button/index", - "i-panel": "/component/iView/panel/index", - "i-input": "/component/iView/input/index", - "i-message": "/component/iView/message/index", - "i-spin": "/component/iView/spin/index" - } -} diff --git a/source/wx/xzs-student/pages/user/register/index.wxml b/source/wx/xzs-student/pages/user/register/index.wxml deleted file mode 100644 index 25588f2..0000000 --- a/source/wx/xzs-student/pages/user/register/index.wxml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -
- - - - - - - - - - {{ enumItem.state.user.levelEnum[levelIndex].value }} - - - - - - - -
- - \ No newline at end of file diff --git a/source/wx/xzs-student/pages/user/register/index.wxss b/source/wx/xzs-student/pages/user/register/index.wxss deleted file mode 100644 index 52e26f5..0000000 --- a/source/wx/xzs-student/pages/user/register/index.wxss +++ /dev/null @@ -1,17 +0,0 @@ -/* pages/user/register/index.wxss */ - -.card-image-container { - align-items: center; - display: flex; - justify-content: center; -} - - -.register-level { - font-size: 13px; -} - -.register-level-item { - line-height: 45px; - margin-left: 25px; -} diff --git a/source/wx/xzs-student/project.config.json b/source/wx/xzs-student/project.config.json deleted file mode 100644 index 1c03f62..0000000 --- a/source/wx/xzs-student/project.config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "description": "Project configuration file", - "packOptions": { - "ignore": [] - }, - "setting": { - "urlCheck": false, - "scopeDataCheck": false, - "coverView": true, - "es6": true, - "postcss": true, - "compileHotReLoad": false, - "preloadBackgroundData": false, - "minified": true, - "autoAudits": false, - "newFeature": true, - "uglifyFileName": false, - "uploadWithSourceMap": true, - "useIsolateContext": true, - "nodeModules": false, - "enhance": false, - "useCompilerModule": false, - "userConfirmedUseCompilerModuleSwitch": false, - "showShadowRootInWxmlPanel": true, - "checkInvalidKey": true, - "checkSiteMap": true, - "babelSetting": { - "ignore": [], - "disablePlugins": [], - "outputPath": "" - } - }, - "compileType": "miniprogram", - "libVersion": "2.8.0", - "appid": "wx331caa8de055fe0d", - "projectname": "xzs-student", - "debugOptions": { - "hidedInDevtools": [] - }, - "isGameTourist": false, - "simulatorType": "wechat", - "simulatorPluginLibVersion": {}, - "condition": { - "search": { - "current": -1, - "list": [] - }, - "conversation": { - "current": -1, - "list": [] - }, - "plugin": { - "current": -1, - "list": [] - }, - "game": { - "currentL": -1, - "list": [] - }, - "miniprogram": { - "current": -1, - "list": [] - } - } -} \ No newline at end of file diff --git a/source/wx/xzs-student/sitemap.json b/source/wx/xzs-student/sitemap.json deleted file mode 100644 index 666b2d9..0000000 --- a/source/wx/xzs-student/sitemap.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "desc": "学之思系统小程序", - "rules": [{ - "action": "allow", - "page": "*" - }] -} \ No newline at end of file diff --git a/source/wx/xzs-student/utils/mtj-wx-sdk.config.js b/source/wx/xzs-student/utils/mtj-wx-sdk.config.js deleted file mode 100644 index 9c45ae0..0000000 --- a/source/wx/xzs-student/utils/mtj-wx-sdk.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - appKey: '9abd2dfe51', - hasPlugin: false, - getLocation: false -}; \ No newline at end of file diff --git a/source/wx/xzs-student/utils/mtj-wx-sdk.js b/source/wx/xzs-student/utils/mtj-wx-sdk.js deleted file mode 100644 index 9dc13ee..0000000 --- a/source/wx/xzs-student/utils/mtj-wx-sdk.js +++ /dev/null @@ -1 +0,0 @@ -var mtjwxsdk=function(e){"use strict";var o,t,g={logServerUrl:"https://hmma.baidu.com/mini.gif",maxRequestRetryCount:5,requestRetryFirstDelay:1e3,requestRetryMultiple:4,maxRequestDataLength:204800,maxUserPropertyCount:100,maxUserPropertyKeyValueLength:256,maxUint8:255,maxUint32:4294967295,enabledEvents:{app:["onShow","onHide","onError"],page:["onShow","onHide"]},storageKeys:{uuid:"mtj_uuid",userInfo:"mtj_user",userProperty:"mtj_user_property",shareCount:"mtj_scnt"}},p={type:1},h={aso:{}},r=function(){return"undefined"!=typeof crypto&&crypto.getRandomValues?crypto.getRandomValues(new Uint32Array(1))[0]:Math.floor(Math.random()*g.maxUint32)},a=function(e,t){return"[object "+t+"]"==={}.toString.call(e)},n=function n(r){return(a(r,"Object")||a(r,"Array"))&&Object.keys(r).forEach(function(e){var t=r[e];a(t,"Object")||a(t,"Array")?r[e]=n(t):r[e]=""+t}),r},u=function(e){return a(e,"String")&&/^\d{11}$/.test(e)},i=function(e){return a(e,"String")&&28===e.length},s=0,c=function(r){return new Promise(function(t,n){if(r.data=r.data||{},r.data.v="1.8.14",r.data.rqc=++s,e=r.data,!(JSON.stringify(e).length<=g.maxRequestDataLength))return s--,n(new Error("invalid data"));var e;r.success=function(e){return t(e)},r.fail=function(e){return n(e)},function t(n){var r=1>e/4).toString(16)}),m(g.storageKeys.uuid,e)),e})},v=function(){return t||(p.sid=r(),p.rqc=0,t=Promise.all([l(),new Promise(function(t){o.getSystemInfo({success:function(e){delete e.errMsg,t(e)},fail:function(){t({})}})}),new Promise(function(t){o.getNetworkType({success:function(e){delete e.errMsg,t(e)},fail:function(){t({})}})}),Promise.resolve().then(function(){var e=y(g.storageKeys.userInfo),n=a(e,"Object")?e:{};return new Promise(function(t){o.getSetting({success:function(e){e.authSetting&&e.authSetting["scope.userInfo"]?o.getUserInfo({success:function(e){delete e.userInfo.errMsg,t(Object.assign(n,e.userInfo))},fail:function(){t(n)}}):t(n)},fail:function(){t(n)}})})}),new Promise(function(t){if(!g.getLocation)return t({});o.getLocation({type:"wgs84",success:function(e){delete e.errMsg,t(e)},fail:function(){t({})}})}),Promise.resolve().then(function(){var e=y(g.storageKeys.userProperty);return a(e,"Object")?e:{}})]).then(function(e){p.uuid=e[0],h.system=n(e[1]),h.network=n(e[2]),0g.maxUserPropertyKeyValueLength||(""+t).length>g.maxUserPropertyKeyValueLength||!n[e]&&r>=g.maxUserPropertyCount||(n[e]||r++,n[e]=[t,"1"]))}),m(g.storageKeys.userProperty,n),h.userProperty=JSON.stringify(n)})}},O=App,I=Page,k=function(e,t,n){var r=t[e];t[e]=function(e){n.call(this,e),r&&r.call(this,e)}},w=function(t){g.enabledEvents.app.forEach(function(e){k(e,t,j[e])}),t.mtj=P,O(t)},U=function(a){g.enabledEvents.page.forEach(function(e){k(e,a,b[e])}),["onShareAppMessage"].forEach(function(e){var t,n,r,o;r=b[t=e],o=(n=a)[t],n[t]=function(e){var t=o&&o.call(this,e);return r.call(this,e,t)}}),I(a)},x=function(){var e,t;e=wx,o=e;try{t=require("./mtj-wx-sdk.config")}catch(e){return void console.error("请把mtj-wx-sdk.config.js文件拷贝到utils目录中")}t&&t.appKey?(p.key=t.appKey,g.getLocation=t.getLocation||!1,t.hasPlugin?module.exports={App:w,Page:U}:(App=w,Page=U)):console.error("请设置mtj-wx-sdk.config.js文件中的appKey字段")};return x(),e.init=x,e}({}); diff --git a/source/wx/xzs-student/utils/util.js b/source/wx/xzs-student/utils/util.js deleted file mode 100644 index 52b58c8..0000000 --- a/source/wx/xzs-student/utils/util.js +++ /dev/null @@ -1,41 +0,0 @@ -const formatTime = date => { - const year = date.getFullYear() - const month = date.getMonth() + 1 - const day = date.getDate() - const hour = date.getHours() - const minute = date.getMinutes() - const second = date.getSeconds() - - return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':') -} - -const formatNumber = n => { - n = n.toString() - return n[1] ? n : '0' + n -} - - -const formatSeconds = theTime => { - let theTime1 = 0 - let theTime2 = 0 - if (theTime > 60) { - theTime1 = parseInt(theTime / 60) - theTime = parseInt(theTime % 60) - if (theTime1 > 60) { - theTime2 = parseInt(theTime1 / 60) - theTime1 = parseInt(theTime1 % 60) - } - } - let result = '' + parseInt(theTime) + '秒' - if (theTime1 > 0) { - result = '' + parseInt(theTime1) + '分' + result - } - if (theTime2 > 0) { - result = '' + parseInt(theTime2) + '小时' + result - } - return result -} -module.exports = { - formatSeconds: formatSeconds, - formatTime: formatTime -} \ No newline at end of file diff --git a/source/wx/xzs-student/wxs/enumItem.wxs b/source/wx/xzs-student/wxs/enumItem.wxs deleted file mode 100644 index 9189076..0000000 --- a/source/wx/xzs-student/wxs/enumItem.wxs +++ /dev/null @@ -1,45 +0,0 @@ -var state = { - user: { - sexEnum: [{ key: 1, value: '男' }, { key: 2, value: '女' }], - levelEnum: [{ key: 1, value: '一年级' }, { key: 2, value: '二年级' }, { key: 3, value: '三年级' }, { key: 4, value: '四年级' }, { key: 5, value: '五年级' }, { key: 6, value: '六年级' }, - { key: 7, value: '初一' }, { key: 8, value: '初二' }, { key: 9, value: '初三' }, - { key: 10, value: '高一' }, { key: 11, value: '高二' }, { key: 12, value: '高三' }], - roleEnum: [{ key: 1, value: '学生' }, { key: 2, value: '教师' }, { key: 3, value: '管理员' }], - message: { - readTag: [{ key: true, value: 'success' }, { key: false, value: 'warning' }], - readText: [{ key: true, value: '已读' }, { key: false, value: '未读' }] - } - }, - exam: { - examPaper: { - paperTypeEnum: [{ key: 1, value: '固定试卷' }, { key: 4, value: '时段试卷' }] - }, - examPaperAnswer: { - statusEnum: [{ key: 1, value: '待批改' }, { key: 2, value: '完成' }], - statusTag: [{ key: 1, value: 'warning' }, { key: 2, value: 'success' }] - }, - question: { - typeEnum: [{ key: 1, value: '单选题' }, { key: 2, value: '多选题' }, { key: 3, value: '判断题' }, { key: 4, value: '填空题' }, { key: 5, value: '简答题' }], - answer: { - doRightTag: [{ key: true, value: 'success' }, { key: false, value: 'danger' }, { key: null, value: 'warning' }], - doRightEnum: [{ key: true, value: '正确' }, { key: false, value: '错误' }, { key: null, value: '待批改' }], - doCompletedTag: [{ key: false, value: 'info' }, { key: true, value: 'success' }] - } - } - } -} - -function format(array, key) { - for (var i = 0; i < array.length; i++) { - var item=array[i] - if (item.key === key) { - return item.value - } - } - return null -} - -module.exports = { - state: state, - format: format -} \ No newline at end of file diff --git a/source/wx/xzs-student/wxs/exam-fun.wxs b/source/wx/xzs-student/wxs/exam-fun.wxs deleted file mode 100644 index 8d33292..0000000 --- a/source/wx/xzs-student/wxs/exam-fun.wxs +++ /dev/null @@ -1,31 +0,0 @@ -// 支持es4语法 -var filter = { - numberToFixed: function(value) { - return value.toFixed(2); - }, - trueFalseFormatter: function(question) { - for (var i = 0; i < question.items.length; i++) { - if (question.items[i].prefix === question.correct) { - return question.items[i].content; - } - } - return ''; - }, - indexOf: function(arg1, arg2) { - return arg1.toString().indexOf(arg2.toString()) > -1 ? true : false; - }, - numberToArray: function(number) { - var array = []; - for (var i = 0; i < number; i++) { - array.push(i); - } - return array; - }, -} -// 导出对外暴露的属性 -module.exports = { - numberToFixed: filter.numberToFixed, - trueFalseFormatter: filter.trueFalseFormatter, - indexOf: filter.indexOf, - numberToArray: filter.numberToArray, -} \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/index.html b/source/xzs/src/main/resources/static/student/index.html index 7c6f185..77e34d5 100644 --- a/source/xzs/src/main/resources/static/student/index.html +++ b/source/xzs/src/main/resources/static/student/index.html @@ -14,4 +14,4 @@ hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9' var s = document.getElementsByTagName('script')[0] s.parentNode.insertBefore(hm, s) - })()
\ No newline at end of file + })()
\ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-00a370fd.48d990cb.js b/source/xzs/src/main/resources/static/student/static/js/chunk-00a370fd.df9ff7d8.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-00a370fd.48d990cb.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-00a370fd.df9ff7d8.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-038d4306.9219eefd.js b/source/xzs/src/main/resources/static/student/static/js/chunk-038d4306.39eac6d1.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-038d4306.9219eefd.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-038d4306.39eac6d1.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-096af9f1.dc3deb78.js b/source/xzs/src/main/resources/static/student/static/js/chunk-096af9f1.36c631e9.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-096af9f1.dc3deb78.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-096af9f1.36c631e9.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-2d20f362.c54764e7.js b/source/xzs/src/main/resources/static/student/static/js/chunk-2d20f362.83d4e41b.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-2d20f362.c54764e7.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-2d20f362.83d4e41b.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-5454b879.5eec7ec0.js b/source/xzs/src/main/resources/static/student/static/js/chunk-5454b879.591acb43.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-5454b879.5eec7ec0.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-5454b879.591acb43.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-5e362585.932fb50c.js b/source/xzs/src/main/resources/static/student/static/js/chunk-5e362585.73db4ed8.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-5e362585.932fb50c.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-5e362585.73db4ed8.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-77ccc064.454d54ed.js b/source/xzs/src/main/resources/static/student/static/js/chunk-77ccc064.fa5257ac.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-77ccc064.454d54ed.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-77ccc064.fa5257ac.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-7aa4492c.fa227850.js b/source/xzs/src/main/resources/static/student/static/js/chunk-7aa4492c.fd2c24a4.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-7aa4492c.fa227850.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-7aa4492c.fd2c24a4.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-889ecf22.8a087f12.js b/source/xzs/src/main/resources/static/student/static/js/chunk-889ecf22.8873b41b.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-889ecf22.8a087f12.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-889ecf22.8873b41b.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-8ea99dc6.1e6aae2b.js b/source/xzs/src/main/resources/static/student/static/js/chunk-8ea99dc6.4a929e82.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-8ea99dc6.1e6aae2b.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-8ea99dc6.4a929e82.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-b917c4bc.dd3313f4.js b/source/xzs/src/main/resources/static/student/static/js/chunk-b917c4bc.79333483.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-b917c4bc.dd3313f4.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-b917c4bc.79333483.js diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-bd32f434.4bc98b3d.js b/source/xzs/src/main/resources/static/student/static/js/chunk-bd32f434.f7d614e4.js similarity index 100% rename from source/xzs/src/main/resources/static/student/static/js/chunk-bd32f434.4bc98b3d.js rename to source/xzs/src/main/resources/static/student/static/js/chunk-bd32f434.f7d614e4.js diff --git a/source/xzs/src/main/resources/static/student/static/js/index.586e1b23.js b/source/xzs/src/main/resources/static/student/static/js/index.586e1b23.js new file mode 100644 index 0000000..76ee508 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/index.586e1b23.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var a,c,i=t[0],r=t[1],u=t[2],l=0,d=[];l'});s.a.add(i);t["default"]=i},"0f9a":function(e,t,n){"use strict";n.r(t);var a=n("a78e"),c=n.n(a),o=n("c24f"),s={userName:c.a.get("studentUserName"),userInfo:c.a.get("studentUserInfo"),imagePath:c.a.get("studentImagePath"),messageCount:0},i={initUserInfo:function(e){var t=e.commit;o["a"].getCurrentUser().then((function(e){t("setUserInfo",e.response)}))},getUserMessageInfo:function(e){var t=e.commit;o["a"].getMessageCount().then((function(e){t("setMessageCount",e.response)}))}},r={setUserName:function(e,t){e.userName=t,c.a.set("studentUserName",t,{expires:30})},setUserInfo:function(e,t){e.userInfo=t,c.a.set("studentUserInfo",t,{expires:30})},setImagePath:function(e,t){e.imagePath=t,c.a.set("studentImagePath",t,{expires:30})},setMessageCount:function(e,t){e.messageCount=t},messageCountSubtract:function(e,t){e.messageCount=e.messageCount-t},clearLogin:function(e){c.a.remove("studentUserName"),c.a.remove("studentUserInfo"),c.a.remove("studentImagePath")}};t["default"]={namespaced:!0,state:s,mutations:r,actions:i}},1195:function(e,t,n){e.exports=n.p+"static/img/avatar.37c3ea6b.png"},"12a5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1696:function(e,t,n){"use strict";var a=n("c12b"),c=n.n(a);c.a},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"28c9":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-gitee",use:"icon-gitee-usage",viewBox:"0 0 90 90",content:'\r\n \r\n'});s.a.add(i);t["default"]=i},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"2a4f":function(e,t,n){"use strict";var a=n("8da3"),c=n.n(a);c.a},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(i);t["default"]=i},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"51ff":function(e,t,n){var a={"./404.svg":"a14a","./bug.svg":"1779","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./dashboard.svg":"f782","./documentation.svg":"90fb","./drag.svg":"9bbf","./edit.svg":"aa46","./education.svg":"ad1c","./email.svg":"cbb7","./exam.svg":"a978","./example.svg":"30c3","./excel.svg":"6599","./exit-fullscreen.svg":"dbc7","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./fullscreen.svg":"9921","./gitee.svg":"28c9","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./message.svg":"47ff","./money.svg":"3046","./nested.svg":"dcf8","./password.svg":"2a3d","./pdf.svg":"f9a1","./people.svg":"d056","./peoples.svg":"2f11","./qq.svg":"1430","./question.svg":"ae00","./search.svg":"8e8d","./shopping.svg":"12a5","./size.svg":"8644","./skill.svg":"096e","./social-github.svg":"6002","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),c=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view"),n("back-to-top",{ref:"backTop",attrs:{"visibility-height":100,"back-position":0,"transition-name":"fade"}})],1)},s=[],i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.transitionName}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"back-to-ceiling",on:{click:e.backToTop}},[n("svg",{staticClass:"Icon Icon--backToTopArrow",staticStyle:{height:"16px",width:"16px"},attrs:{width:"16",height:"16",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"}},[n("path",{attrs:{d:"M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z"}})])])])},r=[],u=(n("a9e3"),{name:"BackToTop",props:{visibilityHeight:{type:Number,default:400},backPosition:{type:Number,default:0},customStyle:{type:Object,default:function(){return{right:"20px",bottom:"20px",width:"30px",height:"30px","border-radius":"4px","line-height":"35px",background:"#e7eaf1"}}},transitionName:{type:String,default:"fade"}},data:function(){return{visible:!1,interval:null,isMoving:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll),this.interval&&clearInterval(this.interval)},methods:{handleScroll:function(){this.visible=window.pageYOffset>this.visibilityHeight},backToTop:function(){var e=this;if(!this.isMoving){var t=window.pageYOffset,n=0;this.isMoving=!0,this.interval=setInterval((function(){var a=Math.floor(e.easeInOutQuad(10*n,t,-t,500));a<=e.backPosition?(window.scrollTo(0,e.backPosition),clearInterval(e.interval),e.isMoving=!1):window.scrollTo(0,a),n++}),5)}},easeInOutQuad:function(e,t,n,a){return(e/=a/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}}}),l=u,d=(n("1696"),n("2877")),h=Object(d["a"])(l,i,r,!1,null,"6caad8f8",null),v=h.exports,m={name:"App",components:{BackToTop:v}},f=m,w=Object(d["a"])(f,o,s,!1,null,null,null),p=w.exports,g=(n("d3b7"),n("8c4f")),b=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-container",[a("el-header",{staticClass:"student-header",attrs:{height:"61"}},[a("div",{staticClass:"head-user"},[a("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[a("el-badge",{attrs:{"is-dot":0!==e.messageCount}},[a("el-avatar",{staticClass:"el-dropdown-avatar",attrs:{size:"medium",src:null===e.userInfo.imagePath?n("1195"):e.userInfo.imagePath}})],1),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/index"})}}},[e._v("个人中心")]),a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/message"})}}},[0!==e.messageCount?a("el-badge",{attrs:{value:e.messageCount}},[a("span",[e._v("消息中心")])]):e._e(),0===e.messageCount?a("span",[e._v("消息中心")]):e._e()],1),a("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)],1)],1),a("el-menu",{staticClass:"el-menu-title",attrs:{mode:"horizontal","default-active":e.defaultUrl,router:!0}},[a("el-menu-item",{attrs:{index:"/index"}},[e._v("首页")]),a("el-menu-item",{attrs:{index:"/paper/index"}},[e._v("试卷中心")]),a("el-menu-item",{attrs:{index:"/record/index"}},[e._v("考试记录")]),a("el-menu-item",{attrs:{index:"/question/index"}},[e._v("错题本")])],1),a("div",[a("a",{attrs:{href:"/"}},[a("img",{attrs:{src:n("cf05"),height:"56"}})])])],1),a("el-main",{staticClass:"student-main"},[a("router-view")],1),a("el-footer",{staticClass:"student-footer",attrs:{height:"340"}},[a("div",{staticClass:"container"},[a("div",{staticClass:"footer-main"},[a("h4",[e._v("产品介绍")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net",target:"_blank"}},[e._v("思维跳跃科技")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/sdd.html",target:"_blank"}},[e._v("思多多智能考试平台")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xdd.html",target:"_blank"}},[e._v("学多多考试系统")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xzs.html",target:"_blank"}},[e._v("学之思考试系统")])]),a("div",{staticClass:"footer-main"},[a("h4",[e._v("关于我们")]),a("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:n("bafb")}})]),a("div",{staticClass:"footer-social"},[a("p",{staticClass:"footer-social-title"},[e._v("开源社区")]),a("a",{attrs:{href:"https://github.com/mindskip/xzs",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"social-github"}})],1),a("a",{attrs:{href:"https://gitee.com/mindskip/uexam",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"gitee"}})],1)])])]),a("div",{staticClass:"foot-copyright"},[a("span",[e._v("Copyright © 2020 武汉思维跳跃科技有限公司 版权所有")])])],1)},z=[],x=(n("c975"),n("5530")),y=n("2f62"),k=n("7ded"),M=n("c24f"),H={name:"Layout",data:function(){return{defaultUrl:"/index",userInfo:{imagePath:null}}},created:function(){var e=this;this.defaultUrl=this.routeSelect(this.$route.path),this.getUserMessageInfo(),M["a"].getCurrentUser().then((function(t){e.userInfo=t.response}))},watch:{$route:function(e,t){this.defaultUrl=this.routeSelect(e.path)}},methods:Object(x["a"])(Object(x["a"])({routeSelect:function(e){var t=["/","/index","/paper/index","/record/index","/question/index"];return t.indexOf(e)?e:null},logout:function(){var e=this;k["a"].logout().then((function(t){t&&1===t.code&&(e.clearLogin(),e.$router.push({path:"/login"}))}))}},Object(y["b"])("user",["getUserMessageInfo"])),Object(y["d"])("user",["clearLogin"])),computed:Object(x["a"])({},Object(y["e"])("user",{messageCount:function(e){return e.messageCount}}))},V=H,C=Object(d["a"])(V,b,z,!1,null,"2066e741",null),B=C.exports;c["default"].use(g["a"]);var L=new g["a"]({routes:[{path:"/login",name:"Login",component:function(){return n.e("chunk-5454b879").then(n.bind(null,"9ed6"))},meta:{title:"登录",bodyBackground:"#fbfbfb"}},{path:"/register",name:"Register",component:function(){return n.e("chunk-77ccc064").then(n.bind(null,"d5c2"))},meta:{title:"注册",bodyBackground:"#fbfbfb"}},{path:"/",component:B,redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-bd32f434").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"首页"}}]},{path:"/paper",component:B,children:[{path:"index",component:function(){return n.e("chunk-b917c4bc").then(n.bind(null,"b14a"))},name:"PaperIndex",meta:{title:"试卷中心"}}]},{path:"/record",component:B,children:[{path:"index",component:function(){return n.e("chunk-8ea99dc6").then(n.bind(null,"caae"))},name:"RecordIndex",meta:{title:"考试记录"}}]},{path:"/question",component:B,children:[{path:"index",component:function(){return n.e("chunk-038d4306").then(n.bind(null,"114e"))},name:"QuestionErrorIndex",meta:{title:"错题本"}}]},{path:"/user",component:B,children:[{path:"index",component:function(){return n.e("chunk-2d20f362").then(n.bind(null,"b350"))},name:"UserInfo",meta:{title:"个人中心"}}]},{path:"/user",component:B,children:[{path:"message",component:function(){return n.e("chunk-096af9f1").then(n.bind(null,"35dd"))},name:"UserMessage",meta:{title:"消息中心"}}]},{path:"/do",name:"ExamPaperDo",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-7aa4492c")]).then(n.bind(null,"6cce"))},meta:{title:"试卷答题"}},{path:"/edit",name:"ExamPaperEdit",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-5e362585")]).then(n.bind(null,"beb3"))},meta:{title:"试卷批改"}},{path:"/read",name:"ExamPaperRead",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-00a370fd")]).then(n.bind(null,"2927"))},meta:{title:"试卷查看"}},{path:"*",component:function(){return n.e("chunk-889ecf22").then(n.bind(null,"1db4"))},meta:{title:"404"}}]});n("13d5"),n("ac1f"),n("5319"),n("ddb0");c["default"].use(y["a"]);var j=n("c653"),O=j.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=j(t);return e[n]=a.default,e}),{}),_=new y["a"].Store({modules:O}),T=_,E=(n("f5df1"),n("5c96")),P=n.n(E),I=(n("0fae"),n("b20f"),n("d81d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),S=[];n("25f0"),n("498a");function q(e){return/^(https?:|mailto:|tel:)/.test(e)}var U={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return q(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},N=U,A=(n("2a4f"),Object(d["a"])(N,I,S,!1,null,"d20c6df0",null)),$=A.exports;c["default"].component("svg-icon",$);var D=n("51ff"),R=function(e){return e.keys().map(e)};R(D);var F=n("323e"),Q=n.n(F);n("a5d8");c["default"].use(P.a,{size:"medium"}),c["default"].config.productionTip=!1,Q.a.configure({showSpinner:!1}),L.beforeEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:Q.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",void 0!==t.meta.bodyBackground?document.querySelector("body").setAttribute("style","background: "+t.meta.bodyBackground):document.querySelector("body").removeAttribute("style"),t.path&&_hmt.push(["_trackPageview","/#"+t.fullPath]),a();case 5:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}()),L.afterEach((function(e,t,n){Q.a.done()})),c["default"].prototype.$$router=L,new c["default"]({router:L,store:T,render:function(e){return e(p)}}).$mount("#app")},6002:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-social-github",use:"icon-social-github-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"7ded":function(e,t,n){"use strict";var a=n("b775");t["a"]={login:function(e){return Object(a["b"])("/api/user/login",e)},logout:function(e){return Object(a["a"])("/api/user/logout",e)}}},"80da":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(i);t["default"]=i},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8da3":function(e,t,n){},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),c=n("c418"),o={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,c=Object(a["a"])(e.subjects);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.id===t)return o.name+" ( "+o.levelName+" )"}}catch(s){c.e(s)}finally{c.f()}return null}}},i={initSubject:function(e){var t=e.commit;c["a"].list().then((function(e){t("setSubjects",e.response)}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:o,getters:s,actions:i,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},b20f:function(e,t,n){},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(i);t["default"]=i},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),c=n.n(a),o=n("2b0e"),s=function(e,t){var n;return e&&(n=o["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),c.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):500===t.data.code||501===t.data.code?Promise.reject(t.data):502===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),o["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},i=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!1,n)},r=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},bafb:function(e,t,n){e.exports=n.p+"static/img/4.bd069cc5.jpg"},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},c12b:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={createUser:function(e){return Object(a["a"])("/api/student/user/edit",e)},getCurrentUser:function(){return Object(a["a"])("/api/student/user/current")},getUserEvent:function(){return Object(a["a"])("/api/student/user/log")},update:function(e){return Object(a["a"])("/api/student/user/update",e)},messagePageList:function(e){return Object(a["a"])("/api/student/user/message/page",e)},read:function(e){return Object(a["a"])("/api/student/user/message/read/"+e)},getMessageCount:function(){return Object(a["a"])("/api/student/user/message/unreadCount")}}},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/student/education/subject/list")},select:function(e){return Object(a["a"])("/api/student/education/subject/select/"+e)}}},c653:function(e,t,n){var a={"./enumItem.js":"f1e5","./exam.js":"a615","./user.js":"0f9a"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(i);t["default"]=i},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.9e385549.png"},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),c={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],levelEnum:[{key:1,value:"一年级"},{key:2,value:"二年级"},{key:3,value:"三年级"},{key:4,value:"四年级"},{key:5,value:"五年级"},{key:6,value:"六年级"},{key:7,value:"初一"},{key:8,value:"初二"},{key:9,value:"初三"},{key:10,value:"高一"},{key:11,value:"高二"},{key:12,value:"高三"}],roleEnum:[{key:1,value:"学生"},{key:2,value:"教师"},{key:3,value:"管理员"}],message:{readTag:[{key:!0,value:"success"},{key:!1,value:"warning"}],readText:[{key:!0,value:"已读"},{key:!1,value:"未读"}]}},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"}]},examPaperAnswer:{statusEnum:[{key:1,value:"待批改"},{key:2,value:"完成"}],statusTag:[{key:1,value:"warning"},{key:2,value:"success"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],answer:{doRightTag:[{key:!0,value:"success"},{key:!1,value:"danger"},{key:null,value:"warning"}],doRightEnum:[{key:!0,value:"正确"},{key:!1,value:"错误"},{key:null,value:"待批改"}],doCompletedTag:[{key:!1,value:"info"},{key:!0,value:"success"}]}}}},o={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},i={},r=function(e,t){var n,c=Object(a["a"])(e);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.key===t)return o.value}}catch(s){c.e(s)}finally{c.f()}return null};t["default"]={namespaced:!0,state:c,getters:o,actions:s,mutations:i}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(i);t["default"]=i},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i}}); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/index.b7ffbd0d.js b/source/xzs/src/main/resources/static/student/static/js/index.b7ffbd0d.js deleted file mode 100644 index 7c844f7..0000000 --- a/source/xzs/src/main/resources/static/student/static/js/index.b7ffbd0d.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function t(t){for(var a,c,i=t[0],r=t[1],u=t[2],l=0,d=[];l'});s.a.add(i);t["default"]=i},"0f9a":function(e,t,n){"use strict";n.r(t);var a=n("a78e"),c=n.n(a),o=n("c24f"),s={userName:c.a.get("studentUserName"),userInfo:c.a.get("studentUserInfo"),imagePath:c.a.get("studentImagePath"),messageCount:0},i={initUserInfo:function(e){var t=e.commit;o["a"].getCurrentUser().then((function(e){t("setUserInfo",e.response)}))},getUserMessageInfo:function(e){var t=e.commit;o["a"].getMessageCount().then((function(e){t("setMessageCount",e.response)}))}},r={setUserName:function(e,t){e.userName=t,c.a.set("studentUserName",t,{expires:30})},setUserInfo:function(e,t){e.userInfo=t,c.a.set("studentUserInfo",t,{expires:30})},setImagePath:function(e,t){e.imagePath=t,c.a.set("studentImagePath",t,{expires:30})},setMessageCount:function(e,t){e.messageCount=t},messageCountSubtract:function(e,t){e.messageCount=e.messageCount-t},clearLogin:function(e){c.a.remove("studentUserName"),c.a.remove("studentUserInfo"),c.a.remove("studentImagePath")}};t["default"]={namespaced:!0,state:s,mutations:r,actions:i}},1195:function(e,t,n){e.exports=n.p+"static/img/avatar.37c3ea6b.png"},"12a5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1696:function(e,t,n){"use strict";var a=n("c12b"),c=n.n(a);c.a},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"28c9":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-gitee",use:"icon-gitee-usage",viewBox:"0 0 90 90",content:'\r\n \r\n'});s.a.add(i);t["default"]=i},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"2a4f":function(e,t,n){"use strict";var a=n("8da3"),c=n.n(a);c.a},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(i);t["default"]=i},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"51ff":function(e,t,n){var a={"./404.svg":"a14a","./bug.svg":"1779","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./dashboard.svg":"f782","./documentation.svg":"90fb","./drag.svg":"9bbf","./edit.svg":"aa46","./education.svg":"ad1c","./email.svg":"cbb7","./exam.svg":"a978","./example.svg":"30c3","./excel.svg":"6599","./exit-fullscreen.svg":"dbc7","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./fullscreen.svg":"9921","./gitee.svg":"28c9","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./message.svg":"47ff","./money.svg":"3046","./nested.svg":"dcf8","./password.svg":"2a3d","./pdf.svg":"f9a1","./people.svg":"d056","./peoples.svg":"2f11","./qq.svg":"1430","./question.svg":"ae00","./search.svg":"8e8d","./shopping.svg":"12a5","./size.svg":"8644","./skill.svg":"096e","./social-github.svg":"6002","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),c=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view"),n("back-to-top",{ref:"backTop",attrs:{"visibility-height":100,"back-position":0,"transition-name":"fade"}})],1)},s=[],i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.transitionName}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"back-to-ceiling",on:{click:e.backToTop}},[n("svg",{staticClass:"Icon Icon--backToTopArrow",staticStyle:{height:"16px",width:"16px"},attrs:{width:"16",height:"16",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"}},[n("path",{attrs:{d:"M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z"}})])])])},r=[],u=(n("a9e3"),{name:"BackToTop",props:{visibilityHeight:{type:Number,default:400},backPosition:{type:Number,default:0},customStyle:{type:Object,default:function(){return{right:"20px",bottom:"20px",width:"30px",height:"30px","border-radius":"4px","line-height":"35px",background:"#e7eaf1"}}},transitionName:{type:String,default:"fade"}},data:function(){return{visible:!1,interval:null,isMoving:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll),this.interval&&clearInterval(this.interval)},methods:{handleScroll:function(){this.visible=window.pageYOffset>this.visibilityHeight},backToTop:function(){var e=this;if(!this.isMoving){var t=window.pageYOffset,n=0;this.isMoving=!0,this.interval=setInterval((function(){var a=Math.floor(e.easeInOutQuad(10*n,t,-t,500));a<=e.backPosition?(window.scrollTo(0,e.backPosition),clearInterval(e.interval),e.isMoving=!1):window.scrollTo(0,a),n++}),5)}},easeInOutQuad:function(e,t,n,a){return(e/=a/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}}}),l=u,d=(n("1696"),n("2877")),h=Object(d["a"])(l,i,r,!1,null,"6caad8f8",null),v=h.exports,m={name:"App",components:{BackToTop:v}},f=m,w=Object(d["a"])(f,o,s,!1,null,null,null),p=w.exports,g=(n("d3b7"),n("8c4f")),b=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-container",[a("el-header",{staticClass:"student-header",attrs:{height:"61"}},[a("div",{staticClass:"head-user"},[a("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[a("el-badge",{attrs:{"is-dot":0!==e.messageCount}},[a("el-avatar",{staticClass:"el-dropdown-avatar",attrs:{size:"medium",src:null===e.userInfo.imagePath?n("1195"):e.userInfo.imagePath}})],1),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/index"})}}},[e._v("个人中心")]),a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/message"})}}},[0!==e.messageCount?a("el-badge",{attrs:{value:e.messageCount}},[a("span",[e._v("消息中心")])]):e._e(),0===e.messageCount?a("span",[e._v("消息中心")]):e._e()],1),a("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)],1)],1),a("el-menu",{staticClass:"el-menu-title",attrs:{mode:"horizontal","default-active":e.defaultUrl,router:!0}},[a("el-menu-item",{attrs:{index:"/index"}},[e._v("首页")]),a("el-menu-item",{attrs:{index:"/paper/index"}},[e._v("试卷中心")]),a("el-menu-item",{attrs:{index:"/record/index"}},[e._v("考试记录")]),a("el-menu-item",{attrs:{index:"/question/index"}},[e._v("错题本")])],1),a("div",[a("a",{attrs:{href:"/"}},[a("img",{attrs:{src:n("cf05"),height:"56"}})])])],1),a("el-main",{staticClass:"student-main"},[a("router-view")],1),a("el-footer",{staticClass:"student-footer",attrs:{height:"340"}},[a("div",{staticClass:"container"},[a("div",{staticClass:"footer-main"},[a("h4",[e._v("产品介绍")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net",target:"_blank"}},[e._v("思维跳跃科技")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/sdd.html",target:"_blank"}},[e._v("思多多智能考试平台")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xdd.html",target:"_blank"}},[e._v("学多多考试系统")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xzs.html",target:"_blank"}},[e._v("学之思考试系统")])]),a("div",{staticClass:"footer-main"},[a("h4",[e._v("关于我们")]),a("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:n("bafb")}})]),a("div",{staticClass:"footer-social"},[a("p",{staticClass:"footer-social-title"},[e._v("开源社区")]),a("a",{attrs:{href:"https://github.com/alvis-u/uexam",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"social-github"}})],1),a("a",{attrs:{href:"https://gitee.com/alvis-yu/uexam",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"gitee"}})],1)])])]),a("div",{staticClass:"foot-copyright"},[a("span",[e._v("Copyright © 2020 武汉思维跳跃科技有限公司 版权所有")])])],1)},z=[],x=(n("c975"),n("5530")),y=n("2f62"),k=n("7ded"),M=n("c24f"),H={name:"Layout",data:function(){return{defaultUrl:"/index",userInfo:{imagePath:null}}},created:function(){var e=this;this.defaultUrl=this.routeSelect(this.$route.path),this.getUserMessageInfo(),M["a"].getCurrentUser().then((function(t){e.userInfo=t.response}))},watch:{$route:function(e,t){this.defaultUrl=this.routeSelect(e.path)}},methods:Object(x["a"])(Object(x["a"])({routeSelect:function(e){var t=["/","/index","/paper/index","/record/index","/question/index"];return t.indexOf(e)?e:null},logout:function(){var e=this;k["a"].logout().then((function(t){t&&1===t.code&&(e.clearLogin(),e.$router.push({path:"/login"}))}))}},Object(y["b"])("user",["getUserMessageInfo"])),Object(y["d"])("user",["clearLogin"])),computed:Object(x["a"])({},Object(y["e"])("user",{messageCount:function(e){return e.messageCount}}))},V=H,C=Object(d["a"])(V,b,z,!1,null,"1bae2ae6",null),B=C.exports;c["default"].use(g["a"]);var L=new g["a"]({routes:[{path:"/login",name:"Login",component:function(){return n.e("chunk-5454b879").then(n.bind(null,"9ed6"))},meta:{title:"登录",bodyBackground:"#fbfbfb"}},{path:"/register",name:"Register",component:function(){return n.e("chunk-77ccc064").then(n.bind(null,"d5c2"))},meta:{title:"注册",bodyBackground:"#fbfbfb"}},{path:"/",component:B,redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-bd32f434").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"首页"}}]},{path:"/paper",component:B,children:[{path:"index",component:function(){return n.e("chunk-b917c4bc").then(n.bind(null,"b14a"))},name:"PaperIndex",meta:{title:"试卷中心"}}]},{path:"/record",component:B,children:[{path:"index",component:function(){return n.e("chunk-8ea99dc6").then(n.bind(null,"caae"))},name:"RecordIndex",meta:{title:"考试记录"}}]},{path:"/question",component:B,children:[{path:"index",component:function(){return n.e("chunk-038d4306").then(n.bind(null,"114e"))},name:"QuestionErrorIndex",meta:{title:"错题本"}}]},{path:"/user",component:B,children:[{path:"index",component:function(){return n.e("chunk-2d20f362").then(n.bind(null,"b350"))},name:"UserInfo",meta:{title:"个人中心"}}]},{path:"/user",component:B,children:[{path:"message",component:function(){return n.e("chunk-096af9f1").then(n.bind(null,"35dd"))},name:"UserMessage",meta:{title:"消息中心"}}]},{path:"/do",name:"ExamPaperDo",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-7aa4492c")]).then(n.bind(null,"6cce"))},meta:{title:"试卷答题"}},{path:"/edit",name:"ExamPaperEdit",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-5e362585")]).then(n.bind(null,"beb3"))},meta:{title:"试卷批改"}},{path:"/read",name:"ExamPaperRead",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-00a370fd")]).then(n.bind(null,"2927"))},meta:{title:"试卷查看"}},{path:"*",component:function(){return n.e("chunk-889ecf22").then(n.bind(null,"1db4"))},meta:{title:"404"}}]});n("13d5"),n("ac1f"),n("5319"),n("ddb0");c["default"].use(y["a"]);var j=n("c653"),O=j.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=j(t);return e[n]=a.default,e}),{}),_=new y["a"].Store({modules:O}),T=_,E=(n("f5df1"),n("5c96")),P=n.n(E),I=(n("0fae"),n("b20f"),n("d81d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),S=[];n("25f0"),n("498a");function q(e){return/^(https?:|mailto:|tel:)/.test(e)}var U={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return q(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},N=U,A=(n("2a4f"),Object(d["a"])(N,I,S,!1,null,"d20c6df0",null)),$=A.exports;c["default"].component("svg-icon",$);var D=n("51ff"),R=function(e){return e.keys().map(e)};R(D);var F=n("323e"),Q=n.n(F);n("a5d8");c["default"].use(P.a,{size:"medium"}),c["default"].config.productionTip=!1,Q.a.configure({showSpinner:!1}),L.beforeEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:Q.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",void 0!==t.meta.bodyBackground?document.querySelector("body").setAttribute("style","background: "+t.meta.bodyBackground):document.querySelector("body").removeAttribute("style"),t.path&&_hmt.push(["_trackPageview","/#"+t.fullPath]),a();case 5:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}()),L.afterEach((function(e,t,n){Q.a.done()})),c["default"].prototype.$$router=L,new c["default"]({router:L,store:T,render:function(e){return e(p)}}).$mount("#app")},6002:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-social-github",use:"icon-social-github-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"7ded":function(e,t,n){"use strict";var a=n("b775");t["a"]={login:function(e){return Object(a["b"])("/api/user/login",e)},logout:function(e){return Object(a["a"])("/api/user/logout",e)}}},"80da":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(i);t["default"]=i},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8da3":function(e,t,n){},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),c=n("c418"),o={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,c=Object(a["a"])(e.subjects);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.id===t)return o.name+" ( "+o.levelName+" )"}}catch(s){c.e(s)}finally{c.f()}return null}}},i={initSubject:function(e){var t=e.commit;c["a"].list().then((function(e){t("setSubjects",e.response)}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:o,getters:s,actions:i,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},b20f:function(e,t,n){},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(i);t["default"]=i},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),c=n.n(a),o=n("2b0e"),s=function(e,t){var n;return e&&(n=o["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),c.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):500===t.data.code||501===t.data.code?Promise.reject(t.data):502===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),o["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},i=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!1,n)},r=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},bafb:function(e,t,n){e.exports=n.p+"static/img/4.bd069cc5.jpg"},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},c12b:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={createUser:function(e){return Object(a["a"])("/api/student/user/edit",e)},getCurrentUser:function(){return Object(a["a"])("/api/student/user/current")},getUserEvent:function(){return Object(a["a"])("/api/student/user/log")},update:function(e){return Object(a["a"])("/api/student/user/update",e)},messagePageList:function(e){return Object(a["a"])("/api/student/user/message/page",e)},read:function(e){return Object(a["a"])("/api/student/user/message/read/"+e)},getMessageCount:function(){return Object(a["a"])("/api/student/user/message/unreadCount")}}},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/student/education/subject/list")},select:function(e){return Object(a["a"])("/api/student/education/subject/select/"+e)}}},c653:function(e,t,n){var a={"./enumItem.js":"f1e5","./exam.js":"a615","./user.js":"0f9a"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(i);t["default"]=i},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.9e385549.png"},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),c={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],levelEnum:[{key:1,value:"一年级"},{key:2,value:"二年级"},{key:3,value:"三年级"},{key:4,value:"四年级"},{key:5,value:"五年级"},{key:6,value:"六年级"},{key:7,value:"初一"},{key:8,value:"初二"},{key:9,value:"初三"},{key:10,value:"高一"},{key:11,value:"高二"},{key:12,value:"高三"}],roleEnum:[{key:1,value:"学生"},{key:2,value:"教师"},{key:3,value:"管理员"}],message:{readTag:[{key:!0,value:"success"},{key:!1,value:"warning"}],readText:[{key:!0,value:"已读"},{key:!1,value:"未读"}]}},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"}]},examPaperAnswer:{statusEnum:[{key:1,value:"待批改"},{key:2,value:"完成"}],statusTag:[{key:1,value:"warning"},{key:2,value:"success"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],answer:{doRightTag:[{key:!0,value:"success"},{key:!1,value:"danger"},{key:null,value:"warning"}],doRightEnum:[{key:!0,value:"正确"},{key:!1,value:"错误"},{key:null,value:"待批改"}],doCompletedTag:[{key:!1,value:"info"},{key:!0,value:"success"}]}}}},o={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},i={},r=function(e,t){var n,c=Object(a["a"])(e);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.key===t)return o.value}}catch(s){c.e(s)}finally{c.f()}return null};t["default"]={namespaced:!0,state:c,getters:o,actions:s,mutations:i}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(i);t["default"]=i},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i}}); \ No newline at end of file