|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-message-chat-index"],{"05a7":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"ui-money"},[t.prefix?n("v-uni-text",{staticClass:"ui-money--prefix"},[t._v("¥")]):t._e(),n("v-uni-text",{staticClass:"ui-money--price"},[t._v(t._s(t.moneyStr))]),t.float&&t.suffix?n("v-uni-text",{staticClass:"ui-money--suffix"},[t._v("."+t._s(t.moneyArr[1]))]):t._e()],1)},r=[]},"0c12":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAAXNSR0IArs4c6QAAAGNQTFRFAAAAYGBgaGhoZWVlY2NjZWVlaGhoZ2dnZmZmZmZmZWVlZWVlZmZmZmZmZmZmZmZmZ2dnZ2dnZmZmZmZmZmZmZWVlZWVlZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm6vlnwgAAACB0Uk5TABAgMDE/QE9QX2BvcH+Aj5CfoKivsL/Az9Df4O/w8/YJm9F2AAADr0lEQVRo3r2a3cKCIAyGRZOUykxL/MOP+7/K76AQUMxNMY7JJ/ZuAzaCADhInN6eVdVKKWVbVc9bGpPA5wjTRysdo32koSfC3QkYQffdHHKp5eqoL3sMFz4kcDzCwxGbMeQukeOONlraT7/R8fxKKSVBQCilWc676Yw+wVmqmgAK5rBGyAphz6sQNkusZYiCLk+lNge8GFuNhq3NZ42lDIxhRgankJ9QbkYNQP/IiO+OQg1MDS+oo1WGlkNkGF/JtDZ9BGZwZHSFHEgxGBk+fjMQRTME3ZKIqFinkFHzJtqW7qJm1cdG3202p26iKe4J+X6GScmducQHw6Q4MkzYe2EYlH4eAyrviijYOSLlY9Usy6lF0mD3oAsGI/32GFyOyp44PYv7OUY1Lg8LlSCr+epUDkN5Ws1jymDm9wqosU5/Ukr5d4IarJiDu1U7lO+J5erEbraUAuxZw3viAPawYupaANWVrddn8omDXeEhAoeoLMXs7NsFPiFKldqWnfmFMEv6TyAK4hdChBkW7cylvUCUz9amtRLfkMSw18d2IvANCYTW+rOql3/IS+vwkeTqH/KJvzYIyOdnkX9INE6mGElwECUKVbrzIyBcKZ8hogQLKVQ4ctTejoNkynE56pCCg1AlxSLkVA7wO7x73x8h/QLkvZvDh2vfpypQljasEluQKJf34GDJyAMWMixL+FPIT8x1pPCdzi9HuvCRwZhMIMemlZ8kyOwXqf4jTn8EZPTcn2y/6sx63EGi0weXY49EDCMKCtLro+nhx1RiXCSOOnA31h3e99XBulFHv7gEKXu1fiGtaS19MWU+IWzyUXXxqn1C2uklsQB7MRiSzEo4KlRa4gsyFmbDDQUcaNnDUcBxl452FHDc38slTHtgKap2lm2Vg7mrudiimvrL0/oDk5g8CfOs+bc4sPkB2BD7xYJmKNwlUPQYq9iugmaCaUp9iZD6q+ELHxTNyL9Xc3dQQt0eWfoXndypvm4lLbcVIrGxjatk1e2qCNAwgHY+raE7rd9bFwalDrfKsdoeMSjyhtCf3CSYYTbYpGzByiRGM7cBmICYTek6hSBS8z0IsF2VW09G0pUfEQuxmsb14u0HA4/z8tSz/VpDIFyfvCavH54Xh5jR5Tl5SYFsSk8WI6WU1eN2juOYkDiOz7dHNZsgGDrTZdiSRL4l44UFBlFsfoMDxYhiz6slcm3WEc1190uvMO++Ebrc1xMvVjhB7oc5ewxHWcb5+wFRx/krYxRspH+rZlZ4Kn9UoAAAAABJRU5ErkJggg=="},"10be":function(t,e,n){"use strict";n.r(e);var a=n("e1a5"),i=n("a9da");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("5808");var o,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"d0e039d2",null,!1,a["a"],o);e["default"]=c.exports},"145b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ApiGetCategoryTwoAndGoods=e.ApiGetCategoryOneList=e.ApiGetCategoryNav=e.ApiGetGoodsSkus=e.ApiGetGoodsDetail=e.ApiGetRecommendedGoodsList=e.ApiGetGoodsList=void 0;var a=n("5767"),i="/mall/product",r=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(i,"/app/product/page"),t))};e.ApiGetGoodsList=r;var o=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(i,"/app/product/recommended"),t))};e.ApiGetRecommendedGoodsList=o;var s=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(i,"/app/product/").concat(t.id)))};e.ApiGetGoodsDetail=s;var c=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(i,"/app/product/sku"),t))};e.ApiGetGoodsSkus=c;var d=function(){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(i,"/app/product/categoryNavigation")))};e.ApiGetCategoryNav=d;var u=function(){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(i,"/app/productCategory/levelOne")))};e.ApiGetCategoryOneList=u;var f=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(i,"/app/productCategory/listCategoryAndProduct/").concat(t.categoryId)))};e.ApiGetCategoryTwoAndGoods=f},"1e64":function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("359f")),r=a(n("dd25")),o={components:{UiMoney:r.default,UiButton:i.default},props:{orderInfo:{type:Object,default:function(){return{}}},position:{type:String,default:"footer"}},methods:{handleDetail:function(){this.$Router.push("/orderDetail?id=".concat(this.orderInfo.orderId))}}};e.default=o},"204b":function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("359f")),r=a(n("dd25")),o={components:{UiMoney:r.default,UiButton:i.default},props:{goodsInfo:{type:Object,default:function(){return{}}},position:{type:String,default:"footer"}},methods:{send:function(){this.$emit("send")},close:function(){this.$emit("close")},handleDetail:function(){this.$emit("click")}}};e.default=o},2129:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ApiPutUser=e.ApiGetCurrentUser=void 0;var a=n("5767"),i="/uc",r=function(){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/user/current")))};e.ApiGetCurrentUser=r;var o=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.put("".concat(i,"/user/"),t))};e.ApiPutUser=o},"297d":function(t,e,n){"use strict";n("ac1f"),n("466d"),n("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.utf16toEntities=i,e.entitiestoUtf16=r,e.emojiData=void 0;var a=[{type:"smiley",name:"笑脸",list:["😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","🙂","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩"]},{type:"gesture",name:"手势",list:["🤲","👐","🙌","👏","🤝","👍","👎","👊","🤛","🤜","🤞","🤟","🤘","👌","👈","👉","👆","👇","🤚","🖐","🖖","👋","🤙","💪","🙏"]},{type:"people",name:"人物",list:["👦","👧","👨","👩","👴","👵","👶","👱","👮","👲","👳","👷","👸","💂","🎅","👰","👼","💆","💇","🙍","🙎","🙅","🙆","💁","🙋","🙇","🙌","🙏","👤","👥","🚶","🏃","👯","💃","👫","👬","👭","💏","💑","👪"]},{type:"animal",name:"动物",list:["🙈","🙉","🙊","🐵","🐒","🐶","🐕","🐩","🐺","🐱","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🐈","🐯","🐅","🐆","🐴","🐎","🐮","🐂","🐃","🐄","🐷","🐖","🐗","🐽","🐏","🐑","🐐","🐪","🐫","🐘","🐭","🐁","🐀","🐹","🐰","🐇","🐻","🐨","🐼","🐾","🐔","🐓","🐣","🐤","🐥","🐦","🐧","🐸","🐊","🐢","🐍","🐲","🐉","🐳","🐋","🐬","🐟","🐠","🐡","🐙","🐚","🐌","🐛","🐜","🐝","🐞","🦋","🐁","🐂","🐅","🐇","🐉","🐍","🐎","🐐","🐒","🐓","🐕","🐖"]},{type:"other",name:"其他",list:["🌹","🍀","🍎","💰","📱","🌙","🍁","🍂","🍃","🌷","💎","🔪","🔫","🏀","👄","👍","🔥","💘","💓","💔","💕","💖","💗","💙","💚","💛","💜","💝","💞","💟"]}];function i(t){var e=/[\ud800-\udbff][\udc00-\udfff]/g;return t=t.replace(e,(function(t){var e,n,a,i;return 2===t.length?(e=t.charCodeAt(0),n=t.charCodeAt(1),a=1024*(e-55296)+65536+n-56320,i="&#".concat(a,";")):i=t,i})),t}function r(t){for(var e,n,a,i=/&#\d+;/g,r=t.match(i)||[],o=0;o<r.length;o+=1){a=r[o],a=a.replace("&#","").replace(";",""),e=Math.floor((a-65536)/1024)+55296,n=(a-65536)%1024+56320,a="&#".concat(a,";");var s=String.fromCharCode(e,n);t=t.replace(a,s)}return t}e.emojiData=a},3795:function(t,e,n){"use strict";n("a9e3"),n("d3b7"),n("ac1f"),n("25f0"),n("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{money:{type:Number|String,default:"0"},float:{type:Boolean,default:!1},prefix:{type:Boolean,default:!1},suffix:{type:Boolean,default:!1}},computed:{moneyStr:function(){var t="",e=this.moneyArr[0],n=this.moneyArr[1];return t=this.prefix?e:"¥".concat(e),this.suffix||(t+=n?".".concat(n):""),t},moneyArr:function(){var t=(this.money||"0").toString().split(".");return this.float&&(t[1]?t[1].length<1&&(t[1]="".concat(t[1],"0")):t[1]="00"),t}}};e.default=a},"379a":function(t,e,n){"use strict";n.r(e);var a=n("7ed3"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"3a34":function(t,e,n){"use strict";n.r(e);var a=n("a7a8"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"3fee":function(t,e,n){"use strict";var a=n("e1cc"),i=n.n(a);i.a},"4d31":function(t,e,n){var a=n("9bca");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("102a83b4",a,!0,{sourceMap:!1,shadowMode:!1})},"4e07":function(t,e,n){var a=n("de18");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("180d9d55",a,!0,{sourceMap:!1,shadowMode:!1})},5784:function(t,e,n){var a=n("f77d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("5d17e8b6",a,!0,{sourceMap:!1,shadowMode:!1})},5808:function(t,e,n){"use strict";var a=n("b6c5"),i=n.n(a);i.a},"5bb3":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAAXNSR0IArs4c6QAAAKhQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ZmZmb29vcHBweXl5goKCg4ODjIyMlZWVlpaWn5+foKCgqampsrKys7OzvLy8xcXFxsbGz8/P0NDQ2dnZ4uLi7Ozs9fX1////IP+wIwAAACB0Uk5TABUZIictLzU5Vl5fanKBhYmKlZyks8TFy9DU2eHs9Pw2BD60AAADnElEQVR42u3cXVcaMRAG4FEBUaCIIIoghhW25UNXux/z//9ZL9TqQdGTJdtmMu97xe1zWJLskBmi7RyenF1c39yy9Ewnw367Tt/koHPJQWXcrX3BPTrnADNo7PL+4EDT+5R7fMXBZtT86D3loNPa9nY48HSUebfEp6wg757qY1aRt5XrSgd4FPz+u2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";Object.defineProperty(e,"__esModule",{value:!0}),e.MSG_TYPE=void 0;var a={TXT:1,VOICE:2,IMG:3,VIDEO:4,CUSTOM:6,TIP:7};e.MSG_TYPE=a},"5e1e":function(t,e,n){"use strict";var a=n("4e07"),i=n.n(a);i.a},"5fc5":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAexQTFRFAAAA////gICAqqqqgICAgICAn5+fmZmZnZ2dlJSUl5eXlZWVn5+fnZ2dm5ublZWVmZmZnJycl5eXm5ubmZmZlZWVmJiYmpqamZmZm5ubmJiYnJycmZmZmJiYl5eXnJycm5ubmJiYmpqal5eXlpaWm5ubmJiYmpqal5eXmZmZmpqamZmZmJiYmZmZmJiYmJiYm5ubmpqamJiYmpqamJiYl5eXmpqampqamZmZl5eXmpqamZmZmJiYmpqam5ubmZmZmZmZmZmZmJiYmpqamZmZmpqamZmZmJiYmpqampqamZmZmJiYmJiYmpqamZmZmZmZmpqamZmZmJiYmpqamZmZmZmZmZmZmJiYmZmZmZmZmpqampqamZmZmJiYmZmZmpqamZmZmJiYmZmZmZmZmZmZmZmZmJiYmZmZmZmZmpqamZmZmZmZmZmZmJiYmpqampqamZmZmJiYmZmZmpqamZmZmJiYmJiYmpqamZmZmZmZmZmZmZmZmJiYmZmZmZmZmZmZmpqamZmZmZmZmJiYmZmZmZmZmZmZmpqamZmZmZmZmZmZmpqamZmZmZmZmZmZmZmZmJiYmZmZmZmZmZmZmZmZmJiYmZmZmZmZmJiYmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ0CCwrgAAAKN0Uk5TAAECAwQGCAoNExYYGBocHR4fICEjJCUmKCkqLC0vMTEzNDU2ODg5Ojs8P0FIS01PT1FSU1RWVlhaW11fYWJjZGZnaGhpamttbW9xcnR0dXZ3eHl5e31/gYKEhoiJi4yNjpCTlpiZmpudn6Cio6SkpqepqqutrrCxsrS2t7i5u76/xsvO0NLU1tfZ29vd3t/g4uLk5ebn6evs7e7v8PL09vj8/qV88xYAAAHzSURBVBgZlcGJQ4sBHAbgNyRCJJTIfTf3ES0asVlFjkrNmTNypWRD7hBylXJG3n/Uvv1+a9+3fcc8D+Lm+6bif1wkx0Lwdjh6rhBxe2k4CA+5T0h+nQ0gyoQgXE0coKENwHWK/XCRc58JDwGUUwXgLEZxAnE1VNVwEqXoy4MhSLUb9noofhdAhKj8sNNNNQtJYapKZOqieFWElDqqXUjXSdE/B2aHqCpgdYvizTxYNVDtgNkNinclSHeMahtSOijelyJTI9UWJF2l+LgAdpqoNkG0U3wug71mqg0wXKEYWgQnLVTrAVyiGF4CZ60Uf324QDGyDG4iFGP3KL6tgLtTtPi5Gl5O0+TXWng7y3Gj65CNNqo/5cjKSarRNchGhOO+r4S3VpqMLIeXFloML4W7Zqpeii+L4aaJaiPaKQbL4KyRajOAaxSfFsLJUaqtMHRQfCiFvQaq7RA3KQZKYKeeqgJJtyneFiNTLdVOpHRS9M9FujBVJcy6KF4XwSpE5YdVN8XLQpgFqaqQroeibyZSaqj2IFOU4sUMJAWoArATo3g+DaKaah9s5Tyg+JEPQxXVATiY1EvxbAKAVVQhOMp9RHEEwGWKMFxMfsyEuwDuMKEWrvIGaYgA8NNQDw9TnpIcmo648yTr4O147EwBEop9+cjaP1u2yWJ4OH2nAAAAAElFTkSuQmCC"},"680a":function(t,e,n){"use strict";var a=n("5784"),i=n.n(a);i.a},"74e1":function(t,e,n){"use strict";n.r(e);var a=n("204b"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"7ed3":function(t,e,n){"use strict";var a=n("4ea4");n("7db0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var i=a(n("1da1")),r=n("5c65"),o=n("5767"),s=n("c0d4"),c=n("145b"),d=a(n("359f")),u=a(n("9b9f")),f=a(n("d3e5")),l=a(n("10be")),m={components:{UiButton:d.default,Footer:u.default,GoodsInfo:f.default,OrderInfo:l.default},data:function(){return{MSG_TYPE:r.MSG_TYPE,orderId:null,goodsId:null,sessionId:null,orderInfo:{},goodsInfo:{}}},computed:{curSessionData:function(){var t=this;return this.$store.state.sessionData.find((function(e){return e.id==t.$store.state.sessionMsgId}))||{}},msgData:function(){return this.curSessionData?this.curSessionData.messageList:[]}},watch:{msgData:function(){var t=this;this.$nextTick((function(){uni.setNavigationBarTitle({title:t.curSessionData.fromNickname}),uni.pageScrollTo({scrollTop:99999,duration:0})}))}},onPageScroll:function(t){t.scrollTop<=0&&this.getHistoryMsg()},onLoad:function(){if(!this.$store.state.token)return this.$Router.push("/login"),!1;this.goodsId=this.$Route.query.goodsId,this.orderId=this.$Route.query.orderId,this.sessionId=this.$Route.query.sessionId,this.goodsId?(this.createSessionMain(),this.getGoodsInfo()):this.orderId?(this.createSessionMain(),this.getOrderInfo()):this.sessionId?(this.$store.commit("SET_SESSION_MSG_ID",this.sessionId),this.getHistoryMsg(),this.readMsg(),this.heartMsg()):this.createSessionMain()},methods:{createSessionMain:function(){var t=this;o.MsbWebSkt.send({data:JSON.stringify({traceId:(0,o.createUUID)(),traceType:"21",content:{storeId:1}}),success:function(){setTimeout((function(){t.getHistoryMsg(),t.readMsg(),t.heartMsg()}),1e3)}})},heartMsg:function(){var t=this;o.MsbWebSkt.send({data:JSON.stringify({traceId:(0,o.createUUID)(),traceType:"22",content:{storeId:1}}),complete:function(){setTimeout((function(){t.heartMsg()}),5e3)}})},getHistoryMsg:function(){var t;this.loading=!0;var e=(null===(t=this.msgData)||void 0===t?void 0:t.length)?this.msgData[0]:{};o.MsbWebSkt.send({data:JSON.stringify({traceId:(0,o.createUUID)(),traceType:"23",content:{sessionId:this.$store.state.sessionMsgId,topMessageId:e.id||null}})})},readMsg:function(){o.MsbWebSkt.send({data:JSON.stringify({traceId:(0,o.createUUID)(),traceType:"6",content:{sessionId:this.$store.state.sessionMsgId}})});var t=this.$store.state.sessionMsgCount-this.curSessionData.unreadCount;this.curSessionData.unreadCount=0,this.$store.commit("SET_SESSION_MSG_COUNT",t)},getOrderInfo:function(){var t=this;return(0,i.default)(regeneratorRuntime.mark((function e(){var n,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.ApiGetOrderDetail)(t.orderId);case 2:if(n=e.sent,a=n.error,i=n.result,!a){e.next=8;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 8:t.orderInfo=i;case 9:case"end":return e.stop()}}),e)})))()},getGoodsInfo:function(){var t=this;return(0,i.default)(regeneratorRuntime.mark((function e(){var n,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,c.ApiGetGoodsDetail)({id:t.goodsId});case 2:if(n=e.sent,a=n.error,i=n.result,!a){e.next=8;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 8:t.goodsInfo=i;case 9:case"end":return e.stop()}}),e)})))()},previewImg:function(t){var e=[];e[0]=t,uni.previewImage({current:0,urls:e})}}};e.default=m},"80f4":function(t,e,n){"use strict";n.r(e);var a=n("acac1"),i=n("379a");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("5e1e"),n("a0c5");var o,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"3863ccb8",null,!1,a["a"],o);e["default"]=c.exports},"81f0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAAXNSR0IArs4c6QAAAKhQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ZmZmb29vcHBweXl5goKCg4ODjIyMlZWVlpaWn5+foKCgqampsrKys7OzvLy8xcXFxsbGz8/P0NDQ2dnZ4uLi7Ozs9fX1////IP+wIwAAACB0Uk5TABUZIictLzU5Vl5fanKBhYmKlZyks8TFy9DU2eHs9Pw2BD60AAAEcUlEQVR42u3c21LiQBAG4FYBUWFZB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fnWNHaxwVP3BYw9OleuPIDlzP04dewBUcODXlOeQJnju15S1iCK71eWm9ceQCdp1aM8fjtAADDDDAAAMMsFywuBeX1Pxqmkd2tbS4lw/V2y4tOE48Drqzv+Rsi+WIR0XrRR2viHvi+oo4MwIwwAADDDDAAAMMMMAAAwwwwAADDDDAAAMMMMAAAwwwwAADDDDAAAMMMMAAAwwwwAADDDDAAAMMMMAAmwGeyvJOaSILPKGhLPCQ+rLAferIAneoKQvcJBpL8o6JqCcJ3COihiRwg4hoIMc7ICKilhxwi4iI6FqK95rijGR4R59eassAt7/AdCXBe0VauvZ7u0SixAmv9f/qK0qlbfG5etSmrFi7H1/TnrSsrDIHLdqfRs+ybnHca1BBmp3+cGLBLHM6GfY7zRTvP/Z5bSGLNXUnAAAAAElFTkSuQmCC"},"89ef":function(t,e,n){var a=n("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/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.footer[data-v-3025a406]{position:fixed;bottom:0;background:#fff;left:0;right:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.goods[data-v-3025a406]{width:%?670?%;height:%?200?%;position:absolute;top:%?-220?%;left:%?30?%}.operation[data-v-3025a406]{display:flex;height:%?100?%;align-items:center;padding:0 %?40?%}.operation--input[data-v-3025a406]{height:%?70?%;padding:%?18?% %?20?% %?10?%;line-height:%?40?%;flex:1;background:#f3f4f6;border-radius:%?8?%;margin-right:%?15?%}.operation--btns[data-v-3025a406]{display:flex;align-items:center}.operation--more[data-v-3025a406], .operation--emoji[data-v-3025a406]{width:%?50?%;height:%?50?%;margin:0 %?15?%}.operation--send[data-v-3025a406]{width:%?110?%;height:%?60?%;line-height:%?60?%;background:#ff875b;color:#fff;font-size:%?30?%;text-align:center;border-radius:%?8?%;margin:0 %?15?%}.emoji--icon[data-v-3025a406]{background:#f8f8f8;padding:%?10?% %?30?%;display:flex;justify-content:flex-start;flex-wrap:wrap;height:%?320?%;overflow-y:auto}.emoji--icon-item[data-v-3025a406]{margin:%?20?%}.emoji--tab[data-v-3025a406]{display:flex;height:%?50?%;line-height:%?50?%;padding:0 %?30?%}.emoji--tab-item[data-v-3025a406]{padding:0 %?20?%;font-size:%?24?%;color:#999}.emoji--tab-item__active[data-v-3025a406]{background:#f8f8f8}.other[data-v-3025a406]{width:100%;display:flex;justify-content:flex-start;background:#f8f8f8;padding:%?30?% %?40?%}.other .u-upload[data-v-3025a406]{flex:0}.other--btn[data-v-3025a406]{text-align:center;margin-right:%?60?%;color:#999}.other--img[data-v-3025a406]{width:%?120?%;height:%?120?%;margin-bottom:%?20?%}',""]),t.exports=e},"9b9f":function(t,e,n){"use strict";n.r(e);var a=n("cfab"),i=n("3a34");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("e00c");var o,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"3025a406",null,!1,a["a"],o);e["default"]=c.exports},"9bca":function(t,e,n){var a=n("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/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.main[data-v-3863ccb8]{padding:%?40?%}.avatar[data-v-3863ccb8]{width:%?70?%;height:%?70?%}.receive[data-v-3863ccb8]{display:flex;justify-content:flex-start;margin-top:%?30?%}.receive--name[data-v-3863ccb8]{margin:0 0 %?20?% %?30?%;font-size:%?24?%;color:#333}.receive--box[data-v-3863ccb8]{max-width:%?552?%;margin-left:%?30?%}.receive--box__txt[data-v-3863ccb8]{padding:%?20?% %?30?%;background:#fff;border-radius:%?16?%;color:#333;font-size:%?32?%;line-height:%?40?%}.receive--box__img[data-v-3863ccb8]{height:%?140?%}.send[data-v-3863ccb8]{display:flex;justify-content:flex-end;margin-top:%?30?%}.send--box[data-v-3863ccb8]{max-width:%?552?%;margin-right:%?30?%}.send--box__txt[data-v-3863ccb8]{padding:%?20?% %?30?%;background:#ff875b;border-radius:%?16?%;color:#fff;font-size:%?32?%;line-height:%?46?%}.send--box__img[data-v-3863ccb8]{height:%?140?%}.send--box__video[data-v-3863ccb8]{max-width:%?552?%}.tips[data-v-3863ccb8]{margin-top:%?30?%;display:flex;justify-content:center}.tips--box[data-v-3863ccb8]{background:#eee;color:#9e9e9e;text-align:center;border-radius:%?30?%;padding:%?10?% %?30?%;line-height:%?32?%}',""]),t.exports=e},"9e24":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"product",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleDetail.apply(void 0,arguments)}}},[a("v-uni-image",{staticClass:"product--img",attrs:{src:t.goodsInfo.productImageUrl,mode:"aspectFit"}}),a("v-uni-view",{staticClass:"product--con"},[a("v-uni-view",{staticClass:"product--con-title"},[t._v(t._s(t.goodsInfo.name))]),a("UiMoney",{staticClass:"product--con-price",attrs:{money:t.goodsInfo.startingPrice,float:!0,prefix:!0,suffix:!0}})],1),"footer"===t.position?[a("UiButton",{staticClass:"product--btn",attrs:{size:"min",type:"gradual"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.send.apply(void 0,arguments)}}},[t._v("发送商品")]),a("v-uni-image",{staticClass:"product--close",attrs:{src:n("5fc5")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})]:t._e()],2)},r=[]},a0c5:function(t,e,n){"use strict";var a=n("4d31"),i=n.n(a);i.a},a7a8:function(t,e,n){"use strict";var a=n("4ea4");n("99af"),n("ac1f"),n("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var i=a(n("1da1")),r=a(n("5530")),o=n("5767"),s=n("5c65"),c=(n("2129"),n("ed1e")),d=a(n("359f")),u=n("297d"),f=a(n("d3e5")),l=a(n("10be")),m={components:{UiButton:d.default,GoodsInfo:f.default,OrderInfo:l.default},props:{orderInfo:{type:Object,default:function(){return{}}},goodsInfo:{type:Object,default:function(){return{}}}},data:function(){return{goodsShow:!0,orderShow:!0,moreShow:!1,focus:!1,msgCtx:"",MSG_TYPE:s.MSG_TYPE,emojiShow:!1,emojiData:u.emojiData,emojiUtf16:u.entitiestoUtf16,curEmojiIdx:0}},computed:{simpleGoods:function(){var t=this.goodsInfo,e=t.startingPrice,n=t.name,a=t.id,i=t.pictureList,r=i?i[0]:"";return{startingPrice:e,name:n,id:a,productImageUrl:r}},simpleOrder:function(){var t=this.orderInfo,e=t.orderId,n=t.payTypeDesc,a=t.payAmount,i=t.orderStatusDesc,o=t.orderNo,s=t.products;return(0,r.default)({orderId:e,payTypeDesc:n,payAmount:a,orderStatusDesc:i,orderNo:o},s?s[0]:{})}},watch:{simpleOrder:function(t){t.orderId&&this.sendOrder()}},methods:{send:function(t,e){var n=this,a={};switch(e){case s.MSG_TYPE.CUSTOM:a=JSON.stringify(t);break;case s.MSG_TYPE.VIDEO:case s.MSG_TYPE.IMG:a={url:t};break;default:a={text:t};break}o.MsbWebSkt.send({data:JSON.stringify({traceId:(0,o.createUUID)(),traceType:"20",content:{toSessionId:this.$store.state.sessionMsgId,payload:a,toId:1,type:e}})}),this.msgCtx="",this.focus=!1,this.$nextTick((function(){n.focus=!0}))},handleAddEmoji:function(t){var e=" "+(0,u.entitiestoUtf16)(t)+" ";this.msgCtx+=e},sendGoods:function(){this.send(this.simpleGoods,s.MSG_TYPE.CUSTOM),this.goodsShow=!1},sendOrder:function(){this.send(this.simpleOrder,s.MSG_TYPE.CUSTOM),this.orderShow=!1},uploadImg:function(t){var e=t.file;this.uploadFile(e,s.MSG_TYPE.IMG)},uploadVideo:function(t){var e=t.file;this.uploadFile(e,s.MSG_TYPE.VIDEO)},getOssCon:function(){return(0,i.default)(regeneratorRuntime.mark((function t(){var e,n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.ApiPostGetOssConfig)({configId:"im/",serviceName:"uc"});case 2:if(e=t.sent,n=e.error,a=e.result,!n){t.next=8;break}return uni.$u.toast(n.message),t.abrupt("return",!1);case 8:return t.abrupt("return",a);case 9:case"end":return t.stop()}}),t)})))()},uploadFile:function(t,e){var n=this;return(0,i.default)(regeneratorRuntime.mark((function a(){var r,o,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=t.url.split("/"),o=t.name||r[r.length-1],a.next=4,n.getOssCon();case 4:s=a.sent,uni.uploadFile({name:"file",filePath:t.url,url:s.host,formData:{name:o,key:"".concat(s.dir,"${filename}"),policy:s.policy,OSSAccessKeyId:s.accessId,success_action_status:200,signature:s.signature},success:function(){var t=(0,i.default)(regeneratorRuntime.mark((function t(a){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:i="".concat(s.host,"/").concat(s.dir).concat(o),n.send(i,e);case 2:case"end":return t.stop()}}),t)})));function a(e){return t.apply(this,arguments)}return a}()});case 6:case"end":return a.stop()}}),a)})))()}}};e.default=m},a9da:function(t,e,n){"use strict";n.r(e);var a=n("1e64"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},acac1:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"main"},[t._l(t.msgData,(function(e){return[e.fromId==t.$store.state.userInfo.id?n("v-uni-view",{key:e.id,staticClass:"send"},[e.type==t.MSG_TYPE.CUSTOM?[e.payload.id?n("GoodsInfo",{staticClass:"send--box",attrs:{position:"msg",goodsInfo:e.payload}}):t._e(),e.payload.orderId?n("OrderInfo",{staticClass:"send--box",attrs:{position:"msg",orderInfo:e.payload}}):t._e()]:t._e(),e.type==t.MSG_TYPE.TXT?n("v-uni-view",{staticClass:"send--box send--box__txt"},[t._v(t._s(e.payload.text))]):t._e(),e.type==t.MSG_TYPE.IMG?n("img",{staticClass:"send--box send--box__img",attrs:{mode:"aspectFit",src:e.payload.url},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.previewImg(e.payload.url)}}}):t._e(),e.type==t.MSG_TYPE.VIDEO?n("v-uni-view",{staticClass:"send--box"},[n("v-uni-video",{staticClass:"send--box__video",attrs:{src:e.payload.url}})],1):t._e(),n("v-uni-image",{staticClass:"avatar",attrs:{src:e.fromAvatar||"@/static/message/xt.png",mode:"widthFix"}})],2):e.type==t.MSG_TYPE.TIP?n("v-uni-view",{key:e.id,staticClass:"tips"},[n("v-uni-view",{staticClass:"tips--box"},[t._v(t._s(e.payload.text))])],1):n("v-uni-view",{key:e.id,staticClass:"receive"},[n("v-uni-image",{staticClass:"avatar",attrs:{src:e.fromAvatar||"@/static/message/xt.png",mode:"widthFix"}}),n("v-uni-view",[n("v-uni-view",{staticClass:"receive--name"},[t._v(t._s(e.fromNickname))]),e.type==t.MSG_TYPE.CUSTOM?[e.payload.id?n("GoodsInfo",{staticClass:"receive--box",attrs:{position:"msg",goodsInfo:e.payload}}):t._e(),e.payload.orderId?n("OrderInfo",{staticClass:"receive--box",attrs:{position:"msg",orderInfo:e.payload}}):t._e()]:t._e(),e.type==t.MSG_TYPE.TXT?n("v-uni-view",{staticClass:"receive--box receive--box__txt"},[t._v(t._s(e.payload.text))]):t._e(),e.type==t.MSG_TYPE.IMG?n("img",{staticClass:"receive--box receive--box__img",attrs:{mode:"aspectFit",src:e.payload.url},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.previewImg(e.payload.url)}}}):t._e(),e.type==t.MSG_TYPE.VIDEO?n("v-uni-view",{staticClass:"receive--box"},[n("v-uni-video",{staticClass:"receive--box__video",attrs:{src:e.payload.url}})],1):t._e()],2)],1)]})),n("Footer",{attrs:{goodsInfo:t.goodsInfo,orderInfo:t.orderInfo}})],2)},r=[]},b12d:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAAXNSR0IArs4c6QAAAFdQTFRFAAAAYGBgaGhoZWVlZWVlaGhoZ2dnZmZmZmZmZWVlZWVlZmZmZmZmZmZmZmZmZ2dnZ2dnZmZmZmZmZWVlZWVlZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm5I7nlgAAABx0Uk5TABAgMD9AT1BfYG9wf4CPkJ+gr7C/wM/Q3+Dv8EKrufQAAAR8SURBVGje1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fq2qqqq9yYf+w7vVhTTiAYOkTEzIEkiGjhw68jh9oEF0H74ezXezSUijCEI3mGuwcoeLHioQG+jBA2ULF7/wRgSWLqR5whBjE8SLO5zJB+j7Rpads44bkbLo63zs+cNVMEtUNekc8455zwP0LSt8wM1NPMzQ6lAwByCghd3oBiMOtzN/QCFmvEIdoo5dvSFkqDleHSRqotj3FWti44YKxiUyMmns8ykNTy6sFAGelUdh+MRC0VXJ/RPKh2NYQ/YtJ6iNZNbw9wxQgTEDlNDEQNR2O9BIsdVtfNkpDj4E3Egwn0r5/JuaG9+8K0/7msNdcL0Sefl9vYBKDN9tN5LipND6Xyfp/qm+smyjJAsy36qpt9nsPJ0pONnn5TUVyIeFWcgxOU3OLEwSnwycUOSe1SqP3Wdeg4hzPVdY8NSgEDww5xPBMdKLuXfB0SzlB0vWbSQ/gCa3i3yC7f+tgAAAABJRU5ErkJggg=="},b6c5:function(t,e,n){var a=n("eae6");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("3cb4abcc",a,!0,{sourceMap:!1,shadowMode:!1})},bef5:function(t,e,n){var a=n("89ef");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("2436008c",a,!0,{sourceMap:!1,shadowMode:!1})},c0d4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ApiPutLogisticsInfo=e.ApiGetLogisticsCompanylist=e.ApiGetSaleAfterOrderDetail=e.ApiGetSaleAfterOrderList=e.ApiPostCancelSaleAfter=e.ApiPostEditSaleAfter=e.ApiPostApplySaleAfter=e.ApiGetOrderStatistics=e.ApiPutCancelOrder=e.ApiPostSubmitOrder=e.ApiPutOrderReceive=e.ApiGetOrderLogistics=e.ApiGetOrderPaySatus=e.ApiGetOrderProductDetail=e.ApiGetOrderDetail=e.ApiGetBeforeCartOrder=e.ApiGetBeforeOrder=e.ApiGetOrderList=void 0;var a=n("5767"),i="/mall/trade",r=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/page"),t))};e.ApiGetOrderList=r;var o=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/buyAdvanceOrder"),t))};e.ApiGetBeforeOrder=o;var s=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/cartAdvanceOrder"),t))};e.ApiGetBeforeCartOrder=s;var c=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/").concat(t)))};e.ApiGetOrderDetail=c;var d=function(t){var e=t.orderProductId;return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/product/").concat(e)))};e.ApiGetOrderProductDetail=d;var u=function(t){var e=t.orderId;return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/payResult/").concat(e)))};e.ApiGetOrderPaySatus=u;var f=function(t){var e=t.orderId;return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/logistics/").concat(e)))};e.ApiGetOrderLogistics=f;var l=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.put("".concat(i,"/app/tradeOrder/receive"),t))};e.ApiPutOrderReceive=l;var m=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.post("".concat(i,"/app/tradeOrder/submitOrder"),t))};e.ApiPostSubmitOrder=m;var p=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.put("".concat(i,"/app/tradeOrder/cancel"),t))};e.ApiPutCancelOrder=p;var A=function(){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/tradeOrder/statistics")))};e.ApiGetOrderStatistics=A;var v=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.post("".concat(i,"/app/refundOrder/applyRefund"),t))};e.ApiPostApplySaleAfter=v;var g=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.put("".concat(i,"/app/refundOrder/updateRefund"),t))};e.ApiPostEditSaleAfter=g;var h=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.put("".concat(i,"/app/refundOrder/cancelRefund"),t))};e.ApiPostCancelSaleAfter=h;var w=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/refundOrder/page"),t))};e.ApiGetSaleAfterOrderList=w;var Z=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/refundOrder/refundInfo"),t))};e.ApiGetSaleAfterOrderDetail=Z;var b=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.get("".concat(i,"/app/refundOrder/logisticsCompany")))};e.ApiGetLogisticsCompanylist=b;var y=function(t){return(0,a.ToAsyncAwait)(a.MsbRequestTk.put("".concat(i,"/app/refundOrder/completeRefund"),t))};e.ApiPutLogisticsInfo=y},cfab:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={uUpload:n("ab87").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"footer"},[t.simpleGoods.id&&t.goodsShow?a("GoodsInfo",{staticClass:"goods",attrs:{goodsInfo:t.simpleGoods},on:{send:function(e){arguments[0]=e=t.$handleEvent(e),t.sendGoods.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.goodsShow=!1},click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.back()}}}):t._e(),a("v-uni-view",{staticClass:"operation"},[a("v-uni-textarea",{staticClass:"operation--input",attrs:{focus:t.focus},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.moreShow=!1},click:function(e){arguments[0]=e=t.$handleEvent(e),t.emojiShow=!1}},model:{value:t.msgCtx,callback:function(e){t.msgCtx=e},expression:"msgCtx"}}),a("v-uni-view",{staticClass:"operation--btns"},[a("v-uni-image",{staticClass:"operation--emoji",attrs:{src:n("b12d")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.emojiShow=!t.emojiShow}}}),t.msgCtx.length?a("v-uni-view",{staticClass:"operation--send",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.send(t.msgCtx,t.MSG_TYPE.TXT)}}},[t._v("发送")]):a("v-uni-image",{staticClass:"operation--more",attrs:{src:n("0c12")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.moreShow=!0}}})],1)],1),t.emojiShow?a("v-uni-view",{staticClass:"emoji"},[a("v-uni-view",{staticClass:"emoji--tab"},t._l(t.emojiData,(function(e,n){return a("v-uni-text",{key:n,staticClass:"emoji--tab-item",class:n==t.curEmojiIdx&&"emoji--tab-item__active",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.curEmojiIdx=n}}},[t._v(t._s(e.name))])})),1),a("v-uni-view",{staticClass:"emoji--icon"},t._l(t.emojiData[t.curEmojiIdx].list,(function(e){return a("v-uni-view",{key:e,staticClass:"emoji--icon-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleAddEmoji(e)}}},[t._v(t._s(t.emojiUtf16(e)))])})),1)],1):t._e(),t.moreShow?a("v-uni-view",{staticClass:"other"},[a("u-upload",{on:{afterRead:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadImg.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"other--btn"},[a("v-uni-image",{staticClass:"other--img",attrs:{src:n("81f0")}}),a("v-uni-view",[t._v("图片")])],1)],1),a("u-upload",{attrs:{compressed:!0,accept:"video"},on:{afterRead:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadVideo.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"other--btn"},[a("v-uni-image",{staticClass:"other--img",attrs:{src:n("5bb3")}}),a("v-uni-view",[t._v("视频")])],1)],1)],1):t._e()],1)},r=[]},d3e5:function(t,e,n){"use strict";n.r(e);var a=n("9e24"),i=n("74e1");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("3fee");var o,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"67aec8e2",null,!1,a["a"],o);e["default"]=c.exports},d4fb:function(t,e,n){"use strict";n.r(e);var a=n("3795"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},dd25:function(t,e,n){"use strict";n.r(e);var a=n("05a7"),i=n("d4fb");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("680a");var o,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"247a1348",null,!1,a["a"],o);e["default"]=c.exports},de18:function(t,e,n){var a=n("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/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-3863ccb8]{background:#f8f8f8;padding-bottom:140px}body.?%PAGE?%[data-v-3863ccb8]{background:#f8f8f8}',""]),t.exports=e},e00c:function(t,e,n){"use strict";var a=n("bef5"),i=n.n(a);i.a},e1a5:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"order",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleDetail.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"order--status"},[t._v(t._s(t.orderInfo.orderStatusDesc))]),n("v-uni-view",{staticClass:"order--con"},[n("v-uni-image",{staticClass:"order--con-img",attrs:{src:t.orderInfo.productImageUrl,mode:"aspectFit"}}),n("v-uni-view",{staticClass:"order--con-right"},[n("v-uni-view",{staticClass:"order--con-title"},[t._v(t._s(t.orderInfo.productName))]),n("UiMoney",{staticClass:"order--con-price",attrs:{money:t.orderInfo.payAmount,float:!0,prefix:!0,suffix:!0}})],1)],1),n("v-uni-view",{staticClass:"order--footer"},[t._v("订单编号"+t._s(t.orderInfo.orderNo))])],1)},r=[]},e1cc:function(t,e,n){var a=n("ecac");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("72eebfe8",a,!0,{sourceMap:!1,shadowMode:!1})},eae6:function(t,e,n){var a=n("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/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.order[data-v-d0e039d2]{background:#fff;border-radius:%?16?%}.order--status[data-v-d0e039d2]{font-size:%?28?%;padding:%?30?% 0 %?20?% %?30?%}.order--con[data-v-d0e039d2]{display:flex;padding:0 %?30?%}.order--con-img[data-v-d0e039d2]{width:%?140?%;height:%?140?%}.order--con-right[data-v-d0e039d2]{width:%?300?%;margin-left:%?30?%}.order--con-title[data-v-d0e039d2]{font-size:%?28?%;line-height:%?36?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.order--con-price[data-v-d0e039d2]{margin-top:%?36?%}.order--footer[data-v-d0e039d2]{color:#999;border-top:1px solid #eee;padding:%?20?% %?30?%;margin-top:%?26?%}[data-v-d0e039d2] .order--con-price uni-text{color:#ff512b;font-size:%?24?%}[data-v-d0e039d2] .order--con-price .ui-money--price{font-size:%?32?%}',""]),t.exports=e},ecac:function(t,e,n){var a=n("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/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.product[data-v-67aec8e2]{display:flex;background:#fff;border-radius:%?16?%;padding:%?30?%;position:relative}.product--img[data-v-67aec8e2]{width:%?140?%;height:%?140?%}.product--con[data-v-67aec8e2]{width:%?300?%;margin-left:%?30?%}.product--con-title[data-v-67aec8e2]{font-size:%?28?%;line-height:%?36?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product--con-price[data-v-67aec8e2]{margin-top:%?36?%}.product--btn[data-v-67aec8e2]{width:%?160?%;padding:0;position:absolute;right:%?30?%;bottom:%?30?%}.product--close[data-v-67aec8e2]{width:%?24?%;height:%?24?%;position:absolute;top:%?30?%;right:%?30?%}[data-v-67aec8e2] .product--con-price uni-text{color:#ff512b;font-size:%?24?%}[data-v-67aec8e2] .product--con-price .ui-money--price{font-size:%?32?%}',""]),t.exports=e},f77d:function(t,e,n){var a=n("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/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-money[data-v-247a1348]{align-items:center}.ui-money uni-text[data-v-247a1348]{line-height:normal}',""]),t.exports=e}}]); |