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
5.1 KiB
1 lines
5.1 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-xiaoxi-fensi"],{"0929":function(t,e,n){var i=n("a377");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("86ae1516",i,!0,{sourceMap:!1,shadowMode:!1})},4473:function(t,e,n){"use strict";n.r(e);var i=n("afd6"),a=n("9dbc");for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("996f");var o=n("828b"),d=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"6410fe7f",null,!1,i["a"],void 0);e["default"]=d.exports},"7d86":function(t,e,n){t.exports=n.p+"static/empty.png"},"996f":function(t,e,n){"use strict";var i=n("0929"),a=n.n(i);a.a},"9dbc":function(t,e,n){"use strict";n.r(e);var i=n("d5fa"),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},a377: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/* 文章场景相关 */.dashan[data-v-6410fe7f]{min-height:100vh;background-color:#fff;padding:0 %?25?%;overflow:hidden}.dashan .empty[data-v-6410fe7f]{padding:%?150?% 0;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.dashan .empty uni-image[data-v-6410fe7f]{display:block;width:%?460?%;height:%?400?%;margin:0 auto}.dashan .item[data-v-6410fe7f]{display:flex;align-items:center}.dashan .item .pic[data-v-6410fe7f]{width:%?90?%;height:%?90?%;margin-right:%?20?%;position:relative}.dashan .item .pic uni-image[data-v-6410fe7f]{width:100%;height:100%;border-radius:50%}.dashan .item .content[data-v-6410fe7f]{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-6410fe7f]{font-weight:400;font-size:%?30?%;color:#222}.dashan .item .content .info .name uni-image[data-v-6410fe7f]{width:%?95?%;height:%?30?%;display:block}.dashan .item .content .info .desc[data-v-6410fe7f]{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-6410fe7f]{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}',""]),t.exports=e},afd6: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"},[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=[]},d5fa: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:3});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)})))()},toUser:function(t){0!=uni.getStorageSync("userInfo").realnameFlag?uni.navigateTo({url:"/pages/peiwan/detail?id="+t}):this.isPopup=!0}}};e.default=o}}]); |