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.
huazhiyu/unpackage/dist/build/h5/static/js/pages-fenxiao-fans.07948ca9.js

1 line
14 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fenxiao-fans"],{"1de5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},2909:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)||(0,r.default)(t)||(0,n.default)(t)||(0,s.default)()};var i=o(a("6005")),r=o(a("db90")),n=o(a("06c5")),s=o(a("3427"));function o(t){return t&&t.__esModule?t:{default:t}}},3427:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},a("d9e2"),a("d401")},"348c":function(t,e,a){t.exports=a.p+"static/img/total-bg.23ea3a39.png"},4396:function(t,e,a){"use strict";a.r(e);var i=a("5334"),r=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=r.a},5334:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("14d9");var r=i(a("2909")),n=a("afca"),s={data:function(){return{info:{today_fans_num:0,total_fans_num:0},page:1,limit:10,tableData:[],total:0}},methods:{getInfo:function(){var t=this;(0,n.getUserFansStatistic)().then((function(e){t.info=Object.assign({},t.info,e.data)}))},getList:function(t){var e=this,a={page:this.page,limit:this.limit};(0,n.getUserFansList)(a).then((function(a){var i;t?(i=e.tableData).push.apply(i,(0,r.default)(a.data.data)):(e.tableData=a.data.data,e.total=a.data.total)}))}},onReachBottom:function(){this.tableData.length<this.total&&(this.page++,this.getList("over"))},mounted:function(){this.getInfo(),this.getList()}};e.default=s},"5b5d":function(t,e,a){t.exports=a.p+"static/img/mescroll-empty.c69e38ef.png"},6005:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,i.default)(t)};var i=function(t){return t&&t.__esModule?t:{default:t}}(a("6b75"))},"627e":function(t,e,a){var i=a("9003");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("4f06").default;r("1620d9ad",i,!0,{sourceMap:!1,shadowMode:!1})},"718f":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"totalContent"},[i("v-uni-view",{staticClass:"totalitem"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("¥")]),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.today_fans_num))])],1),i("v-uni-view",{staticClass:"descText"},[t._v("今日邀请")])],1),i("v-uni-view",{staticClass:"totalitem",staticStyle:{"border-left":"1px solid #fff"}},[i("v-uni-view",{staticClass:"price"},[i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.total_fans_num))])],1),i("v-uni-view",{staticClass:"descText"},[t._v("历史邀请")])],1)],1),i("v-uni-view",{staticClass:"yongjinTitle"},[t._v("分享有礼("+t._s(t.tableData.length)+")")]),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length>0,expression:"tableData.length>0"}],staticClass:"record-list"},t._l(t.tableData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list"},[i("v-uni-image",{staticClass:"avatarPic",attrs:{src:t.baseUrl+e.avatar,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"outer"},[i("v-uni-view",{staticClass:"title-date"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v(t._s(e.nickname))])],1),i("v-uni-view",{staticClass:"date"},[i("v-uni-text",[t._v(t._s(e.jointime))])],1)],1)],1),i("v-uni-view",{staticClass:"integral"},[i("v-uni-text",{staticStyle:{color:"#2