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 lines
28 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/channel/income.vue?37d7","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/channel/income.vue?138f","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/channel/income.vue?44ef","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/channel/income.vue?ed11","uni-app:///user/pages/channel/income.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/channel/income.vue?d05e","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/channel/income.vue?1044"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","data","isLoad","today","preCheck","tabInd","start_time","end_time","tabList","id","title","detail","param","page","name","list","loading","computed","primaryColor","subColor","configInfo","commonOptions","userInfo","onLoad","onUnload","onPullDownRefresh","uni","onReachBottom","methods","initIndex","refresh","cur_time","one","time","bg","initRefresh","toSearch","getList","oldList","param_key","newList","pickerChange","toChangeItem","toConfirm","ind","type"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACc;;;AAGnE;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAqzB,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACkJz0B;AAGA;AAAA;AAAA,eACA;EACAC;EACAC;IACA;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;MACA;MACAF;MACAG;QACAC;QACAC;QACAJ;QACAC;MACA;QACAE;QACAC;QACAJ;QACAC;MACA;QACAE;QACAC;QACAJ;QACAC;MACA;QACAE;QACAC;QACAJ;QACAC;MACA;MACAI;MACAC;QACAC;QACAC;MACA;MACAC;QACAd;MACA;MACAe;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IAEAC;IAEA;IACAA;EACA;EACAC;IACA;IACA;IACA;IACA;EACA;EACAC,yCACA;IACAC;MAAA;QAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAAC;gBASA;gBACAC;gBACA5B;gBACA6B;gBACAC;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBAAA;gBAAA,OACA;cAAA;gBACA;kBACAC;gBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MACA;MACA;IACA;IACAC;MACA;MACA;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEAC,UAGA,OAHAvB,MACAV,SAEA,OAFAA,QACAG,UACA,OADAA;gBAAA,kBAKAA,iBAFAF,yCACAC;gBAEAK;gBACAA;gBACAA;gBAAA,MAEAA;kBAAA;kBAAA;gBAAA;gBACA2B;gBACA;gBAAA;gBAAA,OACA;cAAA;gBAAA;cAAA;gBAAA;gBAAA,OAEA;cAAA;gBAAAC;gBAEA;kBACA;gBACA;kBACAA;kBACA;gBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MACA,qBAGA;QAFAnC;QACAC;MAEA;QACAD;MACA;QACAC;MACA;MAEA;QACA;UACAG;QACA;QACA;MACA;MAEA;IACA;IACAgC;MACA;IACA;IACA;IACAC;MAAA;MACA;QACAC;MACA;MACA,WAGAC;QAAA,uBAFAvC;QAAAA;QAAA,qBACAC;QAAAA;MAEA,YAEAsC;UACAxC;QACA;QAHAA;MAIA;QACA;UACA;YACAK;UACA;UACA;QACA;QACA;QACA;QACA;MACA;QACA;QACA;QACA;MACA;MACA;QACA;QACA;QACA;MACA;IACA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;;AC5VA;AAAA;AAAA;AAAA;AAAwgD,CAAgB,m6CAAG,EAAC,C;;;;;;;;;;;ACA5hD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"user/pages/channel/income.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './user/pages/channel/income.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./income.vue?vue&type=template&id=3bd80206&\"\nvar renderjs\nimport script from \"./income.vue?vue&type=script&lang=js&\"\nexport * from \"./income.vue?vue&type=script&lang=js&\"\nimport style0 from \"./income.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"user/pages/channel/income.vue\"\nexport default component.exports","export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./income.vue?vue&type=template&id=3bd80206&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.isLoad\n ? _vm.__map(_vm.list.data, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var m0 = _vm.$t(\"action.attendantName\")\n return {\n $orig: $orig,\n m0: m0,\n }\n })\n : null\n var g0 =\n _vm.isLoad && _vm.loading\n ? _vm.list.current_page >= _vm.list.last_page && _vm.list.data.length > 0\n : null\n var g1 = _vm.isLoad\n ? !_vm.loading && _vm.list.data.length <= 0 && _vm.list.current_page == 1\n : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: \"/user/pages/channel/poster\",\n })\n }\n _vm.e1 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: \"/user/pages/distribution/record?type=4\",\n })\n }\n _vm.e2 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: \"/user/pages/cash-out?type=channel\",\n })\n }\n _vm.e3 = function ($event) {\n return _vm.$refs.rank_item.open()\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n g0: g0,\n g1: g1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./income.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./income.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"user-channel-index\" v-if=\"isLoad\">\r\n\t\t<view class=\"mine-menu-list c-base\" :style=\"{background:primaryColor}\">\r\n\t\t\t<view class=\"flex-between pt-md pl-lg pb-lg\">\r\n\t\t\t\t<view class=\"flex-center\">\r\n\t\t\t\t\t<view class=\"f-desc mr-sm\">渠道分销商</view>\r\n\t\t\t\t\t<view class=\"f-title\">{{detail.cate_text}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @tap.stop=\"$util.goUrl({url:`/user/pages/channel/poster`})\"\r\n\t\t\t\t\tclass=\"channel-code flex-center f-icontext\">\r\n\t\t\t\t\t<i class=\"iconfont iconerweima\"></i>\r\n\t\t\t\t\t渠道码\r\n\t\t\t\t\t<i class=\"iconfont icon-down\"></i>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"money-count flex-center pb-md\">\r\n\t\t\t\t<view class=\"item-child flex-center flex-column\">\r\n\t\t\t\t\t<view class=\"num text-bold\">{{detail.order_price}}</view>\r\n\t\t\t\t\t<view class=\"f-caption\">订单总金额</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view class=\"item-child flex-center flex-column\">\r\n\t\t\t\t\t<view class=\"num text-bold\">{{detail.order_count}}</view>\r\n\t\t\t\t\t<view class=\"f-caption\">订单数量</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view class=\"item-child flex-center flex-column\">\r\n\t\t\t\t\t<view class=\"num text-bold\">{{detail.total_cash}}</view>\r\n\t\t\t\t\t<view class=\"f-caption\">总佣金</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"cash-out-list flex-center mt-sm\">\r\n\t\t\t\t<view @tap.stop=\"$util.goUrl({url:`/user/pages/distribution/record?type=4`})\"\r\n\t\t\t\t\tclass=\"item-child flex-center f-mini-title c-base radius\">提现记录</view>\r\n\t\t\t\t<view @tap.stop=\"$util.goUrl({url:`/user/pages/cash-out?type=channel`})\"\r\n\t\t\t\t\tclass=\"item-child flex-center f-mini-title c-base radius\" :style=\"{color:primaryColor}\">申请提现\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"search-info flex-between fill-base\">\r\n\t\t\t<view class=\"item-search\">\r\n\t\t\t\t<search @input=\"toSearch\" @confirm=\"toSearch\" type=\"input\" placeholder=\"请输入服务名称/订单号\"></search>\r\n\t\t\t</view>\r\n\t\t\t<view @tap=\"$refs.rank_item.open()\" class=\"flex-center pr-md f-paragraph c-title\">\r\n\t\t\t\t筛选\r\n\t\t\t\t<i class=\"iconfont iconshaixuanxia-1\"></i>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"order-pages\">\r\n\t\t\t<view class=\"item-child mt-md ml-lg mr-lg pd-lg fill-base radius-16\" v-for=\"(item,index) in list.data\"\r\n\t\t\t\t:key=\"index\">\r\n\t\t\t\t<view class=\"flex-between pb-lg\">\r\n\t\t\t\t\t<view class=\"f-paragraph c-title max-350 ellipsis\">下单人:{{item.address_info.user_name}}</view>\r\n\t\t\t\t\t<view class=\"f-caption c-caption\">{{item.create_time}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flex-center mb-lg\" v-for=\"(aitem,aindex) in item.order_goods\" :key=\"aindex\">\r\n\t\t\t\t\t<image mode=\"aspectFill\" class=\"avatar lg radius-16\" :src=\"aitem.goods_cover\"></image>\r\n\t\t\t\t\t<view class=\"flex-1 ml-md\">\r\n\t\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t\t<view class=\"f-mini-title c-title text-bold ellipsis\"\r\n\t\t\t\t\t\t\t\t:class=\"[{'max-300':aitem.refund_num>0},{'max-450':aitem.refund_num==0}]\">\r\n\t\t\t\t\t\t\t\t{{aitem.goods_name}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"f-caption c-warning\" v-if=\"aitem.refund_num>0\">已退x{{aitem.refund_num}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"f-caption c-caption mt-sm mb-sm\">\r\n\t\t\t\t\t\t\t服务{{$t('action.attendantName')}}:{{item.coach_info ? item.coach_info.coach_name : '-'}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t\t<view class=\"flex-y-baseline f-caption c-warning\">¥<view class=\"f-title text-bold\">\r\n\t\t\t\t\t\t\t\t\t{{aitem.true_price}}\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"c-paragraph\">x{{aitem.num}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<view class=\"flex-y-center f-caption\">\r\n\t\t\t\t\t\t\t分销佣金:<view class=\"c-warning\">¥{{item.channel_cash}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"flex-y-center f-caption\" style=\"margin-top: 4rpx;\" v-if=\"item.refund_price*1>0\">\r\n\t\t\t\t\t\t\t总计退款:<view class=\"c-warning\">¥{{item.refund_price}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-y-center f-desc c-title\">付款:\r\n\t\t\t\t\t\t<view class=\"text-bold\">¥{{item.true_service_price}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<load-more :noMore=\"list.current_page>=list.last_page&&list.data.length>0\" :loading=\"loading\" v-if=\"loading\">\r\n\t\t</load-more>\r\n\t\t<abnor v-if=\"!loading&&list.data.length<=0&&list.current_page==1\"></abnor>\r\n\r\n\t\t<view class=\"space-footer\"></view>\r\n\r\n\t\t<uni-popup ref=\"rank_item\" type=\"bottom\" :maskClick=\"false\">\r\n\t\t\t<view class=\"popup-rank fill-base\">\r\n\t\t\t\t<view class=\"flex-between pd-lg\">\r\n\t\t\t\t\t<view class=\"f-title c-title text-bold\">选择筛选条件</view>\r\n\t\t\t\t\t<view @tap=\"toConfirm(1)\" class=\"f-caption c-caption\">取消</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"pd-lg\">\r\n\t\t\t\t\t<view class=\"pt-lg pb-lg f-paragraph text-bold\">时间</view>\r\n\t\t\t\t\t<view class=\"flex-warp pb-lg\">\r\n\t\t\t\t\t\t<view @tap=\"toChangeItem(index,'tabInd')\" class=\"item-rank flex-center f-desc c-title radius-16\"\r\n\t\t\t\t\t\t\t:class=\"[{'ml-md':index!=0}]\"\r\n\t\t\t\t\t\t\t:style=\"{background:index==tabInd?primaryColor:'',color:index==tabInd?'#fff':'',borderColor:index==tabInd?primaryColor:''}\"\r\n\t\t\t\t\t\t\tv-for=\"(item,index) in tabList\" :key=\"index\">{{item.title}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-between pt-lg pb-lg\" v-if=\"tabInd==3\">\r\n\t\t\t\t\t\t<view class=\"f-paragraph text-bold\">开始时间</view>\r\n\t\t\t\t\t\t<picker mode=\"date\" start=\"1900-01-01\" :end=\"today\" @change=\"pickerChange($event,'start_time')\">\r\n\t\t\t\t\t\t\t<view class=\"flex-y-center f-title\"\r\n\t\t\t\t\t\t\t\t:class=\"[{'c-title':tabList[3].start_time},{'f-caption c-caption':!tabList[3].start_time}]\">\r\n\t\t\t\t\t\t\t\t{{tabList[3].start_time || '请选择'}} <i class=\"iconfont icon-right c-caption\"></i>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</picker>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-between pt-md pb-lg\" v-if=\"tabInd==3\">\r\n\t\t\t\t\t\t<view class=\"f-paragraph text-bold\">结束时间</view>\r\n\t\t\t\t\t\t<picker mode=\"date\" start=\"1900-01-01\" :end=\"today\" @change=\"pickerChange($event,'end_time')\">\r\n\t\t\t\t\t\t\t<view class=\"flex-y-center f-title\"\r\n\t\t\t\t\t\t\t\t:class=\"[{'c-title':tabList[3].end_time},{'f-caption c-caption':!tabList[3].end_time}]\">\r\n\t\t\t\t\t\t\t\t{{tabList[3].end_time || '请选择'}} <i class=\"iconfont icon-right c-caption\"></i>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</picker>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"btn-info flex-center pd-lg\">\r\n\t\t\t\t\t<view @tap=\"toConfirm(2)\" class=\"item-child flex-center fill-base f-desc radius\">重置</view>\r\n\t\t\t\t\t<view @tap=\"toConfirm(3)\" class=\"item-child flex-center f-desc c-base radius\"\r\n\t\t\t\t\t\t:style=\"{background:primaryColor,borderColor:primaryColor}\">查询</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"space-safe\"></view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\texport default {\r\n\t\tcomponents: {},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tisLoad: false,\r\n\t\t\t\ttoday: '',\r\n\t\t\t\tpreCheck: {\r\n\t\t\t\t\ttabInd: 0,\r\n\t\t\t\t\tstart_time: '',\r\n\t\t\t\t\tend_time: ''\r\n\t\t\t\t},\r\n\t\t\t\ttabInd: 2,\r\n\t\t\t\ttabList: [{\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\ttitle: '今日',\r\n\t\t\t\t\tstart_time: '',\r\n\t\t\t\t\tend_time: ''\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 2,\r\n\t\t\t\t\ttitle: '近7日',\r\n\t\t\t\t\tstart_time: '',\r\n\t\t\t\t\tend_time: ''\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 3,\r\n\t\t\t\t\ttitle: '近30日',\r\n\t\t\t\t\tstart_time: '',\r\n\t\t\t\t\tend_time: ''\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 4,\r\n\t\t\t\t\ttitle: '自定义',\r\n\t\t\t\t\tstart_time: '',\r\n\t\t\t\t\tend_time: ''\r\n\t\t\t\t}],\r\n\t\t\t\tdetail: {},\r\n\t\t\t\tparam: {\r\n\t\t\t\t\tpage: 1,\r\n\t\t\t\t\tname: ''\r\n\t\t\t\t},\r\n\t\t\t\tlist: {\r\n\t\t\t\t\tdata: []\r\n\t\t\t\t},\r\n\t\t\t\tloading: true,\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tprimaryColor: state => state.config.configInfo.primaryColor,\r\n\t\t\tsubColor: state => state.config.configInfo.subColor,\r\n\t\t\tconfigInfo: state => state.config.configInfo,\r\n\t\t\tcommonOptions: state => state.user.commonOptions,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t}),\r\n\t\tonLoad() {\r\n\t\t\tthis.initIndex()\r\n\t\t},\r\n\t\tonUnload() {\r\n\t\t\tthis.$util.back()\r\n\t\t},\r\n\t\tonPullDownRefresh() {\r\n\t\t\t// #ifndef APP-PLUS\r\n\t\t\tuni.showNavigationBarLoading()\r\n\t\t\t// #endif\r\n\t\t\tthis.initRefresh();\r\n\t\t\tuni.stopPullDownRefresh()\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\t\t\tif (this.list.current_page >= this.list.last_page || this.loading) return;\r\n\t\t\tthis.param.page = this.param.page + 1;\r\n\t\t\tthis.loading = true;\r\n\t\t\tthis.getList();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapMutations([]),\r\n\t\t\tasync initIndex(refresh = false) {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tif (!refresh && this.$jweixin.isWechat()) {\r\n\t\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\t\tthis.$jweixin.hideOptionMenu()\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\tlet cur_time = new Date(Math.ceil(new Date().getTime()))\r\n\t\t\t\tlet today = this.$util.formatTime(cur_time, 'YY-M-D')\r\n\t\t\t\tlet one = 3600 * 24 * 1000\r\n\t\t\t\tlet time = this.$util.DateToUnix(today) * 1000\r\n\t\t\t\tthis.today = today\r\n\t\t\t\tthis.tabList[0].start_time = today\r\n\t\t\t\tthis.tabList[0].end_time = today\r\n\t\t\t\tthis.tabList[1].start_time = this.$util.formatTime(time - 7 * one, 'YY-M-D')\r\n\t\t\t\tthis.tabList[1].end_time = today\r\n\t\t\t\tthis.tabList[2].start_time = this.$util.formatTime(time - 30 * one, 'YY-M-D')\r\n\t\t\t\tthis.tabList[2].end_time = today\r\n\t\t\t\tawait this.getList()\r\n\t\t\t\tthis.$util.setNavigationBarColor({\r\n\t\t\t\t\tbg: this.primaryColor\r\n\t\t\t\t})\r\n\t\t\t\tthis.isLoad = true\r\n\t\t\t\tthis.$util.hideAll()\r\n\t\t\t},\r\n\t\t\tinitRefresh() {\r\n\t\t\t\tthis.param.page == 1\r\n\t\t\t\tthis.initIndex(true)\r\n\t\t\t},\r\n\t\t\ttoSearch(val) {\r\n\t\t\t\tthis.param.page = 1\r\n\t\t\t\tthis.param.name = val\r\n\t\t\t\tthis.getList()\r\n\t\t\t},\r\n\t\t\tasync getList() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tlist: oldList,\r\n\t\t\t\t\ttabInd,\r\n\t\t\t\t\ttabList,\r\n\t\t\t\t} = this\r\n\t\t\t\tlet {\r\n\t\t\t\t\tstart_time,\r\n\t\t\t\t\tend_time\r\n\t\t\t\t} = tabList[tabInd]\r\n\t\t\t\tlet param = this.$util.deepCopy(this.param)\r\n\t\t\t\tparam.start_time = this.$util.DateToUnix(start_time)\r\n\t\t\t\tparam.end_time = this.$util.DateToUnix(end_time) + 24 * 3600 - 1\r\n\r\n\t\t\t\tif (param.page == 1) {\r\n\t\t\t\t\tlet param_key = this.$util.deepCopy(param)\r\n\t\t\t\t\tdelete param_key.page\r\n\t\t\t\t\tthis.detail = await this.$api.channel.index(param_key)\r\n\t\t\t\t}\r\n\t\t\t\tlet newList = await this.$api.channel.orderList(param);\r\n\r\n\t\t\t\tif (this.param.page == 1) {\r\n\t\t\t\t\tthis.list = newList\r\n\t\t\t\t} else {\r\n\t\t\t\t\tnewList.data = oldList.data.concat(newList.data)\r\n\t\t\t\t\tthis.list = newList\r\n\t\t\t\t}\r\n\t\t\t\tthis.loading = false\r\n\t\t\t\tthis.$util.hideAll()\r\n\t\t\t},\r\n\t\t\tpickerChange(e, type) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tstart_time,\r\n\t\t\t\t\tend_time\r\n\t\t\t\t} = this.tabList[3]\r\n\t\t\t\tif (type == 'start_time') {\r\n\t\t\t\t\tstart_time = e.detail.value\r\n\t\t\t\t} else {\r\n\t\t\t\t\tend_time = e.detail.value\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (start_time && end_time && this.$util.DateToUnix(start_time) > this.$util.DateToUnix(end_time)) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `开始时间不能大于结束时间`\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.tabList[3][type] = e.detail.value\r\n\t\t\t},\r\n\t\t\ttoChangeItem(index, key) {\r\n\t\t\t\tthis[key] = index\r\n\t\t\t},\r\n\t\t\t// type 1取消;2重置;3查询\r\n\t\t\ttoConfirm(type, ind = 3) {\r\n\t\t\t\tif (type == 2) {\r\n\t\t\t\t\tind = 0\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\tstart_time = '',\r\n\t\t\t\t\t\tend_time = ''\r\n\t\t\t\t} = type == 1 ? this.preCheck : this.tabList[ind]\r\n\t\t\t\tlet {\r\n\t\t\t\t\ttabInd\r\n\t\t\t\t} = type == 2 ? {\r\n\t\t\t\t\ttabInd: 2\r\n\t\t\t\t} : type == 3 ? this : this.preCheck\r\n\t\t\t\tif (type == 3) {\r\n\t\t\t\t\tif ((!start_time || !end_time) && tabInd == 3) {\r\n\t\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\t\ttitle: !start_time ? `请选择开始时间` : `请选择结束时间`\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.preCheck.start_time = start_time\r\n\t\t\t\t\tthis.preCheck.end_time = end_time\r\n\t\t\t\t\tthis.preCheck.tabInd = tabInd\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.tabList[ind].start_time = start_time\r\n\t\t\t\t\tthis.tabList[ind].end_time = end_time\r\n\t\t\t\t\tthis.tabInd = tabInd\r\n\t\t\t\t}\r\n\t\t\t\tif (type != 2) {\r\n\t\t\t\t\tthis.$refs.rank_item.close()\r\n\t\t\t\t\tthis.param.page == 1\r\n\t\t\t\t\tthis.getList()\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n\r\n<style lang=\"scss\">\r\n\t.user-channel-index {\r\n\r\n\t\t.mine-menu-list {\r\n\t\t\theight: 360rpx;\r\n\r\n\t\t\t.channel-code {\r\n\t\t\t\twidth: 134rpx;\r\n\t\t\t\theight: 54rpx;\r\n\t\t\t\tbackground: rgba(255, 255, 255, 0.1);\r\n\t\t\t\tborder-radius: 100rpx 0 0 100rpx;\r\n\r\n\t\t\t\t.iconerweima {\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tmargin: 0 5rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.icon-down {\r\n\t\t\t\t\tfont-size: 18rpx;\r\n\t\t\t\t\ttransform: scale(0.5) rotate(270deg);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.money-count {\r\n\t\t\t\t.item-child {\r\n\t\t\t\t\twidth: 50%;\r\n\r\n\t\t\t\t\t.num {\r\n\t\t\t\t\t\tfont-size: 49rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.line {\r\n\t\t\t\t\twidth: 1rpx;\r\n\t\t\t\t\theight: 47rpx;\r\n\t\t\t\t\tbackground: rgba(255, 255, 255, 0.3);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.cash-out-list {\r\n\t\t\t\t.item-child {\r\n\t\t\t\t\twidth: 300rpx;\r\n\t\t\t\t\theight: 70rpx;\r\n\t\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item-child:nth-child(1) {\r\n\t\t\t\t\tbackground: rgba(255, 255, 255, 0.5);\r\n\t\t\t\t\tmargin-right: 40rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t.search-info {\r\n\t\t\tborder-radius: 0 0 16rpx 16rpx;\r\n\t\t\toverflow: hidden;\r\n\r\n\t\t\t.item-search {\r\n\t\t\t\twidth: 630rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.iconshaixuanxia-1 {\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tcolor: #CDCDCD;\r\n\t\t\t\ttransform: scale(0.65);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.popup-rank {\r\n\t\t\tborder-radius: 34rpx 34rpx 0 0;\r\n\r\n\t\t\t.item-rank {\r\n\t\t\t\twidth: 157rpx;\r\n\t\t\t\theight: 72rpx;\r\n\t\t\t\tborder: 1px solid #E5E5E5;\r\n\t\t\t}\r\n\r\n\t\t\t.btn-info {\r\n\t\t\t\tbackground: #F9F9F9;\r\n\r\n\t\t\t\t.item-child {\r\n\t\t\t\t\twidth: 320rpx;\r\n\t\t\t\t\theight: 80rpx;\r\n\t\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\t\tborder: 1rpx solid #C7C7C7;\r\n\t\t\t\t\tmargin: 0 14rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.space-safe {\r\n\t\t\t\tbackground: #F9F9F9;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","import mod from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./income.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./income.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1725332666141\n var cssReload = require(\"C:/Users/Administrator/Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}