添加统计页面
This commit is contained in:
parent
6bd808e693
commit
555571fb6b
|
@ -7,7 +7,6 @@
|
||||||
<view class="" @click="returnbom">返回首页</view>
|
<view class="" @click="returnbom">返回首页</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -19,9 +18,9 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
returnbom() {
|
returnbom() {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url:'/pages/index/index'
|
url: '/pages/index/index'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
returnbom() {
|
returnbom() {
|
||||||
uni.sendHostEvent('closeApp', (ret) => {
|
console.log(1);
|
||||||
|
uni.sendHostEvent('closeApp', (ret) => {
|
||||||
//发送消息成功回调
|
//发送消息成功回调
|
||||||
console.log('关闭应用' + JSON.stringify(ret));
|
console.log('关闭应用' + JSON.stringify(ret));
|
||||||
});
|
});
|
||||||
|
@ -77,7 +78,7 @@
|
||||||
margin-left: -15rpx;
|
margin-left: -15rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 25rpx;
|
right: 25rpx;
|
||||||
top: 25rpx;
|
top: 25rpx;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
25
pages.json
25
pages.json
|
@ -85,6 +85,12 @@
|
||||||
"navigationBarTitleText": "采购车"
|
"navigationBarTitleText": "采购车"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/nongKe/statistics/index",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "统计"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/nongKe/supply_chain/shopping_trolley_a",
|
"path": "pages/nongKe/supply_chain/shopping_trolley_a",
|
||||||
"style": {
|
"style": {
|
||||||
|
@ -281,13 +287,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/activeCode/subsidy",
|
"path": "pages/activeCode/subsidy",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": "补贴进度",
|
||||||
"navigationBarTitleText" : "补贴进度",
|
"navigationStyle": "custom",
|
||||||
"navigationStyle": "custom",
|
"enablePullDownRefresh": false
|
||||||
"enablePullDownRefresh" : false
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": [{
|
"subPackages": [{
|
||||||
|
@ -1653,6 +1658,12 @@
|
||||||
"selectedIconPath": "static/tabbar_icon/b-a.png",
|
"selectedIconPath": "static/tabbar_icon/b-a.png",
|
||||||
"text": "消息"
|
"text": "消息"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"pagePath": "pages/nongKe/statistics/index",
|
||||||
|
"iconPath": "static/tabbar_icon/s.png",
|
||||||
|
"selectedIconPath": "static/tabbar_icon/s-a.png",
|
||||||
|
"text": "统计"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/nongKe/supply_chain/shopping_trolley",
|
"pagePath": "pages/nongKe/supply_chain/shopping_trolley",
|
||||||
"iconPath": "static/tabbar_icon/d.png",
|
"iconPath": "static/tabbar_icon/d.png",
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
<view class="orderno">
|
<view class="orderno">
|
||||||
<view class="orderno-one">
|
<view class="orderno-one">
|
||||||
<image src="@/static/images/tj1.png" mode='aspectFit'>
|
<image src="@/static/images/tj1.png" mode='aspectFit'>
|
||||||
</view>
|
</view>
|
||||||
<view class="orderno-two">
|
<view class="orderno-two">
|
||||||
<view class="orderno-two-title">{{ title }}增长率:</view>
|
<view class="orderno-two-title">{{ title }}增长率:</view>
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
<view class="orderno">
|
<view class="orderno">
|
||||||
<view class="orderno-one">
|
<view class="orderno-one">
|
||||||
<image src="@/static/images/tj1.png" mode='aspectFit'>
|
<image src="@/static/images/tj1.png" mode='aspectFit'>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="orderno-two">
|
<view class="orderno-two">
|
||||||
<view class="orderno-two-title">{{ title }}增长:</view>
|
<view class="orderno-two-title">{{ title }}增长:</view>
|
||||||
|
@ -92,9 +92,9 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<conBotm/>
|
<conBotm v-if="isShow" />
|
||||||
|
|
||||||
<uni-calendar ref="calendar" :date="info.date" :insert="info.insert" :lunar="info.lunar"
|
<uni-calendar ref="calendar" :date="info.date" :insert="info.insert" :lunar="info.lunar"
|
||||||
:startDate="info.startDate" :endDate="info.endDate" :range="info.range" @confirm="confirm"
|
:startDate="info.startDate" :endDate="info.endDate" :range="info.range" @confirm="confirm"
|
||||||
:showMonth="info.showMonth" @close="close" />
|
:showMonth="info.showMonth" @close="close" />
|
||||||
|
@ -116,7 +116,7 @@
|
||||||
import uCharts from '@/components/ucharts/ucharts'
|
import uCharts from '@/components/ucharts/ucharts'
|
||||||
import uniCalendar from '@/components/uni-calendar/uni-calendar.vue'
|
import uniCalendar from '@/components/uni-calendar/uni-calendar.vue'
|
||||||
import conBotm from '@/components/content-bootom/index.vue'
|
import conBotm from '@/components/content-bootom/index.vue'
|
||||||
|
|
||||||
var canvaLineA = null;
|
var canvaLineA = null;
|
||||||
// import Calendar from 'mpvue-calendar'
|
// import Calendar from 'mpvue-calendar'
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
|
@ -153,6 +153,10 @@
|
||||||
timetype: {
|
timetype: {
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
|
isShow: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
data: function() {
|
data: function() {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue