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

1 line
12 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/video/playVideo.nvue?2c67","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/video/playVideo.nvue?ce8e","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/video/playVideo.nvue?c7c1","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/video/playVideo.nvue?f1f2","uni-app:///pagesB/video/playVideo.nvue","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/video/playVideo.nvue?97b4","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/video/playVideo.nvue?29be"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,uG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACa;;;AAGtE;AACmN;AACnN,gBAAgB,iNAAU;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;AAAu1B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+C32B;AACA,MADA,kBACA;AACA;AACA,qDADA;AAEA,kBAFA;AAGA,sBAHA;AAIA,oBAJA;AAKA,sBALA;AAMA,eANA,EAMA;AACA,mBAPA,EAOA;AACA,uBARA,EAQA;AACA,gBATA,EASA;AACA,wBAVA,EAUA;AACA,uBAXA,EAWA;AACA,kBAZA,CAYA;AAZA;AAcA,GAhBA;AAiBA;AACA,gBADA,0BACA;AACA;AACA,KAHA,EAjBA;;AAsBA;AACA;AACA,GAxBA;AAyBA,QAzBA,kBAyBA,OAzBA,EAyBA;AACA;AACA;AACA;AACA;AACA,GA9BA;AA+BA;AACA,UADA,oBACA;AACA;AACA,gBADA;;AAGA,KALA;AAMA,UANA,oBAMA;AACA;AACA;AACA;AACA,KAVA;AAWA,YAXA,sBAWA;AACA;AACA,KAbA;AAcA,aAdA,uBAcA;AACA;AACA;AACA,KAjBA,EA/BA,E;;;;;;;;;;;;;AC/CA;AAAA;AAAA;AAAA;AAA0sC,CAAgB,qmCAAG,EAAC,C;;;;;;;;;;;ACA9tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesB/video/playVideo.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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>\n\t<div style=\"width:100%;overflow-x:hidden;\">\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>\n\t\t<video id=\"myVideo\" style=\"width: 100%;\" :style=\"{height:newHeight+'px'}\" autoplay=\"true\"\n\t\t:src=\"videoSrc\" :enable-play-gesture=\"dans\" :poster=\"posterSrc\"\n\t\t:controls=\"isControls\" :show-center-play-btn=\"isCenterImg\" :show-play-btn=\"isBottomImg\" :show-fullscreen-btn=\"isFull\"\n\t\t@play=\"comePlay\" @pause=\"comePause\"></video>\n\t\t<!-- 封面图 -->\n\t\t<image v-if=\"isPlayImg\" @tap=\"playEv\" src=\"/static/public/video.png\" style=\"position: fixed;top: 50%;left: 50%;\n\t\t\twidth: 126rpx;height: 126rpx;transform: translate(-50%, -50%);\" mode=\"aspectFill\"></image>\n\t</div>\n</template>\n\n<script>\n\texport default {\n\t\tdata(){\n\t\t\treturn {\n\t\t\t\tnewHeight:uni.getSystemInfoSync().windowHeight,\n\t\t\t\tvideoSrc:'',\n\t\t\t\tisPlayImg:false,\n\t\t\t\tautoplay:true,\n\t\t\t\tvideoContext:'',\n\t\t\t\ttitle:'',//视频的标题,全屏时在顶部展示\n\t\t\t\tposterSrc:'',//视频封面的图片网络资源地址,如果 controls 属性值为 false 则设置 poster 无效\n\t\t\t\tisControls: false,//是否显示默认播放控件(播放/暂停按钮、播放进度、时间)\n\t\t\t\tdans:true,//是否开启播放手势,即双击切换播放/暂停\n\t\t\t\tisCenterImg:false,//是否显示视频中间的播放按钮\n\t\t\t\tisBottomImg:true,//是否显示视频底部控制栏的播放按钮\n\t\t\t\tisFull:true//是否显示全屏按钮\n\t\t\t}\n\t\t},\n\t\tcomputed:{\n\t\t\tstatusHeight() {\n\t\t\t\treturn this.$store.state.statusHeight\n\t\t\t}\n\t\t},\n\t\tonReady: function (res) {\n\t\t\tthis.videoContext = uni.createVideoContext('myVideo', this)\n\t\t},\n\t\tonLoad(options) {\n\t\t\t// 禁用小程序分享\n\t\t\tthis.$toolAll.tools.disableShareEv();\n\t\t\tthis.videoSrc = options.src\n\t\t\tthis.posterSrc = options.posterSrc\n\t\t},\n\t\tmethods:{\n\t\t\tbackEv(){\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta:1\n\t\t\t\t})\n\t\t\t},\n\t\t\tplayEv(){\n\t\t\t\tthis.isPlayImg = false;\n\t\t\t\tthis.autoplay = false;\n\t\t\t\tthis.videoContext.play();\n\t\t\t},\n\t\t\tcomePlay(){//当开始/继续播放时触发play事件\n\t\t\t\tthis.isControls = true;\n\t\t\t},\n\t\t\tcomePause(){\n\t\t\t\tthis.isPlayImg = true;\n\t\t\t\tthis.isControls = false;\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style>\n\n</style>\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 // 1653900081790\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""}