1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/video/playVideo.vue?d668","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/video/playVideo.vue?fd96","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/video/playVideo.vue?4dd5","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/video/playVideo.vue?7021","uni-app:///pagesB/video/playVideo.vue","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/video/playVideo.vue?eff9","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/video/playVideo.vue?bb1a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,sG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACqC;;;AAG7F;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;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;AAA2rB,CAAgB,yrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgB/sB;AACA,MADA,kBACA;AACA;AACA,yDADA;AAEA,qDAFA;AAGA,kBAHA;AAIA,sBAJA;AAKA,oBALA;AAMA,sBANA;AAOA,eAPA,EAOA;AACA,mBARA,EAQA;AACA,uBATA,EASA;AACA,gBAVA,EAUA;AACA,wBAXA,EAWA;AACA,uBAZA,EAYA;AACA,kBAbA,CAaA;AAbA;AAeA,GAjBA;AAkBA;AACA,gBADA,0BACA;AACA;AACA,KAHA,EAlBA;;AAuBA;AACA;AACA,GAzBA;AA0BA,QA1BA,kBA0BA,OA1BA,EA0BA;AACA;AACA;AACA;AACA;AACA,GA/BA;AAgCA;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,EAhCA,E;;;;;;;;;;;;;AChBA;AAAA;AAAA;AAAA;AAAwgC,CAAgB,k+BAAG,EAAC,C;;;;;;;;;;;ACA5hC;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.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./playVideo.vue?vue&type=template&id=4f890410&scoped=true&\"\nvar renderjs\nimport script from \"./playVideo.vue?vue&type=script&lang=js&\"\nexport * from \"./playVideo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./playVideo.vue?vue&type=style&index=0&id=4f890410&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX-app开发版/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 \"4f890410\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesB/video/playVideo.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.vue?vue&type=template&id=4f890410&scoped=true&\"","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-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"width:100%;overflow-x:hidden;\">\r\n\t\t<view class=\"back-img\" @tap=\"backEv\" :style=\"{top:newTop+'px'}\">\r\n\t\t\t<image src=\"/static/public/icon-back.png\" mode=\"widthFix\"></image>\r\n\t\t</view>\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/icon-play.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</view>\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\tnewTop:uni.getSystemInfoSync().statusBarHeight + 8,\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 scoped>\r\n\t.back-img{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: flex-start;\r\n\t\talign-items: center;\r\n\t\twidth: 50px;\r\n\t\theight: 50px;\r\n\t\tposition: fixed;\r\n\t\tleft: 30rpx;\r\n\t\tz-index: 10;\r\n\t}\r\n\t.back-img>image{\r\n\t\twidth: 19rpx;\r\n\t\theight: 35rpx;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.vue?vue&type=style&index=0&id=4f890410&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./playVideo.vue?vue&type=style&index=0&id=4f890410&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1658133937197\n var cssReload = require(\"D:/HBuilderX-app开发版/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":""} |