连云港陪玩陪聊
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.
chunwan/unpackage/dist/build/web/static/js/pages-pipei-yuyin-index.f1e...

1 line
21 KiB

2 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-pipei-yuyin-index"],{"0041":function(t,e,n){t.exports=n.p+"static/yuyin-xin2.png"},"0086":function(t,e,n){var i=n("c86c");e=i(!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/* 文章场景相关 */.u-navbar[data-v-928a20ca]{width:100%}.u-navbar-fixed[data-v-928a20ca]{position:fixed;left:0;right:0;top:0;z-index:991}.u-status-bar[data-v-928a20ca]{width:100%}.u-navbar-inner[data-v-928a20ca]{display:flex;flex-direction:row;justify-content:space-between;position:relative;align-items:center}.u-back-wrap[data-v-928a20ca]{display:flex;flex-direction:row;align-items:center;flex:1;flex-grow:0;padding:%?14?% %?14?% %?14?% %?24?%}.u-back-text[data-v-928a20ca]{padding-left:%?4?%;font-size:%?30?%}.u-navbar-content-title[data-v-928a20ca]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1;position:absolute;left:0;right:0;height:%?60?%;text-align:center;flex-shrink:0}.u-navbar-centent-slot[data-v-928a20ca]{flex:1}.u-title[data-v-928a20ca]{line-height:%?60?%;font-size:%?32?%;flex:1}.u-navbar-right[data-v-928a20ca]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.u-slot-content[data-v-928a20ca]{flex:1;display:flex;flex-direction:row;align-items:center}',""]),t.exports=e},"02b1":function(t,e,n){"use strict";n.r(e);var i=n("139b"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"139b":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d4b5");var a=i(n("2634")),o=i(n("2fdc")),s=null,c={data:function(){return{info:{},count:10,userInfo:{},isJieshou:!1,title:"语音速配",isShexiangtou:!0,isMakefeng:!0,isYangshengqi:!0,isSucess:1,background:{background:"url(https://api.lyiyuan.cn/profile/upload/static/yuyin-bg.png) center top no-repeat",backgroundSize:"100 auto"}}},onLoad:function(){this.userInfo=uni.getStorageSync("userInfo"),this.count=Math.floor(10*Math.random())+1,this.toPage(1)},onReady:function(){this.watchSocket()},methods:{watchSocket:function(){var t=this;uni.onSocketMessage((function(e){var n=e.data?JSON.parse(e.data):{};console.log("watchSocket",n),"message"==n.topic&&n.type>=8&&uni.getStorageSync("userInfo").id==n.sellerId&&(10==n.type?setTimeout((function(){t.toPage(2,n.userId)}),500):11==n.type&&(t.isSucess=1,t.toPage(1)))}))},toBack:function(){clearInterval(s),uni.navigateBack({delta:1})},toPage:function(t,e){var n=this;1==t?(n.isSucess=1,clearInterval(s),s=setInterval((function(){0==n.count?(clearInterval(s),n.count=Math.floor(10*Math.random())+1,n.userSpeedDating()):n.count--}),1e3)):2==t?this.toChat(e):3==t&&(n.isSucess=1,n.count=Math.floor(10*Math.random())+1)},toChat:function(t){return(0,o.default)((0,a.default)().mark((function e(){return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log("toChat",uni.getStorageSync("userInfo").id,t),uni.redirectTo({url:"/pages/pipei/shipin/detail?type=1&id="+t});case 2:case"end":return e.stop()}}),e)})))()},userSpeedDating:function(){var t=this;