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.
bjhedasx/public/h5/static/js/pages-chat-message.5d8a1ba7.js

1 line
39 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-chat-message"],{"03ad":function(n,t,e){"use strict";var i=e("c7bf"),a=e.n(i);a.a},"0d12":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"layer_pop_up_cn",on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=n.$handleEvent(t)}}},[e("v-uni-view",{staticClass:"cn-content"},[e("v-uni-view",{staticClass:"jc-modal",class:{overlay:n.overlay},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.overlayClick.apply(void 0,arguments)}}},[n._t("default")],2)],1),e("v-uni-view",{staticClass:"cn-layer"})],1)},a=[]},"124c":function(n,t,e){var i=e("fb6a0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("53c4ac24",i,!0,{sourceMap:!1,shadowMode:!1})},"1fc9":function(n,t,e){"use strict";e.r(t);var i=e("7e07"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},"27cc":function(n,t,e){"use strict";(function(n){e("7a82");var i=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("d3b7"),e("baa5"),e("14d9");var a=i(e("798d")),o=i(e("4e85")),s=i(e("6126")),r=e("d144"),c={isAuth:function(){return new Promise((function(n,t){if("weixin"==o.default.userAgent()){var e=uni.getStorageSync("is_auth_record");n(e)}}))},record:function(){return new Promise((function(t,e){"weixin"==o.default.userAgent()&&r.startRecord({success:function(e){n("log","wxStartRecordSuccess",e," at components/hzjc/utils/functions/record.js:86"),t(e)},fail:function(t){n("log","wxStartRecordFail",t," at components/hzjc/utils/functions/record.js:90"),e(t)},complete:function(t){n("log","wxStartRecordComplete",t," at components/hzjc/utils/functions/record.js:94"),"startRecord:cancel"==t.errMsg&&e(t)}})}))},stopRecord:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return new Promise((function(i,a){"weixin"==o.default.userAgent()&&r.stopRecord({success:function(o){n("log","wxStopRecordSuccess",o," at components/hzjc/utils/functions/record.js:143"),e?t.uploadVoice(o.localId).then((function(t){n("log",t," at components/hzjc/utils/functions/record.js:146"),i(t.url)})).catch((function(n){a(n)})):i(o)},fail:function(t){n("log","wxStopRecordFail",t," at components/hzjc/utils/functions/record.js:156"),a(t)},complete:function(t){n("log","wxStopRecordComplete",t," at components/hzjc/utils/functions/record.js:160")}})}))},uploadVoice:function(t){return new Promise((function(e,i){r.uploadVoice({localId:t,isShowProgressTips:0,success:function(t){n("log","wxUploadVoiceSuccess",t," at components/hzjc/utils/functions/record.js:187");var o=t.serverId;a.default.getData("base/wechat/api/Media/getRecordMediaToOss",{media_id:o}).then((function(n){0==n.code?e({url:n.data.oss_url}):i(n)}))},fail:function(t){n("log","wxUploadVoiceFail",t," at components/hzjc/utils/functions/record.js:205"),i(t)},complete:function(t){n("log","wxUploadVoiceComplete",t," at components/hzjc/utils/functions/record.js:209")}})}))},uploadRecordFile:function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(e,i){var a,r,c=[],l=n.lastIndexOf("/");if(-1!=l&&(a=n.substring(l+1)),t)r=a;else{var u=o.default.getSuffix(a);r=o.default.getRandomStr(10)+u}c.push({path:n,fileName:r}),s.default.uploadFilesToOss(c,[],{},t,"audio").then((function(n){uni.hideLoading(),e(n)})).catch((function(n){uni.hideLoading(),i(n)}))}))}},l=c;t.default=l}).call(this,e("0de9")["log"])},"2e3b":function(n,t,e){"use strict";e.r(t);var i=e("0d12"),a=e("f918");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("c076");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"9f563a9c",null,!1,i["a"],void 0);t["default"]=r.exports},3122:function(n,t,e){"use strict";e.r(t);var i=e("a1e5"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},"411a":function(n,t,e){"use strict";e.r(t);var i=e("4130"),a=e("ecd4");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"ab227dea",null,!1,i["a"],void 0);t["default"]=r.exports},4130:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"jc-list"},[e("v-uni-view",{staticClass:"component__content"},[n._t("default"),e("v-uni-view",{class:{"padding-tb-20":1==n.type}},["hasError"==n.status?e("v-uni-view",{staticClass:"flex justify-center",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.load.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"text-24 text-b3"},[n._v(n._s(n.contentText[n.status]))])],1):"nodata"==n.status||"loading"==n.status?e("v-uni-view",{staticClass:"flex justify-center"},[e("v-uni-text",{staticClass:"text-30 text-4d"},[n._v(n._s(n.contentText[n.status]))])],1):"finished"==n.status&&1==n.type?e("v-uni-view",{staticClass:"flex justify-center"},[e("v-uni-text",{staticClass:"text-24 text-b3"},[n._v(n._s(n.contentText[n.status]))])],1):n._e()],1),n._t("up_list")],2)],1)},a=[]},"4dcd":function(n,t,e){"use strict";e("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={list:[{url:"emoji-1.png",alt:"[嘿嘿]"},{url:"emoji-2.png",alt:"[哈哈]"},{url:"emoji-3.png",alt:"[大笑]"},{url:"emoji-4.png",alt:"[嘻嘻]"},{url:"emoji-5.png",alt:"[斜眼笑]"},{url:"emoji-6.png",alt:"[苦笑]"},{url:"emoji-7.png",alt:"[笑翻]"},{url:"emoji-8.png",alt:"[笑哭]"},{url:"emoji-9.png",alt:"[呵呵]"},{url:"emoji-10.png",alt:"[倒脸]"},{url:"emoji-11.png",alt:"[眨眼]"},{url:"emoji-12.png",alt:"[羞涩]"},{url:"emoji-13.png",alt:"[天使笑]"},{url:"emoji-14.png",alt:"[喜笑]"},{url:"emoji-15.png",alt:"[微笑]"},{url:"emoji-16.png",alt:"[羞涩亲]"},{url:"emoji-17.png",alt:"[花痴]"},{url:"emoji-18.png",alt:"[崇拜]"},{url:"emoji-19.png",alt:"[飞吻]"},{url:"emoji-20.png",alt:"[亲亲]"},{url:"emoji-21.png",alt:"[含泪笑]"},{url:"emoji-22.png",alt:"[好吃]"},{url:"emoji-23.png",alt:"[吐舌]"},{url:"emoji-24.png",alt:"[调皮]"},{url:"emoji-25.png",alt:"[滑稽]"},{url:"emoji-26.png",alt:"[搞怪]"},{url:"emoji-27.png",alt:"[发财]"},{url:"emoji-28.png",alt:"[抱抱]"},{url:"emoji-29.png",alt:"[不说]"},{url:"emoji-30.png",alt:"[安静]"},{url:"emoji-31.png",alt:"[思考]"},{url:"emoji-32.png",alt:"[闭嘴]"},{url:"emoji-33.png",alt:"[挑眉]"},{url:"emoji-34.png",alt:"[冷漠]"},{url:"emoji-35.png",alt:"[无语]"},{url:"emoji-36.png",alt:"[沉默]"},{url:"emoji-37.png",alt:"[得意]"},{url:"emoji-38.png",alt:"[不高兴]"},{url:"emoji-39.png",alt:"[白眼]"},{url:"emoji-40.png",alt:"[龇牙]"},{url:"emoji-41.png",alt:"[说谎]"},{url:"emoji-42.png",alt:"[迷茫]"},{url:"emoji-43.png",alt:"[呼气]"},{url:"emoji-44.png",alt:"[松口气]"},{url:"emoji-45.png",alt:"[沉思]"},{url:"emoji-46.png",alt:"[困]"},{url:"emoji-47.png",alt:"[流口水]"},{url:"emoji-48.png",alt:"[睡觉]"},{url:"emoji-49.png",alt:"[感冒]"},{url:"emoji-50.png",alt:"[发烧]"},{url:"emoji-51.png",alt:"[受伤]"},{url:"emoji-52.png",alt:"[恶心]"},{url:"emoji-53.png",alt:"[呕吐]"},{url:"emoji-54.png",alt:"[打喷嚏]"},{url:"emoji-55.png",alt:"[脸发烧]"},{url:"emoji-56.png",alt:"[冷脸]"},{url:"emoji-57.png",alt:"[头昏]"},{url:"emoji-58.png",alt:"[晕头转向]"},{url:"emoji-59.png",alt:"[爆炸头]"},{url:"emoji-60.png",alt:"[晕]"},{url:"emoji-61.png",alt:"[牛仔]"},{url:"emoji-62.png",alt:"[聚会]"},{url:"emoji-63.png",alt:"[伪装]"},{url:"emoji-64.png",alt:"[墨镜]"},{url:"emoji-65.png",alt:"[书呆子]"},{url:"emoji-66.png",alt:"[探索]"},{url:"emoji-67.png",alt:"[困扰]"},{url:"emoji-68.png",alt:"[担心]"},{url:"emoji-69.png",alt:"[不满]"},{url:"emoji-70.png",alt:"[很不满]"},{url:"emoji-71.png",alt:"[吃惊]"},{url:"emoji-72.png",alt:"[震惊]"},{url:"emoji-73.png",alt:"[脸红]"},{url:"emoji-74.png",alt:"[恳求]"},{url:"emoji-75.png",alt:"[啊]"},{url:"emoji-76.png",alt:"[呆住]"},{url:"emoji-77.png",alt:"[害怕]"},{url:"emoji-78.png",alt:"[冷汗]"},{url:"emoji-79.png",alt:"[失误]"},{url:"emoji-80.png",alt:"[大哭]"},{url:"emoji-81.png",alt:"[吓人]"},{url:"emoji-82.png",alt:"[困惑]"},{url:"emoji-83.png",alt:"[痛苦]"},{url:"emoji-84.png",alt:"[汗]"},{url:"emoji-85.png",alt:"[很累]"},{url:"emoji-86.png",alt:"[累]"},{url:"emoji-87.png",alt:"[傲慢]"},{url:"emoji-88.png",alt:"[怒火]"},{url:"emoji-89.png",alt:"[生气]"},{url:"emoji-90.png",alt:"[脏话]"},{url:"emoji-91.png",alt:"[恶魔微笑]"},{url:"emoji-92.png",alt:"[恶魔生气]"},{url:"emoji-93.png",alt:"[头骨]"},{url:"emoji-94.png",alt:"[骷髅]"},{url:"emoji-95.png",alt:"[大便]"},{url:"emoji-96.png",alt:"[小丑]"},{url:"emoji-97.png",alt:"[魔]"},{url:"emoji-98.png",alt:"[妖精]"},{url:"emoji-99.png",alt:"[鬼]"},{url:"emoji-100.png",alt:"[外星人]"},{url:"emoji-101.png",alt:"[怪物]"},{url:"emoji-102.png",alt:"[机器人]"},{url:"emoji-103.png",alt:"[勿视]"},{url:"emoji-104.png",alt:"[勿听]"},{url:"emoji-105.png",alt:"[勿言]"},{url:"emoji-106.png",alt:"[唇印]"},{url:"emoji-107.png",alt:"[情书]"},{url:"emoji-108.png",alt:"[穿心]"},{url:"emoji-109.png",alt:"[绸带心]"},{url:"emoji-110.png",alt:"[闪亮心]"},{url:"emoji-111.png",alt:"[心碎]"},{url:"emoji-112.png",alt:"[心跳]"},{url:"emoji-113.png",alt:"[心碎]"},{url:"emoji-114.png",alt:"[波动心]"},{url:"emoji-115.png",alt:"[黑心]"},{url:"emoji-116.png",alt:"[一百分]"},{url:"emoji-117.png",alt:"[怒]"},{url:"emoji-118.png",alt:"[炸]"},{url:"emoji-119.png",alt:"[气]"},{url:"emoji-120.png",alt:"[心伤]"},{url:"emoji-121.png",alt:"[汗滴]"},{url:"emoji-122.png",alt:"[头晕]"},{url:"emoji-123.png",alt:"[鲜花]"},{url:"emoji-124.png",alt:"[向日葵]"},{url:"emoji-125.png",alt:"[洞]"},{url:"emoji-126.png",alt:"[炸弹]"},{url:"emoji-127.png",alt:"[气泡]"},{url:"emoji-128.png",alt:"[禁止]"}]},a=i;t.default=a},"4e92":function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}));var i={tyListList:e("411a").default,jcChatChatBtn:e("fb10").default},a=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"chat_message_page"},[e("v-uni-view",{staticClass:"page_content"},[e("v-uni-scroll-view",{staticStyle:{"overflow-anchor":"auto"},style:{height:"calc(100vh - "+n.bottomHight+"rpx - env(safe-area-inset-bottom))"},attrs:{id:"scroll","scroll-y":!0,"scroll-into-view":n.scrollToId,"scroll-top":n.scrollTop,"scroll-anchoring":!0},on:{scrolltoupper:function(t){arguments[0]=t=n.$handleEvent(t),n.getUpList.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"message-block padding-bottom-30"},[e("ty-list-list",{attrs:{status:n.load_status,type:"2"},scopedSlots:n._u([{key:"up_list",fn:function(){return n._l(n.up_list,(function(t,i){return e("v-uni-view",{key:i,staticClass:"message-item padding-lr-30 text-28",class:{"self-message":t.user_id==n.userId,"friend-message":t.user_id!=n.userId},attrs:{id:"scroll"+t.id}},[1==t.is_show_time?e("v-uni-view",{staticClass:"margin-top-40 text-center text-98"},[n._v(n._s(t.show_time))]):n._e(),e("v-uni-view",{staticClass:"content margin-top-40 flex align-start"},[e("v-uni-image",{staticClass:"jc-image-80 radius-10",attrs:{src:t.user_head_img}}),e("v-uni-view",{staticClass:"margin-lr-25"},[1==t.type?e("v-uni-view",{staticClass:"send-text padding-20 radius-10 bg-ff line-40"},[e("v-uni-rich-text",{attrs:{nodes:n.replaceEmoji(t.content)}})],1):n._e(),2==t.type?e("v-uni-view",{staticClass:"send-voice padding-20 radius-10 bg-main-light line-40",style:{width:100+364/59*t.attach_data.record_seconds+"rpx"},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.playVoice(i)}}},[e("v-uni-text",{staticClass:"icon tyIcon-yuyin1 text-28 text-33"}),e("v-uni-view",{staticClass:"voice_text"},[n._v(n._s(t.attach_data.record_seconds)+"''")])],1):n._e(),3==t.type?e("v-uni-view",{staticClass:"message-image radius-10",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.previewImage(t.content)}}},[t.attach_data.width/t.attach_data.height>=230/300?e("v-uni-image",{staticClass:"jc-image radius-10",staticStyle:{width:"230rpx"},style:{height:(230*t.attach_data.height/t.attach_data.width<100?100:230*t.attach_data.height/t.attach_data.width)+"rpx"},attrs:{src:t.content,mode:"aspectFill"}}):n._e(),t.attach_data.width/t.attach_data.height<230/300?e("v-uni-image",{staticClass:"jc-image radius-10",staticStyle:{height:"300rpx"},style:{width:(300*t.attach_data.width/t.attach_data.height<100?100:300*t.attach_data.width/t.attach_data.height)+"rpx"},attrs:{src:t.content,mode:"aspectFill"}}):n._e()],1):n._e(),4==t.type?e("v-uni-view",{staticClass:"overflow-hidden radius-10 bg-ff",staticStyle:{width:"460rpx"},on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.openLocation(t.attach_data)}}},[e("v-uni-view",{staticClass:"padding-20"},[e("v-uni-view",{staticClass:"line-height-40 text-28 text-cut-one"},[n._v(n._s(t.content))]),e("v-uni-view",{staticClass:"margin-top-10 line-height-35 text-98 text-cut-one"},[n._v(n._s(t.attach_data.address))])],1),e("v-uni-map",{staticStyle:{width:"100%",height:"175rpx"},attrs:{latitude:t.attach_data.lat,longitude:t.attach_data.lng}})],1):n._e()],1)],1)],1)}))},proxy:!0}])})],1)],1),e("jc-chat-chatBtn",{on:{sendMessage:function(t){arguments[0]=t=n.$handleEvent(t),n.sendMessage.apply(void 0,arguments)},bottomHightChange:function(t){arguments[0]=t=n.$handleEvent(t),n.bottomHightChange.apply(void 0,arguments)},recordStart:function(t){arguments[0]=t=n.$handleEvent(t),n.recordStart.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"page_layer"})],1)},o=[]},"55f7":function(n,t,e){n.exports=e.p+"static/img/voice.a9a7e847.gif"},"695f":function(n,t,e){"use strict";var i=e("a5244"),a=e.n(i);a.a},7250:function(n,t,e){var i=e("ce9e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("7a600270",i,!0,{sourceMap:!1,shadowMode:!1})},"72e8":function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}));var i={tyUtilsEmojiList:e("af0b").default,tyLayerPopUp:e("2e3b").default},a=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("v-uni-view",{staticClass:"chat-chat-btn-cn"},[i("v-uni-view",{staticClass:"cn-content"},[i("v-uni-view",{staticClass:"jc-footer-safe border-top-ed bg-f7",style:{bottom:"calc("+n.keyboardHeight+"rpx)"}},[i("v-uni-view",{staticClass:"padding-tb-15 flex align-end",style:{height:n.bottomBarHight+"rpx"}},[i("v-uni-view",{staticClass:"line-height-70 text-center",staticStyle:{width:"90rpx"}},[1==n.sendType||3==n.sendType||4==n.sendType?i("v-uni-text",{staticClass:"tyIcon-xingzhuangjiehe text-98 text-50",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.sendTypeChange(2)}}}):n._e(),2==n.sendType?i("v-uni-text",{staticClass:"tyIcon-jianpan1 text-98 text-50",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.sendTypeChange(1)}}}):n._e()],1),1==n.sendType||3==n.sendType||4==n.sendType?i("v-uni-textarea",{staticClass:"flex-one padding-lr-20 padding-tb-15 line-40 radius-10 bg-ff",style:{height:n.textareaHighet+"rpx"},attrs:{"show-confirm-bar":!1,maxlength:"-1",focus:n.isTextareaFocus},on:{focus:function(t){arguments[0]=t=n.$handleEvent(t),n.focus.apply(void 0,arguments)},blur:function(t){arguments[0]=t=n.$handleEvent(t),n.blur.apply(void 0,arguments)},linechange:function(t){arguments[0]=t=n.$handleEvent(t),n.textAreaLineChange.apply(void 0,arguments)},click:function(t){arguments[0]=t=n.$handleEvent(t),n.sendTypeChange(1)}},model:{value:n.content,callback:function(t){n.content=t},expression:"content"}}):n._e(),2==n.sendType?i("v-uni-view",{staticClass:"flex-one line-height-70 radius-10 bg-ff text-center text-28",on:{touchstart:function(t){arguments[0]=t=n.$handleEvent(t),n.touchStart.apply(void 0,arguments)},touchend:function(t){arguments[0]=t=n.$handleEvent(t),n.touchEnd.apply(void 0,arguments)},touchmove:function(t){arguments[0]=t=n.$handleEvent(t),n.touchMove.apply(void 0,arguments)}}},[n._v(n._s(n.voiceText))]):n._e(),i("v-uni-view",{staticClass:"padding-lr-20 flex align-center justify-between"},[i("v-uni-view",{staticClass:"margin-right-20 line-height-70",staticStyle:{width:"50rpx"}},[4!=n.sendType?i("v-uni-text",{staticClass:"tyIcon-biaoqing text-98 text-50",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.sendTypeChange(4)}}}):n._e(),4==n.sendType?i("v-uni-text",{staticClass:"tyIcon-jianpan1 text-98 text-50",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.sendTypeChange(1)}}}):n._e()],1),1!=n.sendType&&4!=n.sendType||""===n.content?i("v-uni-view",{staticClass:"line-height-70",staticStyle:{width:"50rpx"},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.sendTypeChange(3)}}},[i("v-uni-text",{staticClass:"tyIcon-tianjia text-98 text-50"})],1):n._e(),1!=n.sendType&&4!=n.sendType||""===n.content?n._e():i("v-uni-view",{staticClass:"width-100 line-height-50 radius-6 bg-main text-center text-26 text-ff",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.sendMessage(1)}}},[n._v("发送")])],1)],1),3==n.sendType?i("v-uni-view",{staticClass:"send-type-other bg-f7 border-top-ed",staticStyle:{"padding-top":"78rpx",height:"330rpx"}},[i("v-uni-view",{staticClass:"flex align-center flex-wrap justify-around",staticStyle:{padding:"0 90rpx"}},[i("v-uni-view",{staticClass:"other-type-item",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.chooseImage("album")}}},[i("v-uni-view",{staticClass:"icon-block"},[i("v-uni-text",{staticClass:"tyIcon-tu line-110 text-50 text-4d"})],1),i("v-uni-view",{staticClass:"margin-top-30 text-24 text-80"},[n._v("相册")])],1),i("v-uni-view",{staticClass:"other-type-item",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.chooseImage("camera")}}},[i("v-uni-view",{staticClass:"icon-block"},[i("v-uni-text",{staticClass:"tyIcon-paizhao line-110 text-50 text-4d"})],1),i("v-uni-view",{staticClass:"margin-top-30 text-24 text-80"},[n._v("拍摄")])],1),i("v-uni-view",{staticClass:"other-type-item",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.chooseLocation()}}},[i("v-uni-view",{staticClass:"icon-block"},[i("v-uni-text",{staticClass:"tyIcon-weizhi line-110 text-50 text-4d"})],1),i("v-uni-view",{staticClass:"margin-top-30 text-24 text-80"},[n._v("位置")])],1)],1)],1):n._e(),4==n.sendType?i("v-uni-view",{staticClass:"send-type-other bg-f7 border-top-ed"},[i("ty-utils-emoji-list",{on:{emojiAdd:function(t){arguments[0]=t=n.$handleEvent(t),n.emojiAdd.apply(void 0,arguments)}}})],1):n._e()],1)],1),i("v-uni-view",{staticClass:"cn-layer"},[2==n.sendType&&1==n.recordStatus?i("v-uni-view",[i("ty-layer-pop-up",{attrs:{overlay:!1}},[i("v-uni-view",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=n.$handleEvent(t)}}},[i("v-uni-view",{staticClass:"voice-record1"},[i("v-uni-image",{staticClass:"jc-image-280",attrs:{src:e("55f7")}})],1)],1)],1)],1):n._e(),2==n.sendType&&2==n.recordStatus?i("v-uni-view",[i("ty-layer-pop-up",{attrs:{overlay:!1}},[i("v-uni-view",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=n.$handleEvent(t)}}},[i("v-uni-view",{staticClass:"voice-record flex flex-direction align-center"},[i("v-uni-view",{staticClass:"text-ff",staticStyle:{height:"208rpx","line-height":"208rpx","font-size":"160rpx"}},[n._v(n._s(n.maxRecordSeconds-n.recordSeconds))]),i("v-uni-view",{staticClass:"text-24 text-ff"},[n._v("手指上滑,取消发送")])],1)],1)],1)],1):n._e(),2==n.sendType&&n.showSpeechShortLayer?i("v-uni-view",[i("ty-layer-pop-up",{attrs:{overlay:!1}},[i("v-uni-view",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=n.$handleEvent(t)}}},[i("v-uni-view",{staticClass:"voice-record flex flex-direction align-center"},[i("v-uni-view",{staticClass:"margin-top-40",staticStyle:{height:"128rpx"}},[i("v-uni-text",{staticClass:"tyIcon-zhuyi text-ff",staticStyle:{"line-height":"128rpx","font-size":"128rpx"}})],1),i("v-uni-view",{staticClass:"margin-top-40 text-24 text-ff"},[n._v("说话时间太短")])],1)],1)],1)],1):n._e()],1)],1)},o=[]},"7e07":function(n,t,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("4dcd")),o={data:function(){return{emojiList:a.default.list}},methods:{addEmoji:function(n){this.$emit("emojiAdd",n)}}};t.default=o},"8e70":function(n,t,e){"use strict";e.r(t);var i=e("f9ec"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},9680:function(n,t,e){"use strict";(function(n){e("7a82");var i=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("d3b7"),e("159b"),e("a434"),e("3c65"),e("14d9");var a=i(e("798d")),o={curPage:3,curRoomId:"",that:{},listChatRoom:function(){return new Promise((function(n,t){a.default.getData("chat/api/FriendsChat/listChatRoom").then((function(t){n(t)})).catch((function(n){t(n)}))}))},bindUser:function(n,t){return new Promise((function(e,i){a.default.getData("chat/api/FriendsChat/bindUser",{room_id:n,client_id:t}).then((function(n){e(n)})).catch((function(n){i(n)}))}))},getChatRoomDetail:function(n){return new Promise((function(t,e){a.default.getData("chat/api/FriendsChat/getChatRoomDetail",{room_id:n}).then((function(n){t(n)})).catch((function(n){e(n)}))}))},updateUserOnlineStatus:function(n,t){return new Promise((function(e,i){a.default.getData("chat/api/FriendsChat/updateUserOnlineStatus",{room_id:n,is_online:t}).then((function(n){e(n)})).catch((function(n){i(n)}))}))},listChatRoomMessage:function(n,t,e,i){return new Promise((function(o,s){a.default.getUpList("chat/api/FriendsChat/listChatRoomMessage",{room_id:n,cur_first_message_id:t},{that:i,first_page:e}).then((function(n){o(n)})).catch((function(n){s(n)}))}))},insertChatMessage:function(n,t,e){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={room_id:n,type:t,content:e};return 2==t&&(o.record_seconds=i.recordSeconds),4==t&&(o.name=i.name,o.address=i.address,o.lat=i.lat,o.lng=i.lng),new Promise((function(n,t){a.default.getData("chat/api/FriendsChat/insertChatMessage",o).then((function(t){n(t)})).catch((function(n){t(n)}))}))},onMessage:function(){var t=this;uni.onSocketMessage((function(e){var i=JSON.parse(e.data);switch(n("log","onSocketMessage",i," at pages/chat/api/chat.js:149"),i.type){case"init":a.default.getData("chat/api/FriendsChat/bindUser",{client_id:i.to_client}).then((function(n){}));break;case"heart_beat":break;case"chat_friend_message":switch(t.curPage){case 1:var o=t.that.roomList,s={},r=!1;o.forEach((function(n,t){n.room_id==i.to_group&&(r=!0,s=n,s.unread_number=n.unread_number+1,s.last_message_type=i.data.type,s.show_message_text=i.data.show_message_text,s.show_time=i.data.list_time_show,o.splice(t,1))})),r||(s.room_id=i.data.room_id,s.to_user_id=i.data.to_user_id,s.to_user_nick_name=i.data.to_user_nick_name,s.to_user_head_img=i.data.to_user_head_img,s.unread_number=1,s.last_message_type=i.data.type,s.show_message_text=i.data.show_message_text,s.show_time=i.data.list_time_show),o.unshift(s),t.that.roomList=o;break;case 2:i.to_group==t.curRoomId&&(delete i.data.show_message_text,delete i.data.list_time_show,delete i.data.to_user_nick_name,delete i.data.to_user_head_img,t.that.up_list.push(i.data),setTimeout((function(){t.that.scrollToId="scroll"+i.data.id}),100));break;case 3:break;default:break}break;default:break}}))}},s=o;t.default=s}).call(this,e("0de9")["log"])},a1e5:function(n,t,e){"use strict";(function(n){e("7a82");var i=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("14d9"),e("c975"),e("ac1f"),e("5319");var a=i(e("9680")),o=i(e("4dcd")),s=uni.createInnerAudioContext(),r={data:function(){return{room_id:"",userId:"",load_status:"",up_list:[],bottomHight:100,isVoicePlay:!1,scrollToId:"",scrollTop:0,emojiList:o.default.list}},onLoad:function(n){this.userId=uni.getStorageSync("user_id"),this.room_id=n.room_id||0},onReady:function(){var n=this;a.default.getChatRoomDetail(this.room_id).then((function(t){n.cn.setTitle(t.data.room_user.to_user_nick_name)})),s.onStop((function(){n.isVoicePlay=!1}))},onShow:function(){var t=this;a.default.curPage=2,a.default.curRoomId=this.room_id,a.default.that=this,n("log","详情页 websocket是否打开",this.websocket.isSocketOpen," at pages/chat/message.vue:163"),this.websocket.isSocketOpen?(this.loadUpList(1),a.default.updateUserOnlineStatus(this.room_id,1)):(this.websocket.init().then((function(n){t.loadUpList(1),a.default.updateUserOnlineStatus(t.room_id,1)})),a.default.onMessage())},onUnload:function(){a.default.curPage=3,a.default.curRoomId="",a.default.that={},a.default.updateUserOnlineStatus(this.room_id,0),s.stop()},methods:{getUpList:function(){this.loadUpList(0)},sendMessage:function(n){a.default.insertChatMessage(this.room_id,n.message_type,n.content,n.attach).then((function(n){}))},bottomHightChange:function(n){var t=this;this.bottomHight=n.bottomHight,setTimeout((function(n){t.scrollToBottom()}),10)},recordStart:function(){s.stop()},previewImage:function(n){var t=[],e=this.up_list;for(var i in e)3==e[i]["type"]&&t.push(e[i]["content"]);this.image.previewImage(t,t.indexOf(n))},playVoice:function(n){this.isVoicePlay=!0,s.src=this.up_list[n].content,s.play()},openLocation:function(n){this.cn.openLocation(n.lat,n.lng,n.name,n.address)},loadUpList:function(n){var t=this,e=this.up_list.length?this.up_list[0].id:"";a.default.listChatRoomMessage(this.room_id,e,n,this).then((function(i){1==n?setTimeout((function(){t.up_list.length&&(t.scrollToId="scroll"+t.up_list[t.up_list.length-1].id)}),10):t.scrollToId="scroll"+e}))},scrollToBottom:function(){var n=this,t=uni.createSelectorQuery();t.select(".message-block").boundingClientRect(),t.select("#scroll").boundingClientRect(),t.exec((function(t){var e=t[0].height,i=t[1].height;e>i&&setTimeout((function(){n.scrollTop=e-i+300}),10)}))},replaceEmoji:function(n){var t=this,e=n.replace(/\[([^(\]|\[)]*)\]/g,(function(n,e){for(var i=0;i<t.emojiList.length;i++)if(t.emojiList[i].alt==n){var a='<img width="20rpx" src="/static/hzjc/emoji/'+t.emojiList[i].url+'">';return a}}));return'<div style="word-wrap:break-word;">'+e+"</div>"}}};t.default=r}).call(this,e("0de9")["log"])},a29f:function(n,t,e){"use strict";var i=e("124c"),a=e.n(i);a.a},a39a:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 个人发送的消息内容 */.self-message .content[data-v-01ae2251]{flex-direction:row-reverse}\n/* 文本消息 */.send-text[data-v-01ae2251]{\n\t/* 屏幕宽度 - 两边留白宽度 - 头像宽度 - 头像与文本间距宽度 */max-width:calc(100vw - %?60?% - %?160?% - %?50?%);position:relative;display:flex;align-items:center}\n/* 好友发送的消息前面加小三角 */.friend-message .send-text[data-v-01ae2251]::before{content:"";width:0;height:0;position:absolute;top:%?34?%;left:%?-12?%;border-right:%?12?% solid #fff;border-top:%?12?% solid transparent;border-bottom:%?12?% solid transparent}\n/* 个人发送的消息后面加小三角 */.self-message .send-text[data-v-01ae2251]::after{content:"";width:0;height:0;position:absolute;top:%?34?%;right:%?-12?%;border-left:%?12?% solid #fff;border-top:%?12?% solid transparent;border-bottom:%?12?% solid transparent}\n/* 图片 */.message-image[data-v-01ae2251]{overflow:hidden}\n/* 语音消息 */.send-voice[data-v-01ae2251]{position:relative;display:flex;align-items:center}\n/* 个人发的语音元素要倒序排列 */.self-message .send-voice[data-v-01ae2251]{flex-direction:row-reverse}\n/* 好友发送的消息前面加小三角 */.friend-message .send-voice[data-v-01ae2251]::before{content:"";width:0;height:0;position:absolute;top:%?34?%;left:%?-12?%;border-right:%?12?% solid var(--mainLight);border-top:%?12?% solid transparent;border-bottom:%?12?% solid transparent}\n/* 个人发送的消息后面加小三角 */.self-message .send-voice[data-v-01ae2251]::after{content:"";width:0;height:0;position:absolute;top:%?34?%;right:%?-12?%;border-left:%?12?% solid var(--mainLight);border-top:%?12?% solid transparent;border-bottom:%?12?% solid transparent}.friend-message .icon[data-v-01ae2251]{-webkit-transform:rotateY(-180deg);transform:rotateY(-180deg)}',""]),n.exports=t},a5244:function(n,t,e){var i=e("f622");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("85d8785e",i,!0,{sourceMap:!1,shadowMode:!1})},af0b:function(n,t,e){"use strict";e.r(t);var i=e("de31"),a=e("1fc9");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("695f");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"2b7f74e0",null,!1,i["a"],void 0);t["default"]=r.exports},b768:function(n,t,e){"use strict";e("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{overlay:{type:Boolean,default:!0}},methods:{overlayClick:function(){this.$emit("overlayClick")}}};t.default=i},c076:function(n,t,e){"use strict";var i=e("7250"),a=e.n(i);a.a},c7bf:function(n,t,e){var i=e("a39a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("30d5030d",i,!0,{sourceMap:!1,shadowMode:!1})},ce9e:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,".jc-modal[data-v-9f563a9c]{background:transparent}.jc-modal.overlay[data-v-9f563a9c]{background:rgba(0,0,0,.6)}",""]),n.exports=t},de31:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"utils-emoji-list-cn"},[e("v-uni-view",{staticClass:"cn-content"},[e("v-uni-view",{staticClass:"padding-bottom-30 flex align-center flex-wrap"},n._l(n.emojiList,(function(t,i){return e("v-uni-view",{key:i,staticClass:"image-item",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.addEmoji(t)}}},[e("v-uni-image",{attrs:{mode:"widthFix",src:"/static/hzjc/emoji/"+t.url}})],1)})),1)],1)],1)},a=[]},e18c:function(n,t,e){"use strict";e("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("a9e3");var i={props:{status:{type:String,default:"nodata"},noDataText:{type:String,default:"暂无数据~"},loadingText:{type:String,default:"加载中..."},finishedText:{type:String,default:"我是有底线的~"},hasErrorText:{type:String,default:"加载失败,点击重新加载"},type:{type:[String,Number],default:1}},computed:{contentText:function(){return{nodata:this.noDataText,loading:this.loadingText,finished:this.finishedText,hasError:this.hasErrorText}}},methods:{load:function(){this.$emit("load")}}};t.default=i},eba4:function(n,t,e){"use strict";e.r(t);var i=e("4e92"),a=e("3122");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("03ad");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"01ae2251",null,!1,i["a"],void 0);t["default"]=r.exports},ecd4:function(n,t,e){"use strict";e.r(t);var i=e("e18c"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},f622:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,".cn-content[data-v-2b7f74e0]{overflow:scroll;height:%?520?%}.image-item[data-v-2b7f74e0]{display:block;margin-top:%?30?%;width:12.5vw;text-align:center}.image-item uni-image[data-v-2b7f74e0]{width:%?50?%;height:%?50?%}",""]),n.exports=t},f918:function(n,t,e){"use strict";e.r(t);var i=e("b768"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},f9ec:function(n,t,e){"use strict";(function(n){e("7a82");var i=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("acd8"),e("498a");var a=i(e("27cc")),o=i(e("e2b5")),s=e("d144"),r={props:{},data:function(){return{bottomBarHight:100,textareaHighet:70,keyboardHeight:0,sendType:1,content:"",voiceUrl:"",imageUrl:"",textLine:1,isTextareaFocus:!1,recordStatus:0,recordSeconds:0,maxRecordSeconds:60,voiceText:"按住 说话",showSpeechShortLayer:!1,recordIntervalTimer:"",recordTimeOutTimer:"",recordStartTime:"",isTouchMove:!1,touchStartY:0,touchEndY:0}},created:function(){var t=this;"weixin"==this.cn.userAgent()&&s.onVoiceRecordEnd({success:function(e){n("log","--监听到录音自动结束--"," at pages/chat/components/chatBtn.vue:218"),t.dataResetafterRecordStop(),t.recordStatus=0,t.recordSeconds=t.maxRecordSeconds,a.default.uploadVoice(e.localId).then((function(n){t.voiceUrl=n,t.sendMessage(2)}))}})},methods:{sendTypeChange:function(n){this.sendType=n;var t=0;1==this.sendType?(this.bottomBarHight=40*this.textLine+30+30,this.isTextareaFocus=!0):(this.bottomBarHight=100,this.isTextareaFocus=!1,3==n?t=330:4==n&&(t=520)),this.$emit("bottomHightChange",{bottomHight:this.bottomBarHight+t})},textAreaLineChange:function(n){this.textLine=1,n.detail.lineCount<=10?this.textLine=n.detail.lineCount:this.textLine=10,this.textareaHighet=40*this.textLine+30,this.bottomBarHight=40*this.textLine+30+30,this.textLine>1&&this.$emit("bottomHightChange",{bottomHight:this.bottomBarHight})},focus:function(n){var t=uni.getSystemInfoSync();this.keyboardHeight=this.cn.px2rpx(n.detail.height-t.safeAreaInsets.bottom)},blur:function(n){this.keyboardHeight=0},touchStart:function(n){var t=this;this.$emit("recordStart"),n.preventDefault(),this.voiceText="松开 发送",this.recordStartTime=(new Date).getTime(),this.recordTimeOutTimer=setTimeout((function(){a.default.isAuth().then((function(n){if(n)t.recordStatus=1,a.default.record().then((function(n){t.recordIntervalTimer=setInterval((function(){t.recordSeconds++,t.recordSeconds>=t.maxRecordSeconds?clearInterval(t.recordIntervalTimer):t.recordSeconds>=t.maxRecordSeconds-10&&(t.recordStatus=2)}),1e3)}));else if("weixin"==t.cn.userAgent())return a.default.record().then((function(n){a.default.stopRecord(0).then((function(n){t.voiceText="按住 说话",uni.setStorageSync("is_auth_record",!0)}))})).catch((function(n){t.voiceText="按住 说话"})),!1}))}),200)},touchMove:function(n){2==this.sendType&&0!=this.recordStatus&&(this.isTouchMove?this.touchEndY=n.touches[0].clientY:(this.isTouchMove=!0,this.touchStartY=n.touches[0].clientY))},touchEnd:function(n){var t=this,e=this.touchStartY-this.touchEndY;if(this.dataResetafterRecordStop(),(new Date).getTime()-this.recordStartTime<300)return clearTimeout(this.recordTimeOutTimer),!1;if(0==this.recordStatus)return!1;this.recordStatus=0;var i=uni.getSystemInfoSync();return e>parseFloat(i.windowHeight)/5?(a.default.stopRecord(0),this.recordSeconds=0,!1):this.recordSeconds<1?(a.default.stopRecord(0),this.recordSeconds=0,this.showSpeechShortLayer=!0,setTimeout((function(){t.showSpeechShortLayer=!1}),1e3),!1):void a.default.stopRecord().then((function(n){"weixin"==t.cn.userAgent()&&(t.voiceUrl=n,t.sendMessage(2))}))},chooseImage:function(n){var t=this,e=[n];o.default.chooseImageUpload(1,e).then((function(n){t.imageUrl=n[0],t.sendMessage(3)}))},emojiAdd:function(n){this.content+=n.alt},chooseLocation:function(){var t=this;uni.chooseLocation({success:function(e){n("log","chooseLocationSuccess",e," at pages/chat/components/chatBtn.vue:564"),t.sendMessage(4,{name:e.name,address:e.address,lat:e.latitude,lng:e.longitude})},fail:function(t){n("log","chooseLocationFail",t," at pages/chat/components/chatBtn.vue:576")}})},dataResetafterRecordStop:function(){this.voiceText="按住 说话",clearInterval(this.recordIntervalTimer),this.isTouchMove=!1,this.touchStartY=0,this.touchEndY=0},sendMessage:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t){case 1:if(this.content.trim().length<1)return this.cn.alert("不能发送空白消息"),!1;if(this.content.length>2e3)return this.cn.alert("发送字数要求在2000字以内"),!1;var i=this.content;this.content="",this.$emit("sendMessage",{message_type:1,content:i});break;case 2:var a=this.recordSeconds;n("log",a," at pages/chat/components/chatBtn.vue:633");var o=this.voiceUrl;this.voiceUrl="",this.recordSeconds=0,this.$emit("sendMessage",{message_type:2,content:o,attach:{recordSeconds:a}});break;case 3:var s=this.imageUrl;this.imageUrl="",this.$emit("sendMessage",{message_type:3,content:s});break;case 4:this.$emit("sendMessage",{message_type:4,content:e.name,attach:{name:e.name,address:e.address,lat:e.lat,lng:e.lng}});break;default:break}}}};t.default=r}).call(this,e("0de9")["log"])},fb10:function(n,t,e){"use strict";e.r(t);var i=e("72e8"),a=e("8e70");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("a29f");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"0e896776",null,!1,i["a"],void 0);t["default"]=r.exports},fb6a0:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 底部栏 */.bottom-bar[data-v-0e896776]{position:fixed;left:0;padding-bottom:env(safe-area-inset-bottom);z-index:998;width:100%;box-sizing:border-box}\n/* 录音中状态,显示浮层 */.voice-record1[data-v-0e896776]{position:fixed;top:calc(50vh - %?140?%);left:calc(50vw - %?140?%);height:%?280?%;width:%?280?%}.voice-record[data-v-0e896776]{position:fixed;top:calc(50vh - %?140?%);left:calc(50vw - %?140?%);height:%?280?%;width:%?280?%;background:rgba(0,0,0,.5);border-radius:%?10?%}.other-type-item[data-v-0e896776]{display:flex;flex-direction:column;align-items:center}.other-type-item .icon-block[data-v-0e896776]{display:block;width:%?110?%;height:%?110?%;border-radius:%?10?%;background:#fff;text-align:center}",""]),n.exports=t}}]);