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.
1 lines
8.9 KiB
1 lines
8.9 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-xiaoxi-fangke"],{"161e":function(n,e,t){var i=t("fb84");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=t("967d").default;a("1c7e4220",i,!0,{sourceMap:!1,shadowMode:!1})},"2abd":function(n,e,t){n.exports=t.p+"static/avatar.png"},6526:function(n,e,t){"use strict";t.r(e);var i=t("abb5"),a=t.n(i);for(var s in i)["default"].indexOf(s)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(s);e["default"]=a.a},"7d86":function(n,e,t){n.exports=t.p+"static/empty.png"},a248:function(n,e,t){"use strict";t.r(e);var i=t("e32e"),a=t("6526");for(var s in a)["default"].indexOf(s)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(s);t("df0e");var o=t("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"7d1d3f27",null,!1,i["a"],void 0);e["default"]=r.exports},abb5:function(n,e,t){"use strict";t("6a54");var i=t("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(t("2634")),s=i(t("2fdc")),o={data:function(){return{isCoins:!1,isPopup:!1,isDashan:!1,isShow:!1,list:[],userInfo:{},info:{}}},onLoad:function(){var n=this;uni.$on("closeSharePopup",(function(e){n.isPopup=!1,n.isDashan=!1,n.isCoins=!1})),uni.$on("openCoinsPopup",(function(e){n.isCoins=e})),n.getList(),n.userInfo=uni.getStorageSync("userInfo")},methods:{getList:function(){var n=this;return(0,s.default)((0,a.default)().mark((function e(){var t,i,s;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.$api.friendList({userId:uni.getStorageSync("userInfo").id,type:4});case 2:t=e.sent,i=t.code,s=t.data,200==i&&(n.list=s,n.isShow=0==s.length);case 6:case"end":return e.stop()}}),e)})))()},toUser:function(n){0!=uni.getStorageSync("userInfo").realnameFlag?this.userInfo.memberflag>=1&&uni.navigateTo({url:"/pages/peiwan/detail?id="+n}):this.isPopup=!0},toDash:function(n){0!=uni.getStorageSync("userInfo").realnameFlag?0!=uni.getStorageSync("userInfo").memberflag?(this.info.userid=n,this.isDashan=!0):uni.showModal({title:"温馨提示",content:"开通会员才能搭讪?",confirmColor:"#000000",success:function(n){n.confirm&&uni.navigateTo({url:"/pages/users/center/index"})}}):this.isPopup=!0},toChat:function(n){var e=this;return(0,s.default)((0,a.default)().mark((function t(){var i,s,o;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.findZegoToken({userId:uni.getStorageSync("userInfo").id,sellerId:n});case 2:i=t.sent,s=i.code,o=i.data,200==s&&(uni.setStorageSync("chatToken",o.token),uni.navigateTo({url:"/pages/users/chat/index?id="+e.id+"&roomId="+o.roomId}));case 6:case"end":return t.stop()}}),t)})))()}}};e.default=o},abe6:function(n,e){n.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAAAdCAYAAADM3LCSAAAAAXNSR0IArs4c6QAABqNJREFUaEOlmttOY0sMRBOSjMT//yEXwcO88DBCApIcOcOCRY279+YQCZHLdru7XLZrO9ne3d393u12h+12u6k/P87n8+Z0Om3e3t6+vM+Lun6/3292u93lrbqeB7bH4/HL+3xeNldXV5c/P2rNsi2f+OW9uq6ed7bsn/2W33ruc9W67DfPWq/LpnzWdT4Lfsu29pu29Tl+sfP/sknb8/n8ur2/v/9zPp8PAFAX1kJ+zXPe5xqAq/fTrrM3yGVTG/RBvEYGBd8FPIGt9brrvK/RNWvP252VNbtzez/GiwBpP6/bh4eHp7e3t2sDbpAOh8MHszMrCoRiS/11jwKq7J0NsKj8vb6+XgJdGzbbKiAjv2ZZt2eyMRkKE53Jye5au/yO2O3MyPMmu3Nt274T7nn7+Ph4Ad8AOs2XwK80BQTb1eYS/GS+wa/PCAClxYHrbDvwRu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mW+F4U1YVtuf6TllwUED0XrCjeY3m+Z4pJRBlAwhdMx/dvJkwI3GSfl2eCYD28yk1uxQ1uHkIrrcqyTVGqiQVTfaE9Nspl9EXHlYVzgh8GKAEkSwYKZqRRB3ZGY9mv+tusnK2Y7ByBMtnmWpdcGlQ1NvOls8M5Nq5kPcJ0B4RdGTpFI1trde9NwTEKKCN+PgE3+ntTVPnurJT1y2B35UGlIbBT5CXRgRLsx3Ym1kzurOGvTM5mQrMpJkN5ehF8c3c8lSzA8F1fTZYW9LFtvVBnDXZK8r3WubnmtiOviHDb0eY+izFxwh8yGUSNxJ2Dj4S6buzHbOIrwkzHdcysEvjEfgVKBjo2Y7X8Hyma8YzwvzEtvli/m/Z2e127UiZDu/f7ZiJ9ZxG0jEUOQgo2YCYk3QgUDaspNzkO78EnRkLr70+PnOWZQVmVUXJcMPu5mAot7SlnCNfZfuv1EwgRqWhk14wDIdrZOqoJ1hqdsExwB24KVEJHJlBafCeKUuj/odM7bKRoOIHgWC/MXhbvsOtL4VHE8/ahGfYeZDvjAisdAYj2A+MuTkzCPY9u0EbjTVSBGTAKcH56z385llToHim9L72hfl/jsfjYcTA2UFmDYp0XfrpSPp11qy1tQyt52t/1pcNeck2RwQOftmuVX7vdpdfrP0+nU6H0XhhCfwcEZgx3WDNDM/RhFM2p6led/alBwB2IwJK5ewbp1ngDD6BcwBn4BsnwP8PvvrtpQCVV9wAAAAASUVORK5CYII="},df0e:function(n,e,t){"use strict";var i=t("161e"),a=t.n(i);a.a},e32e:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){}));var i=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("v-uni-view",{staticClass:"dashan"},[i("v-uni-view",{staticClass:"list"},[n._l(n.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.toUser(e.userid)}}},[i("v-uni-view",{staticClass:"pic"},[n.userInfo.memberflag>=1?i("v-uni-image",{attrs:{src:e.faceImage?e.faceImage:e.img}}):i("v-uni-image",{attrs:{src:t("2abd")}})],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"info"},[n.userInfo.memberflag>=1?i("v-uni-view",{staticClass:"name"},[n._v(n._s(e.nickname))]):i("v-uni-view",{staticClass:"name"},[i("v-uni-image",{attrs:{src:t("abe6")}})],1),i("v-uni-view",{staticClass:"desc"},[n._v(n._s(e.declaration))])],1),i("v-uni-view",{staticClass:"btn",on:{click:function(t){t.stopPropagation(),arguments[0]=t=n.$handleEvent(t),n.toDash(e.userid)}}},[n._v("搭讪")])],1)],1)})),n.isShow?i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:t("7d86")}}),i("v-uni-view",{staticClass:"txt"},[n._v("暂无数据")])],1):n._e()],2),i("unverified",{attrs:{isPopup:n.isPopup}}),i("insufficient",{attrs:{isCoins:n.isCoins}}),i("dashan",{attrs:{isDashan:n.isDashan,info:n.info}})],1)},a=[]},fb84:function(n,e,t){var i=t("c86c");e=i(!1),e.push([n.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/* 文章场景相关 */.dashan[data-v-7d1d3f27]{padding:0 %?25?%;min-height:100vh;background-color:#fff;overflow:hidden}.dashan .empty[data-v-7d1d3f27]{padding:%?150?% 0;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.dashan .empty uni-image[data-v-7d1d3f27]{display:block;width:%?460?%;height:%?400?%;margin:0 auto}.dashan .item[data-v-7d1d3f27]{display:flex;align-items:center}.dashan .item .pic[data-v-7d1d3f27]{width:%?90?%;height:%?90?%;margin-right:%?20?%;position:relative}.dashan .item .pic uni-image[data-v-7d1d3f27]{width:100%;height:100%;border-radius:50%}.dashan .item .content[data-v-7d1d3f27]{padding:%?30?% 0;flex:1;border-bottom:1px solid #eaeaea;display:flex;align-items:center;justify-content:space-between}.dashan .item .content .info .name[data-v-7d1d3f27]{font-weight:400;font-size:%?30?%;color:#222}.dashan .item .content .info .name uni-image[data-v-7d1d3f27]{width:%?95?%;height:%?30?%;display:block}.dashan .item .content .info .desc[data-v-7d1d3f27]{font-weight:400;font-size:%?24?%;color:#aaa;margin-top:%?15?%;max-width:%?400?%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashan .item .content .btn[data-v-7d1d3f27]{width:%?150?%;line-height:%?70?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?70?%;text-align:center;font-weight:500;font-size:%?24?%;color:#fff;text-align:center}',""]),n.exports=e}}]); |