清理组件残余

This commit is contained in:
aixianling
2021-12-13 11:57:34 +08:00
parent 5ed7bb299e
commit 63b2d8b1c9
3 changed files with 416 additions and 421 deletions

View File

@@ -88,13 +88,10 @@
</template> </template>
<script> <script>
import AiBack from "../../components/AiBack";
import AiUploader from "../../components/AiUploader";
import {mapActions} from "vuex"; import {mapActions} from "vuex";
export default { export default {
name: "addMeeting", name: "addMeeting",
components: {AiBack, AiUploader},
props: { props: {
params: { params: {
type: [Number, String] type: [Number, String]
@@ -169,7 +166,7 @@ export default {
}).then(res => { }).then(res => {
this.change(res?.userList || []) this.change(res?.userList || [])
this.clickedUserSelect = false this.clickedUserSelect = false
}).catch(()=>{ }).catch(() => {
this.clickedUserSelect = false this.clickedUserSelect = false
}) })
}, },

View File

@@ -10,12 +10,16 @@
<u-row justify="between"> <u-row justify="between">
<div class="time"> <div class="time">
<span>{{ item.startTime|formatTime }}</span> <span>{{ item.startTime|formatTime }}</span>
<span>{{ item.startTime|formatDate(0) }}{{ item.startTime|formatDate(1) }}{{ item.startTime|formatDate(2) }} {{ item.startTime|formatWeek }}</span> <span>{{ item.startTime|formatDate(0) }}{{
item.startTime|formatDate(1)
}}{{ item.startTime|formatDate(2) }} {{ item.startTime|formatWeek }}</span>
</div> </div>
<div class="arrow"></div> <div class="arrow"></div>
<div class="time"> <div class="time">
<span>{{ item.endTime|formatTime }}</span> <span>{{ item.endTime|formatTime }}</span>
<span>{{ item.endTime|formatDate(0) }}{{ item.endTime|formatDate(1) }}{{ item.endTime|formatDate(2) }} {{ item.endTime|formatWeek }}</span> <span>{{ item.endTime|formatDate(0) }}{{ item.endTime|formatDate(1) }}{{ item.endTime|formatDate(2) }} {{
item.endTime|formatWeek
}}</span>
</div> </div>
</u-row> </u-row>
<u-row class="info"> <u-row class="info">
@@ -39,15 +43,10 @@
</template> </template>
<script> <script>
import AiTopFixed from "../../components/AiTopFixed";
import AiBack from "../../components/AiBack";
import AiEmpty from "../../components/AiEmpty";
import AiOpenData from "../../components/AiOpenData";
import {mapActions} from "vuex"; import {mapActions} from "vuex";
export default { export default {
name: "belongToMe", name: "belongToMe",
components: {AiOpenData, AiTopFixed, AiBack, AiEmpty},
data() { data() {
return { return {
index: 0, index: 0,

View File

@@ -5,7 +5,7 @@
<header>{{ detail.title }}</header> <header>{{ detail.title }}</header>
<u-gap height="16"></u-gap> <u-gap height="16"></u-gap>
<u-row v-if="detail.createUserId"> <u-row v-if="detail.createUserId">
<!-- <u-avatar :src="$cdn + 'common/xzh.png'" v-if="false"></u-avatar>--> <!-- <u-avatar :src="$cdn + 'common/xzh.png'" v-if="false"></u-avatar>-->
<div class="u-avatar__img"> <div class="u-avatar__img">
<AiOpenData type="userName" :openid="detail.createUserId"></AiOpenData> <AiOpenData type="userName" :openid="detail.createUserId"></AiOpenData>
</div> </div>
@@ -21,7 +21,9 @@
<u-gap height="8"></u-gap> <u-gap height="8"></u-gap>
<u-row> <u-row>
<img :src="$cdn + 'common/date.png'" alt=""> <img :src="$cdn + 'common/date.png'" alt="">
<span>{{ detail.startTime && detail.startTime.substr(0, 16) }} {{ detail.endTime && detail.endTime.substr(0, 16) }}</span> <span>{{
detail.startTime && detail.startTime.substr(0, 16)
}} {{ detail.endTime && detail.endTime.substr(0, 16) }}</span>
</u-row> </u-row>
<u-gap height="8"></u-gap> <u-gap height="8"></u-gap>
<u-row style="align-items: start;flex-wrap: nowrap;"> <u-row style="align-items: start;flex-wrap: nowrap;">
@@ -84,7 +86,8 @@
<div v-for="(item,index) in detail.attendees && detail.attendees.filter(e=>e.joinStatus==current)" :key="index" <div v-for="(item,index) in detail.attendees && detail.attendees.filter(e=>e.joinStatus==current)" :key="index"
class="att-wrap"> class="att-wrap">
<div class="left"> <div class="left">
<u-avatar :src="item.avatar || (($cdn + 'common/xztx.png'))" size="74" mode="square" style="margin-right: 8px"></u-avatar> <u-avatar :src="item.avatar || (($cdn + 'common/xztx.png'))" size="74" mode="square"
style="margin-right: 8px"></u-avatar>
<AiOpenData type="userName" :openid="item.name"></AiOpenData> <AiOpenData type="userName" :openid="item.name"></AiOpenData>
</div> </div>
<!-- <img :src="$cdn + 'common/phone.png'" alt="" @click="call(item)">--> <!-- <img :src="$cdn + 'common/phone.png'" alt="" @click="call(item)">-->
@@ -97,14 +100,10 @@
</template> </template>
<script> <script>
import AiBack from "../../components/AiBack"; import {mapActions, mapState} from "vuex";
import {mapActions, mapState} from "vuex";
import AiTopFixed from "../../components/AiTopFixed";
import AiOpenData from "../../components/AiOpenData";
export default { export default {
name: "detail", name: "detail",
components: {AiOpenData,AiBack, AiTopFixed},
props: { props: {
params: { params: {
type: [String, Number] type: [String, Number]
@@ -253,11 +252,11 @@
} }
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.detail { .detail {
min-height: 100%; min-height: 100%;
background-color: #F5F5F5; background-color: #F5F5F5;
padding-bottom: 140px; padding-bottom: 140px;
@@ -353,7 +352,7 @@
font-size: 16px; font-size: 16px;
} }
.user-name{ .user-name {
font-size: 30px; font-size: 30px;
color: #343D65; color: #343D65;
} }
@@ -513,7 +512,7 @@
& > div { & > div {
font-size: 28px; font-size: 28px;
color: #666666; color: #666666;
display:flex; display: flex;
flex-direction: column; flex-direction: column;
& > img { & > img {
@@ -560,5 +559,5 @@
font-size: 36px; font-size: 36px;
background-color: #005DFF background-color: #005DFF
} }
} }
</style> </style>