1 |
- {"version":3,"sources":["webpack:///./src/views/user/promotion/UserPromotion.vue?f4d2","webpack:///src/views/user/promotion/UserPromotion.vue","webpack:///./src/views/user/promotion/UserPromotion.vue?f3e1","webpack:///./src/views/user/promotion/UserPromotion.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","_s","userInfo","brokerage_price","yesterDay","extractTotalPrice","on","toCash","staticRenderFns","name","components","props","data","watch","$route","n","getInfo","mounted","methods","$router","push","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,oCAAoC,CAACF,EAAG,MAAM,CAACJ,EAAIO,GAAG,UAAUH,EAAG,cAAc,CAACE,YAAY,SAASE,MAAM,CAAC,GAAK,qBAAqB,CAACR,EAAIO,GAAG,kBAAkBH,EAAG,OAAO,CAACE,YAAY,8BAA8B,GAAGF,EAAG,MAAM,CAACE,YAAY,OAAO,CAACN,EAAIO,GAAGP,EAAIS,GAAGT,EAAIU,SAASC,iBAAmB,MAAMP,EAAG,MAAM,CAACE,YAAY,uCAAuC,CAACF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACJ,EAAIO,GAAG,UAAUH,EAAG,MAAM,CAACE,YAAY,SAAS,CAACN,EAAIO,GAAGP,EAAIS,GAAGT,EAAIU,SAASE,WAAa,QAAQR,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACJ,EAAIO,GAAG,UAAUH,EAAG,MAAM,CAACE,YAAY,SAAS,CAACN,EAAIO,GAAGP,EAAIS,GAAGT,EAAIU,SAASG,mBAAqB,YAAYT,EAAG,MAAM,CAACE,YAAY,mBAAmBQ,GAAG,CAAC,MAAQd,EAAIe,SA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AQ,WACNd,KAAK0B,QAAQC,KAAK,CAAxB,4BCtGyd,I,YCOrdC,EAAY,eACd,EACA9B,EACAiB,GACA,EACA,KACA,KACA,MAIa,aAAAa,E","file":"h5/js/chunk-2d0b995a.4cdcd8d5.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"my-promotion\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"name acea-row row-center-wrapper\"},[_c('div',[_vm._v(\"当前佣金\")]),_c('router-link',{staticClass:\"record\",attrs:{\"to\":'/user/cashrecord'}},[_vm._v(\"\\n 提现记录\"),_c('span',{staticClass:\"iconfont icon-xiangyou\"})])],1),_c('div',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.userInfo.brokerage_price || 0))]),_c('div',{staticClass:\"profit acea-row row-between-wrapper\"},[_c('div',{staticClass:\"item\"},[_c('div',[_vm._v(\"昨日收益\")]),_c('div',{staticClass:\"money\"},[_vm._v(_vm._s(_vm.userInfo.yesterDay || 0))])]),_c('div',{staticClass:\"item\"},[_c('div',[_vm._v(\"累积已提\")]),_c('div',{staticClass:\"money\"},[_vm._v(_vm._s(_vm.userInfo.extractTotalPrice || 0))])])])]),_c('div',{staticClass:\"bnt bg-color-red\",on:{\"click\":_vm.toCash}},[_vm._v(\"立即提现\")]),_c('div',{staticClass:\"list acea-row row-between-wrapper\"},[_c('router-link',{staticClass:\"item acea-row row-center-wrapper row-column\",attrs:{\"to\":'/user/poster'}},[_c('span',{staticClass:\"iconfont icon-erweima\"}),_c('div',[_vm._v(\"推广名片\")])]),_c('router-link',{staticClass:\"item acea-row row-center-wrapper row-column\",attrs:{\"to\":'/user/promoter_list'}},[_c('span',{staticClass:\"iconfont icon-tongji\"}),_c('div',[_vm._v(\"推广人统计\")])]),_c('router-link',{staticClass:\"item acea-row row-center-wrapper row-column\",attrs:{\"to\":'/user/commission'}},[_c('span',{staticClass:\"iconfont icon-qiandai\"}),_c('div',[_vm._v(\"佣金记录\")])]),_c('router-link',{staticClass:\"item acea-row row-center-wrapper row-column\",attrs:{\"to\":'/user/promoter_order'}},[_c('span',{staticClass:\"iconfont icon-dingdan\"}),_c('div',[_vm._v(\"推广人订单\")])]),_c('router-link',{staticClass:\"item acea-row row-center-wrapper row-column\",attrs:{\"to\":'/user/promoter_rank'}},[_c('span',{staticClass:\"iconfont icon-paihang1\"}),_c('div',[_vm._v(\"推广人排行\")])]),_c('router-link',{staticClass:\"item acea-row row-center-wrapper row-column\",attrs:{\"to\":'/user/commission/rank'}},[_c('span',{staticClass:\"iconfont icon-paihang\"}),_c('div',[_vm._v(\"佣金排行\")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"my-promotion\">\r\n <div class=\"header\">\r\n <div class=\"name acea-row row-center-wrapper\">\r\n <div>当前佣金</div>\r\n <router-link class=\"record\" :to=\"'/user/cashrecord'\">\r\n 提现记录<span class=\"iconfont icon-xiangyou\"></span>\r\n </router-link>\r\n </div>\r\n <div class=\"num\">{{ userInfo.brokerage_price || 0 }}</div>\r\n <div class=\"profit acea-row row-between-wrapper\">\r\n <div class=\"item\">\r\n <div>昨日收益</div>\r\n <div class=\"money\">{{ userInfo.yesterDay || 0 }}</div>\r\n </div>\r\n <div class=\"item\">\r\n <div>累积已提</div>\r\n <div class=\"money\">{{ userInfo.extractTotalPrice || 0 }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"bnt bg-color-red\" @click=\"toCash\">立即提现</div>\r\n <div class=\"list acea-row row-between-wrapper\">\r\n <router-link\r\n class=\"item acea-row row-center-wrapper row-column\"\r\n :to=\"'/user/poster'\"\r\n >\r\n <span class=\"iconfont icon-erweima\"></span>\r\n <div>推广名片</div>\r\n </router-link>\r\n <router-link\r\n class=\"item acea-row row-center-wrapper row-column\"\r\n :to=\"'/user/promoter_list'\"\r\n >\r\n <span class=\"iconfont icon-tongji\"></span>\r\n <div>推广人统计</div>\r\n </router-link>\r\n <router-link\r\n class=\"item acea-row row-center-wrapper row-column\"\r\n :to=\"'/user/commission'\"\r\n >\r\n <span class=\"iconfont icon-qiandai\"></span>\r\n <div>佣金记录</div>\r\n </router-link>\r\n <router-link\r\n class=\"item acea-row row-center-wrapper row-column\"\r\n :to=\"'/user/promoter_order'\"\r\n >\r\n <span class=\"iconfont icon-dingdan\"></span>\r\n <div>推广人订单</div>\r\n </router-link>\r\n <router-link\r\n class=\"item acea-row row-center-wrapper row-column\"\r\n :to=\"'/user/promoter_rank'\"\r\n >\r\n <span class=\"iconfont icon-paihang1\"></span>\r\n <div>推广人排行</div>\r\n </router-link>\r\n <router-link\r\n class=\"item acea-row row-center-wrapper row-column\"\r\n :to=\"'/user/commission/rank'\"\r\n >\r\n <span class=\"iconfont icon-paihang\"></span>\r\n <div>佣金排行</div>\r\n </router-link>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getUser } from \"../../../api/user\";\r\n\r\nexport default {\r\n name: \"UserPromotion\",\r\n components: {},\r\n props: {},\r\n data: function() {\r\n return {\r\n userInfo: {}\r\n };\r\n },\r\n watch: {\r\n $route(n) {\r\n if (n.name == \"UserPromotion\") this.getInfo();\r\n }\r\n },\r\n mounted: function() {\r\n this.getInfo();\r\n },\r\n methods: {\r\n getInfo: function() {\r\n let that = this;\r\n getUser().then(\r\n res => {\r\n that.userInfo = res.data;\r\n console.log(that.userInfo);\r\n },\r\n function(err) {\r\n that.$dialog.message(err.msg);\r\n }\r\n );\r\n },\r\n toCash: function() {\r\n this.$router.push({ path: \"/user/user_cash\" });\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./UserPromotion.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./UserPromotion.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserPromotion.vue?vue&type=template&id=23c82849&\"\nimport script from \"./UserPromotion.vue?vue&type=script&lang=js&\"\nexport * from \"./UserPromotion.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|