Showing
194 changed files
with
1225 additions
and
0 deletions
.env
0 → 100644
.env.development
0 → 100644
.env.production
0 → 100644
.eslintrc-auto-import.json
0 → 100644
| 1 | +{ | ||
| 2 | + "globals": { | ||
| 3 | + "EffectScope": true, | ||
| 4 | + "computed": true, | ||
| 5 | + "createApp": true, | ||
| 6 | + "customRef": true, | ||
| 7 | + "defineAsyncComponent": true, | ||
| 8 | + "defineComponent": true, | ||
| 9 | + "effectScope": true, | ||
| 10 | + "getCurrentInstance": true, | ||
| 11 | + "getCurrentScope": true, | ||
| 12 | + "h": true, | ||
| 13 | + "inject": true, | ||
| 14 | + "isProxy": true, | ||
| 15 | + "isReactive": true, | ||
| 16 | + "isReadonly": true, | ||
| 17 | + "isRef": true, | ||
| 18 | + "markRaw": true, | ||
| 19 | + "nextTick": true, | ||
| 20 | + "onActivated": true, | ||
| 21 | + "onBeforeMount": true, | ||
| 22 | + "onBeforeUnmount": true, | ||
| 23 | + "onBeforeUpdate": true, | ||
| 24 | + "onDeactivated": true, | ||
| 25 | + "onErrorCaptured": true, | ||
| 26 | + "onMounted": true, | ||
| 27 | + "onRenderTracked": true, | ||
| 28 | + "onRenderTriggered": true, | ||
| 29 | + "onScopeDispose": true, | ||
| 30 | + "onServerPrefetch": true, | ||
| 31 | + "onUnmounted": true, | ||
| 32 | + "onUpdated": true, | ||
| 33 | + "provide": true, | ||
| 34 | + "reactive": true, | ||
| 35 | + "readonly": true, | ||
| 36 | + "ref": true, | ||
| 37 | + "resolveComponent": true, | ||
| 38 | + "shallowReactive": true, | ||
| 39 | + "shallowReadonly": true, | ||
| 40 | + "shallowRef": true, | ||
| 41 | + "toRaw": true, | ||
| 42 | + "toRef": true, | ||
| 43 | + "toRefs": true, | ||
| 44 | + "triggerRef": true, | ||
| 45 | + "unref": true, | ||
| 46 | + "useAttrs": true, | ||
| 47 | + "useCssModule": true, | ||
| 48 | + "useCssVars": true, | ||
| 49 | + "useRoute": true, | ||
| 50 | + "useRouter": true, | ||
| 51 | + "useSlots": true, | ||
| 52 | + "watch": true, | ||
| 53 | + "watchEffect": true, | ||
| 54 | + "watchPostEffect": true, | ||
| 55 | + "watchSyncEffect": true | ||
| 56 | + } | ||
| 57 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
.eslintrc.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-05-27 08:59:09 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-07-08 18:15:20 | ||
| 6 | + * @FilePath: /tswj/.eslintrc.js | ||
| 7 | + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||
| 8 | + */ | ||
| 9 | +module.exports = { | ||
| 10 | + // parser: '@typescript-eslint/parser', | ||
| 11 | + parser: 'vue-eslint-parser', | ||
| 12 | + parserOptions: { | ||
| 13 | + parser: 'babel-eslint', | ||
| 14 | + // parser: '@typescript-eslint/parser', | ||
| 15 | + }, | ||
| 16 | + extends: [ | ||
| 17 | + // add more generic rule sets here, such as: | ||
| 18 | + // 'eslint:recommended', | ||
| 19 | + 'plugin:vue/vue3-recommended', | ||
| 20 | + './.eslintrc-auto-import.json' | ||
| 21 | + // 'plugin:vue/recommended' // Use this if you are using Vue.js 2.x. | ||
| 22 | + ], | ||
| 23 | + rules: { | ||
| 24 | + // override/add rules settings here, such as: | ||
| 25 | + // 'vue/no-unused-vars': 'error' | ||
| 26 | + "vue/max-attributes-per-line": ["error", { | ||
| 27 | + "singleline": { | ||
| 28 | + "max": 20 | ||
| 29 | + }, | ||
| 30 | + "multiline": { | ||
| 31 | + "max": 10 | ||
| 32 | + } | ||
| 33 | + }], | ||
| 34 | + "vue/singleline-html-element-content-newline": 0, // 在单行元素的内容之前和之后需要换行符 | ||
| 35 | + "vue/first-attribute-linebreak": 0, // 强制第一个属性需要换行 | ||
| 36 | + "vue/multi-word-component-names": 0, // 要求组件名称始终为多字 | ||
| 37 | + "vue/html-indent": 0, // 执行一致的缩进 | ||
| 38 | + "vue/html-closing-bracket-newline": 0, // 在标签的右括号之前要求或禁止换行 | ||
| 39 | + }, | ||
| 40 | + overrides: [ | ||
| 41 | + { | ||
| 42 | + files: ['*.ts'], | ||
| 43 | + parser: '@typescript-eslint/parser', | ||
| 44 | + plugins: ['@typescript-eslint'], | ||
| 45 | + extends: ['plugin:@typescript-eslint/recommended'], | ||
| 46 | + }, | ||
| 47 | + ], | ||
| 48 | +} |
.gitignore
0 → 100644
.jshintrc
0 → 100644
build/proxy.js
0 → 100644
components.d.ts
0 → 100644
| 1 | +/* eslint-disable */ | ||
| 2 | +/* prettier-ignore */ | ||
| 3 | +// @ts-nocheck | ||
| 4 | +// Generated by unplugin-vue-components | ||
| 5 | +// Read more: https://github.com/vuejs/core/pull/3399 | ||
| 6 | +export {} | ||
| 7 | + | ||
| 8 | +declare module 'vue' { | ||
| 9 | + export interface GlobalComponents { | ||
| 10 | + RouterLink: typeof import('vue-router')['RouterLink'] | ||
| 11 | + RouterView: typeof import('vue-router')['RouterView'] | ||
| 12 | + } | ||
| 13 | +} |
favicon.ico
0 → 100644
No preview for this file type
index.html
0 → 100644
| 1 | +<!DOCTYPE html> | ||
| 2 | +<html lang='zh'> | ||
| 3 | +<head> | ||
| 4 | + <meta charset="UTF-8"> | ||
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" /> | ||
| 6 | + <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> | ||
| 7 | + <title></title> | ||
| 8 | + <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.compat.css" /> --> | ||
| 9 | +</head> | ||
| 10 | +<body> | ||
| 11 | + <div id="app"></div> | ||
| 12 | + <script type="module" src="/src/main.js"></script> | ||
| 13 | +</body> | ||
| 14 | +</html> |
keys/localhost+2-key.pem
0 → 100644
| 1 | +-----BEGIN PRIVATE KEY----- | ||
| 2 | +MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDEzFrlVSgeuOQT | ||
| 3 | +sglIR5RxEASnH0XKKxg/rl6U0pe6NGHwnybhdO6ZHAWRIU4OVOVDCI3OnJ2/2c2o | ||
| 4 | +eCT9L+fDGJew3BAMZvKKn1A/o5xM5YYJo8IKKeJbehjXajXdRJ5WkhAKwSH+rSJE | ||
| 5 | +nADUF4S5sqbXVlvttc1QUVL9GprPq5OBptDfcs6AM+dN1XOn/LgFt0KJ1C80Ah1a | ||
| 6 | +TLjLLFOGEJNLtTAUpLzJb5DKLro88QgPK8ek5afOKiOMULnFk3QJCZ1W98Xd75zq | ||
| 7 | +5Fz/FLCmTgkZMGe+iLr44MewmwMu1H/cHtWVkfEZiFUcRa5xc6SbvMGENfu/3/L4 | ||
| 8 | +rLQ7ppMRAgMBAAECggEAaNnMD+WoA35Unh28DlN8xiRXpkbmIwmE2ODpKXduOVoR | ||
| 9 | +WGcjCvoG6XJhkOpisQYQQ/+5tfwBnCbKCNlCM9cjLvHaV/NXZZQv4yVwVwevjdS3 | ||
| 10 | +7kjeaBXasQxDUfoXirU1e0BE5cXye8L4v/8x/c4t+9YwSAiN3/99zS4W/hz/oGaE | ||
| 11 | +fCkjHOHQkQKw0invQz3kf86iyanLBS/rllJAtZKmRFqZKchWR68m+sDcbAP320tb | ||
| 12 | +z2yi7og8QcP+kuqQWr2QVOCfD7zz5ihLDCnzipNU/7JmHIkUXqYI8NKGLSftN0LB | ||
| 13 | +NSmOinsx/oM4gu7IAMsyZjpM4UkAHieJEtAHM4RIMQKBgQD13iV4QgupvQauwnl/ | ||
| 14 | +Kezse8zSjZS2YSUVZRsMDqw62sVa2BE4CV9NCWO3nPp5MDSDXahjDuoS640askM5 | ||
| 15 | +ynWQWbDmttomlVqPbXwHUfKqTLgUIvl7byIuyoJHAIlL/7xEOeHHa5oIy49aKTnw | ||
| 16 | +vrJMTrBifNsdqWp2ht64hwNL3QKBgQDM6IklIbfXDEdji7LAaCzu24uttWAwLn69 | ||
| 17 | +d1q5fMVWfWBl3l8O3gvbJSxXTeLHNcjsOb1iQq+3CT/eV+g+5xv17EQH+32ASq9d | ||
| 18 | +VBQ0tZC09BkMcDKPulC9JoGVsgLnIbjOy7GJKOhANqYh18FW9JAYvzZFWzNpsGAR | ||
| 19 | +kXZIGt/axQKBgQDotvZCSEkfxPHhUeOL0FQXVep9VFLw+SwPfx5FoFG2d0Gbha1u | ||
| 20 | +m7hfg0amEWgmctERkgGCmShG9jsdjKMCvTXfhnVhOqtrH6yS2y8tAoysUmddb+kx | ||
| 21 | +wvPY1AbRS5monItHDH4+sgMe1gV+ck0MKIM8pLJg1grTnXpOa8O9ZtVg5QKBgDFM | ||
| 22 | +4XJlom3DLons2p0gc28ks36f3Py6sxOy28k1E+WzVLYtwoE5O3EGiJyYyK9VaXos | ||
| 23 | +ijxR/yTyvMMqM16vDDMnHVcuUwvC7F5wFEx6Qs7GzCAJ/qBGG5bm5Na3datWmbhn | ||
| 24 | +mdd+WCLbAy2xU3swbFsH5m7Zeo07OmH/tY2zqZhhAoGBALxxnWJ4bgtZHcHREB0A | ||
| 25 | +QP6ZSLWoUk0ggoPuwSVgHImW+/C1/38KjHgv4UmhS59MpNqX3BOUgP1lTKQ4ifut | ||
| 26 | +N2/tFBdZXNdsbRNYp2UTGAHzUK6sUGyvY4g6mAZJWsIsVIzuLrZdrQywlglBpM4Q | ||
| 27 | +v/Q0jcIl9880opSG/+dfRbpW | ||
| 28 | +-----END PRIVATE KEY----- |
keys/localhost+2.pem
0 → 100644
| 1 | +-----BEGIN CERTIFICATE----- | ||
| 2 | +MIIEMTCCApmgAwIBAgIRAJqTbr7oXEP7a1vMS7zyApQwDQYJKoZIhvcNAQELBQAw | ||
| 3 | +ZzEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMR4wHAYDVQQLDBVodXlp | ||
| 4 | +cnVpQEhZUi1NQUMubG9jYWwxJTAjBgNVBAMMHG1rY2VydCBodXlpcnVpQEhZUi1N | ||
| 5 | +QUMubG9jYWwwHhcNMjMwNTE5MDcxMTE0WhcNMjUwODE5MDcxMTE0WjBVMScwJQYD | ||
| 6 | +VQQKEx5ta2NlcnQgZGV2ZWxvcG1lbnQgY2VydGlmaWNhdGUxKjAoBgNVBAsMIWh1 | ||
| 7 | +eWlydWlASFlSLU1BQy5sb2NhbCAo6IOh5YWI55SfKTCCASIwDQYJKoZIhvcNAQEB | ||
| 8 | +BQADggEPADCCAQoCggEBAMTMWuVVKB645BOyCUhHlHEQBKcfRcorGD+uXpTSl7o0 | ||
| 9 | +YfCfJuF07pkcBZEhTg5U5UMIjc6cnb/Zzah4JP0v58MYl7DcEAxm8oqfUD+jnEzl | ||
| 10 | +hgmjwgop4lt6GNdqNd1EnlaSEArBIf6tIkScANQXhLmyptdWW+21zVBRUv0ams+r | ||
| 11 | +k4Gm0N9yzoAz503Vc6f8uAW3QonULzQCHVpMuMssU4YQk0u1MBSkvMlvkMouujzx | ||
| 12 | +CA8rx6Tlp84qI4xQucWTdAkJnVb3xd3vnOrkXP8UsKZOCRkwZ76Iuvjgx7CbAy7U | ||
| 13 | +f9we1ZWR8RmIVRxFrnFzpJu8wYQ1+7/f8vistDumkxECAwEAAaNqMGgwDgYDVR0P | ||
| 14 | +AQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMBMB8GA1UdIwQYMBaAFJbi3Ybj | ||
| 15 | +xDBPnN8B3bayujege6IKMCAGA1UdEQQZMBeCCWxvY2FsaG9zdIcEfwAAAYcEwKgC | ||
| 16 | +ejANBgkqhkiG9w0BAQsFAAOCAYEAi3Scjz10WV/nJnlKHGbQxBgM4FqOQMEMqNoQ | ||
| 17 | +ojdRQqY7iTfV+6265TFaZ9pY27+ZKzL8Qyb6htqNYuRKACXqEohHHJBdDlGV9Kda | ||
| 18 | +hxznoP9ZBYm4NoiSiIJIQmEVy5SH/qb208gZPXb8mQT/czPPmQAE0oTWrVUDRkJl | ||
| 19 | +YGJmfcdVuN8JfLqW0HxUdP89gqH8nHv72+wZpcqc9i/yVwCfjhqgbinwU/rkZRqW | ||
| 20 | +7SIBVlDJs7d+4EuDMQMMe21w4b3isXr+LVtrH6I1MtQ0hTd9bQiMvl6HQ6hDK9Yd | ||
| 21 | +VRz2ubj5p2/qzCchxxfMMJjAea8YNlQCL593963PKzDPcaJnw8j9RtySpeIxiPPQ | ||
| 22 | +4+oRkZgO6Bd9OrxOAmoLG8+bJJbwmWC0LxH2nvYmArFgzKDu5hqwGQnLP0/7GeIk | ||
| 23 | +fNqWPJ84rj0V3lfVRKYWYwXNJbFTCQ3/ewN6mTChzBWgmRFUv6LjSfzq/X2l5tX0 | ||
| 24 | +vLXgvm2XxAtQoVRUAYsRRRrFwguT | ||
| 25 | +-----END CERTIFICATE----- |
keys/readme.md
0 → 100644
| 1 | +使用mkcert在本地生成2个免费的https证书(此命令会生成两个文件: localhost+2.pem, localhost+2-key.pem) | ||
| 2 | +mkcert localhost 127.0.0.1 ::1 | ||
| 3 | + | ||
| 4 | +https://blog.csdn.net/themagickeyjianan/article/details/106836904 | ||
| 5 | +https://blog.wangjunfeng.com/post/local_https/ | ||
| 6 | +https://juejin.cn/post/7141308011921801223?searchId=20230817153624B0F9ACBED49D8807E243#heading-7 |
package-lock.json
0 → 100644
This diff could not be displayed because it is too large.
package.json
0 → 100644
| 1 | +{ | ||
| 2 | + "name": "my_record", | ||
| 3 | + "description": "", | ||
| 4 | + "version": "1.0.0", | ||
| 5 | + "scripts": { | ||
| 6 | + "dev": "vite", | ||
| 7 | + "start": "vite --host 0.0.0.0", | ||
| 8 | + "build": "vite build", | ||
| 9 | + "build-watch": "vite build --watch", | ||
| 10 | + "build-ts": "vue-tsc --noEmit && vite build", | ||
| 11 | + "serve": "vite preview", | ||
| 12 | + "cypress:open": "cypress open" | ||
| 13 | + }, | ||
| 14 | + "dependencies": { | ||
| 15 | + "@vitejs/plugin-legacy": "^1.8.2", | ||
| 16 | + "@vueuse/core": "^8.5.0", | ||
| 17 | + "animate.css": "^4.1.1", | ||
| 18 | + "dayjs": "^1.11.3", | ||
| 19 | + "default-passive-events": "^2.0.0", | ||
| 20 | + "global": "^4.4.0", | ||
| 21 | + "html2canvas": "^1.4.1", | ||
| 22 | + "jquery": "^3.6.0", | ||
| 23 | + "js-cookie": "^3.0.1", | ||
| 24 | + "lodash": "^4.17.21", | ||
| 25 | + "moment": "^2.29.3", | ||
| 26 | + "mui-player": "^1.6.0", | ||
| 27 | + "recorder-core": "^1.3.23122400", | ||
| 28 | + "typescript": "^4.7.3", | ||
| 29 | + "uuid": "^8.3.2", | ||
| 30 | + "vant": "^4.8.1", | ||
| 31 | + "vconsole": "^3.14.6", | ||
| 32 | + "vite-plugin-dynamic-import": "^0.9.6", | ||
| 33 | + "vite-plugin-mp": "^1.6.1", | ||
| 34 | + "vue": "^3.2.36", | ||
| 35 | + "weixin-js-sdk": "^1.6.5" | ||
| 36 | + }, | ||
| 37 | + "devDependencies": { | ||
| 38 | + "@types/jquery": "^3.5.14", | ||
| 39 | + "@types/lodash": "^4.14.182", | ||
| 40 | + "@types/moment": "^2.13.0", | ||
| 41 | + "@typescript-eslint/parser": "^5.27.1", | ||
| 42 | + "@vitejs/plugin-vue": "^2.3.3", | ||
| 43 | + "@vue/compiler-sfc": "^3.2.36", | ||
| 44 | + "axios": "^0.27.2", | ||
| 45 | + "chai": "^4.3.6", | ||
| 46 | + "cypress": "^9.7.0", | ||
| 47 | + "eslint-plugin-vue": "^9.0.1", | ||
| 48 | + "less": "^4.1.2", | ||
| 49 | + "mocha": "^10.0.0", | ||
| 50 | + "pinia": "^2.0.14", | ||
| 51 | + "postcss-px-to-viewport": "^1.1.1", | ||
| 52 | + "qs": "^6.10.3", | ||
| 53 | + "tslint": "^6.1.3", | ||
| 54 | + "unplugin-auto-import": "^0.8.8", | ||
| 55 | + "unplugin-vue-components": "^0.26.0", | ||
| 56 | + "unplugin-vue-define-options": "^0.6.1", | ||
| 57 | + "vite": "^2.9.9", | ||
| 58 | + "vite-plugin-style-import": "1.4.1", | ||
| 59 | + "vue-router": "^4.0.15" | ||
| 60 | + } | ||
| 61 | +} |
prettier.config.js
0 → 100644
| 1 | +module.exports = { | ||
| 2 | + printWidth: 100, // 代码行的宽度,通用建议每行最大长度建议为100/120,但最好不超过这两个数。 | ||
| 3 | + tabWidth: 2, // 指定每次缩进的空格数。 | ||
| 4 | + semi: true, // 是否在代码语句结尾添加分号。 | ||
| 5 | + vueIndentScriptAndStyle: true, | ||
| 6 | + singleQuote: true, // 是否使用单引号,JSX单独设置。 | ||
| 7 | + trailingComma: 'all', // 在多行以逗号分割的句法中尽可能补充尾行逗号。 | ||
| 8 | + bracketSpacing: true, // 是否在对象属性与大括号之间填充空格。 | ||
| 9 | + bracketSameLine: false, // 开始标签的右尖括号是否跟随在最后一行属性末尾。 | ||
| 10 | + proseWrap: 'never', | ||
| 11 | + htmlWhitespaceSensitivity: 'strict', | ||
| 12 | + endOfLine: 'auto', // 设置换行风格,避免不同操作系统造成的大量代码diff。 | ||
| 13 | + singleAttributePerLine: false // 在Html,Vue,JSX中是否强制每条属性占用一行。 | ||
| 14 | +}; |
public/images/weixin_logo.jpg
0 → 100644
65.4 KB
publish.sh
0 → 100644
| 1 | +#!/usr/bin/env sh | ||
| 2 | +# ----------------------------------------------- | ||
| 3 | +# Filename: publish.sh | ||
| 4 | +# Revision: 1.0 | ||
| 5 | +# Date: 2022年5月20日 | ||
| 6 | +# Author: Hooke | ||
| 7 | +# Description: **** 根据php项目相应特征书写项目发布流程 | ||
| 8 | +# ----------------------------------------------- | ||
| 9 | + | ||
| 10 | +# 当发生错误时中止脚本 | ||
| 11 | +set -e | ||
| 12 | + | ||
| 13 | +# 本地Git服务器目录路径 | ||
| 14 | +path=/Users/huyirui/program/itomix/git/isp/f | ||
| 15 | + | ||
| 16 | +# 编译输出文件夹 | ||
| 17 | +output=voice | ||
| 18 | + | ||
| 19 | +# 打包 | ||
| 20 | +npm run build | ||
| 21 | + | ||
| 22 | +# 移除Git服务器目录下项目文件夹 | ||
| 23 | +rm -r $path"/${output:?}/images" | ||
| 24 | +rm -r $path"/${output:?}/index.html" | ||
| 25 | +rm -r $path"/${output:?}/static" | ||
| 26 | + | ||
| 27 | +# 把本地编译输出文件夹添加到服务器目录 | ||
| 28 | +mv "${output:?}/images" $path"/${output:?}" | ||
| 29 | +mv "${output:?}/index.html" $path"/${output:?}" | ||
| 30 | +mv "${output:?}/static" $path"/${output:?}" | ||
| 31 | + | ||
| 32 | +# 提交到Git服务器 | ||
| 33 | +cd $path"/${output:?}" | ||
| 34 | +git pull | ||
| 35 | +git add -A | ||
| 36 | +git commit -m '前端网页更新' | ||
| 37 | +git push | ||
| 38 | + | ||
| 39 | +# 更新SSH服务器上文件 | ||
| 40 | +# ssh -p 22 itomix@ipadbiz.cn 'cd /opt/voice/f/voice && git pull'`` |
src/@types/message/interface.ts
0 → 100644
| 1 | +export interface commentListType { | ||
| 2 | + id: string; | ||
| 3 | + avatar: string; | ||
| 4 | + name: string; | ||
| 5 | + kg_name: string; | ||
| 6 | + comment_time: string; | ||
| 7 | + note: string; | ||
| 8 | + c_action: string; | ||
| 9 | + c_name: string; | ||
| 10 | + cover: string; | ||
| 11 | + prod_id: string; | ||
| 12 | + perf_id: string; | ||
| 13 | + book_id: string; | ||
| 14 | + perf_name: string; | ||
| 15 | + book_name: string; | ||
| 16 | + localism_type: string; | ||
| 17 | + is_new: number; | ||
| 18 | +} |
src/App.vue
0 → 100644
| 1 | +<!-- | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-05-26 23:52:36 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2024-01-02 13:59:58 | ||
| 6 | + * @FilePath: /tswj/src/App.vue | ||
| 7 | + * @Description: | ||
| 8 | +--> | ||
| 9 | +<template> | ||
| 10 | + <!-- 页面缓存 --> | ||
| 11 | + <router-view v-slot="{ Component, route }"> | ||
| 12 | + <keep-alive :include="keepPages" :max="10"> | ||
| 13 | + <component :is="Component" :key="route.name" /> | ||
| 14 | + </keep-alive> | ||
| 15 | + </router-view> | ||
| 16 | +</template> | ||
| 17 | + | ||
| 18 | +<script setup> | ||
| 19 | +import { mainStore, useTitle } from '@/utils/generatePackage' | ||
| 20 | +import { computed, watchEffect, onMounted } from 'vue'; | ||
| 21 | +import { useRoute } from 'vue-router' | ||
| 22 | +import { setToastDefaultOptions } from 'vant'; | ||
| 23 | +// 会根据配置判断是否显示调试控件 | ||
| 24 | +// eslint-disable-next-line no-unused-vars | ||
| 25 | +import vConsole from '@/utils/vconsole' | ||
| 26 | +// 初始化WX环境 | ||
| 27 | +import wx from 'weixin-js-sdk' | ||
| 28 | +import { wxJsAPI } from '@/api/wx/config' | ||
| 29 | +import { apiList } from '@/api/wx/jsApiList.js' | ||
| 30 | + | ||
| 31 | +// 使用 include + pinia 状态管理动态缓存页面 | ||
| 32 | +const store = mainStore() | ||
| 33 | +const keepPages = computed(() => store.getKeepPages) | ||
| 34 | + | ||
| 35 | +// TAG: 全局设置页面标题 | ||
| 36 | +const $route = useRoute(); | ||
| 37 | +watchEffect( | ||
| 38 | + () => useTitle($route.meta.title) | ||
| 39 | +) | ||
| 40 | + | ||
| 41 | +// TAG: 全局配置Toast | ||
| 42 | +// setToastDefaultOptions({ | ||
| 43 | +// duration: 2000, | ||
| 44 | +// className: 'zIndex', | ||
| 45 | +// wordBreak: 'all', | ||
| 46 | +// }); | ||
| 47 | + | ||
| 48 | +onMounted(async () => { | ||
| 49 | + const { data } = await wxJsAPI(); | ||
| 50 | + data.jsApiList = apiList; | ||
| 51 | + wx.config(data); | ||
| 52 | + wx.ready(() => { | ||
| 53 | + wx.showAllNonBaseMenuItem(); | ||
| 54 | + }); | ||
| 55 | + wx.error((err) => { | ||
| 56 | + console.warn(err); | ||
| 57 | + }); | ||
| 58 | +}) | ||
| 59 | +</script> | ||
| 60 | + | ||
| 61 | +<style lang="less"> | ||
| 62 | +@prefix: ~'@{namespace}-x'; | ||
| 63 | + | ||
| 64 | +html, | ||
| 65 | +body { | ||
| 66 | + width: 100%; | ||
| 67 | + height: 100%; | ||
| 68 | + padding: 0; | ||
| 69 | + margin: 0; | ||
| 70 | +} | ||
| 71 | + | ||
| 72 | +body { | ||
| 73 | + position: relative; | ||
| 74 | + // --van-white: #fff; | ||
| 75 | + // --van-blue: #1989fa; | ||
| 76 | + // --van-button-primary-color: var(--van-white); | ||
| 77 | + // --van-button-primary-background: var(--van-primary-color); | ||
| 78 | + /* 全局修改主色调 */ | ||
| 79 | + // --van-blue: #F9D95C; | ||
| 80 | + | ||
| 81 | + // background-color: #FAFAFA; | ||
| 82 | + p { | ||
| 83 | + margin: 0; | ||
| 84 | + padding: 0; | ||
| 85 | + } | ||
| 86 | +} | ||
| 87 | + | ||
| 88 | +.@{prefix} { | ||
| 89 | + color: red; | ||
| 90 | +} | ||
| 91 | + | ||
| 92 | +.global-center { | ||
| 93 | + position: relative; | ||
| 94 | + top: 50%; | ||
| 95 | + transform: translateY(-50%); | ||
| 96 | +} | ||
| 97 | + | ||
| 98 | +.zIndex { | ||
| 99 | + z-index: 4500 !important; | ||
| 100 | +} | ||
| 101 | + | ||
| 102 | +.van-popup.van-toast { | ||
| 103 | + z-index: 3003 !important; | ||
| 104 | + background: rgba(0, 0, 0, 0.7) !important; | ||
| 105 | +} | ||
| 106 | +</style> |
src/api/B/audit.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2022-06-20 16:33:35 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2022-06-20 16:35:56 | ||
| 5 | + * @FilePath: /tswj/src/api/B/audit.js | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 8 | +import { fn, fetch } from '@/api/fn'; | ||
| 9 | + | ||
| 10 | +const Api = { | ||
| 11 | + CHECK_PROD: '/srv/?a=check_prod', | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * @description 审核作品 | ||
| 16 | + * @param {*} prod_id | ||
| 17 | + * @param {*} status | ||
| 18 | + * @param {*} check_note | ||
| 19 | + * @returns {*} data | ||
| 20 | + */ | ||
| 21 | + export const checkProdAPI = (params) => fn(fetch.post(Api.CHECK_PROD, params)); |
src/api/B/kg.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-06-09 02:25:31 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-06-17 22:32:59 | ||
| 6 | + * @FilePath: /tswj/src/api/B/kg.js | ||
| 7 | + * @Description: 幼儿园主页接口 | ||
| 8 | + */ | ||
| 9 | +import { fn, fetch } from '@/api/fn'; | ||
| 10 | + | ||
| 11 | +const Api = { | ||
| 12 | + KG_INFO: '/srv/?a=kg_info', | ||
| 13 | + MY_KG: '/srv/?a=my_kg', | ||
| 14 | +} | ||
| 15 | + | ||
| 16 | +/** | ||
| 17 | + * @description 幼儿园详情 | ||
| 18 | + * @returns {*} data | ||
| 19 | + */ | ||
| 20 | +export const kgInfoAPI = (params) => fn(fetch.get(Api.KG_INFO, params)); | ||
| 21 | + | ||
| 22 | +/** | ||
| 23 | + * @description 我的幼儿园详情 | ||
| 24 | + * @returns {*} data | ||
| 25 | + */ | ||
| 26 | +export const myKgAPI = (params) => fn(fetch.get(Api.MY_KG, params)); |
src/api/B/localism.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2022-06-20 12:56:47 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2022-06-20 15:41:41 | ||
| 5 | + * @FilePath: /tswj/src/api/B/localism.js | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 8 | +import { fn, fetch } from '@/api/fn'; | ||
| 9 | + | ||
| 10 | +const Api = { | ||
| 11 | + LOCALISM_LIST_MODI: '/srv/?a=localism_list4modi', | ||
| 12 | + ADD_LOCALISM: '/srv/?a=add_localism', | ||
| 13 | + MODIFY_PROD_LOCALISM: '/srv/?a=modify_prod_localism', | ||
| 14 | +} | ||
| 15 | + | ||
| 16 | +/** | ||
| 17 | + * @description 幼儿园方言列表 | ||
| 18 | + * @returns {*} data | ||
| 19 | + */ | ||
| 20 | +export const localismListModiAPI = (params) => fn(fetch.get(Api.LOCALISM_LIST_MODI, params)); | ||
| 21 | + | ||
| 22 | +/** | ||
| 23 | + * @description 新增方言 | ||
| 24 | + * @param {string} localism_name | ||
| 25 | + * @returns {*} data | ||
| 26 | + */ | ||
| 27 | +export const addLocalismAPI = (params) => fn(fetch.post(Api.ADD_LOCALISM, params)); | ||
| 28 | + | ||
| 29 | +/** | ||
| 30 | + * @description 更新作品方言 | ||
| 31 | + * @param {string} prod_id | ||
| 32 | + * @param {string} localism_name | ||
| 33 | + * @returns {*} data | ||
| 34 | + */ | ||
| 35 | +export const modifyProdLocalismAPI = (params) => fn(fetch.post(Api.MODIFY_PROD_LOCALISM, params)); |
src/api/B/login.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2022-06-17 15:03:03 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2022-06-20 09:59:50 | ||
| 5 | + * @FilePath: /tswj/src/api/B/login.js | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 8 | +import { fn, fetch } from '@/api/fn'; | ||
| 9 | + | ||
| 10 | +const Api = { | ||
| 11 | + B_LOGIN: '/srv/?a=b_login', | ||
| 12 | + B_LOGOUT: '/srv/?a=b_logout', | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * @description 登录接口 | ||
| 17 | + * @param {*} phone 手机号 | ||
| 18 | + * @param {*} pin 验证码 | ||
| 19 | + */ | ||
| 20 | +export const bLoginAPI = (params) => fn(fetch.post(Api.B_LOGIN, params)); | ||
| 21 | + | ||
| 22 | +/** | ||
| 23 | + * @description 登出接口 | ||
| 24 | + */ | ||
| 25 | +export const bLogoutAPI = (params) => fn(fetch.post(Api.B_LOGOUT, params)); |
src/api/C/book.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2022-05-26 19:50:27 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2022-06-18 00:15:08 | ||
| 5 | + * @FilePath: /tswj/src/api/C/book.js | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 8 | +import { fn, fetch } from '@/api/fn'; | ||
| 9 | + | ||
| 10 | +const Api = { | ||
| 11 | + ADD_SUBSCRIBE: '/srv/?a=add_subscribe', | ||
| 12 | + BOOK_INFO: '/srv/?a=book_info', | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * @description: 订阅书籍操作 | ||
| 17 | + * @param {String} book_id 书籍 ID | ||
| 18 | + * @returns | ||
| 19 | + */ | ||
| 20 | +export const addSubscribeAPI = (params) => fn(fetch.post(Api.ADD_SUBSCRIBE, params)); | ||
| 21 | + | ||
| 22 | +/** | ||
| 23 | + * @description: 书籍详情 | ||
| 24 | + * @param {String} book_id 书籍 ID | ||
| 25 | + * @param {String} localism_type 方言类型 | ||
| 26 | + * @param {*} limit | ||
| 27 | + * @param {*} offset | ||
| 28 | + * @returns | ||
| 29 | + */ | ||
| 30 | +export const bookInfoAPI = (params) => fn(fetch.get(Api.BOOK_INFO, params)); |
src/api/C/donate.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-06-01 16:00:48 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-07-01 16:40:05 | ||
| 6 | + * @FilePath: /tswj/src/api/C/donate.js | ||
| 7 | + * @Description: 捐钱操作API | ||
| 8 | + */ | ||
| 9 | +import { fn, fetch } from '@/api/fn'; | ||
| 10 | + | ||
| 11 | +const Api = { | ||
| 12 | + PREPARE_DONATE: '/srv/?a=prepare_donate', | ||
| 13 | + ADD_DONATE: '/srv/?a=add_donate', | ||
| 14 | + ONE_CERT: '/srv/?a=one_cert', | ||
| 15 | +} | ||
| 16 | + | ||
| 17 | +/** | ||
| 18 | + * @description: 当前用户捐献所需信息 | ||
| 19 | + * @summary 适用于 访客进入操作,幼儿园节目操作,表演者节目操作 | ||
| 20 | + * @param {String} kg_id 幼儿园ID | ||
| 21 | + * @param {String} perf_id 表演者ID | ||
| 22 | + * @returns | ||
| 23 | + */ | ||
| 24 | +export const prepareDonateAPI = (params) => fn(fetch.get(Api.PREPARE_DONATE, params)); | ||
| 25 | + | ||
| 26 | +/** | ||
| 27 | + * @description: 用户捐献 | ||
| 28 | + * @param {Number} qty 数量 | ||
| 29 | + * @param {String} donate_name 捐赠人名称 | ||
| 30 | + * @param {Number} kg_id 指定助力幼儿园id | ||
| 31 | + * @param {Number} perf_id 指定助力儿童id | ||
| 32 | + * @returns | ||
| 33 | + */ | ||
| 34 | +export const addDonateAPI = (params) => fn(fetch.post(Api.ADD_DONATE, params)); | ||
| 35 | + | ||
| 36 | +/** | ||
| 37 | + * @description: 捐赠证书 | ||
| 38 | + * @param {String} donate_id 捐赠ID | ||
| 39 | + * @returns | ||
| 40 | + */ | ||
| 41 | +export const oneCertAPI = (params) => fn(fetch.get(Api.ONE_CERT, params)); |
src/api/C/kg.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-05-18 21:12:23 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-06-09 09:21:54 | ||
| 6 | + * @FilePath: /tswj/src/api/C/kg.js | ||
| 7 | + * @Description: 幼儿园相关接口 | ||
| 8 | + */ | ||
| 9 | +import { fn, fetch } from '@/api/fn'; | ||
| 10 | + | ||
| 11 | +const Api = { | ||
| 12 | + KG_LIST: '/srv/?a=kg_list', | ||
| 13 | + KG_DONATE_LIST: '/srv/?a=donate_list', | ||
| 14 | + KG_DONATE_RANK: '/srv/?a=donate_rank', | ||
| 15 | + KG_BOOK_LIST: '/srv/?a=kg_book_list', | ||
| 16 | +} | ||
| 17 | + | ||
| 18 | +/** | ||
| 19 | + * @description 幼儿园列表页 | ||
| 20 | + * @param {*} params 参数 | ||
| 21 | + * @returns {array} data | ||
| 22 | + */ | ||
| 23 | +export const kgListAPI = (params) => fn(fetch.get(Api.KG_LIST, params)); | ||
| 24 | + | ||
| 25 | +/** | ||
| 26 | + * @description 幼儿园捐赠列表页 | ||
| 27 | + * @param {*} kg_id 幼儿园ID | ||
| 28 | + * @param {*} limit 20 | ||
| 29 | + * @param {*} offset 0 | ||
| 30 | + * @returns {array} data | ||
| 31 | + */ | ||
| 32 | +export const kgDonateListAPI = (params) => fn(fetch.get(Api.KG_DONATE_LIST, params)); | ||
| 33 | + | ||
| 34 | +/** | ||
| 35 | + * @description 幼儿园捐赠排行榜 | ||
| 36 | + * @param {*} kg_id 幼儿园ID | ||
| 37 | + * @param {*} limit 20 | ||
| 38 | + * @param {*} offset 0 | ||
| 39 | + * @returns {array} data | ||
| 40 | + */ | ||
| 41 | +export const kgDonateRankAPI = (params) => fn(fetch.get(Api.KG_DONATE_RANK, params)); | ||
| 42 | + | ||
| 43 | +/** | ||
| 44 | + * @description 幼儿园书籍列表 | ||
| 45 | + * @param {*} kg_id 幼儿园ID | ||
| 46 | + * @returns {*} data | ||
| 47 | + */ | ||
| 48 | +export const kgBookListAPI = (params) => fn(fetch.get(Api.KG_BOOK_LIST, params)); |
src/api/C/me.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-05-18 22:16:10 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-09-06 11:32:16 | ||
| 6 | + * @FilePath: /tswj/src/api/C/me.js | ||
| 7 | + * @Description: 我的页面接口操作 | ||
| 8 | + */ | ||
| 9 | +import { fn, fetch } from '@/api/fn'; | ||
| 10 | + | ||
| 11 | +const Api = { | ||
| 12 | + CHANGE_PERFORMER: '/srv/?a=change_performer', | ||
| 13 | + MY_INFO: '/srv/?a=my_info', | ||
| 14 | + MY_PERFORMER: '/srv/?a=my_performer', | ||
| 15 | + MY_LIKE: '/srv/?a=my_like', | ||
| 16 | + MY_FAVOR: '/srv/?a=my_favor', | ||
| 17 | + MY_COMMENT: '/srv/?a=my_comment', | ||
| 18 | + MY_ATME: '/srv/?a=my_atme', | ||
| 19 | + DEL_COMMENT: '/srv/?a=del_comment', | ||
| 20 | + MY_SUBSCRIBE: '/srv/?a=my_subscribe', | ||
| 21 | + MY_FOLLOW: '/srv/?a=my_follow', | ||
| 22 | + MY_PROD: '/srv/?a=my_prod', | ||
| 23 | +} | ||
| 24 | + | ||
| 25 | +/** | ||
| 26 | + * @description: 切换儿童角色 | ||
| 27 | + * @param {*} params | ||
| 28 | + * @returns | ||
| 29 | + */ | ||
| 30 | +export const changePerformerAPI = (params) => fn(fetch.post(Api.CHANGE_PERFORMER, params)); | ||
| 31 | + | ||
| 32 | +/** | ||
| 33 | + * @description: 获取儿童信息 | ||
| 34 | + * @param {object} params 参数 | ||
| 35 | + * @returns {*} 布尔值||查询值 | ||
| 36 | + */ | ||
| 37 | +export const myInfoAPI = (params) => fn(fetch.get(Api.MY_INFO, params)); | ||
| 38 | + | ||
| 39 | +/** | ||
| 40 | + * @description: 角色列表信息 | ||
| 41 | + * @param {*} params | ||
| 42 | + * @returns | ||
| 43 | + */ | ||
| 44 | +export const myPerformerAPI = (params) => fn(fetch.get(Api.MY_PERFORMER, params)); | ||
| 45 | + | ||
| 46 | +/** | ||
| 47 | + * @description: 点赞列表信息 | ||
| 48 | + * @param {*} params | ||
| 49 | + * @returns | ||
| 50 | + */ | ||
| 51 | +export const myLikeAPI = (params) => fn(fetch.get(Api.MY_LIKE, params)); | ||
| 52 | + | ||
| 53 | +/** | ||
| 54 | + * @description: 收藏列表信息 | ||
| 55 | + * @param {*} params | ||
| 56 | + * @returns | ||
| 57 | + */ | ||
| 58 | +export const myFavorAPI = (params) => fn(fetch.get(Api.MY_FAVOR, params)); | ||
| 59 | + | ||
| 60 | +/** | ||
| 61 | + * @description: 用户评论列表 | ||
| 62 | + * @param {string} limit | ||
| 63 | + * @param {string} offset | ||
| 64 | + * @returns | ||
| 65 | + */ | ||
| 66 | +export const myCommentAPI = (params) => fn(fetch.get(Api.MY_COMMENT, params)); | ||
| 67 | + | ||
| 68 | +/** | ||
| 69 | + * @description: 删除用户评论 | ||
| 70 | + * @param {string} comment_id 评论ID | ||
| 71 | + * @returns | ||
| 72 | + */ | ||
| 73 | +export const delCommentAPI = (params) => fn(fetch.post(Api.DEL_COMMENT, params)); | ||
| 74 | + | ||
| 75 | +/** | ||
| 76 | + * @description: /@/我的列表 | ||
| 77 | + * @param {string} limit | ||
| 78 | + * @param {string} offset | ||
| 79 | + * @returns | ||
| 80 | + */ | ||
| 81 | +export const myAtmeAPI = (params) => fn(fetch.get(Api.MY_ATME, params)); | ||
| 82 | + | ||
| 83 | +/** | ||
| 84 | + * @description: 我的订阅 | ||
| 85 | + * @returns | ||
| 86 | + */ | ||
| 87 | +export const mySubscribeAPI = (params) => fn(fetch.get(Api.MY_SUBSCRIBE, params)); | ||
| 88 | + | ||
| 89 | +/** | ||
| 90 | + * @description: 我的关注 | ||
| 91 | + * @returns | ||
| 92 | + */ | ||
| 93 | +export const myFollowAPI = (params) => fn(fetch.get(Api.MY_FOLLOW, params)); | ||
| 94 | + | ||
| 95 | +/** | ||
| 96 | + * @description: 我的作品 | ||
| 97 | + * @returns | ||
| 98 | + */ | ||
| 99 | +export const myProdAPI = (params) => fn(fetch.get(Api.MY_PROD, params)); |
src/api/C/perf.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-05-26 21:16:59 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-06-10 13:30:31 | ||
| 6 | + * @FilePath: /tswj/src/api/C/perf.js | ||
| 7 | + * @Description: 用户相关API | ||
| 8 | + */ | ||
| 9 | +import { fn, fetch } from '@/api/fn'; | ||
| 10 | + | ||
| 11 | +const Api = { | ||
| 12 | + PERF_INFO: '/srv/?a=perf_info', | ||
| 13 | + ADD_FOLLOW: '/srv/?a=add_follow', | ||
| 14 | + ADD_COMMENT: '/srv/?a=add_comment', | ||
| 15 | + ADD_REPLY: '/srv/?a=add_reply', | ||
| 16 | + MY_COMMENT_TIME: '/srv/?a=my_comment_time', | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +/** | ||
| 20 | + * @description: 获取表演者信息 | ||
| 21 | + * @param {String} perf_id 表演者ID | ||
| 22 | + * @returns | ||
| 23 | + */ | ||
| 24 | +export const perfInfoAPI = (params) => fn(fetch.post(Api.PERF_INFO, params)); | ||
| 25 | + | ||
| 26 | +/** | ||
| 27 | + * @description: 关注用户操作 | ||
| 28 | + * @param {String} perf_id 表演者ID | ||
| 29 | + * @returns | ||
| 30 | + */ | ||
| 31 | +export const addFollowAPI = (params) => fn(fetch.post(Api.ADD_FOLLOW, params)); | ||
| 32 | + | ||
| 33 | +/** | ||
| 34 | + * @description: 用户新增评论操作 | ||
| 35 | + * @param {String} prod_id 作品ID | ||
| 36 | + * @returns | ||
| 37 | + */ | ||
| 38 | +export const addCommentAPI = (params) => fn(fetch.post(Api.ADD_COMMENT, params)); | ||
| 39 | + | ||
| 40 | +/** | ||
| 41 | + * @description: 用户新增回复操作 | ||
| 42 | + * @param {String} comment_id 评论ID | ||
| 43 | + * @returns | ||
| 44 | + */ | ||
| 45 | +export const addReplyAPI = (params) => fn(fetch.post(Api.ADD_REPLY, params)); | ||
| 46 | + | ||
| 47 | +/** | ||
| 48 | + * @description: 更新用户留言事件 | ||
| 49 | + * @summary 处理留言已读未读问题 | ||
| 50 | + * @param {String} optr_type 操作类型 my_comment | atme_comment | ||
| 51 | + * @returns | ||
| 52 | + */ | ||
| 53 | +export const myCommentTimeAPI = (params) => fn(fetch.post(Api.MY_COMMENT_TIME, params)); |
src/api/C/prod.js
0 → 100644
| 1 | +import { fn, fetch } from '@/api/fn'; | ||
| 2 | + | ||
| 3 | +const Api = { | ||
| 4 | + PROD_ACTION: '/srv/?a=prod_action', | ||
| 5 | + PROD_INFO: '/srv/?a=prod_info', | ||
| 6 | +} | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * @description: 操作作品动作 | ||
| 10 | + * @param {String} type 动作类型:like, favor, play | ||
| 11 | + * @param {String} prod_id 作品 ID | ||
| 12 | + * @returns | ||
| 13 | + */ | ||
| 14 | +export const prodActionAPI = (params) => fn(fetch.post(Api.PROD_ACTION, params)); | ||
| 15 | + | ||
| 16 | +/** | ||
| 17 | + * @description: 查询作品详情 | ||
| 18 | + * @param {String} type 动作类型:like, favor, play | ||
| 19 | + * @param {String} prod_id 作品 ID | ||
| 20 | + * @returns | ||
| 21 | + */ | ||
| 22 | +export const prodInfoAPI = (params) => fn(fetch.get(Api.PROD_INFO, params)); |
src/api/common.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2022-06-17 14:54:29 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2022-06-18 22:18:46 | ||
| 5 | + * @FilePath: /tswj/src/api/common.js | ||
| 6 | + * @Description: 通用接口 | ||
| 7 | + */ | ||
| 8 | +import { fn, fetch, uploadFn } from '@/api/fn'; | ||
| 9 | + | ||
| 10 | +const Api = { | ||
| 11 | + SMS: '/srv/?a=sms', | ||
| 12 | + TOKEN: '/srv/?a=upload', | ||
| 13 | + SAVE_FILE: '/srv/?a=upload&t=save_file', | ||
| 14 | +} | ||
| 15 | + | ||
| 16 | +/** | ||
| 17 | + * @description: 发送验证码 | ||
| 18 | + * @param {*} phone 手机号码 | ||
| 19 | + * @returns | ||
| 20 | + */ | ||
| 21 | +export const smsAPI = (params) => fn(fetch.post(Api.SMS, params)); | ||
| 22 | + | ||
| 23 | +/** | ||
| 24 | + * @description: 获取七牛token | ||
| 25 | + * @param {*} filename 文件名 | ||
| 26 | + * @param {*} file 图片base64 | ||
| 27 | + * @returns | ||
| 28 | + */ | ||
| 29 | +export const qiniuTokenAPI = (params) => fn(fetch.stringifyPost(Api.TOKEN, params)); | ||
| 30 | + | ||
| 31 | +/** | ||
| 32 | + * @description: 上传七牛 | ||
| 33 | + * @param {*} | ||
| 34 | + * @returns | ||
| 35 | + */ | ||
| 36 | +export const qiniuUploadAPI = (url, data, config) => uploadFn(fetch.basePost(url, data, config)); | ||
| 37 | + | ||
| 38 | +/** | ||
| 39 | + * @description: 保存图片 | ||
| 40 | + * @param {*} format | ||
| 41 | + * @param {*} hash | ||
| 42 | + * @param {*} height | ||
| 43 | + * @param {*} width | ||
| 44 | + * @param {*} filekey | ||
| 45 | + * @returns | ||
| 46 | + */ | ||
| 47 | +export const saveFileAPI = (params) => fn(fetch.stringifyPost(Api.SAVE_FILE, params)); |
src/api/fn.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2022-05-18 22:56:08 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2024-01-02 16:46:57 | ||
| 5 | + * @FilePath: /tswj/src/api/fn.js | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 8 | +import axios from '@/utils/axios'; | ||
| 9 | +// import { Toast } from 'vant'; | ||
| 10 | +import { showToast } from 'vant'; | ||
| 11 | +import qs from 'Qs' | ||
| 12 | + | ||
| 13 | +/** | ||
| 14 | + * 网络请求功能函数 | ||
| 15 | + * @param {*} api 请求axios接口 | ||
| 16 | + * @returns 请求成功后,获取数据 | ||
| 17 | + */ | ||
| 18 | +export const fn = (api) => { | ||
| 19 | + return api | ||
| 20 | + .then(res => { | ||
| 21 | + if (res.data.code === 1) { | ||
| 22 | + return res.data || true; | ||
| 23 | + } else { | ||
| 24 | + // tslint:disable-next-line: no-console | ||
| 25 | + console.warn(res); | ||
| 26 | + if (!res.data.show) return false; | ||
| 27 | + // Toast({ | ||
| 28 | + // icon: 'close', | ||
| 29 | + // message: res.data.msg | ||
| 30 | + // }); | ||
| 31 | + showToast(res.data.msg); | ||
| 32 | + return false; | ||
| 33 | + } | ||
| 34 | + }) | ||
| 35 | + .catch(err => { | ||
| 36 | + // tslint:disable-next-line: no-console | ||
| 37 | + console.error(err); | ||
| 38 | + return false; | ||
| 39 | + }) | ||
| 40 | + .finally(() => { // 最终执行 | ||
| 41 | + }) | ||
| 42 | +} | ||
| 43 | + | ||
| 44 | +/** | ||
| 45 | + * 七牛返回格式 | ||
| 46 | + * @param {*} api | ||
| 47 | + * @returns | ||
| 48 | + */ | ||
| 49 | +export const uploadFn = (api) => { | ||
| 50 | + return api | ||
| 51 | + .then(res => { | ||
| 52 | + if (res.statusText === 'OK') { | ||
| 53 | + return res.data || true; | ||
| 54 | + } else { | ||
| 55 | + // tslint:disable-next-line: no-console | ||
| 56 | + console.warn(res); | ||
| 57 | + if (!res.data.show) return false; | ||
| 58 | + // Toast({ | ||
| 59 | + // icon: 'close', | ||
| 60 | + // message: res.data.msg | ||
| 61 | + // }); | ||
| 62 | + showToast(res.data.msg); | ||
| 63 | + return false; | ||
| 64 | + } | ||
| 65 | + }) | ||
| 66 | + .catch(err => { | ||
| 67 | + // tslint:disable-next-line: no-console | ||
| 68 | + console.error(err); | ||
| 69 | + return false; | ||
| 70 | + }) | ||
| 71 | +} | ||
| 72 | + | ||
| 73 | +/** | ||
| 74 | + * 统一 GET/POST 不同传参形式 | ||
| 75 | + */ | ||
| 76 | +export const fetch = { | ||
| 77 | + get: function (api, params) { | ||
| 78 | + return axios.get(api, { params }) | ||
| 79 | + }, | ||
| 80 | + post: function (api, params) { | ||
| 81 | + return axios.post(api, params) | ||
| 82 | + }, | ||
| 83 | + stringifyPost: function (api, params) { | ||
| 84 | + return axios.post(api, qs.stringify(params)) | ||
| 85 | + }, | ||
| 86 | + basePost: function (url, data, config) { | ||
| 87 | + return axios.post(url, data, config) | ||
| 88 | + } | ||
| 89 | +} |
src/api/new_year_2024.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2023-12-31 11:20:51 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2024-01-02 16:48:10 | ||
| 5 | + * @FilePath: /tswj/src/api/new_year_2024.js | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 8 | +import { fn, fetch } from '@/api/fn'; | ||
| 9 | + | ||
| 10 | +const Api = { | ||
| 11 | + GET_AUDIO: '/srv/?a=meet_spring&t=get_audio', | ||
| 12 | + SAVE_EVENT: '/srv/?a=meet_spring&t=save_event', | ||
| 13 | + GET_BOOK: '/srv/?a=meet_spring&t=get_book', | ||
| 14 | + ADD_DONATE: '/srv/?a=meet_spring&t=add_donate', | ||
| 15 | + CERT_LIST: '/srv/?a=meet_spring&t=cert_list', | ||
| 16 | + SHARE_WISH_LIST: '/srv/?a=meet_spring&t=share_wish_list', | ||
| 17 | + WISH_PRIZE: '/srv/?a=meet_spring&t=win_prize', | ||
| 18 | + DEAL_PRIZE: '/srv/?a=meet_spring&t=deal_prize', | ||
| 19 | + PRIZE_LIST: '/srv/?a=meet_spring&t=prize_list', | ||
| 20 | +} | ||
| 21 | + | ||
| 22 | +/** | ||
| 23 | + * @description: 随机获取一个音频素材 | ||
| 24 | + * @returns | ||
| 25 | + */ | ||
| 26 | +export const getAudioAPI = (params) => fn(fetch.post(Api.GET_AUDIO, params)); | ||
| 27 | + | ||
| 28 | +/** | ||
| 29 | + * @description: 埋点 | ||
| 30 | + * @returns | ||
| 31 | + */ | ||
| 32 | +export const saveEventAPI = (params) => fn(fetch.post(Api.SAVE_EVENT, params)); | ||
| 33 | + | ||
| 34 | +/** | ||
| 35 | + * @description: 随机获取4本书 | ||
| 36 | + * @returns | ||
| 37 | + */ | ||
| 38 | +export const getBookAPI = (params) => fn(fetch.get(Api.GET_BOOK, params)); | ||
| 39 | + | ||
| 40 | +/** | ||
| 41 | + * @description: 生成捐助记录 | ||
| 42 | + * @returns | ||
| 43 | + */ | ||
| 44 | +export const addDonateAPI = (params) => fn(fetch.post(Api.ADD_DONATE, params)); | ||
| 45 | + | ||
| 46 | +/** | ||
| 47 | + * @description: 证书列表 | ||
| 48 | + * @returns | ||
| 49 | + */ | ||
| 50 | +export const certListAPI = (params) => fn(fetch.get(Api.CERT_LIST, params)); | ||
| 51 | + | ||
| 52 | +/** | ||
| 53 | + * @description: 分享祝福语列表 | ||
| 54 | + * @returns | ||
| 55 | + */ | ||
| 56 | +export const shareWishListAPI = (params) => fn(fetch.get(Api.SHARE_WISH_LIST, params)); | ||
| 57 | + | ||
| 58 | +/** | ||
| 59 | + * @description: 抽奖 | ||
| 60 | + * @returns | ||
| 61 | + */ | ||
| 62 | +export const wishPrizeAPI = (params) => fn(fetch.post(Api.WISH_PRIZE, params)); | ||
| 63 | + | ||
| 64 | +/** | ||
| 65 | + * @description: 处置奖品 | ||
| 66 | + * @returns | ||
| 67 | + */ | ||
| 68 | +export const dealPrizeAPI = (params) => fn(fetch.post(Api.DEAL_PRIZE, params)); | ||
| 69 | + | ||
| 70 | +/** | ||
| 71 | + * @description: 中奖列表 | ||
| 72 | + * @returns | ||
| 73 | + */ | ||
| 74 | +export const prizeListAPI = (params) => fn(fetch.get(Api.PRIZE_LIST, params)); |
src/api/wx/config.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-06-09 13:32:44 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-06-14 14:47:01 | ||
| 6 | + * @FilePath: /tswj/src/api/wx/config.js | ||
| 7 | + * @Description: | ||
| 8 | + */ | ||
| 9 | +import { fn, fetch } from '@/api/fn'; | ||
| 10 | + | ||
| 11 | +const Api = { | ||
| 12 | + WX_JSAPI: '/srv/?a=wx_share', | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * @description 获取微信CONFIG配置文件 | ||
| 17 | + * @param {*} url | ||
| 18 | + * @returns {*} cfg | ||
| 19 | + */ | ||
| 20 | +export const wxJsAPI = (params) => fn(fetch.get(Api.WX_JSAPI, params)); |
src/api/wx/jsApiList.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Date: 2022-06-13 14:18:57 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2022-06-13 14:27:21 | ||
| 5 | + * @FilePath: /tswj/src/api/wx/jsApiList.js | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 8 | +export const apiList = [ | ||
| 9 | + "updateAppMessageShareData", | ||
| 10 | + "updateTimelineShareData", | ||
| 11 | + "onMenuShareTimeline", | ||
| 12 | + "onMenuShareAppMessage", | ||
| 13 | + "onMenuShareQQ", | ||
| 14 | + "onMenuShareWeibo", | ||
| 15 | + "onMenuShareQZone", | ||
| 16 | + "startRecord", | ||
| 17 | + "stopRecord", | ||
| 18 | + "onVoiceRecordEnd", | ||
| 19 | + "playVoice", | ||
| 20 | + "pauseVoice", | ||
| 21 | + "stopVoice", | ||
| 22 | + "onVoicePlayEnd", | ||
| 23 | + "uploadVoice", | ||
| 24 | + "downloadVoice", | ||
| 25 | + "chooseImage", | ||
| 26 | + "previewImage", | ||
| 27 | + "uploadImage", | ||
| 28 | + "downloadImage", | ||
| 29 | + "translateVoice", | ||
| 30 | + "getNetworkType", | ||
| 31 | + "openLocation", | ||
| 32 | + "getLocation", | ||
| 33 | + "hideOptionMenu", | ||
| 34 | + "showOptionMenu", | ||
| 35 | + "hideMenuItems", | ||
| 36 | + "showMenuItems", | ||
| 37 | + "hideAllNonBaseMenuItem", | ||
| 38 | + "showAllNonBaseMenuItem", | ||
| 39 | + "closeWindow", | ||
| 40 | + "scanQRCode", | ||
| 41 | + "chooseWXPay", | ||
| 42 | + "openProductSpecificView", | ||
| 43 | + "addCard", | ||
| 44 | + "chooseCard", | ||
| 45 | + "openCard" | ||
| 46 | +] |
src/api/wx/pay.js
0 → 100644
| 1 | +/* | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-06-09 13:32:44 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-06-09 13:42:06 | ||
| 6 | + * @FilePath: /tswj/src/api/wx/config.js | ||
| 7 | + * @Description: | ||
| 8 | + */ | ||
| 9 | +import { fn, fetch } from '@/api/fn'; | ||
| 10 | + | ||
| 11 | +const Api = { | ||
| 12 | + WX_PAY: 'c/bill_paymentForBill.do', | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * @description 微信支付接口 | ||
| 17 | + * @param {*} | ||
| 18 | + * @returns {*} | ||
| 19 | + */ | ||
| 20 | +export const wxPayAPI = (params) => fn(fetch.get(Api.WX_PAY, params)); |
src/assets/css/content-bg.less
0 → 100644
| 1 | + | ||
| 2 | +.modify-top { | ||
| 3 | + z-index: 36; | ||
| 4 | + position: absolute; | ||
| 5 | + left: 0; | ||
| 6 | + top: 0; | ||
| 7 | + width: 100%; | ||
| 8 | + height: 10px; | ||
| 9 | + background-image: url('http://gyzs.onwall.cn/top-xian%402x.png'); | ||
| 10 | + background-size: contain; | ||
| 11 | +} | ||
| 12 | +.content-bg { | ||
| 13 | + /** | ||
| 14 | + * background-color and background-image 共存,不能使用渐变色 | ||
| 15 | + * 图片铺平当时精度提高看看效果 | ||
| 16 | + * 直接用渐变色 | ||
| 17 | + * 不使用渐变色背景 | ||
| 18 | + */ | ||
| 19 | + height: 100%; | ||
| 20 | + min-height: 100vh; | ||
| 21 | + // background-image: url('@images/bg-yellow-duan@2x.png'); | ||
| 22 | + background-image: url('http://gyzs.onwall.cn/bg-yellow-duan%402x.png'); | ||
| 23 | + // background-size: cover; | ||
| 24 | + // background: linear-gradient(360deg, #FDD347 0%, #FFED6D 100%) ; | ||
| 25 | +} |
src/assets/images/1@2x.png
0 → 100644
2.55 KB
src/assets/images/2@2x.png
0 → 100644
2.39 KB
src/assets/images/3@2x.png
0 → 100644
2.78 KB
src/assets/images/bg-white@2x.png
0 → 100644
10.5 KB
src/assets/images/bg-yellow-duan@2x.png
0 → 100644
1.54 KB
src/assets/images/bg@2x.png
0 → 100644
25 KB
src/assets/images/bofang@2x.png
0 → 100644
2.16 KB
src/assets/images/choose-school-bg.png
0 → 100644
91.4 KB
src/assets/images/denglu-top@2x-1.png
0 → 100644
255 KB
src/assets/images/denglu-top@2x.gif
0 → 100644
71.4 KB
src/assets/images/denglu-top@2x.png
0 → 100644
255 KB
src/assets/images/ding-left@2x.png
0 → 100644
860 Bytes
src/assets/images/ding02@2x.png
0 → 100644
1006 Bytes
src/assets/images/ding03@2x.png
0 → 100644
1 KB
src/assets/images/donate_bg_c_2.png
0 → 100644
4 KB
src/assets/images/donate_bottom.png
0 → 100644
29.1 KB
src/assets/images/donate_center.png
0 → 100644
9.09 KB
src/assets/images/donate_top.png
0 → 100644
12.8 KB
src/assets/images/graphical.png
0 → 100644
189 KB
src/assets/images/icon-dianzan01@2x.png
0 → 100644
1.14 KB
src/assets/images/icon-dianzan02@2x.png
0 → 100644
1.2 KB
src/assets/images/icon-dingyue01@2x.png
0 → 100644
978 Bytes
src/assets/images/icon-dingyue02@2x.png
0 → 100644
1008 Bytes
src/assets/images/icon-guanbi@2x.png
0 → 100644
687 Bytes
src/assets/images/icon-home@2x.png
0 → 100644
3.5 KB
src/assets/images/icon-jujue@2x.png
0 → 100644
13.5 KB
src/assets/images/icon-liuyan@2x.png
0 → 100644
911 Bytes
src/assets/images/icon-my@2x.png
0 → 100644
3.8 KB
src/assets/images/icon-paihang@2x.png
0 → 100644
6.24 KB
src/assets/images/icon-shenhe@2x.png
0 → 100644
14.5 KB
src/assets/images/icon-shoucang01@2x.png
0 → 100644
1.6 KB
src/assets/images/icon-shoucang02@2x.png
0 → 100644
1.66 KB
src/assets/images/icon-tongguo@2x.png
0 → 100644
13.7 KB
src/assets/images/icon-zhankai@2x.png
0 → 100644
705 Bytes
src/assets/images/logo@3x.png
0 → 100644
108 KB
src/assets/images/me.png
0 → 100644
2.01 KB
src/assets/images/modify-top.png
0 → 100644
731 Bytes
src/assets/images/new_year_2024/bg01.png
0 → 100644
36.8 KB
src/assets/images/new_year_2024/bg02.png
0 → 100644
152 KB
src/assets/images/new_year_2024/bird.png
0 → 100644
18.1 KB
src/assets/images/new_year_2024/buttn.png
0 → 100644
8.03 KB
src/assets/images/new_year_2024/coujiang.gif
0 → 100644
558 KB
src/assets/images/new_year_2024/dh1.gif
0 → 100644
418 KB
3.03 KB
2.56 KB
16.6 KB
src/assets/images/new_year_2024/letter.png
0 → 100644
294 KB
src/assets/images/new_year_2024/letter1.png
0 → 100644
1.18 MB
src/assets/images/new_year_2024/liwu.gif
0 → 100644
429 KB
123 KB
src/assets/images/new_year_2024/p_bg.png
0 → 100644
279 KB
src/assets/images/new_year_2024/postcard.png
0 → 100644
132 KB
src/assets/images/new_year_2024/star.png
0 → 100644
17 KB
src/assets/images/new_year_2024/toggle.png
0 → 100644
786 Bytes
src/assets/images/new_year_2024/光盘01.png
0 → 100644
47 KB
src/assets/images/new_year_2024/光盘02.png
0 → 100644
47.8 KB
src/assets/images/new_year_2024/指针.png
0 → 100644
9.77 KB
src/assets/images/new_year_2024/盒子.png
0 → 100644
96.3 KB
src/assets/images/no-tougao@3x.png
0 → 100644
22.4 KB
src/assets/images/qrcode.png
0 → 100644
41.9 KB
src/assets/images/que-logo@2x.png
0 → 100644
3.91 KB
src/assets/images/que-shuju@2x.png
0 → 100644
9.85 KB
src/assets/images/que-sucess@2x.png
0 → 100644
9.58 KB
src/assets/images/que-tishi@2x.png
0 → 100644
7.46 KB
src/assets/images/que-touxiang@2x.png
0 → 100644
4.61 KB
src/assets/images/shouyedongtu.gif
0 → 100644
994 KB
src/assets/images/shu@2x.png
0 → 100644
569 Bytes
src/assets/images/stamp01.png
0 → 100644
21.3 KB
src/assets/images/stamp02.png
0 → 100644
17.9 KB
src/assets/images/suo@2x.png
0 → 100644
5.15 KB
src/assets/images/top-xian@2x.png
0 → 100644
1.39 KB
src/assets/images/video.png
0 → 100644
586 Bytes
src/assets/images/x.png
0 → 100644
600 Bytes
src/assets/images/xiaohua@2x.png
0 → 100644
5.38 KB
src/assets/images/y.png
0 → 100644
500 Bytes
src/assets/images/yindao@2x.png
0 → 100644
585 KB
src/assets/images/zhengshu-banner.png
0 → 100644
190 KB
src/assets/images/zhengshu-banner@2x-1.png
0 → 100644
127 KB
src/assets/images/zhengshu-banner@2x.gif
0 → 100644
71.4 KB
src/assets/images/zhengshu-banner@2x.png
0 → 100644
146 KB
src/assets/images/zhengshu@2x.png
0 → 100644
11.4 KB
src/assets/images/zhifu@2x.png
0 → 100644
3.26 KB
src/assets/styles/base.less
0 → 100644
This diff is collapsed. Click to expand it.
src/auto-imports.d.ts
0 → 100644
This diff is collapsed. Click to expand it.
src/common/mixin.js
0 → 100644
This diff is collapsed. Click to expand it.
src/common/tool.js
0 → 100644
This diff is collapsed. Click to expand it.
src/common/vueuse.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/index.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useBookList.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useDefaultPerf.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useLogin.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useMessageList.ts
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useScrollTop.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useShare.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useShortcutBar.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useUnwatchList.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useUpload.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useValidIdCard.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/useVideoList.js
0 → 100644
This diff is collapsed. Click to expand it.
src/composables/variable.js
0 → 100644
This diff is collapsed. Click to expand it.
src/constant.js
0 → 100644
This diff is collapsed. Click to expand it.
src/env.d.ts
0 → 100644
This diff is collapsed. Click to expand it.
src/hooks/injectionSymbols.js
0 → 100644
This diff is collapsed. Click to expand it.
src/hooks/useContext.js
0 → 100644
This diff is collapsed. Click to expand it.
src/hooks/useDebounce.js
0 → 100644
This diff is collapsed. Click to expand it.
src/hooks/useFlowFn.js
0 → 100644
This diff is collapsed. Click to expand it.
src/hooks/useGo.js
0 → 100644
This diff is collapsed. Click to expand it.
src/hooks/useKeepAlive.js
0 → 100644
This diff is collapsed. Click to expand it.
src/main.js
0 → 100644
This diff is collapsed. Click to expand it.
src/mock/routes.js
0 → 100644
This diff is collapsed. Click to expand it.
src/mock/video_list.js
0 → 100644
This diff is collapsed. Click to expand it.
src/mock/video_list1.js
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono1/App.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono1/index.html
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono1/main.js
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono1/router.js
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono1/views/index.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono2/App.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono2/index.html
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono2/main.js
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono2/router.js
0 → 100644
This diff is collapsed. Click to expand it.
src/packages/mono2/views/index.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/route.js
0 → 100644
This diff is collapsed. Click to expand it.
src/router.js
0 → 100644
This diff is collapsed. Click to expand it.
src/router/methods/videoDetail.ts
0 → 100644
This diff is collapsed. Click to expand it.
src/router/routes/modules/auth/index.js
0 → 100644
This diff is collapsed. Click to expand it.
src/router/routes/modules/test/index.js
0 → 100644
This diff is collapsed. Click to expand it.
src/settings/componentSetting.js
0 → 100644
This diff is collapsed. Click to expand it.
src/settings/designSetting.js
0 → 100644
This diff is collapsed. Click to expand it.
src/shims-vue.d.ts
0 → 100644
This diff is collapsed. Click to expand it.
src/store/index.js
0 → 100644
This diff is collapsed. Click to expand it.
src/theme-vars.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/MonitorKeyboard.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/axios.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/generateIcons.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/generateModules.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/generatePackage.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/generateRoute.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/share.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/tools.js
0 → 100644
This diff is collapsed. Click to expand it.
src/utils/vconsole.js
0 → 100644
This diff is collapsed. Click to expand it.
src/views/JSJIframe.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/about.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/auth.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/children-test.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/html2canvas.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/index.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/record.vue
0 → 100644
This diff is collapsed. Click to expand it.
tsconfig.json
0 → 100644
This diff is collapsed. Click to expand it.
tslint.json
0 → 100644
This diff is collapsed. Click to expand it.
typings/index.d.ts
0 → 100644
This diff is collapsed. Click to expand it.
vite.config.js
0 → 100644
This diff is collapsed. Click to expand it.
yarn-error.log
0 → 100644
This diff could not be displayed because it is too large.
yarn.lock
0 → 100644
This diff could not be displayed because it is too large.
-
Please register or login to post a comment