2020-01-29 19:37:25 +00:00
|
|
|
<template>
|
2023-01-18 22:54:59 +00:00
|
|
|
<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in">
|
|
|
|
<MkLoading v-if="fetching" />
|
|
|
|
|
|
|
|
<MkError v-else-if="error" @retry="init()" />
|
|
|
|
|
|
|
|
<div v-else-if="empty" key="_empty_" class="empty">
|
|
|
|
<slot name="empty">
|
|
|
|
<div class="_fullinfo">
|
|
|
|
<img src="/static-assets/badges/info.png" class="_ghost" alt="Error" />
|
|
|
|
<div>{{ i18n.ts.nothing }}</div>
|
|
|
|
</div>
|
|
|
|
</slot>
|
|
|
|
</div>
|
2021-04-22 13:29:33 +00:00
|
|
|
|
2023-01-18 22:54:59 +00:00
|
|
|
<div v-else ref="rootEl">
|
|
|
|
<div v-show="pagination.reversed && more" key="_more_" class="cxiknjgy _gap">
|
|
|
|
<MkButton v-if="!moreFetching" class="button" :disabled="moreFetching"
|
|
|
|
:style="{ cursor: moreFetching ? 'wait' : 'pointer' }" primary @click="fetchMoreAhead">
|
|
|
|
{{ i18n.ts.loadMore }}
|
|
|
|
</MkButton>
|
|
|
|
<MkLoading v-else class="loading" />
|
|
|
|
</div>
|
|
|
|
<slot :items="items"></slot>
|
|
|
|
<div v-show="!pagination.reversed && more" key="_more_" class="cxiknjgy _gap">
|
|
|
|
<MkButton v-if="!moreFetching"
|
|
|
|
v-appear="($store.state.enableInfiniteScroll && !disableAutoLoad) ? fetchMore : null" class="button"
|
|
|
|
:disabled="moreFetching" :style="{ cursor: moreFetching ? 'wait' : 'pointer' }" primary @click="fetchMore">
|
|
|
|
{{ i18n.ts.loadMore }}
|
|
|
|
</MkButton>
|
|
|
|
<MkLoading v-else class="loading" />
|
2021-12-23 07:10:13 +00:00
|
|
|
</div>
|
2021-04-22 13:29:33 +00:00
|
|
|
</div>
|
2023-01-18 22:54:59 +00:00
|
|
|
</transition>
|
2020-01-29 19:37:25 +00:00
|
|
|
</template>
|
|
|
|
|
2022-01-09 12:35:35 +00:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { computed, ComputedRef, isRef, markRaw, onActivated, onDeactivated, Ref, ref, watch } from 'vue';
|
2023-01-15 01:24:56 +00:00
|
|
|
import * as calckey from 'calckey-js';
|
2022-01-09 12:35:35 +00:00
|
|
|
import * as os from '@/os';
|
|
|
|
import { onScrollTop, isTopVisible, getScrollPosition, getScrollContainer } from '@/scripts/scroll';
|
2022-09-06 09:21:49 +00:00
|
|
|
import MkButton from '@/components/MkButton.vue';
|
2022-07-20 13:24:26 +00:00
|
|
|
import { i18n } from '@/i18n';
|
2023-01-12 20:42:36 +00:00
|
|
|
import { ItemHolder } from 'photoswipe';
|
2022-01-09 12:35:35 +00:00
|
|
|
|
2023-01-15 01:24:56 +00:00
|
|
|
export type Paging<E extends keyof calckey.Endpoints = keyof calckey.Endpoints> = {
|
2022-01-09 12:35:35 +00:00
|
|
|
endpoint: E;
|
|
|
|
limit: number;
|
2023-01-15 01:24:56 +00:00
|
|
|
params?: calckey.Endpoints[E]['req'] | ComputedRef<calckey.Endpoints[E]['req']>;
|
2022-01-09 12:35:35 +00:00
|
|
|
|
|
|
|
/**
|
2023-01-12 20:17:06 +00:00
|
|
|
* When using non-pageable endpoints, such as the search API
|
|
|
|
* (though it is somewhat inconsistent to use such an API with this function)
|
2022-01-09 12:35:35 +00:00
|
|
|
*/
|
|
|
|
noPaging?: boolean;
|
|
|
|
|
|
|
|
/**
|
2023-01-12 20:17:06 +00:00
|
|
|
* array items in reverse order (newest first)
|
2022-01-09 12:35:35 +00:00
|
|
|
*/
|
|
|
|
reversed?: boolean;
|
2022-01-09 16:00:50 +00:00
|
|
|
|
|
|
|
offsetMode?: boolean;
|
2022-01-09 12:35:35 +00:00
|
|
|
};
|
|
|
|
|
2022-08-23 03:16:56 +00:00
|
|
|
const SECOND_FETCH_LIMIT = 30;
|
|
|
|
|
2022-01-09 12:35:35 +00:00
|
|
|
const props = withDefaults(defineProps<{
|
|
|
|
pagination: Paging;
|
|
|
|
disableAutoLoad?: boolean;
|
|
|
|
displayLimit?: number;
|
2023-01-12 20:57:17 +00:00
|
|
|
externalItemArray?: Ref<Array<any>>;
|
2022-01-09 12:35:35 +00:00
|
|
|
}>(), {
|
|
|
|
displayLimit: 30,
|
|
|
|
});
|
|
|
|
|
2022-01-09 13:57:27 +00:00
|
|
|
const emit = defineEmits<{
|
2022-05-26 13:53:09 +00:00
|
|
|
(ev: 'queue', count: number): void;
|
2022-01-09 13:57:27 +00:00
|
|
|
}>();
|
|
|
|
|
2023-01-18 22:54:59 +00:00
|
|
|
type Item = { id: string;[another: string]: unknown; };
|
2022-01-09 16:00:50 +00:00
|
|
|
|
2022-01-09 12:35:35 +00:00
|
|
|
const rootEl = ref<HTMLElement>();
|
2022-01-09 16:00:50 +00:00
|
|
|
const items = ref<Item[]>([]);
|
|
|
|
const queue = ref<Item[]>([]);
|
2022-01-09 12:35:35 +00:00
|
|
|
const offset = ref(0);
|
|
|
|
const fetching = ref(true);
|
|
|
|
const moreFetching = ref(false);
|
|
|
|
const more = ref(false);
|
|
|
|
const backed = ref(false); // 遡り中か否か
|
|
|
|
const isBackTop = ref(false);
|
2022-01-21 07:43:56 +00:00
|
|
|
const empty = computed(() => items.value.length === 0);
|
|
|
|
const error = ref(false);
|
2022-01-09 12:35:35 +00:00
|
|
|
|
2022-01-09 16:00:50 +00:00
|
|
|
const init = async (): Promise<void> => {
|
2022-01-09 12:35:35 +00:00
|
|
|
queue.value = [];
|
|
|
|
fetching.value = true;
|
|
|
|
const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params.value : props.pagination.params : {};
|
|
|
|
await os.api(props.pagination.endpoint, {
|
2023-01-15 15:49:23 +00:00
|
|
|
...(params as object),
|
2022-01-09 12:35:35 +00:00
|
|
|
limit: props.pagination.noPaging ? (props.pagination.limit || 10) : (props.pagination.limit || 10) + 1,
|
|
|
|
}).then(res => {
|
|
|
|
for (let i = 0; i < res.length; i++) {
|
|
|
|
const item = res[i];
|
|
|
|
if (props.pagination.reversed) {
|
|
|
|
if (i === res.length - 2) item._shouldInsertAd_ = true;
|
|
|
|
} else {
|
|
|
|
if (i === 3) item._shouldInsertAd_ = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!props.pagination.noPaging && (res.length > (props.pagination.limit || 10))) {
|
|
|
|
res.pop();
|
2023-01-12 21:04:56 +00:00
|
|
|
items.value = props.pagination.reversed ? [...res].reverse() : res;
|
2022-01-09 12:35:35 +00:00
|
|
|
more.value = true;
|
|
|
|
} else {
|
2023-01-12 21:04:56 +00:00
|
|
|
items.value = props.pagination.reversed ? [...res].reverse() : res;
|
2022-01-09 12:35:35 +00:00
|
|
|
more.value = false;
|
|
|
|
}
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) {
|
2023-01-12 21:04:56 +00:00
|
|
|
props.externalItemArray.value = items.value;
|
2023-01-12 20:42:36 +00:00
|
|
|
}
|
2022-01-09 12:35:35 +00:00
|
|
|
offset.value = res.length;
|
2022-01-21 07:43:56 +00:00
|
|
|
error.value = false;
|
2022-01-09 12:35:35 +00:00
|
|
|
fetching.value = false;
|
2022-05-26 13:53:09 +00:00
|
|
|
}, err => {
|
2022-01-21 07:43:56 +00:00
|
|
|
error.value = true;
|
2022-01-09 12:35:35 +00:00
|
|
|
fetching.value = false;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
2022-01-09 16:00:50 +00:00
|
|
|
const reload = (): void => {
|
2022-01-09 12:35:35 +00:00
|
|
|
items.value = [];
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) {
|
2023-01-12 21:04:56 +00:00
|
|
|
props.externalItemArray.value = [];
|
2023-01-12 20:42:36 +00:00
|
|
|
}
|
2022-01-09 12:35:35 +00:00
|
|
|
init();
|
|
|
|
};
|
|
|
|
|
2023-01-15 15:49:23 +00:00
|
|
|
const refresh = async (): Promise<void> => {
|
2022-12-29 10:00:30 +00:00
|
|
|
const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params.value : props.pagination.params : {};
|
|
|
|
await os.api(props.pagination.endpoint, {
|
2023-01-15 15:49:23 +00:00
|
|
|
...(params as object),
|
2022-12-29 10:00:30 +00:00
|
|
|
limit: items.value.length + 1,
|
|
|
|
offset: 0,
|
|
|
|
}).then(res => {
|
|
|
|
let ids = items.value.reduce((a, b) => {
|
|
|
|
a[b.id] = true;
|
|
|
|
return a;
|
|
|
|
}, {} as { [id: string]: boolean; });
|
|
|
|
|
|
|
|
for (let i = 0; i < res.length; i++) {
|
|
|
|
const item = res[i];
|
|
|
|
if (!updateItem(item.id, old => item)) {
|
|
|
|
append(item);
|
|
|
|
}
|
|
|
|
delete ids[item.id];
|
|
|
|
}
|
|
|
|
|
|
|
|
for (const id in ids) {
|
|
|
|
removeItem(i => i.id === id);
|
|
|
|
}
|
|
|
|
}, err => {
|
|
|
|
error.value = true;
|
|
|
|
fetching.value = false;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
2022-01-09 16:00:50 +00:00
|
|
|
const fetchMore = async (): Promise<void> => {
|
2022-01-09 12:35:35 +00:00
|
|
|
if (!more.value || fetching.value || moreFetching.value || items.value.length === 0) return;
|
|
|
|
moreFetching.value = true;
|
|
|
|
backed.value = true;
|
|
|
|
const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params.value : props.pagination.params : {};
|
|
|
|
await os.api(props.pagination.endpoint, {
|
2023-01-15 15:49:23 +00:00
|
|
|
...(params as object),
|
2022-01-09 12:35:35 +00:00
|
|
|
limit: SECOND_FETCH_LIMIT + 1,
|
|
|
|
...(props.pagination.offsetMode ? {
|
|
|
|
offset: offset.value,
|
2022-07-05 08:42:54 +00:00
|
|
|
} : props.pagination.reversed ? {
|
|
|
|
sinceId: items.value[0].id,
|
2022-01-09 12:35:35 +00:00
|
|
|
} : {
|
2022-07-05 08:42:54 +00:00
|
|
|
untilId: items.value[items.value.length - 1].id,
|
2022-01-09 12:35:35 +00:00
|
|
|
}),
|
|
|
|
}).then(res => {
|
|
|
|
for (let i = 0; i < res.length; i++) {
|
|
|
|
const item = res[i];
|
|
|
|
if (props.pagination.reversed) {
|
|
|
|
if (i === res.length - 9) item._shouldInsertAd_ = true;
|
|
|
|
} else {
|
|
|
|
if (i === 10) item._shouldInsertAd_ = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (res.length > SECOND_FETCH_LIMIT) {
|
|
|
|
res.pop();
|
2023-01-12 21:04:56 +00:00
|
|
|
items.value = props.pagination.reversed ? [...res].reverse().concat(items.value) : items.value.concat(res);
|
2022-01-09 12:35:35 +00:00
|
|
|
more.value = true;
|
|
|
|
} else {
|
2023-01-12 21:04:56 +00:00
|
|
|
items.value = props.pagination.reversed ? [...res].reverse().concat(items.value) : items.value.concat(res);
|
2022-01-09 12:35:35 +00:00
|
|
|
more.value = false;
|
|
|
|
}
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) {
|
2023-01-12 21:04:56 +00:00
|
|
|
props.externalItemArray.value = items.value;
|
2023-01-12 20:42:36 +00:00
|
|
|
}
|
2022-01-09 12:35:35 +00:00
|
|
|
offset.value += res.length;
|
|
|
|
moreFetching.value = false;
|
2022-05-26 13:53:09 +00:00
|
|
|
}, err => {
|
2022-01-09 12:35:35 +00:00
|
|
|
moreFetching.value = false;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
2022-01-09 16:00:50 +00:00
|
|
|
const fetchMoreAhead = async (): Promise<void> => {
|
2022-01-09 12:35:35 +00:00
|
|
|
if (!more.value || fetching.value || moreFetching.value || items.value.length === 0) return;
|
|
|
|
moreFetching.value = true;
|
|
|
|
const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params.value : props.pagination.params : {};
|
|
|
|
await os.api(props.pagination.endpoint, {
|
2023-01-15 15:49:23 +00:00
|
|
|
...(params as object),
|
2022-01-09 12:35:35 +00:00
|
|
|
limit: SECOND_FETCH_LIMIT + 1,
|
|
|
|
...(props.pagination.offsetMode ? {
|
|
|
|
offset: offset.value,
|
2022-07-05 08:42:54 +00:00
|
|
|
} : props.pagination.reversed ? {
|
|
|
|
untilId: items.value[0].id,
|
2022-01-09 12:35:35 +00:00
|
|
|
} : {
|
2022-07-05 08:42:54 +00:00
|
|
|
sinceId: items.value[items.value.length - 1].id,
|
2022-01-09 12:35:35 +00:00
|
|
|
}),
|
|
|
|
}).then(res => {
|
|
|
|
if (res.length > SECOND_FETCH_LIMIT) {
|
|
|
|
res.pop();
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) {
|
|
|
|
props.externalItemArray.value = items.value;
|
|
|
|
}
|
2023-01-12 21:04:56 +00:00
|
|
|
items.value = props.pagination.reversed ? [...res].reverse().concat(items.value) : items.value.concat(res);
|
2022-01-09 12:35:35 +00:00
|
|
|
more.value = true;
|
|
|
|
} else {
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) {
|
|
|
|
props.externalItemArray.value = items.value;
|
|
|
|
}
|
2023-01-12 21:04:56 +00:00
|
|
|
items.value = props.pagination.reversed ? [...res].reverse().concat(items.value) : items.value.concat(res);
|
2022-01-09 12:35:35 +00:00
|
|
|
more.value = false;
|
|
|
|
}
|
|
|
|
offset.value += res.length;
|
|
|
|
moreFetching.value = false;
|
2022-05-26 13:53:09 +00:00
|
|
|
}, err => {
|
2022-01-09 12:35:35 +00:00
|
|
|
moreFetching.value = false;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
2022-01-09 16:00:50 +00:00
|
|
|
const prepend = (item: Item): void => {
|
2022-01-09 12:35:35 +00:00
|
|
|
if (props.pagination.reversed) {
|
2022-01-21 07:43:56 +00:00
|
|
|
if (rootEl.value) {
|
|
|
|
const container = getScrollContainer(rootEl.value);
|
2022-07-11 20:45:00 +00:00
|
|
|
if (container == null) {
|
|
|
|
// TODO?
|
|
|
|
} else {
|
|
|
|
const pos = getScrollPosition(rootEl.value);
|
|
|
|
const viewHeight = container.clientHeight;
|
|
|
|
const height = container.scrollHeight;
|
|
|
|
const isBottom = (pos + viewHeight > height - 32);
|
|
|
|
if (isBottom) {
|
|
|
|
// オーバーフローしたら古いアイテムは捨てる
|
|
|
|
if (items.value.length >= props.displayLimit) {
|
|
|
|
// このやり方だとVue 3.2以降アニメーションが動かなくなる
|
|
|
|
//items.value = items.value.slice(-props.displayLimit);
|
|
|
|
while (items.value.length >= props.displayLimit) {
|
|
|
|
items.value.shift();
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) props.externalItemArray.value.shift();
|
2022-07-11 20:45:00 +00:00
|
|
|
}
|
|
|
|
more.value = true;
|
2022-01-21 07:43:56 +00:00
|
|
|
}
|
2022-01-09 12:35:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
items.value.push(item);
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) props.externalItemArray.value.push(item);
|
2022-01-09 12:35:35 +00:00
|
|
|
// TODO
|
|
|
|
} else {
|
2022-01-21 07:43:56 +00:00
|
|
|
// 初回表示時はunshiftだけでOK
|
|
|
|
if (!rootEl.value) {
|
|
|
|
items.value.unshift(item);
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) props.externalItemArray.value.unshift(item);
|
2022-01-21 07:43:56 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2022-01-09 12:35:35 +00:00
|
|
|
const isTop = isBackTop.value || (document.body.contains(rootEl.value) && isTopVisible(rootEl.value));
|
|
|
|
|
|
|
|
if (isTop) {
|
|
|
|
// Prepend the item
|
|
|
|
items.value.unshift(item);
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) props.externalItemArray.value.unshift(item);
|
2022-01-09 12:35:35 +00:00
|
|
|
} else {
|
|
|
|
queue.value.push(item);
|
|
|
|
onScrollTop(rootEl.value, () => {
|
2022-08-23 03:16:56 +00:00
|
|
|
for (const queueItem of queue.value) {
|
|
|
|
prepend(queueItem);
|
2022-01-09 12:35:35 +00:00
|
|
|
}
|
|
|
|
queue.value = [];
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-01-09 16:00:50 +00:00
|
|
|
const append = (item: Item): void => {
|
2022-01-09 12:35:35 +00:00
|
|
|
items.value.push(item);
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) props.externalItemArray.value.push(item);
|
2022-01-09 12:35:35 +00:00
|
|
|
};
|
|
|
|
|
2022-12-29 10:00:30 +00:00
|
|
|
const removeItem = (finder: (item: Item) => boolean): boolean => {
|
2022-05-15 13:20:01 +00:00
|
|
|
const i = items.value.findIndex(finder);
|
2023-01-18 22:48:05 +00:00
|
|
|
const j = props.externalItemArray?.findIndex(finder);
|
|
|
|
if (i === -1 && j === -1) {
|
2022-12-29 10:00:30 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2022-05-15 13:20:01 +00:00
|
|
|
items.value.splice(i, 1);
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) props.externalItemArray.value.splice(i, 1);
|
2022-12-29 10:00:30 +00:00
|
|
|
return true;
|
2022-05-15 13:20:01 +00:00
|
|
|
};
|
|
|
|
|
2022-12-29 10:00:30 +00:00
|
|
|
const updateItem = (id: Item['id'], replacer: (old: Item) => Item): boolean => {
|
2022-01-09 15:45:20 +00:00
|
|
|
const i = items.value.findIndex(item => item.id === id);
|
2023-01-18 22:48:05 +00:00
|
|
|
const j = props.externalItemArray?.findIndex(item => item.id === id);
|
|
|
|
if (i === -1 && j === -1) {
|
2022-12-29 10:00:30 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2022-01-09 15:45:20 +00:00
|
|
|
items.value[i] = replacer(items.value[i]);
|
2023-01-18 22:54:59 +00:00
|
|
|
if (props.externalItemArray) props.externalItemArray.value[i] = items.value[i];
|
2022-12-29 10:00:30 +00:00
|
|
|
return true;
|
2022-01-09 15:45:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
if (props.pagination.params && isRef(props.pagination.params)) {
|
|
|
|
watch(props.pagination.params, init, { deep: true });
|
|
|
|
}
|
|
|
|
|
2022-01-09 12:35:35 +00:00
|
|
|
watch(queue, (a, b) => {
|
|
|
|
if (a.length === 0 && b.length === 0) return;
|
2022-01-09 13:57:27 +00:00
|
|
|
emit('queue', queue.value.length);
|
2022-01-09 12:35:35 +00:00
|
|
|
}, { deep: true });
|
|
|
|
|
|
|
|
init();
|
|
|
|
|
|
|
|
onActivated(() => {
|
|
|
|
isBackTop.value = false;
|
|
|
|
});
|
|
|
|
|
|
|
|
onDeactivated(() => {
|
|
|
|
isBackTop.value = window.scrollY === 0;
|
|
|
|
});
|
|
|
|
|
|
|
|
defineExpose({
|
2022-01-10 11:17:38 +00:00
|
|
|
items,
|
2022-04-30 12:52:07 +00:00
|
|
|
queue,
|
2022-01-21 07:43:56 +00:00
|
|
|
backed,
|
2022-01-09 12:35:35 +00:00
|
|
|
reload,
|
2022-12-29 10:00:30 +00:00
|
|
|
refresh,
|
2022-01-09 12:35:35 +00:00
|
|
|
prepend,
|
|
|
|
append,
|
2022-05-15 13:20:01 +00:00
|
|
|
removeItem,
|
2022-01-09 15:45:20 +00:00
|
|
|
updateItem,
|
2020-01-29 19:37:25 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2021-04-22 13:29:33 +00:00
|
|
|
.fade-enter-active,
|
|
|
|
.fade-leave-active {
|
2023-01-15 01:24:56 +00:00
|
|
|
transition: opacity 0.15s ease;
|
2021-04-22 13:29:33 +00:00
|
|
|
}
|
2023-01-18 22:54:59 +00:00
|
|
|
|
2021-04-22 13:29:33 +00:00
|
|
|
.fade-enter-from,
|
|
|
|
.fade-leave-to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
.cxiknjgy {
|
2023-01-18 22:54:59 +00:00
|
|
|
>.button {
|
2020-02-11 17:52:37 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
</style>
|