(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-share"],{"01f33":function(t,i,e){"use strict";e.r(i);var s=e("2f75"),a=e.n(s);for(var n in s)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(n);i["default"]=a.a},"1dc3":function(t,i,e){"use strict";e.r(i);var s=e("a991"),a=e("01f33");for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);e("863e");var o=e("828b"),r=Object(o["a"])(a["default"],s["b"],s["c"],!1,null,"6690408c",null,!1,s["a"],void 0);i["default"]=r.exports},"2f75":function(t,i,e){"use strict";e("6a54");var s=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("c223");var a=s(e("9b1b")),n=e("8f59"),o={data:function(){return{status:1,list:[],is_submit:!1}},computed:(0,a.default)({},(0,n.mapGetters)(["base"])),onLoad:function(){this.init()},methods:{receive:function(t){var i=this;if(!this.is_submit){this.is_submit=!0;var e=t.currentTarget.dataset.id;this.$util.get("user/user/shareReceive",{share_id:e}).then((function(t){i.is_submit=!1,t.code,i.$util.toast(t.message,1500,(function(){i.page=1,i.list=[],i.get_list()}))})).catch((function(t){i.is_submit=!1}))}},init:function(){var t=this;this.get_list(),this.$util.getBase(this,(function(){var i=uni.getStorageSync("base");t.base=i,i.text_replace.t19&&uni.setNavigationBarTitle({title:i.text_replace.t19})}))},get_list:function(){var t=this,i={page:this.page,status:this.status};this.$util.get("user/user/share",i).then((function(i){1==i.code?t.list=t.list.concat(i.data):t.$util.toast(i.message)}))},onTab:function(t){this.status=t.currentTarget.dataset.status,this.page=1,this.list=[],this.get_list()}}};i.default=o},6155:function(t,i,e){var s=e("c86c");i=s(!1),i.push([t.i,".tab .on[data-v-6690408c]{border-bottom:2px solid #f55;font-weight:700}.tab-it[data-v-6690408c]{width:%?200?%;height:%?80?%;border-bottom:2px solid #fff;text-align:center;line-height:%?80?%;font-size:%?28?%}.receive-btn[data-v-6690408c]{height:%?60?%;line-height:%?60?%;background-color:#f55;text-align:center;border-radius:%?10?%;position:absolute;top:%?30?%;right:%?30?%;padding:0 %?30?%}",""]),t.exports=i},"863e":function(t,i,e){"use strict";var s=e("f5d1"),a=e.n(s);a.a},a991:function(t,i,e){"use strict";e.d(i,"b",(function(){return s})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",[e("v-uni-view",{staticClass:"flex justify-center align-center back-white tab"},[e("v-uni-view",{class:"tab-it "+(1==t.status?"on":""),style:1==t.status&&t.base.btn_color?"border-bottom: 2px solid "+t.base.btn_color+";":"",attrs:{"data-status":"1"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onTab.apply(void 0,arguments)}}},[t._v("分享中")]),e("v-uni-view",{class:"tab-it "+(2==t.status?"on":""),style:2==t.status&&t.base.btn_color?"border-bottom: 2px solid "+t.base.btn_color+";":"",attrs:{"data-status":"2"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onTab.apply(void 0,arguments)}}},[t._v("分享完成")])],1),e("v-uni-view",{staticClass:"back-white padding-lr margin-top"},[t._l(t.list,(function(i,s){return e("v-uni-navigator",{class:"flex padding-tb "+(0!=s?"bor-t":""),staticStyle:{position:"relative"},attrs:{url:"./sharelog?share_id="+i.id,"hover-class":"none"}},[e("v-uni-image",{staticStyle:{width:"120upx","border-radius":"10upx"},attrs:{src:i.goods_info.thumb,mode:"widthFix"}}),e("v-uni-view",{staticClass:"padding-left-sm flex flex-column justify-between"},[e("v-uni-view",{staticClass:"fs-28 fw-bold color3"},[e("v-uni-view",[t._v(t._s(i.goods_info.title))])],1),e("v-uni-view",{staticClass:"padding-top-xs fs-24 color9"},[t._v("已分享人数："+t._s(i.already_num)+"人")]),e("v-uni-view",{staticClass:"padding-top-xs fs-24 color9"},[t._v("需分享人数："+t._s(i.need_num)+"人")]),e("v-uni-view",{staticClass:"padding-top-xs fs-24 color9"},[t._v("分享时间："+t._s(i.add_time))])],1),0==i.is_receive&&2==i.status?e("v-uni-view",{staticClass:"receive-btn colorf fs-28",attrs:{"data-id":i.id},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.receive.apply(void 0,arguments)}}},[t._v("领取")]):t._e()],1)})),0!=t.list.length&&t.list?t._e():e("v-uni-view",{staticClass:"text-center padding-tb"},[t._v("暂无数据")])],2)],1)},a=[]},f5d1:function(t,i,e){var s=e("6155");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var a=e("967d").default;a("6d572e62",s,!0,{sourceMap:!1,shadowMode:!1})}}]);