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.

1 line
3.0 KiB

3 years ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/mine/index"],{3648:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=getApp(),a={data:function(){return{userInfo:{},pageData:{},rankList:[],menuList:[{name:"需求优先",icon:"/static/images/menu1.png"},{name:"收益分成",icon:"/static/images/menu2.png"},{name:"上架特权",icon:"/static/images/menu3.png"},{name:"活动特权",icon:"/static/images/menu4.png"},{name:"精品项目",icon:"/static/images/menu5.png"},{name:"专属推荐码",icon:"/static/images/menu6.png"},{name:"会员特价",icon:"/static/images/menu7.png"},{name:"专属活动",icon:"/static/images/menu8.png"},{name:"增值收益",icon:"/static/images/menu9.png"}],shareFlag:!1,CustomBar:e.globalData.CustomBar}},components:{},props:{},onLoad:function(n){this.setData({userInfo:t.getStorageSync("userInfo")}),this.getPageData(),this.getShareFlag(),t.hideShareMenu()},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(n){if(this.shareFlag)return{title:"禅易云生态",imageUrl:"/static/images/shareImg.png",path:"/pages/user/agreement/index?id="+this.userInfo.uid};t.showToast({title:"暂时不能分享哦~",icon:"none"})},methods:{backUserIndex:function(){t.switchTab({url:"/pages/user/index"})},getShareFlag:function(){var t=this;e.http("get","user/getShareFlag").then((function(n){n.data.success&&t.setData({shareFlag:n.data.data})}))},getPageData:function(){var n=this;t.showLoading({title:"正在加载中..."}),e.http("get","user/myProfit").then((function(e){e.data.success&&(e.data.data.userProfitList.length>=3&&n.setData({rankList:e.data.data.userProfitList.slice(3)}),n.setData({pageData:e.data.data}),t.hideLoading())}))},toMoreMenu:function(){t.navigateTo({url:"../agreement/index"})},toIncomeDetail:function(){t.navigateTo({url:"../incomeDetail/index"})},tixian:function(){t.showToast({title:"提现功能暂未开放!",icon:"none"})}}};n.default=a}).call(this,e("543d")["default"])},"38c2":function(t,n,e){"use strict";e.r(n);var a=e("c250"),i=e("b6b1");for(var o in i)"default"!==o&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("eef2");var u,s=e("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],u);n["default"]=c.exports},"6f30":function(t,n,e){},"73c5":function(t,n,e){"use strict";(function(t){e("ef82");a(e("66fd"));var n=a(e("38c2"));function a(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},b6b1:function(t,n,e){"use strict";e.r(n);var a=e("3648"),i=e.n(a);for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},c250:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var i=function(){var t=this,n=t.$createElement;t._self._c},o=[]},eef2:function(t,n,e){"use strict";var a=e("6f30"),i=e.n(a);i.a}},[["73c5","common/runtime","common/vendor"]]]);