添加统计页面
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>
|
||||||
|
@ -20,7 +19,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
returnbom() {
|
returnbom() {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url:'/pages/index/index'
|
url: '/pages/index/index'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
returnbom() {
|
returnbom() {
|
||||||
|
console.log(1);
|
||||||
uni.sendHostEvent('closeApp', (ret) => {
|
uni.sendHostEvent('closeApp', (ret) => {
|
||||||
//发送消息成功回调
|
//发送消息成功回调
|
||||||
console.log('关闭应用' + JSON.stringify(ret));
|
console.log('关闭应用' + JSON.stringify(ret));
|
||||||
|
|
21
pages.json
21
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,12 +287,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/activeCode/subsidy",
|
"path": "pages/activeCode/subsidy",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": "补贴进度",
|
||||||
"navigationBarTitleText" : "补贴进度",
|
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"enablePullDownRefresh" : false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -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",
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
</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"
|
||||||
|
@ -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