代码暂存

This commit is contained in:
java110 2020-02-28 18:33:09 +08:00
parent 3f13d8b32c
commit e3759d8ca8
3 changed files with 49 additions and 6 deletions

View File

@ -73,6 +73,12 @@
"navigationBarTitleText": "通知页面详情"
}
}
,{
"path" : "pages/complaintList/complaintList",
"style" : {
"navigationBarTitleText": "投诉单"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",

View File

@ -0,0 +1,37 @@
<template>
<view>
<scroll-view scroll-x class="bg-white nav" scroll-with-animation :scroll-left="scrollLeft">
<view class="flex text-center">
<view class="cu-item flex-sub" :class="state=='10001'?'text-green cur':''" @tap="_tabSelect('10001')">
待处理单
</view>
<view class="cu-item flex-sub" :class="state=='10002'?'text-green cur':''" @tap="_tabSelect('10002')">
历史单
</view>
</view>
</scroll-view>
</view>
</template>
<script>
export default {
data() {
return {
state:'10001'
}
},
methods: {
_tabSelect:function(_state){
this.state = _state;
}
}
}
</script>
<style>
</style>

View File

@ -65,26 +65,26 @@
cuIcon: 'cardboardfill',
color: 'red',
badge: 0,
name: '维修单',
name: '维修单',
pathUrl:'/notice/notice'
}, {
cuIcon: 'recordfill',
color: 'orange',
badge: 1,
name: '审核维修',
name: '我的维修',
pathUrl:'/notice/notice'
}, {
cuIcon: 'picfill',
color: 'yellow',
badge: 0,
name: '投诉单',
pathUrl:'/notice/notice'
name: '投诉单',
pathUrl:'/complaintList/complaintList'
}, {
cuIcon: 'noticefill',
color: 'olive',
badge: 22,
name: '审核投诉',
pathUrl:'/notice/notice'
name: '我的投诉',
pathUrl:'/complaintList/complaintList'
}, {
cuIcon: 'upstagefill',
color: 'cyan',