1 Star 2 Fork 1

kaylee/短剧cps

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
income.js 4.11 KB
一键复制 编辑 原始数据 按行查看 历史
kaylee 提交于 2024-06-13 06:28 . income.js
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/income/income"],{3720:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return c})),a.d(e,"a",(function(){return i}));var i={authorize:function(){return a.e("components/authorize/authorize").then(a.bind(null,"7929"))}},n=function(){var t=this,e=t.$createElement,a=(t._self._c,t.incomeData&&"2"!=t.typeActive?t.incomeData.theater_list&&t.incomeData.theater_list.length>0&&t.classType&&0!=t.userDetail:null),i=t.incomeData&&"2"!=t.typeActive?t.incomeData.theater_list_jc&&t.incomeData.theater_list_jc.length>0&&!t.classType&&0!=t.userDetail:null,n=t.incomeData&&"2"==t.typeActive?t.incomeData.theater_list&&t.incomeData.theater_list.length>0:null,c=t.incomeData?"2"!=t.typeActive&&t.incomeData.theater_list&&0==t.incomeData.theater_list.length&&0!=t.userDetail&&t.classType||"2"!=t.typeActive&&t.incomeData.theater_list_jc&&0==t.incomeData.theater_list_jc.length&&0!=t.userDetail&&!t.classType||"2"==t.typeActive&&t.incomeData.theater_list&&0==t.incomeData.theater_list.length&&0!=t.userDetail:null;t._isMounted||(t.e0=function(e){t.platformShow=!0},t.e1=function(e){t.classType=!t.classType},t.e2=function(e){t.platformShow=!1},t.e3=function(e){t.platformShow=!1},t.e4=function(e){t.tipsShow=!1},t.e5=function(e){t.tipsShow=!1}),t.$mp.data=Object.assign({},{$root:{g0:a,g1:i,g2:n,g3:c}})},c=[]},4363:function(t,e,a){"use strict";(function(t,e){var i=a("47a9");a("68b9");i(a("3240"));var n=i(a("cdc8"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(n.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},"4e3e":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{userDetail:0,authShow:!1,typeTabData:["推广计划","短剧","短剧广告","小说","影票","饿了么"],typeActive:0,tabId:"tabId0",timeTabData:["汇总","今天","昨天","近7天","近30天","本月"],timeActive:1,tabData:[],active:0,incomeData:{},platformShow:!1,classType:!0,tipsShow:!1}},props:{incomeShow:{type:Number,default:function(){return 0}}},watch:{incomeShow:{handler:function(e){t.getStorageSync("elmIncome")&&(this.typeActive=5,t.removeStorageSync("elmIncome")),this.userDetail=t.getStorageSync("userInfo")&&t.getStorageSync("userInfo").wxInfo||0,this.getCate()},deep:!0,immediate:!0}},methods:{getNewIncome:function(){var t=this;this.incomeData=[],this.util.request({url:"api/Newincome/spread_income_new",data:{userid:this.userDetail.userId,data_type:this.timeActive,list_type:this.tabData[this.active].id,source_type:this.typeActive},success:function(e){t.incomeData=e.data.data}})},getCate:function(){var t=this;this.util.request({url:"api/Newincome/shouyi_cate",data:{source_type:this.typeActive},success:function(e){t.tabData=e.data.data,t.getNewIncome()}})},typeTabTap:function(t){this.typeActive=t,this.active=0,this.tabId="tabId".concat(0==t?t:t-1),"2"!=t?this.getCate():this.getNewIncome()},timeTabTap:function(t){this.timeActive=t,this.getNewIncome()},tabTap:function(t){this.active=t,this.getNewIncome()},pfItemTap:function(t){this.platformShow=!1,this.active=t,this.getNewIncome()},shopBtnTap:function(e,a){t.navigateTo({url:"/subcontract/pages/short/balance?id=".concat(e,"&type=").concat(a,"&index=").concat(this.typeActive)})},loginTap:function(){this.authShow=!0},user_login:function(t){this.authShow=!1,this.userDetail=t.wxInfo||0},cancel:function(){this.authShow=!1},incomeTipsTap:function(){"1"!=this.typeActive&&"3"!=this.typeActive||(this.tipsShow=!0)}}};e.default=a}).call(this,a("df3c")["default"])},"84b7":function(t,e,a){"use strict";a.r(e);var i=a("4e3e"),n=a.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(c);e["default"]=n.a},cdc8:function(t,e,a){"use strict";a.r(e);var i=a("3720"),n=a("84b7");for(var c in n)["default"].indexOf(c)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(c);a("f261");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"6f4acada",null,!1,i["a"],void 0);e["default"]=s.exports},f261:function(t,e,a){"use strict";var i=a("ffc0"),n=a.n(i);n.a},ffc0:function(t,e,a){}},[["4363","common/runtime","common/vendor"]]]);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/caylle/short-drama-cps.git
git@gitee.com:caylle/short-drama-cps.git
caylle
short-drama-cps
短剧cps
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385