样式适配
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<div v-for="historyTypeItem in historyData.updateTimeType" :key="historyTypeItem">
|
||||
<div class="timeType" v-if="historyTypeItem == 'Todaylist' && item.Todaylist.length>0">Today</div>
|
||||
<div class="timeType" v-if="historyTypeItem == 'Yesterdaylist' && item.Yesterdaylist.length>0">Yesterday</div>
|
||||
<div class="timeType" v-if="historyTypeItem == 'WithinAWeeklist' && item.WithinAWeeklist.length>0">Within a wseek</div>
|
||||
<div class="timeType" v-if="historyTypeItem == 'WithinAWeeklist' && item.WithinAWeeklist.length>0">Within a week</div>
|
||||
<div class="timeType" v-if="historyTypeItem == 'EarlierTodaylist' && item.EarlierTodaylist.length>0">Earlier</div>
|
||||
<div v-for="childItem,index in item[historyTypeItem]" class="detailItem history" @click="setHistory(item,childItem)" :class="{active:openTypeChild == childItem.id}">
|
||||
<div class="text" style="width: 100%;">
|
||||
@@ -844,13 +844,13 @@ export default defineComponent({
|
||||
};
|
||||
await Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
||||
// WriteCookie("token");
|
||||
clonAllCookie()
|
||||
});
|
||||
this.$router.replace("/");
|
||||
this.store.commit('createDetail')
|
||||
this.store.commit('createProbject')
|
||||
|
||||
// WriteCookie("token");
|
||||
clonAllCookie()
|
||||
// window.location.reload()
|
||||
|
||||
},
|
||||
@@ -983,6 +983,11 @@ export default defineComponent({
|
||||
border-radius: 2rem;
|
||||
&.history{
|
||||
flex: 1;
|
||||
> .detailBox{
|
||||
>.detail{
|
||||
min-height: 10rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
> .titleBox{
|
||||
padding: 1.2rem;
|
||||
@@ -1027,7 +1032,6 @@ export default defineComponent({
|
||||
> .detail{
|
||||
position: relative;
|
||||
height: 100%;
|
||||
min-height: 10rem;
|
||||
> img{
|
||||
width: 100%;
|
||||
}
|
||||
@@ -1421,7 +1425,7 @@ export default defineComponent({
|
||||
height: 6rem;
|
||||
width: 6rem;
|
||||
position: relative;
|
||||
transform-origin: top;
|
||||
// transform-origin: top;
|
||||
overflow: hidden;
|
||||
z-index: 2;
|
||||
left: 0;
|
||||
@@ -1429,9 +1433,10 @@ export default defineComponent({
|
||||
cursor: pointer;
|
||||
background: #fff;
|
||||
img{
|
||||
background: #000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-fit: cover;
|
||||
}
|
||||
// transition: all .3s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user