清理组件残余

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>
<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]

View File

@@ -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,

View File

@@ -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";
export default {
name: "detail",
components: {AiOpenData,AiBack, AiTopFixed},
props: {
params: {
type: [String, Number]