平板端快衣店
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
4.1 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"013b":function(n,e,t){"use strict";t.r(e);var o=t("c63f"),i=t("cc2e");for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);t("a6e0");var u=t("f0c5"),r=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"e657946a",null,!1,o["a"],void 0);e["default"]=r.exports},"46dd":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t("26cb"),i={computed:(0,o.mapState)(["shopName","userId","shopIndex"]),data:function(){return{list:["11111","22222","33333","34567"],inventoryList:[],chartData:{},opts:{color:["#1890FF","#73C0DE"],padding:[15,10,0,15],dataLabel:!1,dataPointShape:!1,enableScroll:!1,legend:{},xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:150}]},extra:{line:{type:"curve",width:2,activeType:"hollow",linearType:"custom",onShadow:!0,animation:"horizontal"}}}}},components:{cmdNavBar:function(){t.e("components/cmd-nav-bar/cmd-nav-bar").then(function(){return resolve(t("ccff"))}.bind(null,t)).catch(t.oe)}},onLoad:function(){this.getServerData(),this.getOrderInfoList(),console.log(this.shopIndex,"index",this.shopName)},methods:{goToInfo:function(){n.navigateTo({url:"/pages/info/index"})},gotoSearchData:function(){n.navigateTo({url:"/pages/index/searchData"})},gotoOrder:function(){n.navigateTo({url:"/pages/index/order?userId="+this.userId})},getOrderInfoList:function(){var e=this;this.tui.request("/app/sales/getByCondition","POST",{userId:this.userId,pageSize:5},!1,!0).then((function(t){200==t.code?(e.inventoryList=t.result.content,e.totalPages=t.result.totalPages):n.showToast({title:t.message,icon:"none"})})).catch((function(n){}))},getServerData:function(){var n=this;setTimeout((function(){n.chartData=JSON.parse(JSON.stringify({categories:["周一","周二","周三","周四","周五","周六","周天"],series:[{name:"周销售额",linearColor:[[0,"#1890FF"],[.33,"#00B5FF"],[.66,"#00D1ED"],[1,"#00E6BB"],[1,"#90F489"]],setShadow:[3,8,10,"#00E6BB"],data:[95,125,95,125,95,125]}]})),console.log(n.chartData,"this.chartData")}),500)}}};e.default=i}).call(this,t("543d")["default"])},"5ce9":function(n,e,t){},a6e0:function(n,e,t){"use strict";var o=t("5ce9"),i=t.n(o);i.a},c63f:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return o}));var o={cmdNavBar:function(){return t.e("components/cmd-nav-bar/cmd-nav-bar").then(t.bind(null,"ccff"))},uNoticeBar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-notice-bar/u-notice-bar")]).then(t.bind(null,"1bdd"))},uGrid:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-grid/u-grid")]).then(t.bind(null,"0e8c"))},uGridItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-grid-item/u-grid-item")]).then(t.bind(null,"113f"))},uCountTo:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-count-to/u-count-to")]).then(t.bind(null,"0cbf"))},qiunDataCharts:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(t.bind(null,"9eaf"))},uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,"2386"))},uEmpty:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(t.bind(null,"2ed0"))}},i=function(){var n=this.$createElement,e=(this._self._c,this.inventoryList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},cc2e:function(n,e,t){"use strict";t.r(e);var o=t("46dd"),i=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(a);e["default"]=i.a},cf64:function(n,e,t){"use strict";(function(n,e){var o=t("4ea4");t("c8e4");o(t("66fd"));var i=o(t("013b"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])}},[["cf64","common/runtime","common/vendor"]]]);