shop-php/public/static/js/pages-plantGrass-plant_user_fans-index.18caaf71.js

1 line
9.4 KiB
JavaScript
Raw Normal View History

2023-09-28 09:15:50 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_user_fans-index"],{7585:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("99af");var i=e("a71d"),a=(getApp(),{data:function(){return{list:[],isScroll:!0,page:1,limit:20,loading:!1}},onLoad:function(){this.getList()},onReady:function(){},mounted:function(){},methods:{getList:function(){var t=this;this.isScroll&&!this.loading&&(this.loading=!0,(0,i.myFansLst)({page:this.page,limit:this.limit}).then((function(n){t.loading=!1,t.isScroll=n.data.list.length>=t.limit,t.list=t.list.concat(n.data.list),t.page+=1})))},focusToggle:function(t){var n=this,e=t.is_start?0:1;(0,i.followAuthorApi)(t.left_id,{status:e}).then((function(e){200===e.status&&(t.is_start=!t.is_start),n.$util.Tips({title:e.message})}))}},onReachBottom:function(){this.getList()}});n.default=a},"786d":function(t,n,e){"use strict";e.r(n);var i=e("7585"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},a71d:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.boughtLstApi=function(t){return a.default.get("community/pay_product/lst",t)},n.browseLstApi=function(t){return a.default.get("community/hist_product/lst",t)},n.collectLstApi=function(t){return a.default.get("community/rela_product/lst",t)},n.createPlantApi=function(t){return a.default.post("community/create",t)},n.deletePlantApi=function(t){return a.default.post("community/delete/".concat(t))},n.deoList=function(t){return a.default.get("community/show/".concat(t),{noAuth:!0})},n.focusArticleLst=function(t){return a.default.get("community/focuslst",t,{noAuth:!0})},n.followAuthorApi=function(t,n){return a.default.post("community/fans/".concat(t),n)},n.getTopicList=function(){return a.default.get("community/category/lst",{},{noAuth:!0})},n.getVideoCode=function(t,n){return a.default.get("community/qrcode/".concat(t),n,{noAuth:!0})},n.graphicLstApi=function(t){return a.default.get("community/lst",t,{noAuth:!0})},n.graphicProApi=function(t){return a.default.get("product/spu/get/".concat(t),{noAuth:!0})},n.graphicStartApi=function(t,n){return a.default.post("community/start/".concat(t),n)},n.hotSearchLst=function(){return a.default.get("common/commuunity/hot_keyword",{},{noAuth:!0})},n.myFansLst=function(t){return a.default.get("community/fans/lst",t)},n.myFocusLst=function(t){return a.default.get("community/focus/lst",t)},n.myVideoList=function(t,n){return a.default.get("community/user/community_video/".concat(t),n,{noAuth:!0})},n.orderAssociatePlantApi=function(t){return a.default.get("community/order/".concat(t),{},{noAuth:!0})},n.plantDetailApi=function(t){return a.default.get("community/show/".concat(t),{},{noAuth:!0})},n.replyCreateApi=function(t,n){return a.default.post("community/reply/create/".concat(t),n)},n.replyLstApi=function(t,n){return a.default.get("community/".concat(t,"/reply"),n,{noAuth:!0})},n.starArticleLst=function(t){return a.default.get("community/start/lst",t)},n.starCommentApi=function(t,n){return a.default.post("community/reply/start/".concat(t),n)},n.updatePlantApi=function(t,n){return a.default.post("community/update/".concat(t),n)},n.userArticleLst=function(t,n){return a.default.get("community/user/community/".concat(t),n)},n.userInfoApi=function(t){return a.default.get("community/user/info/".concat(t))},n.videoList=function(t){return a.default.get("community/video_lst",t,{noAuth:!0})};var a=i(e("a7a5"))},a7a5:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("d3b7"),e("c975");var a=e("da5d"),o=(e("6e0f"),i(e("b0bc")));var u={};["options","get","post","put","head","delete","trace","connect"].forEach((function(t){u[t]=function(n,e,i){return function(t,n,e,i){i.noAuth;var u=i.noVerify,s=void 0!==u&&u,r=a.HTTP_REQUEST_URL,c=a.HEADER;return o.default.state.app.token&&(c[a.TOKENNAME]="Bearer "+o.default.state.app.token),new Promise((function(i,