清理组件残余
This commit is contained in:
@@ -88,13 +88,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiBack from "../../components/AiBack";
|
||||
import AiUploader from "../../components/AiUploader";
|
||||
import {mapActions} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "addMeeting",
|
||||
components: {AiBack, AiUploader},
|
||||
props: {
|
||||
params: {
|
||||
type: [Number, String]
|
||||
@@ -169,7 +166,7 @@ export default {
|
||||
}).then(res => {
|
||||
this.change(res?.userList || [])
|
||||
this.clickedUserSelect = false
|
||||
}).catch(()=>{
|
||||
}).catch(() => {
|
||||
this.clickedUserSelect = false
|
||||
})
|
||||
},
|
||||
|
||||
@@ -10,12 +10,16 @@
|
||||
<u-row justify="between">
|
||||
<div class="time">
|
||||
<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 class="arrow"></div>
|
||||
<div class="time">
|
||||
<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>
|
||||
</u-row>
|
||||
<u-row class="info">
|
||||
@@ -39,15 +43,10 @@
|
||||
</template>
|
||||
|
||||
<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";
|
||||
|
||||
export default {
|
||||
name: "belongToMe",
|
||||
components: {AiOpenData, AiTopFixed, AiBack, AiEmpty},
|
||||
data() {
|
||||
return {
|
||||
index: 0,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<header>{{ detail.title }}</header>
|
||||
<u-gap height="16"></u-gap>
|
||||
<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">
|
||||
<AiOpenData type="userName" :openid="detail.createUserId"></AiOpenData>
|
||||
</div>
|
||||
@@ -21,7 +21,9 @@
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<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-gap height="8"></u-gap>
|
||||
<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"
|
||||
class="att-wrap">
|
||||
<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>
|
||||
</div>
|
||||
<!-- <img :src="$cdn + 'common/phone.png'" alt="" @click="call(item)">-->
|
||||
@@ -97,14 +100,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiBack from "../../components/AiBack";
|
||||
import {mapActions, mapState} from "vuex";
|
||||
import AiTopFixed from "../../components/AiTopFixed";
|
||||
import AiOpenData from "../../components/AiOpenData";
|
||||
import {mapActions, mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
export default {
|
||||
name: "detail",
|
||||
components: {AiOpenData,AiBack, AiTopFixed},
|
||||
props: {
|
||||
params: {
|
||||
type: [String, Number]
|
||||
@@ -253,11 +252,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.detail {
|
||||
.detail {
|
||||
min-height: 100%;
|
||||
background-color: #F5F5F5;
|
||||
padding-bottom: 140px;
|
||||
@@ -353,7 +352,7 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.user-name{
|
||||
.user-name {
|
||||
font-size: 30px;
|
||||
color: #343D65;
|
||||
}
|
||||
@@ -513,7 +512,7 @@
|
||||
& > div {
|
||||
font-size: 28px;
|
||||
color: #666666;
|
||||
display:flex;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
& > img {
|
||||
@@ -560,5 +559,5 @@
|
||||
font-size: 36px;
|
||||
background-color: #005DFF
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user