hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/pagesB/video/playVideo.js.map

1 line
11 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/video/playVideo.nvue?eb4a","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/video/playVideo.nvue?9249","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/video/playVideo.nvue?9a0b","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/video/playVideo.nvue?7011","uni-app:///pagesB/video/playVideo.nvue","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/video/playVideo.nvue?8fb8","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/video/playVideo.nvue?c2f5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","newHeight","videoSrc","isPlayImg","autoplay","videoContext","title","posterSrc","isControls","dans","isCenterImg","isBottomImg","isFull","computed","statusHeight","onReady","onLoad","methods","backEv","uni","delta","playEv","comePlay","comePause"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,kBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACa;;;AAGtE;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAurB,CAAgB,sqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC+C3sB;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;IACA;EACA;;EACAC;IACAC;MACA;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;IACA;IACA;IACA;EACA;EACAC;IACAC;MACAC;QACAC;MACA;IACA;IACAC;MACA;MACA;MACA;IACA;IACAC;MAAA;MACA;IACA;IACAC;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACjGA;AAAA;AAAA;AAAA;AAA0+B,CAAgB,+6BAAG,EAAC,C;;;;;;;;;;;ACA9/B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesB/video/playVideo.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/video/playVideo.nvue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./playVideo.nvue?vue&type=template&id=bcd83de4&\"\nvar renderjs\nimport script from \"./playVideo.nvue?vue&type=script&lang=js&\"\nexport * from \"./playVideo.nvue?vue&type=script&lang=js&\"\nimport style0 from \"./playVideo.nvue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesB/video/playVideo.nvue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.nvue?vue&type=template&id=bcd83de4&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.nvue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.nvue?vue&type=script&lang=js&\"","<style>\n view,\n label,\n swiper-item,\n scroll-view {\n display:flex;\n flex-direction:column;\n flex-shrink: 0;\n flex-grow: 0;\n flex-basis: auto;\n align-items: stretch;\n align-content: flex-start;\n }\n view,\n image,\n input,\n scroll-view,\n swiper,\n swiper-item,\n text,\n textarea,\n video {\n position: relative;\n border: 0px solid #000000;\n box-sizing: border-box;\n }\n swiper-item {\n position: absolute;\n }\n button {\n margin: 0;\n }\n</style>\n<template>\r\n\t<div style=\"width:100%;overflow-x:hidden;\">\r\n\t\t<image class=\"\" @tap=\"backEv\" :style=\"{top:statusHeight/2+'px'}\" src=\"/static/public/videoBack.png\" style=\"width: 33rpx;height: 33rpx;position: fixed;z-index: 10;left: 20rpx;\" mode=\"aspectFill\"></image>\r\n\t\t<video id=\"myVideo\" style=\"width: 100%;\" :style=\"{height:newHeight+'px'}\" autoplay=\"true\"\r\n\t\t:src=\"videoSrc\" :enable-play-gesture=\"dans\" :poster=\"posterSrc\"\r\n\t\t:controls=\"isControls\" :show-center-play-btn=\"isCenterImg\" :show-play-btn=\"isBottomImg\" :show-fullscreen-btn=\"isFull\"\r\n\t\t@play=\"comePlay\" @pause=\"comePause\"></video>\r\n\t\t<!-- 封面图 -->\r\n\t\t<image v-if=\"isPlayImg\" @tap=\"playEv\" src=\"/static/public/video.png\" style=\"position: fixed;top: 50%;left: 50%;\r\n\t\t\twidth: 126rpx;height: 126rpx;transform: translate(-50%, -50%);\" mode=\"aspectFill\"></image>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata(){\r\n\t\t\treturn {\r\n\t\t\t\tnewHeight:uni.getSystemInfoSync().windowHeight,\r\n\t\t\t\tvideoSrc:'',\r\n\t\t\t\tisPlayImg:false,\r\n\t\t\t\tautoplay:true,\r\n\t\t\t\tvideoContext:'',\r\n\t\t\t\ttitle:'',//视频的标题,全屏时在顶部展示\r\n\t\t\t\tposterSrc:'',//视频封面的图片网络资源地址,如果 controls 属性值为 false 则设置 poster 无效\r\n\t\t\t\tisControls: false,//是否显示默认播放控件(播放/暂停按钮、播放进度、时间)\r\n\t\t\t\tdans:true,//是否开启播放手势,即双击切换播放/暂停\r\n\t\t\t\tisCenterImg:false,//是否显示视频中间的播放按钮\r\n\t\t\t\tisBottomImg:true,//是否显示视频底部控制栏的播放按钮\r\n\t\t\t\tisFull:true//是否显示全屏按钮\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\tstatusHeight() {\r\n\t\t\t\treturn this.$store.state.statusHeight\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady: function (res) {\r\n\t\t\tthis.videoContext = uni.createVideoContext('myVideo', this)\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\t// 禁用小程序分享\r\n\t\t\tthis.$toolAll.tools.disableShareEv();\r\n\t\t\tthis.videoSrc = options.src\r\n\t\t\tthis.posterSrc = options.posterSrc\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tbackEv(){\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\tdelta:1\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tplayEv(){\r\n\t\t\t\tthis.isPlayImg = false;\r\n\t\t\t\tthis.autoplay = false;\r\n\t\t\t\tthis.videoContext.play();\r\n\t\t\t},\r\n\t\t\tcomePlay(){//当开始/继续播放时触发play事件\r\n\t\t\t\tthis.isControls = true;\r\n\t\t\t},\r\n\t\t\tcomePause(){\r\n\t\t\t\tthis.isPlayImg = true;\r\n\t\t\t\tthis.isControls = false;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.nvue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.nvue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1672826680702\n var cssReload = require(\"D:/HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}