mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Poprawka ikony SUP; mniejsze poprawki
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<rect width="60" height="60" fill="#898989"/>
|
<rect width="60" height="60" fill="#898989"/>
|
||||||
<rect x="11" y="9" width="38" height="41.5349" fill="url(#pattern0)"/>
|
<rect x="10.5" y="10.5" width="39" height="20" rx="10" fill="white" stroke="black"/>
|
||||||
<defs>
|
<circle cx="21.5" cy="20.5" r="7" fill="#2F0000" stroke="black"/>
|
||||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
<circle cx="38.5" cy="20.5" r="7" fill="#FF0000" stroke="black"/>
|
||||||
<use xlink:href="#image0_769_25" transform="translate(-0.165343 -0.238194) scale(0.028928 0.026466)"/>
|
<rect x="20" y="45" width="20" height="5" fill="black"/>
|
||||||
</pattern>
|
<rect x="27.5" y="31" width="5" height="14" fill="black"/>
|
||||||
<image id="image0_769_25" width="48" height="50" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kTtIw1AUhv+mSkWqDnYQEcxQnSyIijiWKhbBQmkrtOpgctMXNGlIUlwcBdeCg4/FqoOLs64OroIg+ABxdHJSdJESz00KLWI8cLgf/z3/4dxzAaFRYarZNQmommWk4jExm1sVA6/woZ9yFGGJmXoivZiBZ3zdUyXFXYT38q77M/qUvMkAn0gcZbphEW8Qz25aOud94hArSQrxOfGEQQMSP3JddvmNc9FhgfcMGZnUPHGIWCx2sNzBrGSoxDPEYUXVqL+QdVnhvMVZrdRYa07+wmBeW0lznXIEcSwhgSREyKihjAosROjUSDGRovuYh3/Y8SfJJZOrDEaOBVShQnL84H/we7dmYXrK7RSMAd0vtv0xBgR2gWbdtr+Pbbt5AvifgSut7a82gLlP0uttLXwEDGwDF9dtTd4DLneAoSddMiRH8lMKhQLwfkbflAMGb4HeNXdvrXucPgAZ2tXyDXBwCIwXqfe6x7t7Ovf2b01rfz9eY3Kfgv+LYgAAAAZiS0dEAPQA8ACNYjrBrwAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+YBDgEgOG0y+rcAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAABLUlEQVRo3u2XzRGCMBCFV1MB1JArTCiFArALquBOAaEAesFraoAKMvGgjooK2QkoOu+b4ZK8JfuykB8iAAAAAADAJssyR0RBz+UdQew4YiGEs9ZSFEXUti3FcRw0eN/3lOc5DcNAQgiy1u7WNODKsqSiKFapaNM0VFUVe1J9xa7ruoeGQ5o+ifRIMyZ5EXMcxaRnjbeJvU/ydV3PJj/V/i75V+2XsdySFXiY/akk31Ui8Yi5rwSnCpMVkFI6rTUr+bEu8Yy512mtSUrpgg0YY0gp9fElWilFxpjF/oFNAwPf5r9XIZ/kfPqPMzFz/X+9E7POQl3ATPnATZ4tvm7xSxtJb5VZ9TT6ZOTDi8mygUyDa42DjQwGYAAGYAAGYGDzF5pNn4XwCcEAAAD8NCctJn46kJegSAAAAABJRU5ErkJggg=="/>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 482 B |
@@ -170,8 +170,6 @@ export const store = createStore<State>({
|
|||||||
const statusTimestamp = prevDispatcherStatus && !data.dispatchers ? prevDispatcherStatus.statusTimestamp : getStatusTimestamp(stationStatus);
|
const statusTimestamp = prevDispatcherStatus && !data.dispatchers ? prevDispatcherStatus.statusTimestamp : getStatusTimestamp(stationStatus);
|
||||||
const statusID = prevDispatcherStatus && !data.dispatchers ? prevDispatcherStatus.statusID : getStatusID(stationStatus);
|
const statusID = prevDispatcherStatus && !data.dispatchers ? prevDispatcherStatus.statusID : getStatusID(stationStatus);
|
||||||
|
|
||||||
console.log(stationName, prevDispatcherStatus);
|
|
||||||
|
|
||||||
prevDispatcherStatuses.push({
|
prevDispatcherStatuses.push({
|
||||||
hash: stationAPI.stationHash,
|
hash: stationAPI.stationHash,
|
||||||
statusID,
|
statusID,
|
||||||
|
|||||||
+14
-14
@@ -225,24 +225,24 @@ export default defineComponent({
|
|||||||
|
|
||||||
const scrollElement: Ref<HTMLElement | null> = ref(null);
|
const scrollElement: Ref<HTMLElement | null> = ref(null);
|
||||||
|
|
||||||
const handleScroll = (e: Event) => {
|
// const handleScroll = (e: Event) => {
|
||||||
if (!scrollElement.value) return;
|
// if (!scrollElement.value) return;
|
||||||
|
|
||||||
const element = scrollElement.value;
|
// const element = scrollElement.value;
|
||||||
|
|
||||||
if (element.getBoundingClientRect().bottom * 0.9 < window.innerHeight) {
|
// if (element.getBoundingClientRect().bottom * 0.9 < window.innerHeight) {
|
||||||
// console.log('gituwa');
|
// // console.log('gituwa');
|
||||||
// historyDataStatus.value.status = DataStatus.Loading
|
// // historyDataStatus.value.status = DataStatus.Loading
|
||||||
}
|
// }
|
||||||
};
|
// };
|
||||||
|
|
||||||
onMounted(() => {
|
// onMounted(() => {
|
||||||
window.addEventListener('scroll', handleScroll);
|
// window.addEventListener('scroll', handleScroll);
|
||||||
});
|
// });
|
||||||
|
|
||||||
onUnmounted(() => {
|
// onUnmounted(() => {
|
||||||
window.removeEventListener('scroll', handleScroll);
|
// window.removeEventListener('scroll', handleScroll);
|
||||||
});
|
// });
|
||||||
|
|
||||||
return {
|
return {
|
||||||
historyList: ref([]) as Ref<TimetableHistory[]>,
|
historyList: ref([]) as Ref<TimetableHistory[]>,
|
||||||
|
|||||||
Reference in New Issue
Block a user