通知公告

This commit is contained in:
wanglei
2021-11-22 10:39:04 +08:00
parent 8abe75d28c
commit 5aa59dd401

View File

@@ -1,7 +1,7 @@
<template> <template>
<div class="notification"> <div class="notification">
<AiTopFixed> <AiTopFixed>
<u-tabs :list="tabs" :is-scroll="false" height="96" bar-width="192" :current="index" @change="change"></u-tabs> <u-tabs :list="tabs" :is-scroll="false" height="96" bar-width="192" @click="change"></u-tabs>
</AiTopFixed> </AiTopFixed>
<div class="body" v-if="dataList.length"> <div class="body" v-if="dataList.length">
<div class="card" v-for="(item,idx) in dataList" :key="idx" @click="handeClick(item)"> <div class="card" v-for="(item,idx) in dataList" :key="idx" @click="handeClick(item)">
@@ -40,7 +40,7 @@
<AiEmpty v-else/> <AiEmpty v-else/>
<u-loadmore :status="status" v-if="dataList.length"/> <u-loadmore :status="status" v-if="dataList.length"/>
<AiAdd @add="add"/> <AiAdd @add="add"/>
<u-popup v-model="show" mode="bottom"> <u-popup :show="show" mode="bottom">
<div class="popup-wrap"> <div class="popup-wrap">
<u-row justify="between"> <u-row justify="between">
<div class="colum" v-for="(item,index) in optList" :key="index" @click="handleOpt(item)"> <div class="colum" v-for="(item,index) in optList" :key="index" @click="handleOpt(item)">
@@ -189,7 +189,7 @@
}) })
}, },
change(val) { change(val) {
this.index = val; this.index = val.index;
this.current = 1; this.current = 1;
this.getList() this.getList()
}, },