1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-team"],{"0078":function(t,e,a){"use strict";a.r(e);var i=a("fd57"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"17b1":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=o,e.changeInformation=r,e.enterprise=d,e.getUserInfo=f,e.spreadBanner=l,e.getAddressList=s,e.addressEdit=u,e.addressDel=c,e.setAddressDefault=m,e.getCartList=h,e.getCartNum=v,e.cartDel=g,e.getcollectList=b,e.delcollect=p,e.spread=y,e.stylelist=x,e.postlist=w,e.joinSubmit=_,e.auth=C,e.subscribe=k,e.enDetails=T,e.my_reply=j,e.to_my_reply=z,e.getCyType=S;var n=i(a("6150"));function o(t){return(0,n.default)({url:"/api/order/data",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/enterprise/edit",method:"post",data:t})}function d(t){return(0,n.default)({url:"/api/enterprise/rate",method:"get",data:t})}function f(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/spread/banner",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/address/list",method:"get",data:t})}function u(t){return(0,n.default)({url:"/api/address/edit",method:"post",data:t})}function c(t){return(0,n.default)({url:"/api/address/del",method:"post",data:t})}function m(t){return(0,n.default)({url:"/api/address/default/set",method:"post",data:t})}function h(t){return(0,n.default)({url:"/api/cart/list",method:"get",data:t})}function v(t){return(0,n.default)({url:"/api/cart/num",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/cart/del",method:"post",data:t})}function b(t){return(0,n.default)({url:"/api/collect/user",method:"get",data:t})}function p(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function y(t){return(0,n.default)({url:"/api/spread/people",method:"POST",data:t})}function x(t){return(0,n.default)({url:"/api/enterprise/stylelist",method:"GET",data:t})}function w(t){return(0,n.default)({url:"/api/enterprise/job/list",method:"GET",data:t})}function _(t){return(0,n.default)({url:"/api/enterprise/apply/add",method:"GET",data:t})}function C(t){return(0,n.default)({url:"/api/user/auth",method:"POST",data:t})}function k(t){return(0,n.default)({url:"/api/user/subscribe",method:"GET",data:t})}function T(t){return(0,n.default)({url:"/api/enterprise/details",method:"GET",data:t})}function j(t){return(0,n.default)({url:"/api/article/my_reply",method:"GET",data:t})}function z(t){return(0,n.default)({url:"/api/article/to_my_reply",method:"GET",data:t})}function S(t){return(0,n.default)({url:"/api/enterprise/category",method:"GET",data:t})}},"31ed":function(t,e,a){"use strict";a.r(e);var i=a("69dd"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"56a8":function(t,e,a){"use strict";a.r(e);var i=a("d3cf"),n=a("31ed");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("c9ef");var r,d=a("f0c5"),f=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"7f7a18ff",null,!1,i["a"],r);e["default"]=f.exports},"579f":function(t,e,a){"use strict";var i=a("80e0"),n=a.n(i);n.a},"69dd":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var n=i(a("1da1")),o=i(a("5530")),r=a("17b1"),d=a("26cb"),f={onReady:function(t){var e=this;uni.getSystemInfo({success:function(t){var a=uni.createSelectorQuery();a.select(".swiper-box").boundingClientRect(),a.exec((function(a){e.maxheight=t.windowHeight-a[0].top+"px",console.log("打印页面的剩余高度",e.height)}))},fail:function(t){}})},data:function(){return{maxheight:"",tabCurrentIndex:0,navList:[{state:0,text:"直接推荐",loadingType:"more",orderList:[],page:1,limit:10}],all:"",list:""}},computed:(0,o.default)({},(0,d.mapState)("user",["userInfo","orderInfo","hasLogin"])),onLoad:function(t){},onShow:function(){this.loadData()},methods:{navto:function(t){uni.navigateTo({url:t})},loadData:function(t){var e=this;return(0,n.default)(regeneratorRuntime.mark((function a(){var i,n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i=e.tabCurrentIndex,n=e.navList[i],n.state,"tabChange"!==t||!0!==n.loaded){a.next=5;break}return a.abrupt("return");case 5:if("loading"!==n.loadingType){a.next=7;break}return a.abrupt("return");case 7:if("noMore"!==n.loadingType){a.next=9;break}return a.abrupt("return");case 9:n.loadingType="loading",(0,r.spread)({page:n.page,limit:n.limit}).then((function(t){var a=t.data;console.log(a),e.total=a.total,e.totalLevel=a.totalLevel,e.all=e.total+e.totalLevel,a.list.length>0&&(e.list=a.list,n.orderList=n.orderList.concat(a.list),n.page++),e.$nextTick((function(){n.limit!=a.list.length?n.loadingType="noMore":n.loadingType="more"})),e.$set(n,"loaded",!0)})).catch((function(t){console.log(t)}));case 11:case"end":return a.stop()}}),a)})))()},changeTab:function(t){this.tabCurrentIndex=t.target.current,this.loadData("tabChange")},tabClick:function(t){this.tabCurrentIndex=t},toBack:function(){uni.switchTab({url:"/pages/user/user"})}}};e.default=f},"80e0":function(t,e,a){var i=a("958b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("4db3b720",i,!0,{sourceMap:!1,shadowMode:!1})},"814c":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-7f7a18ff]{background:#f8f8f8;height:100%}.status_bar[data-v-7f7a18ff]{height:0;width:100%;background:#5dbc7c}.content-money[data-v-7f7a18ff]{background:#5dbc7c;padding-bottom:%?30?%}.content-money .buttom-box[data-v-7f7a18ff]{position:relative;background-color:#fff;text-align:center;margin:0 %?30?%;padding:%?30?% 0;border-radius:%?15?%;margin-top:%?-80?%}.content-money .buttom-box .buttom[data-v-7f7a18ff]{font-size:%?32?%;flex-grow:1}.content-money .buttom-box .buttom .money[data-v-7f7a18ff]{font-weight:700;font-size:%?32?%;color:red}.content-money .buttom-box .text[data-v-7f7a18ff]{color:#666}.content-money .buttom-box .interval[data-v-7f7a18ff]{width:%?2?%;height:%?60?%;background-color:#eee}.content-money .buttom-box .icon[data-v-7f7a18ff]{height:%?50?%;width:%?48?%;margin:0 auto}.content-money .buttom-box .icon .icon-img[data-v-7f7a18ff]{width:100%;height:100%}.money-box[data-v-7f7a18ff]{height:%?484?%;color:#fff;text-align:center;font-size:%?35?%;position:relative}.money-box .header[data-v-7f7a18ff]{position:absolute;left:0;top:0;width:100%;height:%?80?%;font-size:%?32?%;font-weight:700;z-index:99;display:flex;justify-content:center;align-items:center}.money-box .goback-box[data-v-7f7a18ff]{position:absolute;left:%?18?%;top:0;height:%?80?%;display:flex;align-items:center}.money-box .goback[data-v-7f7a18ff]{z-index:100;width:%?34?%;height:%?34?%}.money-box .right[data-v-7f7a18ff]{position:absolute;top:%?140?%;right:%?40?%;text-align:right;line-height:1}.money-box .right .right-num[data-v-7f7a18ff]{font-size:%?50?%;font-family:PingFang SC;font-weight:700;color:#fff}.money-box .right .right-font[data-v-7f7a18ff]{margin-top:%?10?%;font-size:%?24?%;font-family:PingFang SC;font-weight:400;color:#fff}.money-box .right .time[data-v-7f7a18ff]{font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#fff;line-height:35px}.money-box .user[data-v-7f7a18ff]{position:absolute;top:%?140?%;left:%?34?%;display:flex;justify-content:flex-start;align-items:center;z-index:10}.money-box .user .avtor[data-v-7f7a18ff]{width:%?102?%;height:%?102?%;border-radius:50%;position:relative}.money-box .user .avtor .portrait[data-v-7f7a18ff]{width:100%;height:100%;border-radius:50%}.money-box .user .avtor .he[data-v-7f7a18ff]{position:absolute;height:%?30?%;bottom:%?-4?%;left:0}.money-box .user .avtor .he .image[data-v-7f7a18ff]{width:%?102?%;height:%?30?%}.money-box .user .name[data-v-7f7a18ff]{margin-left:%?30?%;font-size:%?36?%;font-family:PingFang SC;font-weight:500;color:#fff;display:flex;justify-content:start}.money-box .user .name .name-left[data-v-7f7a18ff]{width:%?220?%}.money-box .user .name .name-right[data-v-7f7a18ff]{margin-left:%?20?%;width:%?50?%;height:%?60?%;position:relative}.money-box .user .name .name-right uni-image[data-v-7f7a18ff]{width:100%;height:100%}.money-box .user .name .name-right .level[data-v-7f7a18ff]{position:absolute;top:35%;left:50%;margin-left:%?-12?%;font-size:%?20?%}.money-box .user .id[data-v-7f7a18ff]{margin-left:%?30?%;font-size:%?30?%;font-family:PingFang SC;font-weight:500;color:#fff}.money-box .money_img[data-v-7f7a18ff]{width:100%;height:%?120?%;text-align:center;padding-top:%?50?%;padding-bottom:%?135?%}.money-box .money_img uni-image[data-v-7f7a18ff]{width:%?120?%;height:%?120?%;border:%?4?% solid #fd5f6f;border-radius:50%}.money-box .money-frame[data-v-7f7a18ff]{position:absolute;top:0;width:100%;padding-top:%?200?%}.money-box .money_num[data-v-7f7a18ff]{font-size:%?72?%;font-family:PingFang SC;font-weight:700;color:#fff}.money-box .money_num .money_ren[data-v-7f7a18ff]{font-size:%?36?%}.order-item[data-v-7f7a18ff]{padding:%?20?% %?30?%;line-height:1.5}.order-item .title-box[data-v-7f7a18ff]{width:100%}.order-item .title-box .title-avatar[data-v-7f7a18ff]{flex-shrink:0;width:%?100?%;height:%?100?%;margin-right:%?25?%;border-radius:100%}.order-item .title-box .title-avatar uni-image[data-v-7f7a18ff]{width:100%;height:100%;border-radius:100%}.order-item .title-box .list_tpl[data-v-7f7a18ff]{width:85%}.order-item .title-box .list_tpl .title[data-v-7f7a18ff]{display:flex;justify-content:flex-start;font-size:%?32?%;color:#606266;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1;text-align:center}.order-item .title-box .list_tpl .title .title-name[data-v-7f7a18ff]{max-width:40%}.order-item .title-box .list_tpl .title .dl[data-v-7f7a18ff]{margin-left:%?10?%;width:%?93?%;height:%?32?%;border-radius:%?16?%}.order-item .title-box .list_tpl .title .dl uni-image[data-v-7f7a18ff]{width:%?93?%;height:%?32?%;border-radius:%?16?%}.order-item .title-box .list_tpl .title .class[data-v-7f7a18ff]{display:inline-block;margin-left:%?10?%;padding:%?6?%;text-align:center;border:1px solid #2e58ff;border-radius:%?16?%;font-size:%?20?%;font-family:PingFang SC;font-weight:500;color:#2e58ff}.order-item .title-box .list_tpl .time[data-v-7f7a18ff]{font-size:%?28?%;color:#909399}.order-item .money[data-v-7f7a18ff]{width:50%;text-align:right;color:#db1935;font-size:%?32?%}.yeji[data-v-7f7a18ff]{position:relative;margin:%?-72?% auto 0;width:%?690?%;height:%?143?%;background:#fff;box-shadow:%?0?% %?0?% %?20?% %?0?% rgba(50,50,52,.06);border-radius:%?10?%;display:flex;align-items:center}.yeji .yeji-a[data-v-7f7a18ff]{width:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.yeji .yeji-a .yeji-top[data-v-7f7a18ff]{font-size:%?28?%;font-family:PingFang SC;font-weight:700;color:#333}.yeji .yeji-a .yeji-buttom[data-v-7f7a18ff]{font-size:%?42?%;font-family:PingFang SC;font-weight:700;color:#333}.yeji .border[data-v-7f7a18ff]{width:%?1?%;height:%?51?%;background:#ddd}body.?%PAGE?%[data-v-7f7a18ff]{background:#f8f8f8}',""]),t.exports=e},"958b":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".uni-load-more[data-v-c8f01f2e]{display:flex;flex-direction:row;height:%?80?%;align-items:center;justify-content:center}.uni-load-more__text[data-v-c8f01f2e]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-c8f01f2e]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>.load[data-v-c8f01f2e]{position:absolute}.uni-load-more__img>.load .item[data-v-c8f01f2e]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-c8f01f2e 1.56s ease infinite;animation:load-data-v-c8f01f2e 1.56s ease infinite}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(4){top:11px;left:0}.load1[data-v-c8f01f2e],\n.load2[data-v-c8f01f2e],\n.load3[data-v-c8f01f2e]{height:24px;width:24px}.load2[data-v-c8f01f2e]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-c8f01f2e]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-c8f01f2e{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=e},ba8b:function(t,e,a){var i=a("814c");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("55b4ab6b",i,!0,{sourceMap:!1,shadowMode:!1})},c9ef:function(t,e,a){"use strict";var i=a("ba8b"),n=a.n(i);n.a},cbdc:function(t,e,a){"use strict";a.r(e);var i=a("d7b4"),n=a("0078");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("579f");var r,d=a("f0c5"),f=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"c8f01f2e",null,!1,i["a"],r);e["default"]=f.exports},d3cf:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uniLoadMore:a("cbdc").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"content-money"},[a("v-uni-view",{staticClass:"status_bar"}),a("v-uni-view",{staticClass:"money-box"},[a("v-uni-view",{staticClass:"money-frame"},[a("v-uni-view",{staticClass:"money_num"},[a("v-uni-text",{staticClass:"money_ren"},[t._v("共")]),t._v(t._s(t.all||"0")),a("v-uni-text",{staticClass:"money_ren"},[t._v("人")])],1)],1)],1)],1),a("v-uni-swiper",{staticClass:"swiper-box",style:{height:t.maxheight},attrs:{current:t.tabCurrentIndex,duration:"300"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTab.apply(void 0,arguments)}}},t._l(t.navList,(function(e,i){return a("v-uni-swiper-item",{key:i,staticClass:"tab-content"},[a("v-uni-scroll-view",{staticClass:"list-scroll-content",style:{height:t.maxheight},attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.loadData.apply(void 0,arguments)}}},[!0===e.loaded&&0===e.orderList.length?a("empty"):t._e(),t._l(e.orderList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"order-item flex"},[a("v-uni-view",{staticClass:"title-box flex_item"},[a("v-uni-view",{staticClass:"title-avatar"},[a("v-uni-image",{attrs:{src:e.avatar}})],1),a("v-uni-view",{staticClass:"list_tpl"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-view",{staticClass:"title-name clamp"},[t._v(t._s(e.nickname))])],1),a("v-uni-view",{staticClass:"time"},[a("v-uni-text",[t._v(t._s(e.phone))])],1)],1),a("v-uni-view",{staticClass:"money"},[a("v-uni-text",[t._v(t._s(null==e.numberCount?"未购买":e.numberCount+"元"))])],1)],1)],1)})),a("uni-load-more",{attrs:{status:e.loadingType}})],2)],1)})),1)],1)},o=[]},d7b4:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-load-more"},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[a("v-uni-view",{staticClass:"load1 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load2 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load3 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1)],1),a("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},o=[]},fd57:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=i}}]);
|