25394
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="meeting">
|
<div class="meeting">
|
||||||
<template v-if="isList">
|
|
||||||
<ai-top-fixed>
|
<ai-top-fixed>
|
||||||
<u-grid :col="3" :border="false">
|
<u-grid :col="3" :border="false">
|
||||||
<u-grid-item v-for="(item,index) in grid" :key="index" :custom-style="{padding:'14px 0'}"
|
<u-grid-item v-for="(item,index) in grid" :key="index" :custom-style="{padding:'14px 0'}"
|
||||||
@@ -48,8 +47,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<u-divider bg-color="#F5F5F5" v-if="meetingList.length">已经到底啦</u-divider>
|
<u-divider bg-color="#F5F5F5" v-if="meetingList.length">已经到底啦</u-divider>
|
||||||
<ai-add @add="add"/>
|
<ai-add @add="add"/>
|
||||||
</template>
|
|
||||||
<component v-else :is="comp" :params="params"></component>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -130,18 +127,19 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleClick(index) {
|
handleClick(index){
|
||||||
this.params = index;
|
let url
|
||||||
this.isList = false;
|
if(index==0 || index==2){
|
||||||
if (index == 0 || index == 2) {
|
url="/pages/meetingNotice/components/meetingList?index=" + index
|
||||||
this.comp = "meetingList";
|
}else if(index==1){
|
||||||
} else if (index == 1) {
|
url="/pages/meetingNotice/components/belongToMe"
|
||||||
this.comp = "belongToMe";
|
|
||||||
}
|
}
|
||||||
|
uni.navigateTo({url})
|
||||||
},
|
},
|
||||||
add() {
|
add() {
|
||||||
this.isList = false;
|
uni.navigateTo({
|
||||||
this.comp = "addMeeting";
|
url: "/pages/meetingNotice/components/addMeeting"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -198,6 +196,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
& > header {
|
& > header {
|
||||||
|
width: 95%;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
|||||||
Reference in New Issue
Block a user