连云港陪玩陪聊
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-users-team-index.20ce...

1 lines
5.3 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-team-index"],{"0cac":function(t,n,a){"use strict";var e=a("c133"),i=a.n(e);i.a},"0cfd":function(t,n,a){var e=a("c86c");n=e(!1),n.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-16715b56]{min-height:100vh;background-color:#fff;padding:0 %?25?%;overflow:hidden}.dashan .empty[data-v-16715b56]{padding:%?150?% 0;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.dashan .empty uni-image[data-v-16715b56]{display:block;width:%?460?%;height:%?400?%;margin:0 auto}.dashan .hd[data-v-16715b56]{width:%?702?%;height:%?190?%;background:linear-gradient(90deg,#17150e,#373632);border-radius:%?20?%;margin-bottom:%?20?%;padding-top:%?30?%;box-sizing:border-box}.dashan .hd .a[data-v-16715b56]{font-weight:500;font-size:%?30?%;color:#e7d4b8;text-align:center;padding-top:%?10?%}.dashan .hd .a uni-text[data-v-16715b56]{font-weight:700;font-size:%?48?%}.dashan .item[data-v-16715b56]{display:flex;align-items:center}.dashan .item .pic[data-v-16715b56]{width:%?90?%;height:%?90?%;margin-right:%?20?%;position:relative}.dashan .item .pic uni-image[data-v-16715b56]{width:100%;height:100%;border-radius:50%}.dashan .item .content[data-v-16715b56]{padding:%?30?% 0;flex:1;border-bottom:1px solid #eaeaea;display:flex;align-items:end;justify-content:space-between}.dashan .item .content .info .name[data-v-16715b56]{font-weight:400;font-size:%?30?%;color:#222}.dashan .item .content .info .name uni-image[data-v-16715b56]{width:%?95?%;height:%?30?%;display:block}.dashan .item .content .info .desc[data-v-16715b56]{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 .btns[data-v-16715b56]{font-weight:500;font-size:%?24?%;color:#aaa}',""]),t.exports=n},"1a55":function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"dashan"},[e("v-uni-view",{staticClass:"hd"},[e("v-uni-view",{staticClass:"a"},[e("v-uni-text",[t._v(t._s(t.list.length))]),t._v("人")],1),e("v-uni-view",{staticClass:"a"},[t._v("我的团队人数")])],1),e("v-uni-view",{staticClass:"list"},t._l(t.list,(function(n,a){return e("v-uni-view",{key:a,staticClass:"item"},[e("v-uni-view",{staticClass:"pic"},[e("v-uni-image",{attrs:{src:n.faceImage?n.faceImage:n.img}})],1),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"info"},[e("v-uni-view",{staticClass:"name"},[t._v(t._s(n.nickname))]),e("v-uni-view",{staticClass:"desc"},[t._v("ID:"+t._s(n.id))])],1),e("v-uni-view",{staticClass:"btns"},[t._v(t._s(n.createTime))])],1)],1)})),1),t.isShow?e("v-uni-view",{staticClass:"empty"},[e("v-uni-image",{attrs:{src:a("7d86")}}),e("v-uni-view",{staticClass:"txt"},[t._v("暂无数据")])],1):t._e()],1)},i=[]},"40d6":function(t,n,a){"use strict";a("6a54");var e=a("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e(a("2634")),s=e(a("2fdc")),o={data:function(){return{isShow:!1,list:[]}},onLoad:function(){this.getList()},methods:{getList:function(){var t=this;return(0,s.default)((0,i.default)().mark((function n(){var a,e,s;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$api.myTeam({userId:uni.getStorageSync("userInfo").id});case 2:a=n.sent,e=a.code,s=a.data,200==e&&(t.isShow=!(s.length>0),t.list=s);case 6:case"end":return n.stop()}}),n)})))()},openSheet:function(){uni.showActionSheet({itemList:["删除会话"],success:function(t){console.log("选中了第"+(t.tapIndex+1)+"个按钮")}})}}};n.default=o},"71bb":function(t,n,a){"use strict";a.r(n);var e=a("40d6"),i=a.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(s);n["default"]=i.a},"7d86":function(t,n,a){t.exports=a.p+"static/empty.png"},b662:function(t,n,a){"use strict";a.r(n);var e=a("1a55"),i=a("71bb");for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(s);a("0cac");var o=a("828b"),d=Object(o["a"])(i["default"],e["b"],e["c"],!1,null,"16715b56",null,!1,e["a"],void 0);n["default"]=d.exports},c133:function(t,n,a){var e=a("0cfd");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=a("967d").default;i("f92ed86a",e,!0,{sourceMap:!1,shadowMode:!1})}}]);