diff --git a/src/pages.json b/src/pages.json index b7eec50..116db35 100644 --- a/src/pages.json +++ b/src/pages.json @@ -229,10 +229,73 @@ { "path": "pages/index/index", "style" : { - "navigationBarTitleText": "欧轩智能商家助手" + "navigationBarTitleText": "欧轩智能商家助手", + "navigationStyle":"custom" } }, { + "path": "pages/index/router_manage", + "style" : { + "navigationBarTitleText": "路由管理" + } + }, + { + "path": "pages/index/lot_manage", + "style" : { + "navigationBarTitleText": "物联卡管理" + } + }, + { + "path": "pages/timing/timing_list", + "style" : { + "navigationBarTitleText": "定时列表" + } + }, + { + "path": "pages/timing/timing_setting", + "style" : { + "navigationBarTitleText": "定时设置" + } + }, + { + "path": "pages/monitor_manage/monitor_manage", + "style" : { + "navigationBarTitleText": "监控管理" + } + }, + { + "path": "pages/monitor_manage/monitor_acount_list", + "style" : { + "navigationBarTitleText": "监控管理" + } + }, + { + "path": "pages/monitor_manage/monitor_acount_add", + "style" : { + "navigationBarTitleText": "监控管理" + } + }, + + { + "path": "pages/index/sunblind_manage", + "style" : { + "navigationBarTitleText": "窗帘管理" + } + }, + { + "path": "pages/index/airC_manage", + "style" : { + "navigationBarTitleText": "空调管理" + } + }, + { + "path": "pages/index/lease_ball_box_manage", + "style" : { + "navigationBarTitleText": "租球机管理" + } + }, + + { "path": "pages/switch_manage/switch_manage", "style" : { "navigationBarTitleText": "管理" @@ -255,6 +318,12 @@ "style" : { "navigationBarTitleText": "咖啡机管理" } + }, + { + "path": "pages/audio_manage/audio_manage", + "style" : { + "navigationBarTitleText": "音响管理" + } }, { "path": "pages/coffee_test/coffee_test", diff --git a/src/pages/write_off/search_result/search_result.vue b/src/pages/write_off/search_result/search_result.vue index b3391c6..627e57a 100644 --- a/src/pages/write_off/search_result/search_result.vue +++ b/src/pages/write_off/search_result/search_result.vue @@ -62,17 +62,19 @@ export default { writeOffList: [], // 核销列表, curDate: util.formatDate({}), page: 1, + totalNum: 0, } }, - onReachBottom(){ - let { page, curDate, curStadium } = this; - this.getList({ - brand_id: curStadium.brand_id || '', - stadium_id: curStadium.id || '', - date: curDate || '', - page: ++page, - }); - }, + // 20210716测试:取消分页,返回当天 + // onReachBottom(){ + // let { page, curDate, curStadium } = this; + // this.getList({ + // brand_id: curStadium.brand_id || '', + // stadium_id: curStadium.id || '', + // date: curDate || '', + // page: ++page, + // }); + // }, onLoad(){ this.initPage(); }, @@ -121,7 +123,7 @@ export default { }) util.routeTo(`/pages/write_off/operate/operate`, 'nT'); }, - getList({ brand_id, stadium_id = '', date = '', page = 1, page_size = 15 }){ + getList({ brand_id, stadium_id = '', date = '', page = 1, page_size = '' }){ util.showLoad(); servers.get({ url: API.writeOff.listVerifyRecord, @@ -130,6 +132,7 @@ export default { }) .then(res=>{ util.hideLoad(); + this.totalNum = res.total || 0; let _list = res.list || []; if(page == 1)return this.writeOffList = _list; if(!_list.length)return util.showNone('没有更多!'); diff --git a/src/subpackage/device/components/store_name/store_name.vue b/src/subpackage/device/components/store_name/store_name.vue index df1897e..4dfc364 100644 --- a/src/subpackage/device/components/store_name/store_name.vue +++ b/src/subpackage/device/components/store_name/store_name.vue @@ -1,9 +1,9 @@ @@ -15,8 +15,21 @@ export default { ...mapState({ storeList: state => state.device.storeList, curStoreInfo: state => state.device.curStoreInfo, - }) + }), + getThemeIcon(){ + return ()=> {return (this.theme=='light')?'../../static/images/arrow_b2_light.png':'../../static/images/arrow_b2.png';} + }, + getThemeColor(){ + return ()=> {return (this.theme=='light')?'#FFFFFF':'#1a1a1a';} + }, + getThemeBg(){ + return ()=> {return (this.theme=='light')?'none':'none';} // + }, }, + props: ["theme"],//定义主题字段,定制组件展示效果 "light":亮色 + created() { + console.log("store_name theme: ", this.theme); + }, methods: { storeChange(e){ let { storeList, curStoreInfo } = this; @@ -31,14 +44,16 @@ export default { diff --git a/src/subpackage/device/pages/index/airC_manage.vue b/src/subpackage/device/pages/index/airC_manage.vue new file mode 100644 index 0000000..48d48ea --- /dev/null +++ b/src/subpackage/device/pages/index/airC_manage.vue @@ -0,0 +1,8 @@ + + + + + diff --git a/src/subpackage/device/pages/index/index.vue b/src/subpackage/device/pages/index/index.vue index c9aedc2..940bc1c 100644 --- a/src/subpackage/device/pages/index/index.vue +++ b/src/subpackage/device/pages/index/index.vue @@ -1,6 +1,23 @@