Merge branch 'xie_tiangandizhi'
This commit is contained in:
4
main.js
4
main.js
@@ -6,6 +6,10 @@ import {music, bgm} from '@/utils/music.js'
|
|||||||
Vue.prototype.$music = music
|
Vue.prototype.$music = music
|
||||||
Vue.prototype.$bgm = bgm
|
Vue.prototype.$bgm = bgm
|
||||||
|
|
||||||
|
|
||||||
|
import {nowHour} from '@/utils/getHours.js'
|
||||||
|
Vue.prototype.$getHours = nowHour
|
||||||
|
|
||||||
// 地址
|
// 地址
|
||||||
// Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/"
|
// Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/"
|
||||||
// Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/"
|
// Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/"
|
||||||
|
|||||||
522
package-lock.json
generated
522
package-lock.json
generated
@@ -13,6 +13,7 @@
|
|||||||
"epubjs": "^0.3.93",
|
"epubjs": "^0.3.93",
|
||||||
"jquery": "^2.2.4",
|
"jquery": "^2.2.4",
|
||||||
"qs": "^6.11.0",
|
"qs": "^6.11.0",
|
||||||
|
"quill-image-resize-module": "^3.0.0",
|
||||||
"uview-ui": "^2.0.35"
|
"uview-ui": "^2.0.35"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -50,6 +51,14 @@
|
|||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/clone": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.8"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/core-js": {
|
"node_modules/core-js": {
|
||||||
"version": "3.24.1",
|
"version": "3.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz",
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz",
|
||||||
@@ -74,6 +83,54 @@
|
|||||||
"type": "^1.0.1"
|
"type": "^1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/deep-equal": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.2.tgz",
|
||||||
|
"integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==",
|
||||||
|
"dependencies": {
|
||||||
|
"is-arguments": "^1.1.1",
|
||||||
|
"is-date-object": "^1.0.5",
|
||||||
|
"is-regex": "^1.1.4",
|
||||||
|
"object-is": "^1.1.5",
|
||||||
|
"object-keys": "^1.1.1",
|
||||||
|
"regexp.prototype.flags": "^1.5.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/define-data-property": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"get-intrinsic": "^1.2.1",
|
||||||
|
"gopd": "^1.0.1",
|
||||||
|
"has-property-descriptors": "^1.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/define-properties": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
|
||||||
|
"integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
|
||||||
|
"dependencies": {
|
||||||
|
"define-data-property": "^1.0.1",
|
||||||
|
"has-property-descriptors": "^1.0.0",
|
||||||
|
"object-keys": "^1.1.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/epubjs": {
|
"node_modules/epubjs": {
|
||||||
"version": "0.3.93",
|
"version": "0.3.93",
|
||||||
"resolved": "https://registry.npmjs.org/epubjs/-/epubjs-0.3.93.tgz",
|
"resolved": "https://registry.npmjs.org/epubjs/-/epubjs-0.3.93.tgz",
|
||||||
@@ -132,6 +189,11 @@
|
|||||||
"es5-ext": "~0.10.14"
|
"es5-ext": "~0.10.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/eventemitter3": {
|
||||||
|
"version": "2.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz",
|
||||||
|
"integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
|
||||||
|
},
|
||||||
"node_modules/ext": {
|
"node_modules/ext": {
|
||||||
"version": "1.6.0",
|
"version": "1.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz",
|
||||||
@@ -145,33 +207,77 @@
|
|||||||
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
||||||
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw=="
|
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw=="
|
||||||
},
|
},
|
||||||
|
"node_modules/extend": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
||||||
|
},
|
||||||
|
"node_modules/fast-diff": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz",
|
||||||
|
"integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
|
||||||
|
},
|
||||||
"node_modules/function-bind": {
|
"node_modules/function-bind": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/functions-have-names": {
|
||||||
|
"version": "1.2.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
|
||||||
|
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"node_modules/get-intrinsic": {
|
"node_modules/get-intrinsic": {
|
||||||
"version": "1.1.2",
|
"version": "1.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
|
||||||
"integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==",
|
"integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"function-bind": "^1.1.1",
|
"function-bind": "^1.1.2",
|
||||||
"has": "^1.0.3",
|
"has-proto": "^1.0.1",
|
||||||
"has-symbols": "^1.0.3"
|
"has-symbols": "^1.0.3",
|
||||||
|
"hasown": "^2.0.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/has": {
|
"node_modules/gopd": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
|
||||||
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
|
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"function-bind": "^1.1.1"
|
"get-intrinsic": "^1.1.3"
|
||||||
},
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/has-property-descriptors": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
|
||||||
|
"dependencies": {
|
||||||
|
"get-intrinsic": "^1.2.2"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/has-proto": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 0.4.0"
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/has-symbols": {
|
"node_modules/has-symbols": {
|
||||||
@@ -185,6 +291,31 @@
|
|||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/has-tostringtag": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"has-symbols": "^1.0.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/hasown": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
|
||||||
|
"dependencies": {
|
||||||
|
"function-bind": "^1.1.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/immediate": {
|
"node_modules/immediate": {
|
||||||
"version": "3.0.6",
|
"version": "3.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
||||||
@@ -195,6 +326,50 @@
|
|||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
||||||
},
|
},
|
||||||
|
"node_modules/is-arguments": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
|
||||||
|
"dependencies": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"has-tostringtag": "^1.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/is-date-object": {
|
||||||
|
"version": "1.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
|
||||||
|
"integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"has-tostringtag": "^1.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/is-regex": {
|
||||||
|
"version": "1.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
|
||||||
|
"integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
|
||||||
|
"dependencies": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"has-tostringtag": "^1.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/isarray": {
|
"node_modules/isarray": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
||||||
@@ -263,11 +438,39 @@
|
|||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/object-is": {
|
||||||
|
"version": "1.1.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",
|
||||||
|
"integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
|
||||||
|
"dependencies": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"define-properties": "^1.1.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/object-keys": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/pako": {
|
"node_modules/pako": {
|
||||||
"version": "1.0.11",
|
"version": "1.0.11",
|
||||||
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
|
||||||
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
|
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
|
||||||
},
|
},
|
||||||
|
"node_modules/parchment": {
|
||||||
|
"version": "1.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz",
|
||||||
|
"integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
|
||||||
|
},
|
||||||
"node_modules/path-webpack": {
|
"node_modules/path-webpack": {
|
||||||
"version": "0.0.3",
|
"version": "0.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/path-webpack/-/path-webpack-0.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/path-webpack/-/path-webpack-0.0.3.tgz",
|
||||||
@@ -292,6 +495,47 @@
|
|||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/quill": {
|
||||||
|
"version": "1.3.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
|
||||||
|
"integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
|
||||||
|
"dependencies": {
|
||||||
|
"clone": "^2.1.1",
|
||||||
|
"deep-equal": "^1.0.1",
|
||||||
|
"eventemitter3": "^2.0.3",
|
||||||
|
"extend": "^3.0.2",
|
||||||
|
"parchment": "^1.1.4",
|
||||||
|
"quill-delta": "^3.6.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/quill-delta": {
|
||||||
|
"version": "3.6.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz",
|
||||||
|
"integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==",
|
||||||
|
"dependencies": {
|
||||||
|
"deep-equal": "^1.0.1",
|
||||||
|
"extend": "^3.0.2",
|
||||||
|
"fast-diff": "1.1.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/quill-image-resize-module": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/quill-image-resize-module/-/quill-image-resize-module-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-1TZBnUxU/WIx5dPyVjQ9yN7C6mLZSp04HyWBEMqT320DIq4MW4JgzlOPDZX5ZpBM3bU6sacU4kTLUc8VgYQZYw==",
|
||||||
|
"dependencies": {
|
||||||
|
"lodash": "^4.17.4",
|
||||||
|
"quill": "^1.2.2",
|
||||||
|
"raw-loader": "^0.5.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/raw-loader": {
|
||||||
|
"version": "0.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz",
|
||||||
|
"integrity": "sha512-sf7oGoLuaYAScB4VGr0tzetsYlS8EJH6qnTCfQ/WVEa89hALQ4RQfCKt5xCyPQKPDUbVUAIP1QsxAwfAjlDp7Q=="
|
||||||
|
},
|
||||||
"node_modules/readable-stream": {
|
"node_modules/readable-stream": {
|
||||||
"version": "2.3.7",
|
"version": "2.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
||||||
@@ -306,11 +550,40 @@
|
|||||||
"util-deprecate": "~1.0.1"
|
"util-deprecate": "~1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/regexp.prototype.flags": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==",
|
||||||
|
"dependencies": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"define-properties": "^1.2.0",
|
||||||
|
"set-function-name": "^2.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/safe-buffer": {
|
"node_modules/safe-buffer": {
|
||||||
"version": "5.1.2",
|
"version": "5.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||||
},
|
},
|
||||||
|
"node_modules/set-function-name": {
|
||||||
|
"version": "2.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
|
||||||
|
"integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==",
|
||||||
|
"dependencies": {
|
||||||
|
"define-data-property": "^1.0.1",
|
||||||
|
"functions-have-names": "^1.2.3",
|
||||||
|
"has-property-descriptors": "^1.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/setimmediate": {
|
"node_modules/setimmediate": {
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
|
||||||
@@ -384,6 +657,11 @@
|
|||||||
"get-intrinsic": "^1.0.2"
|
"get-intrinsic": "^1.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"clone": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="
|
||||||
|
},
|
||||||
"core-js": {
|
"core-js": {
|
||||||
"version": "3.24.1",
|
"version": "3.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz",
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz",
|
||||||
@@ -403,6 +681,39 @@
|
|||||||
"type": "^1.0.1"
|
"type": "^1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"deep-equal": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.2.tgz",
|
||||||
|
"integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==",
|
||||||
|
"requires": {
|
||||||
|
"is-arguments": "^1.1.1",
|
||||||
|
"is-date-object": "^1.0.5",
|
||||||
|
"is-regex": "^1.1.4",
|
||||||
|
"object-is": "^1.1.5",
|
||||||
|
"object-keys": "^1.1.1",
|
||||||
|
"regexp.prototype.flags": "^1.5.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"define-data-property": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
|
||||||
|
"requires": {
|
||||||
|
"get-intrinsic": "^1.2.1",
|
||||||
|
"gopd": "^1.0.1",
|
||||||
|
"has-property-descriptors": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"define-properties": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
|
||||||
|
"integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
|
||||||
|
"requires": {
|
||||||
|
"define-data-property": "^1.0.1",
|
||||||
|
"has-property-descriptors": "^1.0.0",
|
||||||
|
"object-keys": "^1.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"epubjs": {
|
"epubjs": {
|
||||||
"version": "0.3.93",
|
"version": "0.3.93",
|
||||||
"resolved": "https://registry.npmjs.org/epubjs/-/epubjs-0.3.93.tgz",
|
"resolved": "https://registry.npmjs.org/epubjs/-/epubjs-0.3.93.tgz",
|
||||||
@@ -457,6 +768,11 @@
|
|||||||
"es5-ext": "~0.10.14"
|
"es5-ext": "~0.10.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"eventemitter3": {
|
||||||
|
"version": "2.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz",
|
||||||
|
"integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
|
||||||
|
},
|
||||||
"ext": {
|
"ext": {
|
||||||
"version": "1.6.0",
|
"version": "1.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz",
|
||||||
@@ -472,34 +788,79 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"extend": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
||||||
|
},
|
||||||
|
"fast-diff": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz",
|
||||||
|
"integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
|
||||||
|
},
|
||||||
"function-bind": {
|
"function-bind": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="
|
||||||
|
},
|
||||||
|
"functions-have-names": {
|
||||||
|
"version": "1.2.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
|
||||||
|
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ=="
|
||||||
},
|
},
|
||||||
"get-intrinsic": {
|
"get-intrinsic": {
|
||||||
"version": "1.1.2",
|
"version": "1.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
|
||||||
"integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==",
|
"integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"function-bind": "^1.1.1",
|
"function-bind": "^1.1.2",
|
||||||
"has": "^1.0.3",
|
"has-proto": "^1.0.1",
|
||||||
"has-symbols": "^1.0.3"
|
"has-symbols": "^1.0.3",
|
||||||
|
"hasown": "^2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"has": {
|
"gopd": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
|
||||||
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
|
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"function-bind": "^1.1.1"
|
"get-intrinsic": "^1.1.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"has-property-descriptors": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
|
||||||
|
"requires": {
|
||||||
|
"get-intrinsic": "^1.2.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"has-proto": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg=="
|
||||||
|
},
|
||||||
"has-symbols": {
|
"has-symbols": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
|
||||||
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
|
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
|
||||||
},
|
},
|
||||||
|
"has-tostringtag": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
|
||||||
|
"requires": {
|
||||||
|
"has-symbols": "^1.0.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hasown": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
|
||||||
|
"requires": {
|
||||||
|
"function-bind": "^1.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"immediate": {
|
"immediate": {
|
||||||
"version": "3.0.6",
|
"version": "3.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
||||||
@@ -510,6 +871,32 @@
|
|||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
||||||
},
|
},
|
||||||
|
"is-arguments": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
|
||||||
|
"requires": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"has-tostringtag": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"is-date-object": {
|
||||||
|
"version": "1.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
|
||||||
|
"integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
|
||||||
|
"requires": {
|
||||||
|
"has-tostringtag": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"is-regex": {
|
||||||
|
"version": "1.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
|
||||||
|
"integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
|
||||||
|
"requires": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"has-tostringtag": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"isarray": {
|
"isarray": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
||||||
@@ -577,11 +964,30 @@
|
|||||||
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",
|
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",
|
||||||
"integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ=="
|
"integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ=="
|
||||||
},
|
},
|
||||||
|
"object-is": {
|
||||||
|
"version": "1.1.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",
|
||||||
|
"integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
|
||||||
|
"requires": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"define-properties": "^1.1.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"object-keys": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
|
||||||
|
},
|
||||||
"pako": {
|
"pako": {
|
||||||
"version": "1.0.11",
|
"version": "1.0.11",
|
||||||
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
|
||||||
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
|
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
|
||||||
},
|
},
|
||||||
|
"parchment": {
|
||||||
|
"version": "1.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz",
|
||||||
|
"integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
|
||||||
|
},
|
||||||
"path-webpack": {
|
"path-webpack": {
|
||||||
"version": "0.0.3",
|
"version": "0.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/path-webpack/-/path-webpack-0.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/path-webpack/-/path-webpack-0.0.3.tgz",
|
||||||
@@ -600,6 +1006,44 @@
|
|||||||
"side-channel": "^1.0.4"
|
"side-channel": "^1.0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"quill": {
|
||||||
|
"version": "1.3.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
|
||||||
|
"integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
|
||||||
|
"requires": {
|
||||||
|
"clone": "^2.1.1",
|
||||||
|
"deep-equal": "^1.0.1",
|
||||||
|
"eventemitter3": "^2.0.3",
|
||||||
|
"extend": "^3.0.2",
|
||||||
|
"parchment": "^1.1.4",
|
||||||
|
"quill-delta": "^3.6.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"quill-delta": {
|
||||||
|
"version": "3.6.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz",
|
||||||
|
"integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==",
|
||||||
|
"requires": {
|
||||||
|
"deep-equal": "^1.0.1",
|
||||||
|
"extend": "^3.0.2",
|
||||||
|
"fast-diff": "1.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"quill-image-resize-module": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/quill-image-resize-module/-/quill-image-resize-module-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-1TZBnUxU/WIx5dPyVjQ9yN7C6mLZSp04HyWBEMqT320DIq4MW4JgzlOPDZX5ZpBM3bU6sacU4kTLUc8VgYQZYw==",
|
||||||
|
"requires": {
|
||||||
|
"lodash": "^4.17.4",
|
||||||
|
"quill": "^1.2.2",
|
||||||
|
"raw-loader": "^0.5.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"raw-loader": {
|
||||||
|
"version": "0.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz",
|
||||||
|
"integrity": "sha512-sf7oGoLuaYAScB4VGr0tzetsYlS8EJH6qnTCfQ/WVEa89hALQ4RQfCKt5xCyPQKPDUbVUAIP1QsxAwfAjlDp7Q=="
|
||||||
|
},
|
||||||
"readable-stream": {
|
"readable-stream": {
|
||||||
"version": "2.3.7",
|
"version": "2.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
||||||
@@ -614,11 +1058,31 @@
|
|||||||
"util-deprecate": "~1.0.1"
|
"util-deprecate": "~1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"regexp.prototype.flags": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==",
|
||||||
|
"requires": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"define-properties": "^1.2.0",
|
||||||
|
"set-function-name": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"safe-buffer": {
|
"safe-buffer": {
|
||||||
"version": "5.1.2",
|
"version": "5.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||||
},
|
},
|
||||||
|
"set-function-name": {
|
||||||
|
"version": "2.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
|
||||||
|
"integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==",
|
||||||
|
"requires": {
|
||||||
|
"define-data-property": "^1.0.1",
|
||||||
|
"functions-have-names": "^1.2.3",
|
||||||
|
"has-property-descriptors": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"setimmediate": {
|
"setimmediate": {
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
"epubjs": "^0.3.93",
|
"epubjs": "^0.3.93",
|
||||||
"jquery": "^2.2.4",
|
"jquery": "^2.2.4",
|
||||||
"qs": "^6.11.0",
|
"qs": "^6.11.0",
|
||||||
|
"quill-image-resize-module": "^3.0.0",
|
||||||
"uview-ui": "^2.0.35"
|
"uview-ui": "^2.0.35"
|
||||||
},
|
},
|
||||||
"name": "e-peanut",
|
"name": "e-peanut",
|
||||||
|
|||||||
16
pages.json
16
pages.json
@@ -535,6 +535,22 @@
|
|||||||
"navigationBarTitleText" : "脉穴详情",
|
"navigationBarTitleText" : "脉穴详情",
|
||||||
"enablePullDownRefresh" : false
|
"enablePullDownRefresh" : false
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/timeAcupoint/timeAcupoint",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : "时辰取穴",
|
||||||
|
"enablePullDownRefresh" : false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/timeAcupoint/totalTable",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : "全部穴位一览表",
|
||||||
|
"enablePullDownRefresh" : false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|||||||
@@ -174,6 +174,12 @@
|
|||||||
this.getTitles(id)
|
this.getTitles(id)
|
||||||
},
|
},
|
||||||
setOneCateIndex(item, index) {
|
setOneCateIndex(item, index) {
|
||||||
|
if(item.title == "时辰取穴"){
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "../timeAcupoint/timeAcupoint"
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
let id = item.id
|
let id = item.id
|
||||||
this.curOneCateIndex = index
|
this.curOneCateIndex = index
|
||||||
this.curTwoCateIndex = 0
|
this.curTwoCateIndex = 0
|
||||||
|
|||||||
@@ -24,6 +24,10 @@
|
|||||||
<image src="../../static/icon/five4.png" mode="aspectFit"></image>
|
<image src="../../static/icon/five4.png" mode="aspectFit"></image>
|
||||||
<text>五运六气</text>
|
<text>五运六气</text>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
<!-- <div class="item item1" @click="onPageJump('../timeAcupoint/timeAcupoint')">
|
||||||
|
<image src="../../static/icon/five6.png" mode="aspectFit"></image>
|
||||||
|
<text>时辰取穴</text>
|
||||||
|
</div> -->
|
||||||
<div class="item item1" @click="onPageJump('../peanut/searchFor')">
|
<div class="item item1" @click="onPageJump('../peanut/searchFor')">
|
||||||
<image src="../../static/icon/five3.png" mode="aspectFit"></image>
|
<image src="../../static/icon/five3.png" mode="aspectFit"></image>
|
||||||
<text>书名检索</text>
|
<text>书名检索</text>
|
||||||
@@ -332,7 +336,8 @@
|
|||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
// 隐藏原生的tabbar
|
// 隐藏原生的tabbar
|
||||||
uni.hideTabBar();
|
uni.hideTabBar();
|
||||||
// this.requestIapOrder()
|
// this.requestIapOrder()
|
||||||
|
|
||||||
},
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
this.page = 1
|
this.page = 1
|
||||||
|
|||||||
297
pages/timeAcupoint/scss/common.scss
Normal file
297
pages/timeAcupoint/scss/common.scss
Normal file
@@ -0,0 +1,297 @@
|
|||||||
|
page {
|
||||||
|
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
||||||
|
}
|
||||||
|
@for $i from 0 through 100 {
|
||||||
|
.w-#{$i} {
|
||||||
|
width: $i + '%';
|
||||||
|
}
|
||||||
|
.h-#{$i} {
|
||||||
|
height: $i + '%';
|
||||||
|
}
|
||||||
|
.padding-#{$i} {
|
||||||
|
padding: $i + rpx;
|
||||||
|
}
|
||||||
|
.padding-left-#{$i} {
|
||||||
|
padding-left: $i + rpx;
|
||||||
|
}
|
||||||
|
.padding-right-#{$i} {
|
||||||
|
padding-right: $i + rpx;
|
||||||
|
}
|
||||||
|
.padding-top-#{$i} {
|
||||||
|
padding-top: $i + rpx;
|
||||||
|
}
|
||||||
|
.padding-bottom-#{$i} {
|
||||||
|
padding-bottom: $i + rpx;
|
||||||
|
}
|
||||||
|
.margin-#{$i} {
|
||||||
|
margin: $i + rpx;
|
||||||
|
}
|
||||||
|
.margin-left-#{$i} {
|
||||||
|
margin-left: $i + rpx;
|
||||||
|
}
|
||||||
|
.margin-right-#{$i} {
|
||||||
|
margin-right: $i + rpx;
|
||||||
|
}
|
||||||
|
.margin-top-#{$i} {
|
||||||
|
margin-top: $i + rpx;
|
||||||
|
}
|
||||||
|
.margin-bottom-#{$i} {
|
||||||
|
margin-bottom: $i + rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-table {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
vertical-align: middle;
|
||||||
|
text-align: center;
|
||||||
|
table-layout: fixed;
|
||||||
|
font-size: 28rpx;
|
||||||
|
word-break: break-all;
|
||||||
|
background-color: white;
|
||||||
|
border-collapse: collapse;
|
||||||
|
&.primary {
|
||||||
|
&.dark {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #2b85e4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.disabled {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #a0cfff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.light {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #ecf5ff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-thead {
|
||||||
|
background-color: #2979ff;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.success {
|
||||||
|
&.dark {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #18b566;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.disabled {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #71d5a1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.light {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #dbf1e1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-thead {
|
||||||
|
background-color: #19be6b;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.warning {
|
||||||
|
&.dark {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #f29100;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.disabled {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #fcbd71;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.light {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #fdf6ec;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-thead {
|
||||||
|
background-color: #ff9900;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.danger {
|
||||||
|
&.dark {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #dd6161;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.disabled {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #fab6b6;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.light {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #fef0f0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-thead {
|
||||||
|
background-color: #fa3534;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.info {
|
||||||
|
&.dark {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #82848a;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.disabled {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #c8c9cc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.light {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #f4f4f5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-thead {
|
||||||
|
background-color: #909399;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.gray {
|
||||||
|
.d-thead {
|
||||||
|
background-color: #aaa;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.border-under {
|
||||||
|
.d-td,
|
||||||
|
.d-th {
|
||||||
|
@extend .noBorder;
|
||||||
|
}
|
||||||
|
.d-tr {
|
||||||
|
@extend .border-bottom;
|
||||||
|
}
|
||||||
|
.d-table {
|
||||||
|
.d-tr {
|
||||||
|
@extend .noBorder;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.large {
|
||||||
|
.d-td,
|
||||||
|
.d-th {
|
||||||
|
height: 80rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.middle {
|
||||||
|
.d-td,
|
||||||
|
.d-th {
|
||||||
|
height: 60rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-td,
|
||||||
|
.d-th {
|
||||||
|
@extend .border;
|
||||||
|
}
|
||||||
|
.d-table {
|
||||||
|
height: 100%;
|
||||||
|
.d-td,
|
||||||
|
.d-th {
|
||||||
|
@extend .noBorder;
|
||||||
|
}
|
||||||
|
// .d-tr {
|
||||||
|
// &:first-child {
|
||||||
|
// .d-td{
|
||||||
|
// &.border-bottom {
|
||||||
|
// border-bottom: none;
|
||||||
|
// }
|
||||||
|
// &.border-top {
|
||||||
|
// border-top: none;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
input.borderInput {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 6rpx;
|
||||||
|
width: 80%;
|
||||||
|
height: 80%;
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.d-caption {
|
||||||
|
display: table-caption;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
.d-thead {
|
||||||
|
display: table-header-group;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.d-tbody {
|
||||||
|
display: table-row-group;
|
||||||
|
}
|
||||||
|
.d-tfoot {
|
||||||
|
display: table-footer-group;
|
||||||
|
}
|
||||||
|
.d-tr {
|
||||||
|
display: table-row;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.d-td,
|
||||||
|
.d-th {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
height: 50rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
.d-th {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.border-top {
|
||||||
|
border-top: 1px solid #efefef !important;
|
||||||
|
}
|
||||||
|
.border-left {
|
||||||
|
border-left: 1px solid #efefef !important;
|
||||||
|
}
|
||||||
|
.border-bottom {
|
||||||
|
border-bottom: 1px solid #efefef !important;
|
||||||
|
}
|
||||||
|
.border-right {
|
||||||
|
border-right: 1px solid #efefef !important;
|
||||||
|
}
|
||||||
|
.border {
|
||||||
|
border: 1px solid #efefef;
|
||||||
|
}
|
||||||
|
.noBorder {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
&-wrap {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
&-nowrap {
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
|
&-direction {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@each $type in center, space-between, space-around, flex-start, flex-end {
|
||||||
|
.row-#{$type} {
|
||||||
|
justify-content: $type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@each $type in center, stretch, flex-start, flex-end {
|
||||||
|
.col-#{$type} {
|
||||||
|
align-items: $type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@each $type in center, left, right {
|
||||||
|
.text-#{$type} {
|
||||||
|
text-align: $type!important;
|
||||||
|
}
|
||||||
|
}
|
||||||
528
pages/timeAcupoint/timeAcupoint - 副本.vue
Normal file
528
pages/timeAcupoint/timeAcupoint - 副本.vue
Normal file
@@ -0,0 +1,528 @@
|
|||||||
|
<template>
|
||||||
|
<view class="container88">
|
||||||
|
<!-- 公共组件-每个页面必须引入 -->
|
||||||
|
<public-module></public-module>
|
||||||
|
<z-nav-bar title="时辰取穴"></z-nav-bar>
|
||||||
|
<view>
|
||||||
|
<!-- {{date}}---{{timestamp}} -->
|
||||||
|
<!-- <uni-section :title="'date 对象用法:' + datetimesingle" type="line"></uni-section> -->
|
||||||
|
<view class="datetimeBox">
|
||||||
|
<uni-datetime-picker type="datetime" v-model="date" @change="changeLog" :clear-icon="false" />
|
||||||
|
</view>
|
||||||
|
<view class="flexbox box1 grayBg">
|
||||||
|
<view class="">
|
||||||
|
<text style="color: #666; line-height: 60rpx;">所查询时间:</text><br />
|
||||||
|
<text style="color: #666; white-space:nowrap;;">{{dateToString}}</text>
|
||||||
|
</view>
|
||||||
|
<view class="yunqi">
|
||||||
|
<text style="color: #666; line-height: 50rpx; width: 100%; margin-right: 15rpx;">天干地支</text>
|
||||||
|
<view class="shu">
|
||||||
|
<text>{{tiangandizhi.hour}} - 时</text>
|
||||||
|
<text>{{tiangandizhi.day}} - 日</text>
|
||||||
|
<text>{{tiangandizhi.month}} - 月</text>
|
||||||
|
<text>{{tiangandizhi.year}} - 年</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 主体 -->
|
||||||
|
<view class="centerBox">
|
||||||
|
↓ 12时辰对应穴位图表 左滑查看全部
|
||||||
|
</view>
|
||||||
|
<view class="centerBox" style="text-align: right; padding-top: 0; font-size: 24rpx;">
|
||||||
|
注:表中带* 者是原穴
|
||||||
|
</view>
|
||||||
|
<view class="container" style="display: flex;">
|
||||||
|
<view class="d-table" style="width:15%;position: relative; z-index: 1;">
|
||||||
|
<view class="leftBar">
|
||||||
|
<!-- <view :class="i === 1 ? 'd-th' : 'd-td'">张三</view> -->
|
||||||
|
<table border cellspacing="0" style="width:100%; background-color:#fbd5ca;">
|
||||||
|
<tr>
|
||||||
|
<td class="oneHeight"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="" style="height: 100rpx;"></td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 2 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">23~01</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 3 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">01~03</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 4 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">03~05</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 5 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">05~07</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 6 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">07~09</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 7 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">09~11</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 8 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">11~13</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 9 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">13~15</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 10 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">15~17</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 11 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">17~19</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 12 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">19~21</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 13 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">21~23</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<scroll-view scroll-x class="border-right" style="width: 85%;">
|
||||||
|
<view class="d-table scroll-x">
|
||||||
|
<table border style="width: 600px; background-color: antiquewhite;" cellspacing="0">
|
||||||
|
<tr class="tableTh">
|
||||||
|
<!-- <td colspan="1" class=""></td> -->
|
||||||
|
<td class="oneHeight" colspan="2">灵龟八法</td>
|
||||||
|
<td class="oneHeight" colspan="2">飞腾八法</td>
|
||||||
|
<td class="oneHeight" colspan="5">子午流注</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="tableTh">
|
||||||
|
<!-- <td colspan="1" rowspan="2" class=""></td> -->
|
||||||
|
<td class="" rowspan="2" style="height: 100rpx;">开穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 100rpx;">合穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 100rpx;">开穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 100rpx;">合穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 100rpx;">子午纳干</td>
|
||||||
|
<td colspan="4">子午纳子</td>
|
||||||
|
</tr>
|
||||||
|
<!-- </td>
|
||||||
|
</tr> -->
|
||||||
|
<tr class="tableTh">
|
||||||
|
<td class="">补法</td>
|
||||||
|
<td class="">泄法</td>
|
||||||
|
<td class="">过时泄本</td>
|
||||||
|
<td class="">过时补原</td>
|
||||||
|
</tr>
|
||||||
|
<tr v-for="(item,index) in quxue" :key="index" :class="item.now ? 'cur' : ''">
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.lgbf.KX)}">{{item.lgbf.KX}}</text></td>
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.lgbf.HX)}">{{item.lgbf.HX}}</text></td>
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.ftbf.KX)}">{{item.ftbf.KX}}</text></td>
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.ftbf.HX)}">{{item.ftbf.HX}}</text></td>
|
||||||
|
<td class="shuHeight ">
|
||||||
|
<view class="flexbox" v-if="item.zwlz.ngf.length > 0"
|
||||||
|
style="justify-content: space-evenly;align-items: center; align-content: center;">
|
||||||
|
<text class="verticalRl" :style="{color: getHightLightColor(item1)}"
|
||||||
|
v-for="(item1,index1) in item.zwlz.ngf" :key="index1">{{item1}}</text>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.bf)}">{{item.zwlz.nzf.bf}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.xf)}">{{item.zwlz.nzf.xf}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.gsxb)}">{{item.zwlz.nzf.gsxb}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.gsbf)}">{{item.zwlz.nzf.gsbf}}</text>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
</view>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="centerBox">
|
||||||
|
注:表中带* 者是原穴
|
||||||
|
</view>
|
||||||
|
<music-play :playData="playData"></music-play>
|
||||||
|
<z-navigation></z-navigation>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import musicPlay from '@/components/music.vue'
|
||||||
|
import $http from '@/config/requestConfig.js';
|
||||||
|
|
||||||
|
function formatDateTime(time) {
|
||||||
|
var date = new Date(time);
|
||||||
|
var y = date.getFullYear();
|
||||||
|
var m = date.getMonth() + 1;
|
||||||
|
m = m < 10 ? ('0' + m) : m;
|
||||||
|
var d = date.getDate();
|
||||||
|
d = d < 10 ? ('0' + d) : d;
|
||||||
|
var h = date.getHours();
|
||||||
|
h = h < 10 ? ('0' + h) : h;
|
||||||
|
var minute = date.getMinutes();
|
||||||
|
var second = date.getSeconds();
|
||||||
|
minute = minute < 10 ? ('0' + minute) : minute;
|
||||||
|
second = second < 10 ? ('0' + second) : second;
|
||||||
|
|
||||||
|
return y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
playData: {},
|
||||||
|
curIndex: null,
|
||||||
|
pageWidth: uni.getSystemInfoSync().windowWidth,
|
||||||
|
pageHeight: uni.getSystemInfoSync().windowHeight - 200,
|
||||||
|
fiveYunNum: 5,
|
||||||
|
// date: new Date().toISOString().slice(0, 10), // 只返回年月日
|
||||||
|
date: new Date().getTime(), // 返回年月日带时间
|
||||||
|
dateToString: formatDateTime(new Date()), // 字符串格式的日期
|
||||||
|
timestamp: Date.now() - 2 * 24 * 3600 * 1000, // 时间戳
|
||||||
|
showCalendar: false,
|
||||||
|
quxue: [], // 时辰取穴
|
||||||
|
tiangandizhi: {},
|
||||||
|
yuanXue: [
|
||||||
|
'腕骨', '丘墟', '丘墟', '太溪', '大陵', '京骨', '阳池', '太渊', '合谷', '太白', '冲阳', '神门'
|
||||||
|
],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
let da = new Date().toISOString().slice(0, 10)
|
||||||
|
this.timestamp = new Date(da).getTime()
|
||||||
|
console.log('初始时间', this.dateToString, this.date)
|
||||||
|
this.getXueWei(this.dateToString)
|
||||||
|
this.getTGDZ(this.dateToString)
|
||||||
|
},
|
||||||
|
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
scroll: function(e) {},
|
||||||
|
// 设置文字颜色
|
||||||
|
getHightLightColor(text) {
|
||||||
|
if (text.indexOf('*') != -1) {
|
||||||
|
return "#9c3211"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 获取天干地支
|
||||||
|
getTGDZ(date) {
|
||||||
|
let that = this
|
||||||
|
$http.request({
|
||||||
|
url: "book/point/TGDZForYear",
|
||||||
|
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||||
|
data: {
|
||||||
|
"date": date
|
||||||
|
},
|
||||||
|
header: { //默认 无 说明:请求头
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
console.log('天干地支', res.tgdz)
|
||||||
|
this.tiangandizhi = res.tgdz
|
||||||
|
}
|
||||||
|
|
||||||
|
}).catch(e => {
|
||||||
|
console.log(e, 'e')
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 获取时辰取穴
|
||||||
|
getXueWei(date) {
|
||||||
|
let that = this
|
||||||
|
$http.request({
|
||||||
|
url: "book/point/SCQX",
|
||||||
|
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||||
|
data: {
|
||||||
|
"date": date
|
||||||
|
},
|
||||||
|
header: { //默认 无 说明:请求头
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0 && res.flag.length > 0) {
|
||||||
|
console.log('时辰取穴', res.flag)
|
||||||
|
this.quxue = res.flag
|
||||||
|
this.curIndex = res.flag.findIndex(function(item) {
|
||||||
|
return item.now == true
|
||||||
|
})
|
||||||
|
this.curIndex = this.curIndex + 2
|
||||||
|
console.log(this.curIndex, 'this.curIndex')
|
||||||
|
}
|
||||||
|
|
||||||
|
}).catch(e => {
|
||||||
|
this.curIndex = null
|
||||||
|
console.log(e, 'e')
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// checkAdult(item) {
|
||||||
|
// return item.now == true
|
||||||
|
// },
|
||||||
|
changeLog(e) {
|
||||||
|
console.log('change事件:', e);
|
||||||
|
let ss = e.slice(0, 10)
|
||||||
|
this.timestamp = new Date(ss).getTime()
|
||||||
|
this.dateToString = e
|
||||||
|
this.getXueWei(e)
|
||||||
|
this.getTGDZ(e)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
components: {
|
||||||
|
musicPlay
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import './scss/common.scss';
|
||||||
|
|
||||||
|
.leftBar {
|
||||||
|
td {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.cur {
|
||||||
|
background-color: #e7a896;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
td {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableTh {
|
||||||
|
background-color: #fbd5ca;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shuHeight {
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shuHeight1 {
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.verticalRl {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oneHeight {
|
||||||
|
height: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.twoHeight {
|
||||||
|
height: 94rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
table td {
|
||||||
|
border-bottom: 1px solid #a84a2d;
|
||||||
|
border-right: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr:first-child td {
|
||||||
|
border-top: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr td:first-child {
|
||||||
|
border-left: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 8rpx 10rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oneWidth {
|
||||||
|
width: 124rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .uni-table-th {
|
||||||
|
padding: 14rpx 20rpx
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centerBox {
|
||||||
|
text-align: center;
|
||||||
|
padding: 20px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yinli {
|
||||||
|
line-height: 50rpx;
|
||||||
|
|
||||||
|
text {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
letter-spacing: 20rpx;
|
||||||
|
color: #c06346;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.box1 {
|
||||||
|
padding: 20rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
justify-content: space-between; align-items: center;
|
||||||
|
|
||||||
|
.yunqi {
|
||||||
|
color: #c06346;
|
||||||
|
text-align: right;
|
||||||
|
|
||||||
|
.shu {
|
||||||
|
text {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
line-height: 60rpx;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grayBg {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-view_H {
|
||||||
|
white-space: nowrap;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.leftone {
|
||||||
|
|
||||||
|
border-left: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #fef9e4;
|
||||||
|
border-right: 1px solid #ddd;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row.cur {
|
||||||
|
background-color: #8d3d16;
|
||||||
|
color: #fff;
|
||||||
|
position: relative;
|
||||||
|
border-right: 0;
|
||||||
|
z-index: 5;
|
||||||
|
box-shadow: 0 0 10px #8d3d16;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line {
|
||||||
|
padding: 20rpx;
|
||||||
|
border-top: 1px solid #ddd;
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 36rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.line1 {
|
||||||
|
font-size: 24rpx;
|
||||||
|
height: 200rpx;
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zhuyun {
|
||||||
|
color: #8d3d16;
|
||||||
|
background-color: #faede7;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keyun {
|
||||||
|
color: #c06346;
|
||||||
|
background-color: #fceeed;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.container88 {
|
||||||
|
padding: 10rpx;
|
||||||
|
|
||||||
|
background-color: #fff;
|
||||||
|
padding-bottom: 70rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.datetimeBox {
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-bottom: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.liuqiBox {
|
||||||
|
.line.keyun {
|
||||||
|
padding: 60rpx 10rpx
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.wuYunBox {
|
||||||
|
.row {
|
||||||
|
width: 20%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .uni-calendar__content-mobile {
|
||||||
|
bottom: 100rpx !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai {
|
||||||
|
.keyun {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keyun::after {
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
top: 24rpx;
|
||||||
|
left: 0;
|
||||||
|
font-size: 24rpx;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
color: #888;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai1 {
|
||||||
|
.keyun::after {
|
||||||
|
content: '(司天)';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai2 {
|
||||||
|
.keyun::after {
|
||||||
|
content: '(在泉)';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexbox {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
545
pages/timeAcupoint/timeAcupoint.vue
Normal file
545
pages/timeAcupoint/timeAcupoint.vue
Normal file
@@ -0,0 +1,545 @@
|
|||||||
|
<template>
|
||||||
|
<view class="container88">
|
||||||
|
<!-- 公共组件-每个页面必须引入 -->
|
||||||
|
<public-module></public-module>
|
||||||
|
<z-nav-bar title="时辰取穴"></z-nav-bar>
|
||||||
|
<view>
|
||||||
|
<!-- <uni-section :title="'date 对象用法:' + datetimesingle" type="line"></uni-section> -->
|
||||||
|
<!-- <view class="datetimeBox">
|
||||||
|
<uni-datetime-picker type="datetime" v-model="date" @change="changeLog" :clear-icon="false" />
|
||||||
|
</view> -->
|
||||||
|
<view class="box1 ">
|
||||||
|
<view class="" style="text-align: center; margin-top: 50rpx; align-items: center; margin-bottom: 30rpx;">
|
||||||
|
<!-- <text style="color: #666; line-height: 60rpx;">所查询时间:</text><br /> -->
|
||||||
|
<view class="" style="margin-bottom: 10rpx; ">
|
||||||
|
<text style="color: #a84a2d; font-size: 50rpx; white-space:nowrap; font-weight: bold;">{{dateToString}}</text>
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
<uni-datetime-picker type="datetime" v-model="date" @change="changeLog" :clear-icon="false" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<!-- <uni-datetime-picker style="color: #666; " v-model="single"
|
||||||
|
>切换时间</uni-datetime-picker> -->
|
||||||
|
<!-- <uni-datetime-picker type="datetime" v-model="date" @change="changeLog" :clear-icon="false" /> -->
|
||||||
|
</view>
|
||||||
|
<view class="yunqi">
|
||||||
|
<!-- <text style="color: #666; line-height: 50rpx; width: 100%; margin-right: 15rpx;">天干地支</text> -->
|
||||||
|
<view class="shu">
|
||||||
|
<text>{{tiangandizhi.hour}} - 时</text>
|
||||||
|
<text>{{tiangandizhi.day}} - 日</text>
|
||||||
|
<text>{{tiangandizhi.month}} - 月</text>
|
||||||
|
<text>{{tiangandizhi.year}} - 年</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 当天 -->
|
||||||
|
<view class="curBox flexbox" style="justify-content: space-between;" v-if="showDetail">
|
||||||
|
<table border style=" text-align: center;;background-color: antiquewhite;" cellspacing="0">
|
||||||
|
<tr class="">
|
||||||
|
<!-- <td colspan="1" class=""></td> -->
|
||||||
|
<td class="" rowspan="2">灵龟八法</td>
|
||||||
|
<td class="">开穴</td>
|
||||||
|
<td class="curText" style="width: 130rpx"><text class="verticalRl" style="writing-mode: vertical-rl;">{{quxue[curIndex-2].lgbf.KX}}</text></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="">
|
||||||
|
<td class="">合穴</td>
|
||||||
|
<td class="curText" v-if="quxue[curIndex-2].lgbf.HX != ''"><text class="verticalRl">{{quxue[curIndex-2].lgbf.HX}}</text></td>
|
||||||
|
<td class="curText" v-else> / </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table border style="text-align: center; margin-left: 10rpx;background-color: antiquewhite;"
|
||||||
|
cellspacing="0">
|
||||||
|
<tr class="">
|
||||||
|
<!-- <td colspan="1" class=""></td> -->
|
||||||
|
<td class="" rowspan="2">飞腾八法</td>
|
||||||
|
<td class="">开穴</td>
|
||||||
|
<td class="curText" style="width: 130rpx"><text class="">{{quxue[curIndex-2].ftbf.KX}}</text></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="">
|
||||||
|
<td class="">合穴</td>
|
||||||
|
<td class="curText" v-if="quxue[curIndex-2].ftbf.HX != ''"><text class="">{{quxue[curIndex-2].ftbf.HX}}</text></td>
|
||||||
|
<td class="curText" v-else> / </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</view>
|
||||||
|
<view class="curBox" style="margin-top: 10rpx;" v-if="showDetail">
|
||||||
|
<table border style=" width: 100%; text-align: center;background-color: antiquewhite;" cellspacing="0">
|
||||||
|
<tr class="">
|
||||||
|
<!-- <td colspan="1" class=""></td> -->
|
||||||
|
<td class="" rowspan="5">子午流注</td>
|
||||||
|
<td class="shuHeight" colspan="2" rowspan="1">子午纳干</td>
|
||||||
|
<td class="curText" style=" border: none; text-align: center; vertical-align: middle;" v-if="quxue[curIndex-2].zwlz.ngf.length > 0">
|
||||||
|
<text class="" style="display: inline-block; height: 100%;" v-for="(item, index) in quxue[curIndex-2].zwlz.ngf"
|
||||||
|
:style="{color: getHightLightColor(item)}">{{item}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="curText" v-else> / </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="">
|
||||||
|
<td class="" rowspan="4">子午纳子</td>
|
||||||
|
<td class="">补法</td>
|
||||||
|
<td class="curText" style="width: 200rpx;" v-if="quxue[curIndex-2].zwlz.nzf.bf != ''">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(quxue[curIndex-2].zwlz.nzf.bf)}">{{quxue[curIndex-2].zwlz.nzf.bf}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="curText" v-else> / </td>
|
||||||
|
<!-- <td class="" v-if="quxue[curIndex-2].ftbf.HX != ''">{{quxue[curIndex-2].ftbf.HX}}</td>
|
||||||
|
<td class="" v-else> / </td> -->
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr class="">
|
||||||
|
<td class="">泄法</td>
|
||||||
|
<td class="curText" style="width: 200rpx;" v-if="quxue[curIndex-2].zwlz.nzf.xf != ''">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(quxue[curIndex-2].zwlz.nzf.xf)}">{{quxue[curIndex-2].zwlz.nzf.xf}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="curText" v-else> / </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="">
|
||||||
|
<td class="">过时泄本</td>
|
||||||
|
<td class="curText" style="width: 200rpx;" v-if="quxue[curIndex-2].zwlz.nzf.gsxb != ''">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(quxue[curIndex-2].zwlz.nzf.gsxb)}">{{quxue[curIndex-2].zwlz.nzf.gsxb}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="curText" v-else> / </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="">
|
||||||
|
<td class="">过时补原</td>
|
||||||
|
<td class="curText" style="width: 200rpx;" v-if="quxue[curIndex-2].zwlz.nzf.gsbf != ''">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(quxue[curIndex-2].zwlz.nzf.gsbf)}">{{quxue[curIndex-2].zwlz.nzf.gsbf}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="curText" v-else> / </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</view>
|
||||||
|
<view class="centerBox" style="text-align: right; padding-top:10rpx; font-size: 24rpx;">
|
||||||
|
注:表中带* 者是原穴
|
||||||
|
</view>
|
||||||
|
<!-- end -->
|
||||||
|
<view class="showBtn">
|
||||||
|
<text @click="showTotalFun" v-if="!showTotal">《 查看全部时辰对应穴位 》</text>
|
||||||
|
<!-- <text @click="showTotalFun" v-else>《 收起全部时辰 》</text> -->
|
||||||
|
</view>
|
||||||
|
<music-play :playData="playData"></music-play>
|
||||||
|
<z-navigation></z-navigation>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import musicPlay from '@/components/music.vue'
|
||||||
|
import $http from '@/config/requestConfig.js';
|
||||||
|
|
||||||
|
function formatDateTime(time) {
|
||||||
|
var date = new Date(time);
|
||||||
|
var y = date.getFullYear();
|
||||||
|
var m = date.getMonth() + 1;
|
||||||
|
m = m < 10 ? ('0' + m) : m;
|
||||||
|
var d = date.getDate();
|
||||||
|
d = d < 10 ? ('0' + d) : d;
|
||||||
|
var h = date.getHours();
|
||||||
|
h = h < 10 ? ('0' + h) : h;
|
||||||
|
var minute = date.getMinutes();
|
||||||
|
var second = date.getSeconds();
|
||||||
|
minute = minute < 10 ? ('0' + minute) : minute;
|
||||||
|
second = second < 10 ? ('0' + second) : second;
|
||||||
|
|
||||||
|
return y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
showDetail: true,
|
||||||
|
showTotal: false,
|
||||||
|
single: '',
|
||||||
|
playData: {},
|
||||||
|
curIndex: null,
|
||||||
|
pageWidth: uni.getSystemInfoSync().windowWidth,
|
||||||
|
pageHeight: uni.getSystemInfoSync().windowHeight - 200,
|
||||||
|
fiveYunNum: 5,
|
||||||
|
// date: new Date().toISOString().slice(0, 10), // 只返回年月日
|
||||||
|
date: new Date().getTime(), // 返回年月日带时间
|
||||||
|
dateToString: formatDateTime(new Date()), // 字符串格式的日期
|
||||||
|
timestamp: Date.now() - 2 * 24 * 3600 * 1000, // 时间戳
|
||||||
|
showCalendar: false,
|
||||||
|
quxue: [], // 时辰取穴
|
||||||
|
tiangandizhi: {},
|
||||||
|
yuanXue: [
|
||||||
|
'腕骨', '丘墟', '丘墟', '太溪', '大陵', '京骨', '阳池', '太渊', '合谷', '太白', '冲阳', '神门'
|
||||||
|
],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
let da = new Date().toISOString().slice(0, 10)
|
||||||
|
this.timestamp = new Date(da).getTime()
|
||||||
|
console.log('初始时间', this.dateToString, this.date)
|
||||||
|
this.getXueWei(this.dateToString)
|
||||||
|
this.getTGDZ(this.dateToString)
|
||||||
|
// console.log('全局hours',this.$getHours.hourNumber)
|
||||||
|
},
|
||||||
|
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
scroll: function(e) {},
|
||||||
|
showTotalFun() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "./totalTable"
|
||||||
|
})
|
||||||
|
// this.showTotal = !this.showTotal
|
||||||
|
},
|
||||||
|
// 设置文字颜色
|
||||||
|
getHightLightColor(text) {
|
||||||
|
if (text.indexOf('*') != -1) {
|
||||||
|
return "#9c3211"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 获取天干地支
|
||||||
|
getTGDZ(date) {
|
||||||
|
let that = this
|
||||||
|
$http.request({
|
||||||
|
url: "book/point/TGDZForYear",
|
||||||
|
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||||
|
data: {
|
||||||
|
"date": date
|
||||||
|
},
|
||||||
|
header: { //默认 无 说明:请求头
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
console.log('天干地支', res.tgdz)
|
||||||
|
this.tiangandizhi = res.tgdz
|
||||||
|
}
|
||||||
|
|
||||||
|
}).catch(e => {
|
||||||
|
console.log(e, 'e')
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 获取时辰取穴
|
||||||
|
getXueWei(date) {
|
||||||
|
this.showDetail = false
|
||||||
|
let that = this
|
||||||
|
$http.request({
|
||||||
|
url: "book/point/SCQX",
|
||||||
|
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||||
|
data: {
|
||||||
|
"date": date
|
||||||
|
},
|
||||||
|
header: { //默认 无 说明:请求头
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0 && res.flag.length > 0) {
|
||||||
|
console.log('时辰取穴', res.flag)
|
||||||
|
this.quxue = res.flag
|
||||||
|
this.curIndex = res.flag.findIndex(function(item) {
|
||||||
|
return item.now == true
|
||||||
|
})
|
||||||
|
this.curIndex = this.curIndex + 2
|
||||||
|
console.log(this.curIndex, 'this.curIndex')
|
||||||
|
this.showDetail = true
|
||||||
|
}
|
||||||
|
|
||||||
|
}).catch(e => {
|
||||||
|
this.curIndex = null
|
||||||
|
console.log(e, 'e')
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// checkAdult(item) {
|
||||||
|
// return item.now == true
|
||||||
|
// },
|
||||||
|
changeLog(e) {
|
||||||
|
console.log('change事件:', e);
|
||||||
|
let ss = e.slice(0, 10)
|
||||||
|
this.timestamp = new Date(ss).getTime()
|
||||||
|
this.dateToString = e
|
||||||
|
this.getXueWei(e)
|
||||||
|
this.getTGDZ(e)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
components: {
|
||||||
|
musicPlay
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import './scss/common.scss';
|
||||||
|
|
||||||
|
/deep/ .uni-date-editor { position: relative;
|
||||||
|
display: block; width:200rpx; height:34rpx;
|
||||||
|
background-image: url('@/static/icon/change.png');
|
||||||
|
background-size: contain; margin: 0 auto;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding-left: 50rpx;
|
||||||
|
background-position: left top;
|
||||||
|
.uni-date-editor--x{display: none;}
|
||||||
|
}
|
||||||
|
/deep/ .uni-date-editor::after{content: '切换时间'; font-size: 30rpx; position: absolute; top: -2px; left: 40rpx; top: 0; display: block;}
|
||||||
|
|
||||||
|
.showBtn {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
text {
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.textBlock {
|
||||||
|
display: block
|
||||||
|
}
|
||||||
|
|
||||||
|
.curText { height: 90rpx;
|
||||||
|
background-color: #fbd5ca;
|
||||||
|
text{
|
||||||
|
writing-mode: vertical-rl !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftBar {
|
||||||
|
td {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.cur {
|
||||||
|
background-color: #e7a896;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
td {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableTh {
|
||||||
|
background-color: #fbd5ca;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shuHeight {
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shuHeight1 {
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.verticalRl {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oneHeight {
|
||||||
|
height: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.twoHeight {
|
||||||
|
height: 94rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
table td {
|
||||||
|
border-bottom: 1px solid #a84a2d;
|
||||||
|
border-right: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr:first-child td {
|
||||||
|
border-top: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr td:first-child {
|
||||||
|
border-left: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 8rpx 10rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oneWidth {
|
||||||
|
width: 124rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .uni-table-th {
|
||||||
|
padding: 14rpx 20rpx
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centerBox {
|
||||||
|
text-align: center;
|
||||||
|
padding: 20px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yinli {
|
||||||
|
line-height: 50rpx;
|
||||||
|
|
||||||
|
text {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
letter-spacing: 20rpx;
|
||||||
|
color: #c06346;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.box1 {
|
||||||
|
padding: 20rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.yunqi {
|
||||||
|
color: #c06346;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
|
||||||
|
.shu {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 20rpx;
|
||||||
|
|
||||||
|
text {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
line-height: 80rpx;
|
||||||
|
font-size:34rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grayBg {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-view_H {
|
||||||
|
white-space: nowrap;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.leftone {
|
||||||
|
|
||||||
|
border-left: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #fef9e4;
|
||||||
|
border-right: 1px solid #ddd;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row.cur {
|
||||||
|
background-color: #8d3d16;
|
||||||
|
color: #fff;
|
||||||
|
position: relative;
|
||||||
|
border-right: 0;
|
||||||
|
z-index: 5;
|
||||||
|
box-shadow: 0 0 10px #8d3d16;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line {
|
||||||
|
padding: 20rpx;
|
||||||
|
border-top: 1px solid #ddd;
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 36rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.line1 {
|
||||||
|
font-size: 24rpx;
|
||||||
|
height: 200rpx;
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zhuyun {
|
||||||
|
color: #8d3d16;
|
||||||
|
background-color: #faede7;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keyun {
|
||||||
|
color: #c06346;
|
||||||
|
background-color: #fceeed;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.container88 {
|
||||||
|
padding: 10rpx;
|
||||||
|
|
||||||
|
background-color: #fff;
|
||||||
|
padding-bottom: 70rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.datetimeBox {
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-bottom: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.liuqiBox {
|
||||||
|
.line.keyun {
|
||||||
|
padding: 60rpx 10rpx
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.wuYunBox {
|
||||||
|
.row {
|
||||||
|
width: 20%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .uni-calendar__content-mobile {
|
||||||
|
bottom: 100rpx !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai {
|
||||||
|
.keyun {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keyun::after {
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
top: 24rpx;
|
||||||
|
left: 0;
|
||||||
|
font-size: 24rpx;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
color: #888;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai1 {
|
||||||
|
.keyun::after {
|
||||||
|
content: '(司天)';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai2 {
|
||||||
|
.keyun::after {
|
||||||
|
content: '(在泉)';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexbox {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
583
pages/timeAcupoint/totalTable.vue
Normal file
583
pages/timeAcupoint/totalTable.vue
Normal file
@@ -0,0 +1,583 @@
|
|||||||
|
<template>
|
||||||
|
<view class="container88">
|
||||||
|
<!-- 公共组件-每个页面必须引入 -->
|
||||||
|
<public-module></public-module>
|
||||||
|
<!-- <view class="whiteBg"> -->
|
||||||
|
<z-nav-bar title="" ></z-nav-bar>
|
||||||
|
<!-- </view> -->
|
||||||
|
<!-- <view class="whiteBg"></view> -->
|
||||||
|
<view>
|
||||||
|
<view class="box1 ">
|
||||||
|
<view class="" style="text-align: center; margin-top: 20rpx; align-items: center; margin-bottom: 10rpx;">
|
||||||
|
<!-- <text style="color: #666; line-height: 60rpx;">所查询时间:</text><br /> -->
|
||||||
|
<view class="" style="margin-bottom: 10rpx; ">
|
||||||
|
<text style="color: #a84a2d; font-size: 50rpx; white-space:nowrap; font-weight: bold;">{{dateToString}}</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="">
|
||||||
|
<uni-datetime-picker type="datetime" v-model="date" @change="changeLog" :clear-icon="false" />
|
||||||
|
</view>
|
||||||
|
<!-- <uni-datetime-picker type="datetime" v-model="date" @change="changeLog" :clear-icon="false" /> -->
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="hole">
|
||||||
|
<!-- 全部表格 -->
|
||||||
|
<view class="centerBox" style="padding-top: 10rpx;">
|
||||||
|
↓ 12时辰对应穴位图表
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="container" style="display: flex;">
|
||||||
|
<view class="d-table" style="width:15%;position: relative; z-index: 1;">
|
||||||
|
<view class="leftBar">
|
||||||
|
<!-- <view :class="i === 1 ? 'd-th' : 'd-td'">张三</view> -->
|
||||||
|
<table border cellspacing="0" style="width:100%; background-color:antiquewhite;">
|
||||||
|
<tr>
|
||||||
|
<td class="shuHeight1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="height: 150rpx;"></td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 2 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">23~01</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 3 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">01~03</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 4 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">03~05</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 5 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">05~07</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 6 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">07~09</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 7 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">09~11</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 8 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">11~13</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 9 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">13~15</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 10 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">15~17</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 11 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">17~19</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 12 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">19~21</td>
|
||||||
|
</tr>
|
||||||
|
<tr :class="curIndex == 13 ? 'cur' :''">
|
||||||
|
<td class="shuHeight1">21~23</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<scroll-view scroll-x class="border-right" style="width: 85%;">
|
||||||
|
<view class="d-table scroll-x">
|
||||||
|
<table border style="width: 84vw; background-color:#fbd5ca;" cellspacing="0">
|
||||||
|
<tr class="tableTh">
|
||||||
|
<!-- <td colspan="1" class=""></td> -->
|
||||||
|
<td class="shuHeight" colspan="2">灵龟八法</td>
|
||||||
|
<td class="shuHeight" colspan="2">飞腾八法</td>
|
||||||
|
<td class="shuHeight" colspan="5">子午流注</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="tableTh">
|
||||||
|
<!-- <td colspan="1" rowspan="2" class=""></td> -->
|
||||||
|
<td class="" rowspan="2" style="height: 150rpx;">开穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 150rpx;">合穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 150rpx;">开穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 150rpx;">合穴</td>
|
||||||
|
<td class="" rowspan="2" style="height: 150rpx;">子午纳干</td>
|
||||||
|
<td colspan="4">子午纳子</td>
|
||||||
|
</tr>
|
||||||
|
<!-- </td>
|
||||||
|
</tr> -->
|
||||||
|
<tr class="tableTh">
|
||||||
|
<td class="">补法</td>
|
||||||
|
<td class="">泄法</td>
|
||||||
|
<td class="">过时泄本</td>
|
||||||
|
<td class="">过时补原</td>
|
||||||
|
</tr>
|
||||||
|
<tr v-for="(item,index) in quxue" :key="index" :class="item.now ? 'cur' : ''">
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.lgbf.KX)}">{{item.lgbf.KX}}</text></td>
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.lgbf.HX)}">{{item.lgbf.HX}}</text></td>
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.ftbf.KX)}">{{item.ftbf.KX}}</text></td>
|
||||||
|
<td class="shuHeight "><text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.ftbf.HX)}">{{item.ftbf.HX}}</text></td>
|
||||||
|
<td class="shuHeight ">
|
||||||
|
<view class="flexbox" v-if="item.zwlz.ngf.length > 0"
|
||||||
|
style="justify-content: space-evenly;align-items: center; align-content: center;">
|
||||||
|
<text class="verticalRl" :style="{color: getHightLightColor(item1)}"
|
||||||
|
v-for="(item1,index1) in item.zwlz.ngf" :key="index1">{{item1}}</text>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.bf)}">{{item.zwlz.nzf.bf}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.xf)}">{{item.zwlz.nzf.xf}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.gsxb)}">{{item.zwlz.nzf.gsxb}}</text>
|
||||||
|
</td>
|
||||||
|
<td class="shuHeight">
|
||||||
|
<text class="verticalRl"
|
||||||
|
:style="{color: getHightLightColor(item.zwlz.nzf.gsbf)}">{{item.zwlz.nzf.gsbf}}</text>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
</view>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="centerBox" style="text-align: right; padding-top:10rpx; font-size: 24rpx;">
|
||||||
|
注:表中带* 者是原穴
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<music-play :playData="playData"></music-play>
|
||||||
|
<z-navigation></z-navigation>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import musicPlay from '@/components/music.vue'
|
||||||
|
import $http from '@/config/requestConfig.js';
|
||||||
|
|
||||||
|
function formatDateTime(time) {
|
||||||
|
var date = new Date(time);
|
||||||
|
var y = date.getFullYear();
|
||||||
|
var m = date.getMonth() + 1;
|
||||||
|
m = m < 10 ? ('0' + m) : m;
|
||||||
|
var d = date.getDate();
|
||||||
|
d = d < 10 ? ('0' + d) : d;
|
||||||
|
var h = date.getHours();
|
||||||
|
h = h < 10 ? ('0' + h) : h;
|
||||||
|
var minute = date.getMinutes();
|
||||||
|
var second = date.getSeconds();
|
||||||
|
minute = minute < 10 ? ('0' + minute) : minute;
|
||||||
|
second = second < 10 ? ('0' + second) : second;
|
||||||
|
|
||||||
|
return y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
showTotal: false,
|
||||||
|
single: '',
|
||||||
|
playData: {},
|
||||||
|
curIndex: null,
|
||||||
|
pageWidth: uni.getSystemInfoSync().windowWidth,
|
||||||
|
pageHeight: uni.getSystemInfoSync().windowHeight - 200,
|
||||||
|
fiveYunNum: 5,
|
||||||
|
// date: new Date().toISOString().slice(0, 10), // 只返回年月日
|
||||||
|
date: new Date().getTime(), // 返回年月日带时间
|
||||||
|
dateToString: formatDateTime(new Date()), // 字符串格式的日期
|
||||||
|
timestamp: Date.now() - 2 * 24 * 3600 * 1000, // 时间戳
|
||||||
|
showCalendar: false,
|
||||||
|
quxue: [], // 时辰取穴
|
||||||
|
tiangandizhi: {},
|
||||||
|
yuanXue: [
|
||||||
|
'腕骨', '丘墟', '丘墟', '太溪', '大陵', '京骨', '阳池', '太渊', '合谷', '太白', '冲阳', '神门'
|
||||||
|
],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
// 页面自动横屏
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
// plus.screen.lockOrientation("landscape-primary");
|
||||||
|
// uni.showLoading({
|
||||||
|
// title: "加载中..."
|
||||||
|
// })
|
||||||
|
// setTimeout(() => {
|
||||||
|
// plus.screen.unlockOrientation();
|
||||||
|
// plus.screen.lockOrientation('landscape-primary');
|
||||||
|
// uni.hideLoading();
|
||||||
|
// }, 1200)
|
||||||
|
// #endif
|
||||||
|
|
||||||
|
let da = new Date().toISOString().slice(0, 10)
|
||||||
|
this.timestamp = new Date(da).getTime()
|
||||||
|
console.log('初始时间', this.dateToString, this.date)
|
||||||
|
this.getXueWei(this.dateToString)
|
||||||
|
this.getTGDZ(this.dateToString)
|
||||||
|
},
|
||||||
|
onUnload() {
|
||||||
|
// 退出当前页面时 自动切换成竖屏
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
// plus.screen.lockOrientation("portrait-primary");
|
||||||
|
// #endif
|
||||||
|
},
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
scroll: function(e) {},
|
||||||
|
showTotalFun() {
|
||||||
|
this.showTotal = !this.showTotal
|
||||||
|
},
|
||||||
|
// 设置文字颜色
|
||||||
|
getHightLightColor(text) {
|
||||||
|
if (text.indexOf('*') != -1) {
|
||||||
|
return "#9c3211"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 获取天干地支
|
||||||
|
getTGDZ(date) {
|
||||||
|
let that = this
|
||||||
|
$http.request({
|
||||||
|
url: "book/point/TGDZForYear",
|
||||||
|
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||||
|
data: {
|
||||||
|
"date": date
|
||||||
|
},
|
||||||
|
header: { //默认 无 说明:请求头
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
console.log('天干地支', res.tgdz)
|
||||||
|
this.tiangandizhi = res.tgdz
|
||||||
|
}
|
||||||
|
|
||||||
|
}).catch(e => {
|
||||||
|
console.log(e, 'e')
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 获取时辰取穴
|
||||||
|
getXueWei(date) {
|
||||||
|
let that = this
|
||||||
|
$http.request({
|
||||||
|
url: "book/point/SCQX",
|
||||||
|
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||||
|
data: {
|
||||||
|
"date": date
|
||||||
|
},
|
||||||
|
header: { //默认 无 说明:请求头
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
},
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0 && res.flag.length > 0) {
|
||||||
|
console.log('时辰取穴', res.flag)
|
||||||
|
this.quxue = res.flag
|
||||||
|
this.curIndex = res.flag.findIndex(function(item) {
|
||||||
|
return item.now == true
|
||||||
|
})
|
||||||
|
this.curIndex = this.curIndex + 2
|
||||||
|
console.log(this.curIndex, 'this.curIndex')
|
||||||
|
}
|
||||||
|
|
||||||
|
}).catch(e => {
|
||||||
|
this.curIndex = null
|
||||||
|
console.log(e, 'e')
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// checkAdult(item) {
|
||||||
|
// return item.now == true
|
||||||
|
// },
|
||||||
|
changeLog(e) {
|
||||||
|
console.log('change事件:', e);
|
||||||
|
let ss = e.slice(0, 10)
|
||||||
|
this.timestamp = new Date(ss).getTime()
|
||||||
|
this.dateToString = e
|
||||||
|
this.getXueWei(e)
|
||||||
|
this.getTGDZ(e)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
components: {
|
||||||
|
musicPlay
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import './scss/common.scss';
|
||||||
|
.whiteBg{background-color: #fff; overflow: hidden; position: fixed; top: 0; width: 100vw; z-index: 5;}
|
||||||
|
/deep/ .uni-date-editor { position: relative;
|
||||||
|
display: block; width:200rpx; height:34rpx;
|
||||||
|
background-image: url('@/static/icon/change.png');
|
||||||
|
background-size: contain; margin: 0 auto;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding-left: 50rpx;
|
||||||
|
background-position: left top;
|
||||||
|
.uni-date-editor--x{display: none;}
|
||||||
|
}
|
||||||
|
/deep/ .uni-date-editor::after{content: '切换时间'; font-size: 30rpx; position: absolute; top: -2px; left: 40rpx; top: 0; display: block;}
|
||||||
|
|
||||||
|
|
||||||
|
.showBtn {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
text {
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.textBlock {
|
||||||
|
display: block
|
||||||
|
}
|
||||||
|
|
||||||
|
.curText {
|
||||||
|
background-color: #fbd5ca;
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftBar {
|
||||||
|
td {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.cur {
|
||||||
|
background-color: #e7a896;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
td {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableTh {
|
||||||
|
// background-color: #fbd5ca;
|
||||||
|
background-color: antiquewhite;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shuHeight {
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shuHeight1 {
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.verticalRl {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oneHeight {
|
||||||
|
height: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.twoHeight {
|
||||||
|
height: 94rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
table td {
|
||||||
|
border-bottom: 1px solid #a84a2d;
|
||||||
|
border-right: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr:first-child td {
|
||||||
|
border-top: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr td:first-child {
|
||||||
|
border-left: 1px solid #a84a2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 8rpx 10rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oneWidth {
|
||||||
|
width: 124rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .uni-table-th {
|
||||||
|
padding: 14rpx 20rpx
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centerBox {
|
||||||
|
text-align: center;
|
||||||
|
padding: 20px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yinli {
|
||||||
|
line-height: 50rpx;
|
||||||
|
|
||||||
|
text {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
letter-spacing: 20rpx;
|
||||||
|
color: #c06346;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.box1 {
|
||||||
|
padding: 20rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.yunqi {
|
||||||
|
color: #c06346;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
|
||||||
|
.shu {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 20rpx;
|
||||||
|
|
||||||
|
text {
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
line-height: 80rpx;
|
||||||
|
font-size: 48rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grayBg {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-view_H {
|
||||||
|
white-space: nowrap;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.leftone {
|
||||||
|
|
||||||
|
border-left: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #fef9e4;
|
||||||
|
border-right: 1px solid #ddd;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row.cur {
|
||||||
|
background-color: #8d3d16;
|
||||||
|
color: #fff;
|
||||||
|
position: relative;
|
||||||
|
border-right: 0;
|
||||||
|
z-index: 5;
|
||||||
|
box-shadow: 0 0 10px #8d3d16;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line {
|
||||||
|
padding: 20rpx;
|
||||||
|
border-top: 1px solid #ddd;
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 36rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.line1 {
|
||||||
|
font-size: 24rpx;
|
||||||
|
height: 200rpx;
|
||||||
|
writing-mode: vertical-rl;
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zhuyun {
|
||||||
|
color: #8d3d16;
|
||||||
|
background-color: #faede7;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keyun {
|
||||||
|
color: #c06346;
|
||||||
|
background-color: #fceeed;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.container88 {
|
||||||
|
padding: 10rpx;
|
||||||
|
|
||||||
|
background-color: #fff;
|
||||||
|
padding-bottom: 70rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.datetimeBox {
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-bottom: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.liuqiBox {
|
||||||
|
.line.keyun {
|
||||||
|
padding: 60rpx 10rpx
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.wuYunBox {
|
||||||
|
.row {
|
||||||
|
width: 20%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .uni-calendar__content-mobile {
|
||||||
|
bottom: 100rpx !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai {
|
||||||
|
.keyun {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keyun::after {
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
top: 24rpx;
|
||||||
|
left: 0;
|
||||||
|
font-size: 24rpx;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
color: #888;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai1 {
|
||||||
|
.keyun::after {
|
||||||
|
content: '(司天)';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.sizai2 {
|
||||||
|
.keyun::after {
|
||||||
|
content: '(在泉)';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexbox {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
BIN
static/icon/change.png
Normal file
BIN
static/icon/change.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
static/icon/five6.png
Normal file
BIN
static/icon/five6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
Reference in New Issue
Block a user