From aee06c296664ae2144ed2ab3f3b90524d9cbbc55 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Fri, 4 Jun 2021 15:03:00 +0800 Subject: [PATCH] no message --- app.json | 3 +- components/swipe-cell/index.js | 132 ++++++++++++++++++++++ components/swipe-cell/index.json | 3 + components/swipe-cell/index.wxml | 13 +++ components/swipe-cell/index.wxss | 1 + pages/home/customer-info/index.js | 30 ++++- pages/home/customer-info/index.wxml | 5 +- pages/home/index/index.wxml | 3 + pages/login/index.js | 2 +- pages/message/card-list/index.js | 4 + pages/message/card-list/index.json | 1 + pages/message/card-list/index.wxml | 5 +- pages/message/card-list/index.wxss | 11 +- pages/process/index/index.wxml | 2 +- pages/storage/index/index.wxml | 43 +++++++ project.config.json | 2 +- xtends/statics/agent-report/index.js | 15 +++ xtends/statics/agent-report/index.json | 5 + xtends/statics/agent-report/index.wxml | 8 ++ xtends/statics/agent-report/index.wxss | 11 ++ xtends/statics/gross-report/index.js | 15 +++ xtends/statics/gross-report/index.json | 5 + xtends/statics/gross-report/index.wxml | 8 ++ xtends/statics/gross-report/index.wxss | 11 ++ xtends/statics/index/index.js | 99 +++++++++++++++- xtends/statics/index/index.json | 7 +- xtends/statics/index/index.wxml | 84 +++++++++++++- xtends/statics/index/index.wxss | 12 +- xtends/statics/purchase-report/index.js | 15 +++ xtends/statics/purchase-report/index.json | 5 + xtends/statics/purchase-report/index.wxml | 8 ++ xtends/statics/purchase-report/index.wxss | 11 ++ xtends/statics/sale-report/index.js | 15 +++ xtends/statics/sale-report/index.json | 5 + xtends/statics/sale-report/index.wxml | 8 ++ xtends/statics/sale-report/index.wxss | 11 ++ 36 files changed, 600 insertions(+), 18 deletions(-) create mode 100644 components/swipe-cell/index.js create mode 100644 components/swipe-cell/index.json create mode 100644 components/swipe-cell/index.wxml create mode 100644 components/swipe-cell/index.wxss create mode 100644 xtends/statics/agent-report/index.js create mode 100644 xtends/statics/agent-report/index.json create mode 100644 xtends/statics/agent-report/index.wxml create mode 100644 xtends/statics/agent-report/index.wxss create mode 100644 xtends/statics/gross-report/index.js create mode 100644 xtends/statics/gross-report/index.json create mode 100644 xtends/statics/gross-report/index.wxml create mode 100644 xtends/statics/gross-report/index.wxss create mode 100644 xtends/statics/purchase-report/index.js create mode 100644 xtends/statics/purchase-report/index.json create mode 100644 xtends/statics/purchase-report/index.wxml create mode 100644 xtends/statics/purchase-report/index.wxss create mode 100644 xtends/statics/sale-report/index.js create mode 100644 xtends/statics/sale-report/index.json create mode 100644 xtends/statics/sale-report/index.wxml create mode 100644 xtends/statics/sale-report/index.wxss diff --git a/app.json b/app.json index a9f64b7..5756ba4 100644 --- a/app.json +++ b/app.json @@ -69,7 +69,8 @@ { "root": "xtends/", "pages": [ - "statics/index/index" + "statics/index/index", + "statics/purchase-report/index" ] } ], diff --git a/components/swipe-cell/index.js b/components/swipe-cell/index.js new file mode 100644 index 0000000..216ffb0 --- /dev/null +++ b/components/swipe-cell/index.js @@ -0,0 +1,132 @@ +import { VantComponent } from '../common/component'; +import { touch } from '../mixins/touch'; +import { range } from '../common/utils'; +const THRESHOLD = 0.3; +let ARRAY = []; +VantComponent({ + props: { + disabled: Boolean, + leftWidth: { + type: Number, + value: 0, + observer(leftWidth = 0) { + if (this.offset > 0) { + this.swipeMove(leftWidth); + } + }, + }, + rightWidth: { + type: Number, + value: 0, + observer(rightWidth = 0) { + if (this.offset < 0) { + this.swipeMove(-rightWidth); + } + }, + }, + asyncClose: Boolean, + name: { + type: null, + value: '', + }, + }, + mixins: [touch], + data: { + catchMove: false, + wrapperStyle: '', + }, + created() { + this.offset = 0; + ARRAY.push(this); + }, + destroyed() { + ARRAY = ARRAY.filter((item) => item !== this); + }, + methods: { + open(position) { + const { leftWidth, rightWidth } = this.data; + const offset = position === 'left' ? leftWidth : -rightWidth; + this.swipeMove(offset); + this.$emit('open', { + position, + name: this.data.name, + }); + }, + close() { + this.swipeMove(0); + }, + swipeMove(offset = 0) { + this.offset = range(offset, -this.data.rightWidth, this.data.leftWidth); + const transform = `translate3d(${this.offset}px, 0, 0)`; + const transition = this.dragging + ? 'none' + : 'transform .6s cubic-bezier(0.18, 0.89, 0.32, 1)'; + this.setData({ + wrapperStyle: ` + -webkit-transform: ${transform}; + -webkit-transition: ${transition}; + transform: ${transform}; + transition: ${transition}; + `, + }); + }, + swipeLeaveTransition() { + const { leftWidth, rightWidth } = this.data; + const { offset } = this; + if (rightWidth > 0 && -offset > rightWidth * THRESHOLD) { + this.open('right'); + } else if (leftWidth > 0 && offset > leftWidth * THRESHOLD) { + this.open('left'); + } else { + this.swipeMove(0); + } + this.setData({ catchMove: false }); + }, + startDrag(event) { + if (this.data.disabled) { + return; + } + this.startOffset = this.offset; + this.touchStart(event); + }, + noop() {}, + onDrag(event) { + if (this.data.disabled) { + return; + } + this.touchMove(event); + if (this.direction !== 'horizontal') { + return; + } + this.dragging = true; + ARRAY.filter( + (item) => item !== this && item.offset !== 0 + ).forEach((item) => item.close()); + this.setData({ catchMove: true }); + this.swipeMove(this.startOffset + this.deltaX); + }, + endDrag() { + if (this.data.disabled) { + return; + } + this.dragging = false; + this.swipeLeaveTransition(); + }, + onClick(event) { + const { key: position = 'outside' } = event.currentTarget.dataset; + this.$emit('click', position); + if (!this.offset) { + return; + } + if (this.data.asyncClose) { + this.$emit('close', { + position, + instance: this, + name: this.data.name, + }); + } else { + this.swipeMove(0); + } + }, + }, +}); diff --git a/components/swipe-cell/index.json b/components/swipe-cell/index.json new file mode 100644 index 0000000..467ce29 --- /dev/null +++ b/components/swipe-cell/index.json @@ -0,0 +1,3 @@ +{ + "component": true +} diff --git a/components/swipe-cell/index.wxml b/components/swipe-cell/index.wxml new file mode 100644 index 0000000..46ae3ff --- /dev/null +++ b/components/swipe-cell/index.wxml @@ -0,0 +1,13 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/components/swipe-cell/index.wxss b/components/swipe-cell/index.wxss new file mode 100644 index 0000000..d615270 --- /dev/null +++ b/components/swipe-cell/index.wxss @@ -0,0 +1 @@ +@import '../common/index.wxss';.van-swipe-cell{position:relative;overflow:hidden}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)} \ No newline at end of file diff --git a/pages/home/customer-info/index.js b/pages/home/customer-info/index.js index 3d2403a..1075ac5 100644 --- a/pages/home/customer-info/index.js +++ b/pages/home/customer-info/index.js @@ -19,6 +19,15 @@ Scene({ { id: 2, name: '银行卡转账' }, { id: 1, name: '现金支付' } ], + columns: [], + typeList: [ + { id: 1, text: '普通现结' }, + { id: 2, text: '押金+现结' }, + { id: 3, text: '押金+预付款' }, + { id: 4, text: '押金+月结' }, + { id: 5, text: '预付款' }, + { id: 6, text: '月结' } + ], visible: false, bankList: null }, @@ -33,6 +42,10 @@ Scene({ if(!util.isEmpty(options.userId)){ result.data.userId = options.userId } + if(util.isEmpty(result.data.customerSettleType) || Number(result.data.customerSettleType) < 1){ + result.data.customerSettleType = 1 + } + result.data.customerSettleName = this.data.typeList[result.data.customerSettleType - 1].text this.setData({ form: result.data }) }).catch(err => { wx.hideLoading() @@ -40,11 +53,10 @@ Scene({ }) } getBankList().then(result => { - var bankList = [] + this.data.bankList = [] for (let index = 0; index < result.data.length; index++) { - bankList.push(result.data[index].bank) + this.data.bankList.push(result.data[index].bank) } - this.setData({ bankList }) }) if(options.cardNo){ this.data.form.factoryId = app.userInfo.factoryId @@ -56,7 +68,9 @@ Scene({ }, chooseMethod: function(e){ if(e.currentTarget.id == 'bankName'){ - this.setData({ visible: true }) + this.setData({ visible: true, columns: this.data.bankList }) + } else if(e.currentTarget.id == 'settleType'){ + this.setData({ visible: true, columns: this.data.typeList }) } else { this.setData({ show: true }) } @@ -74,7 +88,13 @@ Scene({ this.setData({ visible: false }) }, onConfirm: function({detail}) { - this.setData({ visible: false, ['form.bankName']: detail.value }) + console.log(typeof detail.value) + if(typeof detail.value === 'string'){ + this.setData({ visible: false, ['form.bankName']: detail.value }) + } else { + this.data.form.customerSettleType = detail.value.id + this.setData({ visible: false, ['form.customerSettleName']: detail.value.text }) + } }, submitForm: function(){ if (util.isEmpty(this.data.form.name)) { diff --git a/pages/home/customer-info/index.wxml b/pages/home/customer-info/index.wxml index 29dd7ea..7c454db 100644 --- a/pages/home/customer-info/index.wxml +++ b/pages/home/customer-info/index.wxml @@ -7,12 +7,15 @@ + + @@ -31,6 +34,6 @@ - + \ No newline at end of file diff --git a/pages/home/index/index.wxml b/pages/home/index/index.wxml index 3314291..f6fa8cc 100644 --- a/pages/home/index/index.wxml +++ b/pages/home/index/index.wxml @@ -47,6 +47,9 @@ + + + diff --git a/pages/login/index.js b/pages/login/index.js index 4f795a0..665142c 100644 --- a/pages/login/index.js +++ b/pages/login/index.js @@ -54,7 +54,7 @@ Page({ let custom = wx.getMenuButtonBoundingClientRect() app.globalData.Custom = custom - // 顶部操作栏高度 + // 顶部操作栏高度 app.globalData.CustomBar = custom.bottom + custom.top - e.statusBarHeight + (app.globalData.isIos ? 4 : 0) let windowHeight = e.windowHeight * (750 / e.windowWidth) diff --git a/pages/message/card-list/index.js b/pages/message/card-list/index.js index 554c602..eb3d07d 100644 --- a/pages/message/card-list/index.js +++ b/pages/message/card-list/index.js @@ -84,5 +84,9 @@ Scene({ return } wx.navigateTo({ url: `/pages/home/customer-info/index?cardNo=${this.data.nowItem.cardNo}` }) + }, + onDelete: function (e) { + var item = this.data.orderList[e.currentTarget.dataset.page][e.currentTarget.dataset.index] + console.log(item.cardNo) } }) \ No newline at end of file diff --git a/pages/message/card-list/index.json b/pages/message/card-list/index.json index 7b492db..deb007e 100644 --- a/pages/message/card-list/index.json +++ b/pages/message/card-list/index.json @@ -4,6 +4,7 @@ "van-divider": "/components/divider/index", "van-loading": "/components/loading/index", "van-cell": "/components/cell/index", + "van-swipe-cell": "/components/swipe-cell/index", "van-action-sheet": "/components/action-sheet/index", "notification": "/pages/message/notification/index" } diff --git a/pages/message/card-list/index.wxml b/pages/message/card-list/index.wxml index 5e30074..a2cf8b2 100644 --- a/pages/message/card-list/index.wxml +++ b/pages/message/card-list/index.wxml @@ -12,7 +12,10 @@ {{loading? '正在加载' : '暂无消息'}} - + + + 删除 + diff --git a/pages/message/card-list/index.wxss b/pages/message/card-list/index.wxss index c3de589..035dd90 100644 --- a/pages/message/card-list/index.wxss +++ b/pages/message/card-list/index.wxss @@ -1 +1,10 @@ -/* pages/storage/index/index.wxss */ \ No newline at end of file +/* pages/storage/index/index.wxss */ +.van-swipe-cell__right { + display: inline-block; + width: 65px; + font-size: 15px; + line-height: 65px; + color: #fff; + text-align: center; + background-color: #ee0a24; +} \ No newline at end of file diff --git a/pages/process/index/index.wxml b/pages/process/index/index.wxml index f3b8c22..dfef3de 100644 --- a/pages/process/index/index.wxml +++ b/pages/process/index/index.wxml @@ -98,7 +98,7 @@ 待付款金额 - {{totalInfo.usedCreditLine || 0}} + {{totalInfo.usedCreditLine || 0}} diff --git a/pages/storage/index/index.wxml b/pages/storage/index/index.wxml index b2fb75e..b8152af 100644 --- a/pages/storage/index/index.wxml +++ b/pages/storage/index/index.wxml @@ -2,6 +2,49 @@ + + + + 出货统计 + + {{vdateString}} + + + + + + + 收货重量 + + {{formate.formateWeight(totalInfo.totalWeight || 0)}}吨 + + + + + 收货金额 + + {{formate.formateAmount(totalInfo.totalMoney || 0)}} + + + + + + + 收货重量 + + {{formate.formateWeight(totalInfo.totalWeight || 0)}}吨 + + + + + 收货金额 + + {{formate.formateAmount(totalInfo.totalMoney || 0)}} + + + + + diff --git a/project.config.json b/project.config.json index 94e5470..2813bf6 100644 --- a/project.config.json +++ b/project.config.json @@ -4,7 +4,7 @@ "ignore": [] }, "setting": { - "urlCheck": true, + "urlCheck": false, "es6": true, "enhance": true, "postcss": true, diff --git a/xtends/statics/agent-report/index.js b/xtends/statics/agent-report/index.js new file mode 100644 index 0000000..23c16aa --- /dev/null +++ b/xtends/statics/agent-report/index.js @@ -0,0 +1,15 @@ +import Scene from '../../../pages/index/scene' + +Scene({ + /** + * 页面的初始数据 + */ + data: { + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + } +}) \ No newline at end of file diff --git a/xtends/statics/agent-report/index.json b/xtends/statics/agent-report/index.json new file mode 100644 index 0000000..19bbcd2 --- /dev/null +++ b/xtends/statics/agent-report/index.json @@ -0,0 +1,5 @@ +{ + "usingComponents": { + "notification": "/pages/message/notification/index" + } +} \ No newline at end of file diff --git a/xtends/statics/agent-report/index.wxml b/xtends/statics/agent-report/index.wxml new file mode 100644 index 0000000..2ef6d81 --- /dev/null +++ b/xtends/statics/agent-report/index.wxml @@ -0,0 +1,8 @@ + + + 代卖报表 + + + + + diff --git a/xtends/statics/agent-report/index.wxss b/xtends/statics/agent-report/index.wxss new file mode 100644 index 0000000..08d1929 --- /dev/null +++ b/xtends/statics/agent-report/index.wxss @@ -0,0 +1,11 @@ +/* xtends//statics/index/index.wxss */ +.qiun-charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} +.charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} \ No newline at end of file diff --git a/xtends/statics/gross-report/index.js b/xtends/statics/gross-report/index.js new file mode 100644 index 0000000..23c16aa --- /dev/null +++ b/xtends/statics/gross-report/index.js @@ -0,0 +1,15 @@ +import Scene from '../../../pages/index/scene' + +Scene({ + /** + * 页面的初始数据 + */ + data: { + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + } +}) \ No newline at end of file diff --git a/xtends/statics/gross-report/index.json b/xtends/statics/gross-report/index.json new file mode 100644 index 0000000..19bbcd2 --- /dev/null +++ b/xtends/statics/gross-report/index.json @@ -0,0 +1,5 @@ +{ + "usingComponents": { + "notification": "/pages/message/notification/index" + } +} \ No newline at end of file diff --git a/xtends/statics/gross-report/index.wxml b/xtends/statics/gross-report/index.wxml new file mode 100644 index 0000000..bdae9d0 --- /dev/null +++ b/xtends/statics/gross-report/index.wxml @@ -0,0 +1,8 @@ + + + 毛利报表 + + + + + diff --git a/xtends/statics/gross-report/index.wxss b/xtends/statics/gross-report/index.wxss new file mode 100644 index 0000000..08d1929 --- /dev/null +++ b/xtends/statics/gross-report/index.wxss @@ -0,0 +1,11 @@ +/* xtends//statics/index/index.wxss */ +.qiun-charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} +.charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} \ No newline at end of file diff --git a/xtends/statics/index/index.js b/xtends/statics/index/index.js index d65f5ef..5356932 100644 --- a/xtends/statics/index/index.js +++ b/xtends/statics/index/index.js @@ -1,18 +1,111 @@ // xtends//statics/index/index.js import Scene from '../../../pages/index/scene' +import uCharts from '../../libs/u-charts'; +const math = require('../../../utils/math') +const app = getApp() + +var that; +var canvaColumn = null; +var windowWidth = 0; Scene({ /** * 页面的初始数据 */ data: { - + cWidth: '', + cHeight: '', }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { - + that = this + windowWidth = wx.getSystemInfoSync().windowWidth + this.data.cWidth = windowWidth - this.rpx2px(100) + // math.divide + this.data.cHeight = this.rpx2px(400) + this.getServerData() + }, + rpx2px: function(rpx) { + return rpx / 750 * windowWidth; + }, + getServerData: function() { + wx.request({ + url: 'https://www.ucharts.cn/data.json', + success: function (res) { + let Column = { categories: [], series: [] }; + Column.categories = res.data.data.Pie.categories; + Column.series = res.data.data.Pie.series; + // 自定义标签颜色和字体大小 + // Column.series[1].textColor = 'red'; + // Column.series[1].textSize = 18; + that.showColumn("canvasColumn", Column); + }, + fail: () => { + console.log("请点击右上角【详情】,启用不校验合法域名"); + }, + }) + }, + showColumn(canvasId, chartData) { + let ctx = wx.createCanvasContext(canvasId, this); + canvaColumn = new uCharts({ + type: 'ring', + context: ctx, + // fontSize: 11, + background: '#FFFFFF', + pixelRatio: 1, + // animation: true, + // categories: chartData.categories, + series: chartData.series, + color: [ + "#1890FF", + "#91CB74", + "#FAC858", + "#EE6666", + "#73C0DE", + "#3CA272", + "#FC8452", + "#9A60B4", + "#ea7ccc" + ], + dataLabel: true, + width: that.data.cWidth, + height: that.data.cHeight, + legend: { + show: true, + position: "right", + float: "center", + padding: 5, + margin: 5, + fontSize: 13, + fontColor: "#666666", + lineHeight: 25, + hiddenColor: "#CECECE", + itemGap: 10 + }, + extra: { + ring: { + ringWidth: 30, + centerColor: "#FFFFFF", + activeOpacity: 0.5, + activeRadius: 10, + offsetAngle: 0, + customRadius: 0, + labelWidth: 15, + border: true, + borderWidth: 3, + borderColor: "#FFFFFF", + linearType: "none" + } + } + }); }, - + touchColumn(e) { + canvaColumn.showToolTip(e, { + formatter: function (item) { + return item.name + ':' + item.data + } + }); + } }) \ No newline at end of file diff --git a/xtends/statics/index/index.json b/xtends/statics/index/index.json index 8835af0..6929d06 100644 --- a/xtends/statics/index/index.json +++ b/xtends/statics/index/index.json @@ -1,3 +1,8 @@ { - "usingComponents": {} + "usingComponents": { + "van-grid": "/components/grid/index", + "van-grid-item": "/components/grid-item/index", + "van-icon": "/components/icon/index", + "notification": "/pages/message/notification/index" + } } \ No newline at end of file diff --git a/xtends/statics/index/index.wxml b/xtends/statics/index/index.wxml index da310ca..92b4192 100644 --- a/xtends/statics/index/index.wxml +++ b/xtends/statics/index/index.wxml @@ -1,4 +1,86 @@ + - 收货统计 + 报表智能 + + + + + + + + + + + + + + + + + + + + + + + + 收货统计 + + + + + + + 收货总重量 + 收货总金额 + + + + + + + + 出货统计 + + {{vdateString}} + + + + + + + 收货重量 + + {{formate.formateWeight(totalInfo.totalWeight || 0)}}吨 + + + + + 收货金额 + + {{formate.formateAmount(totalInfo.totalMoney || 0)}} + + + + + + + 收货重量 + + {{formate.formateWeight(totalInfo.totalWeight || 0)}}吨 + + + + + 收货金额 + + {{formate.formateAmount(totalInfo.totalMoney || 0)}} + + + + + + + diff --git a/xtends/statics/index/index.wxss b/xtends/statics/index/index.wxss index 2b0c389..6230d44 100644 --- a/xtends/statics/index/index.wxss +++ b/xtends/statics/index/index.wxss @@ -1 +1,11 @@ -/* xtends//statics/index/index.wxss */ \ No newline at end of file +/* xtends//statics/index/index.wxss */ +.qiun-charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} +.charts { + width: 100%; + height: 400rpx; + background-color: #FFFFFF; +} \ No newline at end of file diff --git a/xtends/statics/purchase-report/index.js b/xtends/statics/purchase-report/index.js new file mode 100644 index 0000000..23c16aa --- /dev/null +++ b/xtends/statics/purchase-report/index.js @@ -0,0 +1,15 @@ +import Scene from '../../../pages/index/scene' + +Scene({ + /** + * 页面的初始数据 + */ + data: { + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + } +}) \ No newline at end of file diff --git a/xtends/statics/purchase-report/index.json b/xtends/statics/purchase-report/index.json new file mode 100644 index 0000000..19bbcd2 --- /dev/null +++ b/xtends/statics/purchase-report/index.json @@ -0,0 +1,5 @@ +{ + "usingComponents": { + "notification": "/pages/message/notification/index" + } +} \ No newline at end of file diff --git a/xtends/statics/purchase-report/index.wxml b/xtends/statics/purchase-report/index.wxml new file mode 100644 index 0000000..16082fe --- /dev/null +++ b/xtends/statics/purchase-report/index.wxml @@ -0,0 +1,8 @@ + + + 采购报表 + + + + + diff --git a/xtends/statics/purchase-report/index.wxss b/xtends/statics/purchase-report/index.wxss new file mode 100644 index 0000000..08d1929 --- /dev/null +++ b/xtends/statics/purchase-report/index.wxss @@ -0,0 +1,11 @@ +/* xtends//statics/index/index.wxss */ +.qiun-charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} +.charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} \ No newline at end of file diff --git a/xtends/statics/sale-report/index.js b/xtends/statics/sale-report/index.js new file mode 100644 index 0000000..23c16aa --- /dev/null +++ b/xtends/statics/sale-report/index.js @@ -0,0 +1,15 @@ +import Scene from '../../../pages/index/scene' + +Scene({ + /** + * 页面的初始数据 + */ + data: { + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + } +}) \ No newline at end of file diff --git a/xtends/statics/sale-report/index.json b/xtends/statics/sale-report/index.json new file mode 100644 index 0000000..19bbcd2 --- /dev/null +++ b/xtends/statics/sale-report/index.json @@ -0,0 +1,5 @@ +{ + "usingComponents": { + "notification": "/pages/message/notification/index" + } +} \ No newline at end of file diff --git a/xtends/statics/sale-report/index.wxml b/xtends/statics/sale-report/index.wxml new file mode 100644 index 0000000..4494687 --- /dev/null +++ b/xtends/statics/sale-report/index.wxml @@ -0,0 +1,8 @@ + + + 销售报表 + + + + + diff --git a/xtends/statics/sale-report/index.wxss b/xtends/statics/sale-report/index.wxss new file mode 100644 index 0000000..08d1929 --- /dev/null +++ b/xtends/statics/sale-report/index.wxss @@ -0,0 +1,11 @@ +/* xtends//statics/index/index.wxss */ +.qiun-charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} +.charts { + width: 750rpx; + height: 500rpx; + background-color: #FFFFFF; +} \ No newline at end of file