fhrons-mobile-next 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -93,7 +93,7 @@ module.exports = {
|
|
|
93
93
|
"aqcomponents.videopage.2p4g36": "移动数据",
|
|
94
94
|
"aqcomponents.videopage.73c556": "无网络",
|
|
95
95
|
"aqcomponents.videopage.7ikbgu": "检测到您的设备当前连接非wifi网络环境,请注意流量消耗",
|
|
96
|
-
"aqcomponents.videopage.yhj38i": "
|
|
96
|
+
"aqcomponents.videopage.yhj38i": "星耀菁英会",
|
|
97
97
|
"autograph.index.2spt3x": "在此处签名",
|
|
98
98
|
"autograph.index.uc44d7": "请保持字迹大小一致",
|
|
99
99
|
"autograph.index.2lkog6": "上传错误",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// import FHCommon from './dist/fhcommon.min.js'
|
|
2
|
+
// if (typeof window !== 'undefined' && window.Vue) {
|
|
3
|
+
// window.Vue.use(FHCommon)
|
|
4
|
+
// window.FHUpload = FHCommon
|
|
5
|
+
// }
|
|
6
|
+
|
|
7
|
+
// // expose FHCommon as default export
|
|
8
|
+
// export default FHCommon;
|
|
9
|
+
|
|
10
|
+
// 由于minio不支持esm模块导入,也就不支持treeshaking来去掉未用到的minio代码,所以只能准备两套代码
|
|
11
|
+
import { upload, compressFile, loopCompressFile } from './upload'
|
|
12
|
+
import { getDomImage } from './packages/html2canvas'
|
|
13
|
+
|
|
14
|
+
import FHImage from "./packages/fhImage";
|
|
15
|
+
import FHPresetImage from "./packages/fhPresetImage";
|
|
16
|
+
const FHCommon = {
|
|
17
|
+
upload: upload,
|
|
18
|
+
compressFile: compressFile,
|
|
19
|
+
loopCompressFile: loopCompressFile,
|
|
20
|
+
getDomImage,
|
|
21
|
+
install (Vue) {
|
|
22
|
+
window.FHCommon = FHCommon
|
|
23
|
+
Vue.component('FHImage',FHImage)
|
|
24
|
+
Vue.component('FHPresetImage',FHPresetImage)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
28
|
+
window.Vue.use(FHCommon)
|
|
29
|
+
window.FHUpload = FHCommon
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// expose FHCommon as default export
|
|
33
|
+
export default FHCommon;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fhcommon",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "泛华前端的上传方法",
|
|
5
|
+
"main": "dist/fhcommon.min.js",
|
|
6
|
+
"module": "dist/fhcommon.min.js",
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@babel/core": "^7.25.8",
|
|
9
|
+
"@babel/preset-env": "^7.25.8",
|
|
10
|
+
"babel-loader": "^9.1.3",
|
|
11
|
+
"crypto-browserify": "^3.12.0",
|
|
12
|
+
"css-loader": "^6.7.4",
|
|
13
|
+
"eslint": "^9.0.0",
|
|
14
|
+
"https-browserify": "^1.0.0",
|
|
15
|
+
"less-loader": "^11.1.4",
|
|
16
|
+
"path-browserify": "^1.0.1",
|
|
17
|
+
"stream-browserify": "^3.0.0",
|
|
18
|
+
"stream-http": "^3.2.0",
|
|
19
|
+
"style-loader": "^3.3.3",
|
|
20
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
21
|
+
"timers-browserify": "^2.0.12",
|
|
22
|
+
"uglify-js": "^3.17.4",
|
|
23
|
+
"vm-browserify": "^1.1.2",
|
|
24
|
+
"vue-loader": "^15.9.8",
|
|
25
|
+
"vue-template-compiler": "^2.7.16",
|
|
26
|
+
"webpack": "^5.91.0",
|
|
27
|
+
"webpack-cli": "^5.0.0",
|
|
28
|
+
"webpack-dev-server": "^5.0.4"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
32
|
+
"build": "npx webpack --config webpack.config.js"
|
|
33
|
+
},
|
|
34
|
+
"author": "",
|
|
35
|
+
"license": "ISC",
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"core-js": "^3.38.1",
|
|
38
|
+
"minio": "^7.0.18"
|
|
39
|
+
}
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -189,6 +189,10 @@ export default {
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
|
+
savePersonalWatchRecord1(time) {
|
|
193
|
+
// console.log('savePersonalWatchRecord1', time, this.gklog)
|
|
194
|
+
this.$emit('videoUpdate', this.gklog, time)
|
|
195
|
+
},
|
|
192
196
|
/* 获取视频播放进度 */
|
|
193
197
|
onPlayerTimeupdate(event) {
|
|
194
198
|
let currentTime = event.currentTime()
|
|
@@ -1053,8 +1053,8 @@ export default {
|
|
|
1053
1053
|
const param = sensors.getParam(item);
|
|
1054
1054
|
return { key, param };
|
|
1055
1055
|
},
|
|
1056
|
-
//
|
|
1057
|
-
//
|
|
1056
|
+
// ------------星耀菁英会-----------------
|
|
1057
|
+
// 星耀菁英会_页面浏览
|
|
1058
1058
|
hzClubPage: (key, item) => {
|
|
1059
1059
|
const param = sensors.getParam(item);
|
|
1060
1060
|
return { key, param };
|