王总上门按摩后台代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shangmenanmo/public/h5/static/js/technician-pages-order-deta...

1 line
40 KiB

5 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-order-detail"],{"06cb":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.record-item[data-v-4a417ed4]{padding:0 0 %?30?% %?30?%}.record-item .item-tag[data-v-4a417ed4]{width:14px;height:14px;display:block;background:#fff;border-radius:50%;top:0;left:-7px;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.record-item .item-text[data-v-4a417ed4]{line-height:%?34?%}.record-item .item-img[data-v-4a417ed4]{width:%?180?%;min-height:%?118?%}.record-item .item-btn[data-v-4a417ed4]{width:%?160?%;height:%?64?%;background:#eee}.record-item.b-1px-l[data-v-4a417ed4]::before{border-left:2px solid #ccc}.record-item[data-v-4a417ed4]:last-child{padding-bottom:0}',""]),t.exports=e},"0814":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c975"),i("d3b7"),i("159b"),i("14d9"),i("3ca3"),i("ddb0"),i("2b3d"),i("9861"),i("d401"),i("25f0"),i("a434"),i("acd8");var a={data:function(){return{isUserMedia:!1,stream:null,audio:null,recorder:null,chunks:[],startTime:0}},mounted:function(){if(-1===origin.indexOf("https"))throw this.$emit("error","100"),"请在 https 环境中使用本插件。";if(!navigator.mediaDevices||!window.MediaRecorder)throw this.$emit("error","101"),"当前浏览器不支持";this.getRecorderManager()},methods:{getRecorderManager:function(){var t=this;this.audio=document.createElement("audio"),navigator.mediaDevices.getUserMedia({audio:!0}).then((function(e){t.isUserMedia=!0,e.getTracks().forEach((function(t){t.stop()}))})).catch((function(e){t.onErrorHandler(e)}))},start:function(){var t=this;if(!this.isUserMedia)return console.log("设备不支持");navigator.mediaDevices.getUserMedia({audio:!0}).then((function(e){t.startTime=(new Date).getTime(),t.stream=e,t.recorder=new MediaRecorder(e),t.recorder.ondataavailable=t.getRecordingData,t.recorder.onstop=t.saveRecordingData,t.recorder.start()})).catch((function(e){t.onErrorHandler(e)}))},stop:function(){this.recorder.stop(),this.stream.getTracks().forEach((function(t){t.stop()}))},getRecordingData:function(t){this.chunks.push(t.data)},saveRecordingData:function(){var t=new Blob(this.chunks,{type:"audio/mpeg"}),e=URL.createObjectURL(t),i=(new Date).getTime(),a=(i-this.startTime).toString().split("");a.splice(a.length-2),a.splice(a.length-1,0,"."),a=parseFloat(a.join(""));var n={data:t,duration:a,localUrl:e};this.$emit("success",n)},onErrorHandler:function(t){if(console.log(t,"========onErrorHandler"),"NotAllowedError"===t.name)throw this.$emit("error","201"),"用户拒绝了当前的浏览器实例的访问请求";if("NotReadableError"===t.name)throw this.$emit("error","101"),"当前浏览器不支持";throw this.$emit("error","500"),"调用失败,原因不详"}},destroyed:function(){this.stop()},clear:function(){}};e.default=a},"0d71":function(t,e,i){"use strict";i.r(e);var a=i("659c"),n=i("a11b");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("2aeb");var s=i("f0c5"),o=Object(s["a"])(n["default"],a[