Commit ece4f8ec authored by zhoucong's avatar zhoucong

123

parent c687c692
......@@ -44,7 +44,7 @@
})
},
methods: {
error(e){//视频播放出错触发函数
error(e){//视频播放出错
uni.showModal({content: e.target.errMsg,showCancel: false})
},
}
......
......@@ -109,13 +109,6 @@
})
},
fail: err => {
uni.showModal({
title: '提示',
content: err,
showCancel:false,
});
uni.hideLoading();
//拒绝授权时显示
if (err.errMsg === 'saveVideoToPhotosAlbum:fail auth deny') {
......@@ -127,10 +120,7 @@
//打开权限设置
uni.openSetting({
success: setting => {
if (setting
.authSetting[
'scope.writePhotosAlbum'
]) {
if (setting.authSetting['scope.writePhotosAlbum']) {
uni.showModal({
title: '提示',
content: '获取权限成功,再次点击下载即可保存',
......@@ -152,12 +142,6 @@
})
},
fail: err => { //下载失败
uni.showModal({
title: '提示',
content: "123"+ err.errMsg,
showCancel:false,
});
uni.hideLoading();
if (err.errMsg == 'downloadFile:fail createDownloadTask:fail url not in domain list') {
uni.showToast({
......
......@@ -32,7 +32,7 @@
<view>不遮挡面部</view>
</view>
</view>
<u-button type="success" size="medium" @click="takePhoto">开始识别</u-button>
<!-- <u-button type="success" size="medium" @click="takePhoto">开始识别</u-button> -->
</view>
</template>
......
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?6aee","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?32e2","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?8178","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?611c","uni-app:///pages/vlog/scenicList/scenicList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?9772","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?f9e5"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,iH;AACAA,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;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,aAAa,uMAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAsnB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2B1oB;AACA,MADA,kBACA;AACA;AACA,gBADA,CACA;AADA;AAGA,GALA;AAMA,SANA,qBAMA;AACA,GAPA;AAQA,QARA,kBAQA,GARA,EAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KANA;AAOA,GAjBA;AAkBA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA,EAlBA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAA+pC,CAAgB,slCAAG,EAAC,C;;;;;;;;;;;ACAnrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/scenicList/scenicList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/scenicList/scenicList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"\nvar renderjs\nimport script from \"./scenicList.vue?vue&type=script&lang=js&\"\nexport * from \"./scenicList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"396b8e72\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/scenicList/scenicList.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view style=\"padding-top: 30rpx;\">\r\n\t\t\t<block>\r\n\t\t\t\t<view class=\"item\">\r\n\t\t\t\t\t<video class=\"video\" :poster=\"scenic.coverImgUrl\" :src=\"scenic.showVideoUrl\" play-btn-position=\"center\" @error=\"error\" controls></video>\r\n\t\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t\t<text>[ {{scenic.name || \"\"}} ]</text>\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<u-icon name=\"eye-fill\" class=\"icon\" color=\"#ffffff\" size=\"40rpx\"></u-icon><text style=\"color: #ffffff;\">10W+</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/bottom.png\"></image>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\">\r\n\t\t\t\t<view class=\"paizhao\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_scan.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\r\n\t\t</view>\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\tscenic:{},//景区详情\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady() {//代替 vue 里面的 mounted\r\n\t\t},\r\n\t\tonLoad(res){//代替 vue 里面的 created\r\n\t\t\tlet caseId=res.caseId\r\n\t\t\tthis.$request(\"distribution/vlog/getScenicInfo\",{caseId}).then(res=>{\r\n\t\t\t\tif(res.code===\"00\"){\r\n\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\tthis.scenic=res.data;\r\n\t\t\t\t\tuni.setNavigationBarTitle({title:this.scenic.name})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\terror(e){//视频播放出错触发函数\r\n\t\t\t\tuni.showModal({content: e.target.errMsg,showCancel: false})\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content{padding: 0 20rpx;min-height: 100%;width: 100%;background-color: #192033;\r\n\t\t.item{padding: 0 10rpx;border-radius: 10rpx;background-color: #192033;margin-bottom:30rpx;text-align: center;\r\n\t\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t\t\t.title{height: 60rpx;margin-top: 20rpx;\r\n\t\t\t\ttext{float: left;height: 60rpx;line-height: 60rpx;color: #FFE600;font-weight: bold;}\r\n\t\t\t\tview{float: right;height: 60rpx;line-height: 60rpx;align-items: center;display: flex;}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.bottom{height: 150rpx;width: 100%;position: relative;position: fixed;bottom: 0;right:0rpx;\r\n\t\t\timage{width: 100%;height: 100rpx;position: relative;position: fixed;bottom: 0;}\r\n\t\t\t.paizhao{height: 160rpx;width: 160rpx;z-index: 1;position: absolute;left:50%;top:22%;transform: translate(-50%, -50%);\r\n\t\t\t\timage{height: 100%;width: 100%;}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631517300334\n var cssReload = require(\"C:/Users/admin/Desktop/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?32e2","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?8178","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?611c","uni-app:///pages/vlog/scenicList/scenicList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?9772","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?f9e5"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,iH;AACAA,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;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,aAAa,uMAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAsnB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2B1oB;AACA,MADA,kBACA;AACA;AACA,gBADA,CACA;AADA;AAGA,GALA;AAMA,SANA,qBAMA;AACA,GAPA;AAQA,QARA,kBAQA,GARA,EAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KANA;AAOA,GAjBA;AAkBA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA,EAlBA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAA+pC,CAAgB,slCAAG,EAAC,C;;;;;;;;;;;ACAnrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/scenicList/scenicList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/scenicList/scenicList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"\nvar renderjs\nimport script from \"./scenicList.vue?vue&type=script&lang=js&\"\nexport * from \"./scenicList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"396b8e72\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/scenicList/scenicList.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view style=\"padding-top: 30rpx;\">\r\n\t\t\t<block>\r\n\t\t\t\t<view class=\"item\">\r\n\t\t\t\t\t<video class=\"video\" :poster=\"scenic.coverImgUrl\" :src=\"scenic.showVideoUrl\" play-btn-position=\"center\" @error=\"error\" controls></video>\r\n\t\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t\t<text>[ {{scenic.name || \"\"}} ]</text>\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<u-icon name=\"eye-fill\" class=\"icon\" color=\"#ffffff\" size=\"40rpx\"></u-icon><text style=\"color: #ffffff;\">10W+</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/bottom.png\"></image>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\">\r\n\t\t\t\t<view class=\"paizhao\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_scan.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\r\n\t\t</view>\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\tscenic:{},//景区详情\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady() {//代替 vue 里面的 mounted\r\n\t\t},\r\n\t\tonLoad(res){//代替 vue 里面的 created\r\n\t\t\tlet caseId=res.caseId\r\n\t\t\tthis.$request(\"distribution/vlog/getScenicInfo\",{caseId}).then(res=>{\r\n\t\t\t\tif(res.code===\"00\"){\r\n\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\tthis.scenic=res.data;\r\n\t\t\t\t\tuni.setNavigationBarTitle({title:this.scenic.name})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\terror(e){//视频播放出错\r\n\t\t\t\tuni.showModal({content: e.target.errMsg,showCancel: false})\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content{padding: 0 20rpx;min-height: 100%;width: 100%;background-color: #192033;\r\n\t\t.item{padding: 0 10rpx;border-radius: 10rpx;background-color: #192033;margin-bottom:30rpx;text-align: center;\r\n\t\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t\t\t.title{height: 60rpx;margin-top: 20rpx;\r\n\t\t\t\ttext{float: left;height: 60rpx;line-height: 60rpx;color: #FFE600;font-weight: bold;}\r\n\t\t\t\tview{float: right;height: 60rpx;line-height: 60rpx;align-items: center;display: flex;}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.bottom{height: 150rpx;width: 100%;position: relative;position: fixed;bottom: 0;right:0rpx;\r\n\t\t\timage{width: 100%;height: 100rpx;position: relative;position: fixed;bottom: 0;}\r\n\t\t\t.paizhao{height: 160rpx;width: 160rpx;z-index: 1;position: absolute;left:50%;top:22%;transform: translate(-50%, -50%);\r\n\t\t\t\timage{height: 100%;width: 100%;}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631519869751\n var cssReload = require(\"C:/Users/admin/Desktop/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?309f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e9f8","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?565f","uni-app:///pages/vlog/vlogList/vlogList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e1ae","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?6a6c"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmBxoB;;AAEA,MAFA,kBAEA;AACA;AACA,oBADA,EACA;AACA,oBAFA,CAEA;AAFA;AAIA,GAPA;AAQA,QARA,kBAQA,OARA,EAQA;AACA;AACA;AACA,GAXA;AAYA,QAZA,oBAYA;;AAEA,GAdA;AAeA,UAfA,sBAeA;;AAEA,GAjBA;AAkBA,QAlBA,oBAkBA,EAlBA;AAmBA,SAnBA,qBAmBA,EAnBA;AAoBA,mBApBA,6BAoBA,GApBA,EAoBA;AACA;AACA;AACA;AACA;AACA,4BADA;AAEA,4CAFA;AAGA,UAHA,CAGA;AACA;AACA;AACA;AACA,OAPA;AAQA;AACA,qBADA;AAEA,eAFA;AAGA,yDAHA;;AAKA,KAdA,MAcA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,+CAHA;;AAKA;AACA,GA5CA;AA6CA;AACA,iBADA,2BACA;AACA;AACA,4CADA;AAEA,UAFA,CAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAJA;AAKA;AACA,OAVA;AAWA,KAbA;AAcA,WAdA,mBAcA,CAdA,EAcA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA,KApBA;AAqBA,kBArBA,0BAqBA,GArBA,EAqBA;AACA;AACA,oBADA;AAEA,kBAFA;;AAIA,0CALA,CAKA;AACA;AACA,gBADA;AAEA,iEAFA,EAEA;AACA;AACA;AACA;AACA,8BADA;AAEA;AACA;AACA;AACA;AACA,yEADA;;AAGA;AACA,6BADA;AAEA,+BAFA;AAGA,0BAHA;;AAKA,aAbA;AAcA;AACA;AACA,2BADA;AAEA,4BAFA;AAGA,iCAHA;;;;AAOA;AACA;AACA;AACA;AACA,6BADA;AAEA,sCAFA;AAGA,mCAHA;AAIA;AACA;AACA;AACA;AACA;AACA,mCADA;AAEA,gDAFA;AAGA;AACA;AACA,uCADA;AAEA,wDAFA;AAGA,6CAHA;;AAKA,yBATA,MASA;AACA;AACA,uCADA;AAEA,sDAFA;AAGA,6CAHA;;AAKA;AACA,uBAlBA;;AAoBA,mBA1BA;;AA4BA;AACA,aAtDA;;AAwDA,SA7DA;AA8DA;AACA;AACA,uBADA;AAEA,uCAFA;AAGA,6BAHA;;;AAMA;AACA;AACA;AACA,qCADA;AAEA,0BAFA;AAGA,wBAHA;;AAKA;AACA,SA7EA;;AA+EA,KA1GA;AA2GA,SA3GA,iBA2GA,CA3GA,EA2GA;AACA;AACA,gCADA;AAEA,yBAFA;;AAIA,KAhHA,EA7CA,E;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogList/vlogList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogList/vlogList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogList.vue?vue&type=template&id=1f5bdab2&scoped=true&\"\nvar renderjs\nimport script from \"./vlogList.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"1f5bdab2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogList/vlogList.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=template&id=1f5bdab2&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/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view style=\"padding-top: 30rpx;\">\r\n\t\t\t<view class=\"item\" v-for=\"(item,index) in myVlogList\" :key=\"index\">\r\n\t\t\t\t<video class=\"video\" :src=\"item.productUrl\" :poster=\"item.thumbImageUrl\" @error=\"error\" controls\r\n\t\t\t\t\tplay-btn-position=\"center\" :id=\"index\" @play=\"playing(index)\"></video>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<button v-if=\"item.shareNumber===0\" :data-productUrl=\"item.productUrl\" :data-productId=\"item.productId\" class=\"btnn\"\r\n\t\t\t\t\t\topen-type=\"share\">分享下载</button>\r\n\t\t\t\t\t<button v-else class=\"btnn\" @click=\"handleDownload(item.productUrl)\">下载视频</button>\r\n\t\t\t\t\t<text class=\"price\">¥<text>0</text></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"clear: both;\"></view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tmyVlogList: [], //我的视频列表\r\n\t\t\t\tmerchantId: \"\", //景区id\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.merchantId = options.merchantId\r\n\t\t\tthis.getMyVlogList()\r\n\t\t},\r\n\t\tonShow() {\r\n\r\n\t\t},\r\n\t\tonUnload() { //退出页面\r\n\r\n\t\t},\r\n\t\tonHide() {},\r\n\t\tonReady() {},\r\n\t\tonShareAppMessage(res) { //分享\r\n\t\t\tlet productId = res.target.dataset.productid\r\n\t\t\tlet productUrl= res.target.dataset.producturl\r\n\t\t\tif (res.from === \"button\") {\r\n\t\t\t\tthis.$request(\"wechatUser/myPage/updateVlogRecord\", {\r\n\t\t\t\t\tproductId,\r\n\t\t\t\t\topenid: uni.getStorageSync(\"openid\")\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.code === \"00\") {\r\n\t\t\t\t\t\tthis.getMyVlogList()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅行',\r\n\t\t\t\t\ttype: 4,\r\n\t\t\t\t\tpath: '/pages/vlog/share/share?url='+productUrl,\r\n\t\t\t\t}\r\n\t\t\t}else{\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅行',\r\n\t\t\t\t\ttype: 4,\r\n\t\t\t\t\tpath: '/pages/vlog/vlogIndex/vlogIndex',\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetMyVlogList() { //获取景区vlog列表\r\n\t\t\t\tthis.$request(\"wechatUser/myPage/getVlogRecord\", {\r\n\t\t\t\t\topenid: uni.getStorageSync(\"openid\")\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.code === \"00\") {\r\n\t\t\t\t\t\tres.data.forEach(item => { //获取当前景区视频列表\r\n\t\t\t\t\t\t\tif (this.merchantId === item.merchantId) {\r\n\t\t\t\t\t\t\t\tthis.myVlogList = item.vlogList\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tplaying(e) { //控制只播放当前video\r\n\t\t\t\tthis.myVlogList.forEach((item, index) => {\r\n\t\t\t\t\tif (e !== index) {\r\n\t\t\t\t\t\tuni.createVideoContext(index.toString()).pause()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\thandleDownload(url) { // 下载功能\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: \"下载中\",\r\n\t\t\t\t\tmask: true\r\n\t\t\t\t})\r\n\t\t\t\tlet fileName = new Date().valueOf(); //获取时间戳\r\n\t\t\t\tuni.downloadFile({ //下载文件资源到本地\r\n\t\t\t\t\turl,\r\n\t\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4', //filePath指定文件下载后存储的路径,wx.env.USER_DATA_PATH,时间戳为文件名\r\n\t\t\t\t\tsuccess: res => { //下载到本地成功\r\n\t\t\t\t\t\tlet filePath = res.filePath;\r\n\t\t\t\t\t\tuni.saveVideoToPhotosAlbum({ //保存视频到系统相册。\r\n\t\t\t\t\t\t\tfilePath,\r\n\t\t\t\t\t\t\tsuccess: file => { //保存成功\r\n\t\t\t\t\t\t\t\t//删除本地缓存\r\n\t\t\t\t\t\t\t\tlet fileMgr = uni.getFileSystemManager();\r\n\t\t\t\t\t\t\t\tfileMgr.unlink({\r\n\t\t\t\t\t\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4',\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\ttitle: \"下载成功\",\r\n\t\t\t\t\t\t\t\t\ticon: \"success\",\r\n\t\t\t\t\t\t\t\t\tmask: true\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tfail: err => {\r\n\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t title: '提示',\r\n\t\t\t\t\t\t\t\t content: err,\r\n\t\t\t\t\t\t\t\t\tshowCancel:false,\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t\t//拒绝授权时显示\r\n\t\t\t\t\t\t\t\tif (err.errMsg === 'saveVideoToPhotosAlbum:fail auth deny') {\r\n\t\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\t\tcontent: '需要您授权保存相册',\r\n\t\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\t\tsuccess: data => {\r\n\t\t\t\t\t\t\t\t\t\t\t//打开权限设置\r\n\t\t\t\t\t\t\t\t\t\t\tuni.openSetting({\r\n\t\t\t\t\t\t\t\t\t\t\t\tsuccess: setting => {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (setting\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.authSetting[\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'scope.writePhotosAlbum'\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontent: '获取权限成功,再次点击下载即可保存',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tontent: '获取权限失败,将无法保存到相册哦',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tshowCancel: false\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail: err => { //下载失败\r\n\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t title: '提示',\r\n\t\t\t\t\t\t content: \"123\"+ err.errMsg,\r\n\t\t\t\t\t\t\tshowCancel:false,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\tif (err.errMsg == 'downloadFile:fail createDownloadTask:fail url not in domain list') {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '服务器错误,请联系相关管理员',\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tmask: true\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\terror(e) { //视频播放出错触发函数\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\tcontent: e.target.errMsg,\r\n\t\t\t\t\tshowCancel: false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content {\r\n\t\tpadding: 0 20rpx;\r\n\t\tmin-height: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\tbackground-color: #192033;\r\n\r\n\t\t.item {\r\n\t\t\tpadding: 0 10rpx;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tbackground-color: #192033;\r\n\t\t\tpadding-bottom: 40rpx;\r\n\r\n\t\t\t.video {\r\n\t\t\t\theight: 350rpx;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t\tview {\r\n\t\t\t\tmargin: 20rpx 0;\r\n\r\n\t\t\t\t.btnn {\r\n\t\t\t\t\tfloat: left;\r\n\t\t\t\t\twidth: 150rpx;\r\n\t\t\t\t\tbackground-color: #FFE600;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tborder-radius: 30rpx;\r\n\t\t\t\t\tline-height: 30rpx;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tpadding: 10rpx 15rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.price {\r\n\t\t\t\t\tfloat: right;\r\n\t\t\t\t\tcolor: #DE6F26;\r\n\t\t\t\t\tfont-size: 22rpx;\r\n\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\t\tmargin-left: 5rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631517470950\n var cssReload = require(\"C:/Users/admin/Desktop/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?309f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e9f8","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?565f","uni-app:///pages/vlog/vlogList/vlogList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e1ae","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?6a6c"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmBxoB;;AAEA,MAFA,kBAEA;AACA;AACA,oBADA,EACA;AACA,oBAFA,CAEA;AAFA;AAIA,GAPA;AAQA,QARA,kBAQA,OARA,EAQA;AACA;AACA;AACA,GAXA;AAYA,QAZA,oBAYA;;AAEA,GAdA;AAeA,UAfA,sBAeA;;AAEA,GAjBA;AAkBA,QAlBA,oBAkBA,EAlBA;AAmBA,SAnBA,qBAmBA,EAnBA;AAoBA,mBApBA,6BAoBA,GApBA,EAoBA;AACA;AACA;AACA;AACA;AACA,4BADA;AAEA,4CAFA;AAGA,UAHA,CAGA;AACA;AACA;AACA;AACA,OAPA;AAQA;AACA,qBADA;AAEA,eAFA;AAGA,yDAHA;;AAKA,KAdA,MAcA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,+CAHA;;AAKA;AACA,GA5CA;AA6CA;AACA,iBADA,2BACA;AACA;AACA,4CADA;AAEA,UAFA,CAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAJA;AAKA;AACA,OAVA;AAWA,KAbA;AAcA,WAdA,mBAcA,CAdA,EAcA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA,KApBA;AAqBA,kBArBA,0BAqBA,GArBA,EAqBA;AACA;AACA,oBADA;AAEA,kBAFA;;AAIA,0CALA,CAKA;AACA;AACA,gBADA;AAEA,iEAFA,EAEA;AACA;AACA;AACA;AACA,8BADA;AAEA;AACA;AACA;AACA;AACA,yEADA;;AAGA;AACA,6BADA;AAEA,+BAFA;AAGA,0BAHA;;AAKA,aAbA;AAcA;AACA;AACA;AACA;AACA;AACA,6BADA;AAEA,sCAFA;AAGA,mCAHA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,uCADA;AAEA,wDAFA;AAGA,6CAHA;;AAKA,yBANA,MAMA;AACA;AACA,uCADA;AAEA,sDAFA;AAGA,6CAHA;;AAKA;AACA,uBAfA;;AAiBA,mBAvBA;;AAyBA;AACA,aA5CA;;AA8CA,SAnDA;AAoDA;AACA;AACA;AACA;AACA,qCADA;AAEA,0BAFA;AAGA,wBAHA;;AAKA;AACA,SA7DA;;AA+DA,KA1FA;AA2FA,SA3FA,iBA2FA,CA3FA,EA2FA;AACA;AACA,gCADA;AAEA,yBAFA;;AAIA,KAhGA,EA7CA,E;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogList/vlogList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogList/vlogList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogList.vue?vue&type=template&id=1f5bdab2&scoped=true&\"\nvar renderjs\nimport script from \"./vlogList.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"1f5bdab2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogList/vlogList.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=template&id=1f5bdab2&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/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view style=\"padding-top: 30rpx;\">\r\n\t\t\t<view class=\"item\" v-for=\"(item,index) in myVlogList\" :key=\"index\">\r\n\t\t\t\t<video class=\"video\" :src=\"item.productUrl\" :poster=\"item.thumbImageUrl\" @error=\"error\" controls\r\n\t\t\t\t\tplay-btn-position=\"center\" :id=\"index\" @play=\"playing(index)\"></video>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<button v-if=\"item.shareNumber===0\" :data-productUrl=\"item.productUrl\" :data-productId=\"item.productId\" class=\"btnn\"\r\n\t\t\t\t\t\topen-type=\"share\">分享下载</button>\r\n\t\t\t\t\t<button v-else class=\"btnn\" @click=\"handleDownload(item.productUrl)\">下载视频</button>\r\n\t\t\t\t\t<text class=\"price\">¥<text>0</text></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"clear: both;\"></view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tmyVlogList: [], //我的视频列表\r\n\t\t\t\tmerchantId: \"\", //景区id\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.merchantId = options.merchantId\r\n\t\t\tthis.getMyVlogList()\r\n\t\t},\r\n\t\tonShow() {\r\n\r\n\t\t},\r\n\t\tonUnload() { //退出页面\r\n\r\n\t\t},\r\n\t\tonHide() {},\r\n\t\tonReady() {},\r\n\t\tonShareAppMessage(res) { //分享\r\n\t\t\tlet productId = res.target.dataset.productid\r\n\t\t\tlet productUrl= res.target.dataset.producturl\r\n\t\t\tif (res.from === \"button\") {\r\n\t\t\t\tthis.$request(\"wechatUser/myPage/updateVlogRecord\", {\r\n\t\t\t\t\tproductId,\r\n\t\t\t\t\topenid: uni.getStorageSync(\"openid\")\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.code === \"00\") {\r\n\t\t\t\t\t\tthis.getMyVlogList()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅行',\r\n\t\t\t\t\ttype: 4,\r\n\t\t\t\t\tpath: '/pages/vlog/share/share?url='+productUrl,\r\n\t\t\t\t}\r\n\t\t\t}else{\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅行',\r\n\t\t\t\t\ttype: 4,\r\n\t\t\t\t\tpath: '/pages/vlog/vlogIndex/vlogIndex',\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetMyVlogList() { //获取景区vlog列表\r\n\t\t\t\tthis.$request(\"wechatUser/myPage/getVlogRecord\", {\r\n\t\t\t\t\topenid: uni.getStorageSync(\"openid\")\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.code === \"00\") {\r\n\t\t\t\t\t\tres.data.forEach(item => { //获取当前景区视频列表\r\n\t\t\t\t\t\t\tif (this.merchantId === item.merchantId) {\r\n\t\t\t\t\t\t\t\tthis.myVlogList = item.vlogList\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tplaying(e) { //控制只播放当前video\r\n\t\t\t\tthis.myVlogList.forEach((item, index) => {\r\n\t\t\t\t\tif (e !== index) {\r\n\t\t\t\t\t\tuni.createVideoContext(index.toString()).pause()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\thandleDownload(url) { // 下载功能\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: \"下载中\",\r\n\t\t\t\t\tmask: true\r\n\t\t\t\t})\r\n\t\t\t\tlet fileName = new Date().valueOf(); //获取时间戳\r\n\t\t\t\tuni.downloadFile({ //下载文件资源到本地\r\n\t\t\t\t\turl,\r\n\t\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4', //filePath指定文件下载后存储的路径,wx.env.USER_DATA_PATH,时间戳为文件名\r\n\t\t\t\t\tsuccess: res => { //下载到本地成功\r\n\t\t\t\t\t\tlet filePath = res.filePath;\r\n\t\t\t\t\t\tuni.saveVideoToPhotosAlbum({ //保存视频到系统相册。\r\n\t\t\t\t\t\t\tfilePath,\r\n\t\t\t\t\t\t\tsuccess: file => { //保存成功\r\n\t\t\t\t\t\t\t\t//删除本地缓存\r\n\t\t\t\t\t\t\t\tlet fileMgr = uni.getFileSystemManager();\r\n\t\t\t\t\t\t\t\tfileMgr.unlink({\r\n\t\t\t\t\t\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4',\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\ttitle: \"下载成功\",\r\n\t\t\t\t\t\t\t\t\ticon: \"success\",\r\n\t\t\t\t\t\t\t\t\tmask: true\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tfail: err => {\r\n\t\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t\t//拒绝授权时显示\r\n\t\t\t\t\t\t\t\tif (err.errMsg === 'saveVideoToPhotosAlbum:fail auth deny') {\r\n\t\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\t\tcontent: '需要您授权保存相册',\r\n\t\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\t\tsuccess: data => {\r\n\t\t\t\t\t\t\t\t\t\t\t//打开权限设置\r\n\t\t\t\t\t\t\t\t\t\t\tuni.openSetting({\r\n\t\t\t\t\t\t\t\t\t\t\t\tsuccess: setting => {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (setting.authSetting['scope.writePhotosAlbum']) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontent: '获取权限成功,再次点击下载即可保存',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tontent: '获取权限失败,将无法保存到相册哦',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tshowCancel: false\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail: err => { //下载失败\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\tif (err.errMsg == 'downloadFile:fail createDownloadTask:fail url not in domain list') {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '服务器错误,请联系相关管理员',\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tmask: true\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\terror(e) { //视频播放出错触发函数\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\tcontent: e.target.errMsg,\r\n\t\t\t\t\tshowCancel: false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content {\r\n\t\tpadding: 0 20rpx;\r\n\t\tmin-height: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\tbackground-color: #192033;\r\n\r\n\t\t.item {\r\n\t\t\tpadding: 0 10rpx;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tbackground-color: #192033;\r\n\t\t\tpadding-bottom: 40rpx;\r\n\r\n\t\t\t.video {\r\n\t\t\t\theight: 350rpx;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t\tview {\r\n\t\t\t\tmargin: 20rpx 0;\r\n\r\n\t\t\t\t.btnn {\r\n\t\t\t\t\tfloat: left;\r\n\t\t\t\t\twidth: 150rpx;\r\n\t\t\t\t\tbackground-color: #FFE600;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tborder-radius: 30rpx;\r\n\t\t\t\t\tline-height: 30rpx;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tpadding: 10rpx 15rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.price {\r\n\t\t\t\t\tfloat: right;\r\n\t\t\t\t\tcolor: #DE6F26;\r\n\t\t\t\t\tfont-size: 22rpx;\r\n\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\t\tmargin-left: 5rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631520131994\n var cssReload = require(\"C:/Users/admin/Desktop/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?9839","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?57f1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d5db","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?2aaf","uni-app:///pages/vlog/vlogface/vlogface.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?f2e1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?adbf"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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,aAAa,mNAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuCxoB;AACA,MADA,kBACA;AACA;AACA,aADA,EACA;AACA,aAFA,EAEA;AACA,iBAHA,EAGA;AACA,gBAJA,CAIA;AAJA;AAMA,GARA;AASA,QATA,oBASA;AACA,GAVA;AAWA,SAXA,qBAWA;AACA,GAZA;AAaA;AACA,SADA,mBACA;AACA;AACA,sBADA;;AAGA;AACA,kCADA,EACA;AACA,4CAFA,EAEA;AACA,gCAHA,EAGA;AACA,2BAJA,EAIA;AACA,6BALA,CAKA;AALA;AAOA;AACA;AACA;AACA;AACA,uBADA;AAEA,kDAFA;AAGA,6BAHA;AAIA,mBAJA,mBAIA,GAJA,EAIA;AACA;AACA;AACA;AACA,aARA;;AAUA,SAXA,MAWA;AACA;AACA,uBADA;AAEA,iCAFA;AAGA,6BAHA;AAIA,mBAJA,mBAIA,GAJA,EAIA;AACA;AACA;AACA;AACA,aARA;;AAUA;AACA,OAzBA;AA0BA,KAtCA;AAuCA,aAvCA,uBAuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA;AACA;AACA;AACA,2CADA,EACA;AACA,kCAFA,EAEA;AACA;AACA;AACA;AACA,iBANA;;AAQA,aAZA;;AAcA;AACA,OArBA,EAqBA,IArBA;AAsBA,KAlEA;AAmEA,YAnEA,sBAmEA;AACA;AACA,KArEA;AAsEA,SAtEA,iBAsEA,CAtEA,EAsEA;AACA;AACA,mBADA;AAEA,yBAFA;AAGA,yBAHA;;AAKA,KA5EA,EAbA,E;;;;;;;;;;;;;ACvCA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogface/vlogface.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogface/vlogface.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogface.vue?vue&type=template&id=04da0587&scoped=true&\"\nvar renderjs\nimport script from \"./vlogface.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogface.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"04da0587\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogface/vlogface.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=template&id=04da0587&scoped=true&\"","var components\ntry {\n components = {\n uButton: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"bg\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/camera.png\"></image>\r\n\t\t</view>\r\n\t\t<camera class=\"camera\" device-position=\"front\" flash=\"off\" @error=\"error\" @initdone=\"initdone\"></camera>\r\n\t\t<view class=\"surface\" v-show=\"show\">\r\n\t\t\t<view>请正对镜头</view>\r\n\t\t\t<text>{{text}}</text>\r\n\t\t</view>\r\n\t\t<image class=\"photo\" v-show=\"src\" :src=\"src\"></image>\r\n\t\t<view class=\"hint\">\r\n\t\t</view>\r\n\t\t<view class=\"hint1\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_lightisenough.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>光线充足</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_isthelens.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>正对镜头</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_openface.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>不遮挡面部</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<u-button type=\"success\" size=\"medium\" @click=\"takePhoto\">开始识别</u-button>\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\tsrc: \"\", //照片\r\n\t\t\t\ttext: 3, //倒计时\r\n\t\t\t\tshow: false, //摄像头倒计时文本\r\n\t\t\t\tbase64: \"\", //照片base64\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() { //代替 vue 里面的 created\r\n\t\t},\r\n\t\tonReady() { //代替 vue 里面的 mounted\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tquery() { //人脸查询\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '人脸识别中'\r\n\t\t\t\t});\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tcaseId: \"a124Jj6IYiSzCjVV\", //景区id\r\n\t\t\t\t\tuserId: uni.getStorageSync(\"openid\"), //用户id\r\n\t\t\t\t\tfaceImgData: this.base64, //人脸图片base64编码\r\n\t\t\t\t\toptimalFramesNum: 3, //最优帧数量(默认填3就行)\r\n\t\t\t\t\tenableImgBeauty: true //默认填true\r\n\t\t\t\t}\r\n\t\t\t\tthis.$request(\"distribution/vlog/createVlog\",data).then(res => {//创建任务\r\n\t\t\t\t\tvar that=this\r\n\t\t\t\t\tif (res.code === \"00\") {\r\n\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t title: '提示',\r\n\t\t\t\t\t\t content: '视频合成中,请在1~2分钟后在我的VLOG视频集中查看',\r\n\t\t\t\t\t\t\tshowCancel:false,\r\n\t\t\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\t\t\t if (res.confirm) {\r\n\t\t\t\t\t\t\t\t\t\tthat.$u.route(\"pages/vlog/vlogIndex/vlogIndex\")\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t title: '提示',\r\n\t\t\t\t\t\t content: '请先在打卡点录制素材',\r\n\t\t\t\t\t\t\tshowCancel:false,\r\n\t\t\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\t\t\t if (res.confirm) {\r\n\t\t\t\t\t\t\t\t\t\tthat.$u.route(\"pages/vlog/vlogIndex/vlogIndex\")\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttakePhoto() { //扫脸\r\n\t\t\t\tthis.buttonShow = false\r\n\t\t\t\tthis.src = \"\";\r\n\t\t\t\tthis.text = 3;\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\tvar test = setInterval(() => {\r\n\t\t\t\t\tthis.text = this.text - 1;\r\n\t\t\t\t\tif (this.text === -1) {\r\n\t\t\t\t\t\tclearTimeout(test)\r\n\t\t\t\t\t\tthis.show = false\r\n\t\t\t\t\t\tconst ctx = uni.createCameraContext();\r\n\t\t\t\t\t\tctx.takePhoto({\r\n\t\t\t\t\t\t\tquality: 'high',\r\n\t\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\t\tthis.src = res.tempImagePath\r\n\t\t\t\t\t\t\t\tuni.getFileSystemManager().readFile({ //图片转base64\r\n\t\t\t\t\t\t\t\t\tfilePath: res.tempImagePath, //选择图片返回的相对路径\r\n\t\t\t\t\t\t\t\t\tencoding: 'base64', //编码格式\r\n\t\t\t\t\t\t\t\t\tsuccess: res => { //成功的回调\r\n\t\t\t\t\t\t\t\t\t\tthis.base64 = \"data:image/jpeg;base64,\" + res.data\r\n\t\t\t\t\t\t\t\t\t\tthis.query()\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 1000)\r\n\t\t\t},\r\n\t\t\tinitdone(){//相机初始化完成自动开始拍照\r\n\t\t\t\tthis.takePhoto()\r\n\t\t\t},\r\n\t\t\terror(e) { //相机报错\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t title: '提示',\r\n\t\t\t\t content: e.detail,\r\n\t\t\t\t\tshowCancel:false\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content {\r\n\t\tpadding: 0 20rpx;\r\n\t\tbackground-color: #ffffff;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\t.bg{\r\n\t\t\twidth: 650rpx;\r\n\t\t\theight: 650rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 80rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t\tz-index: 5;\r\n\t\t\timage{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.camera {\r\n\t\t\twidth: 550rpx;\r\n\t\t\theight: 550rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 140rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t}\r\n\r\n\t\t.surface {\r\n\t\t\twidth: 500rpx;\r\n\t\t\theight: 500rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 150rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-size: 40rpx;\r\n\t\t\tcolor: #fff;\r\n\t\t\tz-index: 3;\r\n\t\t\tview {\r\n\t\t\t\tmargin: 100rpx 0;\r\n\t\t\t}\r\n\t\t\ttext {\r\n\t\t\t\tfont-size: 70rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.photo {\r\n\t\t\twidth: 550rpx;\r\n\t\t\theight: 550rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 140rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t}\r\n\t\t.hint {\r\n\t\t\tcolor: red;\r\n\t\t\tpadding-top: 680rpx;\r\n\t\t}\r\n\t\t.hint1 {\r\n\t\t\theight: 300rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: space-between;\r\n\t\t\tpadding-top: 50rpx;\r\n\t\t\tpadding-left: 80rpx;\r\n\t\t\tpadding-right: 80rpx;\r\n\r\n\t\t\t.item {\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t}\r\n\r\n\t\t\timage {\r\n\t\t\t\theight: 60rpx;\r\n\t\t\t\twidth: 60rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631517300584\n var cssReload = require(\"C:/Users/admin/Desktop/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?9839","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?57f1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d5db","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?2aaf","uni-app:///pages/vlog/vlogface/vlogface.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?f2e1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?adbf"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuCxoB;AACA,MADA,kBACA;AACA;AACA,aADA,EACA;AACA,aAFA,EAEA;AACA,iBAHA,EAGA;AACA,gBAJA,CAIA;AAJA;AAMA,GARA;AASA,QATA,oBASA;AACA,GAVA;AAWA,SAXA,qBAWA;AACA,GAZA;AAaA;AACA,SADA,mBACA;AACA;AACA,sBADA;;AAGA;AACA,kCADA,EACA;AACA,4CAFA,EAEA;AACA,gCAHA,EAGA;AACA,2BAJA,EAIA;AACA,6BALA,CAKA;AALA;AAOA;AACA;AACA;AACA;AACA,uBADA;AAEA,kDAFA;AAGA,6BAHA;AAIA,mBAJA,mBAIA,GAJA,EAIA;AACA;AACA;AACA;AACA,aARA;;AAUA,SAXA,MAWA;AACA;AACA,uBADA;AAEA,iCAFA;AAGA,6BAHA;AAIA,mBAJA,mBAIA,GAJA,EAIA;AACA;AACA;AACA;AACA,aARA;;AAUA;AACA,OAzBA;AA0BA,KAtCA;AAuCA,aAvCA,uBAuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA;AACA;AACA;AACA,2CADA,EACA;AACA,kCAFA,EAEA;AACA;AACA;AACA;AACA,iBANA;;AAQA,aAZA;;AAcA;AACA,OArBA,EAqBA,IArBA;AAsBA,KAlEA;AAmEA,YAnEA,sBAmEA;AACA;AACA,KArEA;AAsEA,SAtEA,iBAsEA,CAtEA,EAsEA;AACA;AACA,mBADA;AAEA,yBAFA;AAGA,yBAHA;;AAKA,KA5EA,EAbA,E;;;;;;;;;;;;;ACvCA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogface/vlogface.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogface/vlogface.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogface.vue?vue&type=template&id=04da0587&scoped=true&\"\nvar renderjs\nimport script from \"./vlogface.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogface.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"04da0587\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogface/vlogface.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=template&id=04da0587&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/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"bg\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/camera.png\"></image>\r\n\t\t</view>\r\n\t\t<camera class=\"camera\" device-position=\"front\" flash=\"off\" @error=\"error\" @initdone=\"initdone\"></camera>\r\n\t\t<view class=\"surface\" v-show=\"show\">\r\n\t\t\t<view>请正对镜头</view>\r\n\t\t\t<text>{{text}}</text>\r\n\t\t</view>\r\n\t\t<image class=\"photo\" v-show=\"src\" :src=\"src\"></image>\r\n\t\t<view class=\"hint\">\r\n\t\t</view>\r\n\t\t<view class=\"hint1\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_lightisenough.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>光线充足</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_isthelens.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>正对镜头</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_openface.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>不遮挡面部</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <u-button type=\"success\" size=\"medium\" @click=\"takePhoto\">开始识别</u-button> -->\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\tsrc: \"\", //照片\r\n\t\t\t\ttext: 3, //倒计时\r\n\t\t\t\tshow: false, //摄像头倒计时文本\r\n\t\t\t\tbase64: \"\", //照片base64\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() { //代替 vue 里面的 created\r\n\t\t},\r\n\t\tonReady() { //代替 vue 里面的 mounted\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tquery() { //人脸查询\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '人脸识别中'\r\n\t\t\t\t});\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tcaseId: \"a124Jj6IYiSzCjVV\", //景区id\r\n\t\t\t\t\tuserId: uni.getStorageSync(\"openid\"), //用户id\r\n\t\t\t\t\tfaceImgData: this.base64, //人脸图片base64编码\r\n\t\t\t\t\toptimalFramesNum: 3, //最优帧数量(默认填3就行)\r\n\t\t\t\t\tenableImgBeauty: true //默认填true\r\n\t\t\t\t}\r\n\t\t\t\tthis.$request(\"distribution/vlog/createVlog\",data).then(res => {//创建任务\r\n\t\t\t\t\tvar that=this\r\n\t\t\t\t\tif (res.code === \"00\") {\r\n\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t title: '提示',\r\n\t\t\t\t\t\t content: '视频合成中,请在1~2分钟后在我的VLOG视频集中查看',\r\n\t\t\t\t\t\t\tshowCancel:false,\r\n\t\t\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\t\t\t if (res.confirm) {\r\n\t\t\t\t\t\t\t\t\t\tthat.$u.route(\"pages/vlog/vlogIndex/vlogIndex\")\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t title: '提示',\r\n\t\t\t\t\t\t content: '请先在打卡点录制素材',\r\n\t\t\t\t\t\t\tshowCancel:false,\r\n\t\t\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\t\t\t if (res.confirm) {\r\n\t\t\t\t\t\t\t\t\t\tthat.$u.route(\"pages/vlog/vlogIndex/vlogIndex\")\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttakePhoto() { //扫脸\r\n\t\t\t\tthis.buttonShow = false\r\n\t\t\t\tthis.src = \"\";\r\n\t\t\t\tthis.text = 3;\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\tvar test = setInterval(() => {\r\n\t\t\t\t\tthis.text = this.text - 1;\r\n\t\t\t\t\tif (this.text === -1) {\r\n\t\t\t\t\t\tclearTimeout(test)\r\n\t\t\t\t\t\tthis.show = false\r\n\t\t\t\t\t\tconst ctx = uni.createCameraContext();\r\n\t\t\t\t\t\tctx.takePhoto({\r\n\t\t\t\t\t\t\tquality: 'high',\r\n\t\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\t\tthis.src = res.tempImagePath\r\n\t\t\t\t\t\t\t\tuni.getFileSystemManager().readFile({ //图片转base64\r\n\t\t\t\t\t\t\t\t\tfilePath: res.tempImagePath, //选择图片返回的相对路径\r\n\t\t\t\t\t\t\t\t\tencoding: 'base64', //编码格式\r\n\t\t\t\t\t\t\t\t\tsuccess: res => { //成功的回调\r\n\t\t\t\t\t\t\t\t\t\tthis.base64 = \"data:image/jpeg;base64,\" + res.data\r\n\t\t\t\t\t\t\t\t\t\tthis.query()\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 1000)\r\n\t\t\t},\r\n\t\t\tinitdone(){//相机初始化完成自动开始拍照\r\n\t\t\t\tthis.takePhoto()\r\n\t\t\t},\r\n\t\t\terror(e) { //相机报错\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t title: '提示',\r\n\t\t\t\t content: e.detail,\r\n\t\t\t\t\tshowCancel:false\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content {\r\n\t\tpadding: 0 20rpx;\r\n\t\tbackground-color: #ffffff;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\t.bg{\r\n\t\t\twidth: 650rpx;\r\n\t\t\theight: 650rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 80rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t\tz-index: 5;\r\n\t\t\timage{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.camera {\r\n\t\t\twidth: 550rpx;\r\n\t\t\theight: 550rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 140rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t}\r\n\r\n\t\t.surface {\r\n\t\t\twidth: 500rpx;\r\n\t\t\theight: 500rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 150rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-size: 40rpx;\r\n\t\t\tcolor: #fff;\r\n\t\t\tz-index: 3;\r\n\t\t\tview {\r\n\t\t\t\tmargin: 100rpx 0;\r\n\t\t\t}\r\n\t\t\ttext {\r\n\t\t\t\tfont-size: 70rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.photo {\r\n\t\t\twidth: 550rpx;\r\n\t\t\theight: 550rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 140rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%);\r\n\t\t}\r\n\t\t.hint {\r\n\t\t\tcolor: red;\r\n\t\t\tpadding-top: 680rpx;\r\n\t\t}\r\n\t\t.hint1 {\r\n\t\t\theight: 300rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: space-between;\r\n\t\t\tpadding-top: 50rpx;\r\n\t\t\tpadding-left: 80rpx;\r\n\t\t\tpadding-right: 80rpx;\r\n\r\n\t\t\t.item {\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t}\r\n\r\n\t\t\timage {\r\n\t\t\t\theight: 60rpx;\r\n\t\t\t\twidth: 60rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631520001454\n var cssReload = require(\"C:/Users/admin/Desktop/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":""}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment