连云港陪玩陪聊
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-xiaoxi-heimingdan.784...

1 line
5.6 KiB

1 month ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-xiaoxi-heimingdan"],{"0b7b":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("2634")),s=i(n("2fdc")),o={data:function(){return{isPopup:!1,isShow:!1,list:[]}},onLoad:function(){var t=this;uni.$on("closeSharePopup",(function(e){t.isPopup=!1})),t.getList()},methods:{getList:function(){var t=this;return(0,s.default)((0,a.default)().mark((function e(){var n,i,s;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.friendList({userId:uni.getStorageSync("userInfo").id,type:2});case 2:n=e.sent,i=n.code,s=n.data,200==i&&(t.list=s,t.isShow=0==s.length);case 6:case"end":return e.stop()}}),e)})))()},toYichu:function(t){var e=this;return(0,s.default)((0,a.default)().mark((function n(){var i,s;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.addOrRemoveBlacklist({userId:uni.getStorageSync("userInfo").id,sellerId:t,type:2});case 2:i=n.sent,s=i.code,i.data,200==s&&(uni.showToast({title:"移除成功"}),setTimeout((function(){e.getList()}),2e3));case 6:case"end":return n.stop()}}),n)})))()},toUser:function(t){0!=uni.getStorageSync("userInfo").realnameFlag?uni.navigateTo({url:"/pages/peiwan/detail?id="+t}):this.isPopup=!0}}};e.default=o},"314c":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"dashan"},[i("v-uni-view",{staticClass:"list"},[t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toUser(e.userid)}}},[i("v-uni-view",{staticClass:"pic"},[i("v-uni-image",{attrs:{src:e.faceImage?e.faceImage:e.img}})],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(e.nickname))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(e.declaration))])],1),i("v-uni-view",{staticClass:"btn",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.toYichu(e.userid)}}},[t._v("移除")])],1)],1)})),t.isShow?i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:n("7d86")}}),i("v-uni-view",{staticClass:"txt"},[t._v("暂无数据")])],1):t._e()],2),i("unverified",{attrs:{isPopup:t.isPopup}})],1)},a=[]},"7d86":function(t,e,n){t.exports=n.p+"static/empty.png"},"891d":function(t,e,n){"use strict";n.r(e);var i=n("314c"),a=n("b0c8");for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("a4dc");var o=n("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"eef79710",null,!1,i["a"],void 0);e["default"]=r.exports},a4dc:function(t,e,n){"use strict";var i=n("d75f"),a=n.n(i);a.a},b0c8:function(t,e,n){"use strict";n.r(e);var i=n("0b7b"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},d193: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/* <EFBFBD>