adata-ui 0.3.91 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -7
- package/dist/module.d.mts +8 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +16 -0
- package/dist/runtime/plugin.d.ts +2 -0
- package/dist/runtime/plugin.js +4 -0
- package/dist/runtime/server/tsconfig.json +3 -0
- package/dist/types.d.mts +3 -0
- package/package.json +55 -76
- package/babel.config.js +0 -5
- package/dist/adata-ui.common.js +0 -10489
- package/dist/adata-ui.common.js.map +0 -1
- package/dist/adata-ui.css +0 -1
- package/dist/adata-ui.umd.js +0 -10499
- package/dist/adata-ui.umd.js.map +0 -1
- package/dist/adata-ui.umd.min.js +0 -7
- package/dist/adata-ui.umd.min.js.map +0 -1
- package/dist/demo.html +0 -10
- package/dist/img/facebook.797d820f.svg +0 -4
- package/dist/img/instagram.8a77381c.svg +0 -6
- package/dist/img/logo-desktop-main.4d169395.svg +0 -8
- package/dist/img/logo-mobile-main.397bce24.svg +0 -4
- package/dist/img/logo-white-desktop.7d0e3481.svg +0 -8
- package/dist/img/telegram.be0d1008.svg +0 -4
- package/dist/img/tiktok.eaeb39cb.svg +0 -4
- package/dist/img/up-down.e2b28f72.svg +0 -3
- package/dist/img/youtube.125aace6.svg +0 -5
- package/package-lock.json +0 -27138
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/public/logo.svg +0 -4
- package/src/App.vue +0 -28
- package/src/assets/_text_field.scss +0 -225
- package/src/assets/facebook.svg +0 -4
- package/src/assets/instagram.svg +0 -6
- package/src/assets/logo-desktop-main.svg +0 -8
- package/src/assets/logo-desktop.svg +0 -9
- package/src/assets/logo-desktop.webp +0 -0
- package/src/assets/logo-mobile-main.svg +0 -4
- package/src/assets/logo-mobile.svg +0 -9
- package/src/assets/logo-mobile.webp +0 -0
- package/src/assets/logo-white-desktop.svg +0 -8
- package/src/assets/style.scss +0 -1
- package/src/assets/telegram.svg +0 -4
- package/src/assets/tiktok.svg +0 -4
- package/src/assets/up-down.svg +0 -3
- package/src/assets/youtube.svg +0 -5
- package/src/components/Alert/Alert.stories.js +0 -17
- package/src/components/Alert/Alert.vue +0 -63
- package/src/components/BottomNavigationBar/ABottomNavigationBar.vue +0 -160
- package/src/components/BottomNavigationBar/BottomNavigationBar.stories.js +0 -25
- package/src/components/Button/AButton.vue +0 -231
- package/src/components/Button/Button.stories.js +0 -23
- package/src/components/Checkbox/ACheckbox.vue +0 -114
- package/src/components/Checkbox/Checkbox.stories.js +0 -15
- package/src/components/CheckboxMenu/CheckboxMenu.stories.js +0 -24
- package/src/components/CheckboxMenu/CheckboxMenu.vue +0 -108
- package/src/components/ErrorPages/BadGateway.vue +0 -224
- package/src/components/ErrorPages/Forbidden.vue +0 -468
- package/src/components/ErrorPages/InternalServerError.vue +0 -275
- package/src/components/ErrorPages/NotFound.vue +0 -995
- package/src/components/ErrorPages/Unavailable.vue +0 -3705
- package/src/components/Footer/Footer.stories.js +0 -20
- package/src/components/Footer/Footer.vue +0 -292
- package/src/components/Header/ChildLinks.vue +0 -144
- package/src/components/Header/Header.stories.js +0 -56
- package/src/components/Header/Header.vue +0 -1308
- package/src/components/Header/InfoHeader.vue +0 -319
- package/src/components/Header/Profile.vue +0 -670
- package/src/components/Header/ProfileMenu.vue +0 -293
- package/src/components/Header/ProfileMobile.vue +0 -308
- package/src/components/Header/ProfileOld.vue +0 -781
- package/src/components/InternalServerError/InternalServerError.stories.js +0 -17
- package/src/components/InternalServerError/InternalServerError.vue +0 -262
- package/src/components/Introduction.stories.mdx +0 -7
- package/src/components/Loader/Loader.stories.js +0 -25
- package/src/components/Loader/Loader.vue +0 -325
- package/src/components/MailTo/MailTo.stories.js +0 -15
- package/src/components/MailTo/MailTo.vue +0 -258
- package/src/components/NavIcon/ANavIcon.vue +0 -50
- package/src/components/NavIcon/NavIcon.stories.js +0 -15
- package/src/components/PasswordField/PasswordField.stories.js +0 -16
- package/src/components/PasswordField/PasswordField.vue +0 -77
- package/src/components/SearchTextField/SearchTextField.stories.js +0 -78
- package/src/components/SearchTextField/SearchTextField.vue +0 -230
- package/src/components/ServiceSlider/AServiceSlider.vue +0 -793
- package/src/components/ServiceSlider/ServiceSlider.stories.js +0 -20
- package/src/components/Table/ATable.vue +0 -117
- package/src/components/Table/Table.stories.js +0 -15
- package/src/components/TextArea/TextArea.stories.js +0 -17
- package/src/components/TextArea/TextArea.vue +0 -116
- package/src/components/TextError/TextError.stories.js +0 -15
- package/src/components/TextError/TextError.vue +0 -57
- package/src/components/TextField/TextField.stories.js +0 -17
- package/src/components/TextField/TextField.vue +0 -107
- package/src/components/index.js +0 -54
- package/src/components/newComponents/FooterNew/FooterBottom.vue +0 -153
- package/src/components/newComponents/FooterNew/FooterItem.vue +0 -114
- package/src/components/newComponents/FooterNew/FooterNew.stories.js +0 -20
- package/src/components/newComponents/FooterNew/FooterNew.vue +0 -39
- package/src/components/newComponents/FooterNew/FooterTop.vue +0 -321
- package/src/components/transitions/SlideToggle.vue +0 -55
- package/src/components/transitions/VerticalMobileToggle.vue +0 -75
- package/src/configs/icons.js +0 -112
- package/src/configs/profileDropDown.js +0 -134
- package/src/main.js +0 -12
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="item">
|
|
3
|
-
<div class="item-title" @click="toggleClick">
|
|
4
|
-
{{ title }}
|
|
5
|
-
<div class="dropdown" :class="{ icon: dropdown }"></div>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="item__link" :class="{ active: dropdown }" v-show="dropdown">
|
|
8
|
-
<div v-for="item in cols" :key="item.id" class="item__link-text">
|
|
9
|
-
<a :href="item.link">
|
|
10
|
-
{{ item.text }}
|
|
11
|
-
</a>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<script>
|
|
18
|
-
export default {
|
|
19
|
-
name: "FooterItem",
|
|
20
|
-
props: {
|
|
21
|
-
title: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: ""
|
|
24
|
-
},
|
|
25
|
-
cols: {
|
|
26
|
-
type: Array,
|
|
27
|
-
default: () => [],
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
data() {
|
|
31
|
-
return {
|
|
32
|
-
dropdown: false,
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
mounted() {
|
|
37
|
-
this.checkWidth()
|
|
38
|
-
|
|
39
|
-
window.addEventListener('resize', () => {
|
|
40
|
-
this.checkWidth()
|
|
41
|
-
}, {passive: true})
|
|
42
|
-
},
|
|
43
|
-
methods: {
|
|
44
|
-
checkWidth() {
|
|
45
|
-
this.dropdown = window.innerWidth > 1140;
|
|
46
|
-
},
|
|
47
|
-
toggleClick(){
|
|
48
|
-
if(window.innerWidth < 1140){
|
|
49
|
-
this.dropdown = !this.dropdown
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
}
|
|
54
|
-
</script>
|
|
55
|
-
|
|
56
|
-
<style lang="scss" scoped>
|
|
57
|
-
.item {
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
gap: 8px;
|
|
61
|
-
|
|
62
|
-
&-title {
|
|
63
|
-
font-weight: 600;
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
line-height: 20px;
|
|
66
|
-
color: #FFFFFF;
|
|
67
|
-
text-align: left;
|
|
68
|
-
@media (max-width: 1140px) {
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
justify-content: space-between;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&__link {
|
|
76
|
-
display: flex;
|
|
77
|
-
flex-direction: column;
|
|
78
|
-
gap: 8px;
|
|
79
|
-
|
|
80
|
-
&-text {
|
|
81
|
-
text-align: left;
|
|
82
|
-
|
|
83
|
-
a {
|
|
84
|
-
color: #FFFFFF;
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
font-weight: 400;
|
|
87
|
-
font-size: 12px;
|
|
88
|
-
line-height: 20px;
|
|
89
|
-
text-align: left;
|
|
90
|
-
color: #FFFFFF;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.dropdown {
|
|
97
|
-
display: none;
|
|
98
|
-
transform: rotate(0deg);
|
|
99
|
-
transition: 0.3s;
|
|
100
|
-
@media (max-width: 1140px) {
|
|
101
|
-
display: block;
|
|
102
|
-
width: 24px;
|
|
103
|
-
height: 24px;
|
|
104
|
-
background-image: url('~@/assets/up-down.svg');
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
.icon{
|
|
108
|
-
transform: rotate(180deg);
|
|
109
|
-
transition: 0.3s;
|
|
110
|
-
}
|
|
111
|
-
.active {
|
|
112
|
-
transition: 0.3s;
|
|
113
|
-
}
|
|
114
|
-
</style>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import AFooterNew from './FooterNew.vue'
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Footer',
|
|
5
|
-
component: AFooterNew,
|
|
6
|
-
template: '<a-footer-new></a-footer-new>'
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = (args, { argTypes }) => ({
|
|
10
|
-
components: { AFooterNew },
|
|
11
|
-
props: Object.keys(argTypes),
|
|
12
|
-
template: '<a-footer-new v-bind="$props"></a-footer-new>'
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export const MainFooter = Template.bind({});
|
|
16
|
-
|
|
17
|
-
export const WithBottomMenu = Template.bind({});
|
|
18
|
-
WithBottomMenu.args = {
|
|
19
|
-
hasBottomMenu: true
|
|
20
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<footer class="footer">
|
|
3
|
-
<footer-top :mode="mode"/>
|
|
4
|
-
<footer-bottom :mode="mode"/>
|
|
5
|
-
</footer>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
import FooterTop from "@/components/newComponents/FooterNew/FooterTop";
|
|
10
|
-
import FooterBottom from "@/components/newComponents/FooterNew/FooterBottom";
|
|
11
|
-
|
|
12
|
-
export default {
|
|
13
|
-
name: "Footer",
|
|
14
|
-
components: {FooterTop, FooterBottom},
|
|
15
|
-
props: {
|
|
16
|
-
hasBottomMenu: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: false
|
|
19
|
-
},
|
|
20
|
-
mode: {
|
|
21
|
-
type: String,
|
|
22
|
-
required: true,
|
|
23
|
-
validator: function (value) {
|
|
24
|
-
return ["prod", "dev", "staging"].indexOf(value) !== -1;
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
</script>
|
|
30
|
-
|
|
31
|
-
<style lang="scss" scoped>
|
|
32
|
-
.footer {
|
|
33
|
-
background: #2C3E50;
|
|
34
|
-
border-bottom: 0.5px solid #FFFFFF;
|
|
35
|
-
margin-top: 20px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</style>
|
|
@@ -1,321 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="top">
|
|
3
|
-
<div class="top__block">
|
|
4
|
-
<div class="top__block__pk">
|
|
5
|
-
<footer-item :cols="pk" :title="pkTitle"/>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="top__block__item">
|
|
8
|
-
<footer-item :cols="work" :title="workTitle"/>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="top__block__item">
|
|
11
|
-
<footer-item :cols="tender" :title="tenderTitle"/>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="top__block__item">
|
|
14
|
-
<footer-item :cols="avto" :title="avtoTitle"/>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="top__block__item">
|
|
17
|
-
<footer-item :cols="marketing" :title="marketingTitle"/>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="top__web">
|
|
21
|
-
<a href="https://www.youtube.com/channel/UCPkbtgwgTZbMJXjmTi3R8Uw/featured" class="youtube"/>
|
|
22
|
-
<a href="https://www.instagram.com/adata.kz/?igshid=253i4qxg3els" class="instagram"></a>
|
|
23
|
-
<a href="https://t.me/adatakz_official" class="telegram"></a>
|
|
24
|
-
<a href="https://www.facebook.com/adata.kz" class="facebook"></a>
|
|
25
|
-
<a href="https://www.tiktok.com/@adata.kz?lang=ru-RU" class="tiktok"/>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</template>
|
|
29
|
-
<script>
|
|
30
|
-
import FooterItem from "@/components/newComponents/FooterNew/FooterItem";
|
|
31
|
-
|
|
32
|
-
export default {
|
|
33
|
-
name: "FooterTop",
|
|
34
|
-
components: {
|
|
35
|
-
FooterItem
|
|
36
|
-
},
|
|
37
|
-
props: {
|
|
38
|
-
mode: {
|
|
39
|
-
type: String,
|
|
40
|
-
required: true,
|
|
41
|
-
validator: function (value) {
|
|
42
|
-
return ["prod", "dev", "staging"].indexOf(value) !== -1;
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
data() {
|
|
48
|
-
return {
|
|
49
|
-
pkTitle: 'Контрагенты',
|
|
50
|
-
workTitle: 'Работа',
|
|
51
|
-
tenderTitle: 'Тендеры',
|
|
52
|
-
avtoTitle: 'Штрафы',
|
|
53
|
-
marketingTitle: 'Аналитика',
|
|
54
|
-
main: {
|
|
55
|
-
dev: "adtdev.kz",
|
|
56
|
-
prod: "adata.kz",
|
|
57
|
-
staging: "adada.kz",
|
|
58
|
-
},
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
computed: {
|
|
62
|
-
environment() {
|
|
63
|
-
return this.main[this.mode]
|
|
64
|
-
},
|
|
65
|
-
pk() {
|
|
66
|
-
return [
|
|
67
|
-
{
|
|
68
|
-
id: 1,
|
|
69
|
-
text: 'Проверка контрагентов',
|
|
70
|
-
link: `https://pk.${this.environment}`
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
id: 2,
|
|
74
|
-
text: 'Сравнение контрагентов',
|
|
75
|
-
link: `https://pk.${this.environment}/counterparty/compare`
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: 3,
|
|
80
|
-
text: 'Косвенные связи',
|
|
81
|
-
link: `https://pk.${this.environment}/counterparty/search-connections/check`,
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
id: 4,
|
|
85
|
-
text: 'Массовая проверка',
|
|
86
|
-
link: `https://pk.${this.environment}/counterparty/employees-check`,
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
id: 5,
|
|
90
|
-
text: 'Зарубежные контрагенты',
|
|
91
|
-
link: `https://pk.${this.environment}/counterparty/foreign`,
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
id: 6,
|
|
95
|
-
text: 'Санкции',
|
|
96
|
-
link: `https://pk.${this.environment}/counterparty/sanctions`,
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
id: 8,
|
|
100
|
-
text: 'Офшоры',
|
|
101
|
-
link: `https://pk.${this.environment}/counterparty/offshore`,
|
|
102
|
-
},
|
|
103
|
-
// {
|
|
104
|
-
// id: 9,
|
|
105
|
-
// text: 'Интеграция по API',
|
|
106
|
-
// link: `https://pk.${this.environment}/counterparty/offshore`,
|
|
107
|
-
// },
|
|
108
|
-
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
work() {
|
|
112
|
-
return [
|
|
113
|
-
{
|
|
114
|
-
id: 1,
|
|
115
|
-
text: 'Поиск вакансий',
|
|
116
|
-
link: `https://work.${this.environment}/vacancy`
|
|
117
|
-
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
id: 2,
|
|
121
|
-
text: 'Поиск резюме',
|
|
122
|
-
link: `https://work.${this.environment}/summary`
|
|
123
|
-
},
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
tender() {
|
|
127
|
-
return [
|
|
128
|
-
{
|
|
129
|
-
id: 1,
|
|
130
|
-
text: 'Поиск тендеров',
|
|
131
|
-
link: `https://tender.${this.environment}/`
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
id: 2,
|
|
135
|
-
text: 'Поиск договоров',
|
|
136
|
-
link: `https://tender.${this.environment}/main/contracts`
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
id: 3,
|
|
140
|
-
text: 'Планы закупок',
|
|
141
|
-
link: `https://tender.${this.environment}/main/plans`
|
|
142
|
-
},
|
|
143
|
-
]
|
|
144
|
-
},
|
|
145
|
-
avto() {
|
|
146
|
-
return [
|
|
147
|
-
{
|
|
148
|
-
id: 1,
|
|
149
|
-
text: 'Проверка штрафов',
|
|
150
|
-
link: `https://avto.${this.environment}/`
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
id: 2,
|
|
154
|
-
text: ' Проверка авто',
|
|
155
|
-
link: `https://avto.${this.environment}/check`
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
id: 3,
|
|
159
|
-
text: 'Массовая проверка авто',
|
|
160
|
-
link: `https://avto.${this.environment}/bulk-check`
|
|
161
|
-
},
|
|
162
|
-
]
|
|
163
|
-
},
|
|
164
|
-
marketing() {
|
|
165
|
-
return [
|
|
166
|
-
// {
|
|
167
|
-
// id: 1,
|
|
168
|
-
// text: 'Поиск клиентов',
|
|
169
|
-
// link: `https://analytics.${this.environment}/unload-data`
|
|
170
|
-
// },
|
|
171
|
-
{
|
|
172
|
-
id: 2,
|
|
173
|
-
text: 'Анализ закупок',
|
|
174
|
-
link: `https://analytics.${this.environment}/purchasing-analysis`
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: 3,
|
|
178
|
-
text: 'Индекс деловой активности',
|
|
179
|
-
link: `https://analytics.${this.environment}/business-activity`
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
id: 4,
|
|
183
|
-
text: 'Рейтинг налогоплательщиков',
|
|
184
|
-
link: `https://analytics.${this.environment}/tax-payment`
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
id: 5,
|
|
188
|
-
text: 'Субъекты бизнеса',
|
|
189
|
-
link: `https://analytics.${this.environment}/business-entities`
|
|
190
|
-
},
|
|
191
|
-
]
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
</script>
|
|
197
|
-
|
|
198
|
-
<style lang="scss" scoped>
|
|
199
|
-
.top {
|
|
200
|
-
border-bottom: 0.5px solid #FFFFFF;
|
|
201
|
-
&__block {
|
|
202
|
-
display: flex;
|
|
203
|
-
align-items: flex-start;
|
|
204
|
-
justify-content: space-between;
|
|
205
|
-
color: #FFF;
|
|
206
|
-
max-width: 1180px;
|
|
207
|
-
margin: 0 calc((100vw - 1180px)/2);
|
|
208
|
-
padding: 40px 20px 20px;
|
|
209
|
-
@media (max-width: 1140px) {
|
|
210
|
-
margin: 0 auto;
|
|
211
|
-
display: flex;
|
|
212
|
-
flex-direction: column;
|
|
213
|
-
gap: 16px;
|
|
214
|
-
padding: 20px 16px;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
&__pk {
|
|
218
|
-
@media (max-width: 1140px) {
|
|
219
|
-
display: flex;
|
|
220
|
-
gap: 8px;
|
|
221
|
-
flex-direction: column;
|
|
222
|
-
width: 100%;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&__item {
|
|
226
|
-
display: flex;
|
|
227
|
-
gap: 8px;
|
|
228
|
-
flex-direction: column;
|
|
229
|
-
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
&__item {
|
|
234
|
-
display: flex;
|
|
235
|
-
flex-direction: column;
|
|
236
|
-
gap: 8px;
|
|
237
|
-
@media (max-width: 1140px) {
|
|
238
|
-
width: 100%;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
&__web {
|
|
244
|
-
display: flex;
|
|
245
|
-
align-items: center;
|
|
246
|
-
gap: 32px;
|
|
247
|
-
justify-content: flex-end;
|
|
248
|
-
max-width: 1180px;
|
|
249
|
-
margin: 0 calc((100vw - 1180px)/2);
|
|
250
|
-
padding: 0px 20px 20px 0;
|
|
251
|
-
@media (max-width: 1140px) {
|
|
252
|
-
justify-content: flex-start;
|
|
253
|
-
margin: 0 auto;
|
|
254
|
-
gap: 16px;
|
|
255
|
-
padding: 0 16px 20px
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.item-title {
|
|
261
|
-
font-weight: 600;
|
|
262
|
-
font-size: 14px;
|
|
263
|
-
line-height: 20px;
|
|
264
|
-
color: #FFFFFF;
|
|
265
|
-
text-align: left;
|
|
266
|
-
@media (max-width: 1140px) {
|
|
267
|
-
display: flex;
|
|
268
|
-
align-items: center;
|
|
269
|
-
justify-content: space-between;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.item-text {
|
|
274
|
-
font-weight: 400;
|
|
275
|
-
font-size: 12px;
|
|
276
|
-
line-height: 20px;
|
|
277
|
-
text-align: left;
|
|
278
|
-
color: #FFFFFF;
|
|
279
|
-
|
|
280
|
-
a {
|
|
281
|
-
color: #FFFFFF;
|
|
282
|
-
cursor: pointer;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
.youtube {
|
|
288
|
-
width: 28px;
|
|
289
|
-
height: 28px;
|
|
290
|
-
background-image: url('~@/assets/youtube.svg');
|
|
291
|
-
cursor: pointer;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.instagram {
|
|
295
|
-
width: 28px;
|
|
296
|
-
height: 28px;
|
|
297
|
-
background-image: url('~@/assets/instagram.svg');
|
|
298
|
-
cursor: pointer;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.telegram {
|
|
302
|
-
width: 28px;
|
|
303
|
-
height: 28px;
|
|
304
|
-
background-image: url('~@/assets/telegram.svg');
|
|
305
|
-
cursor: pointer;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.facebook {
|
|
309
|
-
width: 28px;
|
|
310
|
-
height: 28px;
|
|
311
|
-
background-image: url('~@/assets/facebook.svg');
|
|
312
|
-
cursor: pointer;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.tiktok {
|
|
316
|
-
width: 28px;
|
|
317
|
-
height: 28px;
|
|
318
|
-
background-image: url('~@/assets/tiktok.svg');
|
|
319
|
-
cursor: pointer;
|
|
320
|
-
}
|
|
321
|
-
</style>
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<transition
|
|
3
|
-
v-on:before-enter="beforeEnter"
|
|
4
|
-
v-on:enter="enter"
|
|
5
|
-
v-on:after-enter="afterEnter"
|
|
6
|
-
v-on:before-leave="beforeLeave"
|
|
7
|
-
v-on:leave="leave"
|
|
8
|
-
v-on:after-leave="afterLeave"
|
|
9
|
-
>
|
|
10
|
-
<slot :animationClass="'slideToggleAnimation'" :compareNotificationClass="'compareNotification'"
|
|
11
|
-
:fastAnimation="'fastAnimation'"/>
|
|
12
|
-
</transition>
|
|
13
|
-
</template>
|
|
14
|
-
<script>
|
|
15
|
-
export default {
|
|
16
|
-
methods: {
|
|
17
|
-
beforeEnter: function (el) {
|
|
18
|
-
el.style.height = "0";
|
|
19
|
-
el.style.overflow = "hidden";
|
|
20
|
-
},
|
|
21
|
-
enter: function (el) {
|
|
22
|
-
el.style.height = el.scrollHeight + "px";
|
|
23
|
-
},
|
|
24
|
-
afterEnter: function (el) {
|
|
25
|
-
el.style.height = "auto";
|
|
26
|
-
el.style.overflow = "initial";
|
|
27
|
-
},
|
|
28
|
-
beforeLeave: function (el) {
|
|
29
|
-
el.style.overflow = "hidden";
|
|
30
|
-
el.style.height = el.scrollHeight + "px";
|
|
31
|
-
el.scrollHeight;
|
|
32
|
-
},
|
|
33
|
-
leave: function (el) {
|
|
34
|
-
el.style.height = "0";
|
|
35
|
-
},
|
|
36
|
-
afterLeave: function (el) {
|
|
37
|
-
el.style.height = "auto";
|
|
38
|
-
el.style.overflow = "initial";
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
</script>
|
|
43
|
-
<style>
|
|
44
|
-
.slideToggleAnimation {
|
|
45
|
-
transition: 0.3s all;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.fastAnimation {
|
|
49
|
-
transition: 0.01s all;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.compareNotification {
|
|
53
|
-
transition: 3s all;
|
|
54
|
-
}
|
|
55
|
-
</style>
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<transition
|
|
3
|
-
v-on:before-enter="beforeEnter"
|
|
4
|
-
v-on:after-enter="afterEnter"
|
|
5
|
-
v-on:before-leave="beforeLeave"
|
|
6
|
-
v-on:leave="leave"
|
|
7
|
-
v-on:after-leave="afterLeave"
|
|
8
|
-
>
|
|
9
|
-
<slot :animationClass="'slideToggleAnimation'" :compareNotificationClass="'compareNotification'" />
|
|
10
|
-
</transition>
|
|
11
|
-
</template>
|
|
12
|
-
<script>
|
|
13
|
-
export default {
|
|
14
|
-
props: {
|
|
15
|
-
zIndex: {
|
|
16
|
-
type: Number,
|
|
17
|
-
default: 0
|
|
18
|
-
},
|
|
19
|
-
top: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: "0%"
|
|
22
|
-
},
|
|
23
|
-
overflow: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: "initial"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
methods: {
|
|
29
|
-
beforeEnter: function (el) {
|
|
30
|
-
el.style.width = "0";
|
|
31
|
-
el.style.overflowX = "hidden";
|
|
32
|
-
el.style.overflowY = "hidden";
|
|
33
|
-
el.style.position = "fixed";
|
|
34
|
-
el.style.top = "0";
|
|
35
|
-
el.style.right = "0";
|
|
36
|
-
el.style.background = "#fff";
|
|
37
|
-
},
|
|
38
|
-
afterEnter: function (el) {
|
|
39
|
-
el.style.height = "100vh";
|
|
40
|
-
el.style.width = "100vw";
|
|
41
|
-
el.style.overflowX = "hidden";
|
|
42
|
-
el.style.overflowY = "auto";
|
|
43
|
-
el.style.position = "fixed";
|
|
44
|
-
el.style.top = this.top;
|
|
45
|
-
el.style.right = "0";
|
|
46
|
-
el.style.background = "#fff";
|
|
47
|
-
el.style.zIndex = (90 + this.zIndex).toString();
|
|
48
|
-
},
|
|
49
|
-
beforeLeave: function (el) {
|
|
50
|
-
el.style.overflow = "hidden";
|
|
51
|
-
el.style.width = el.scrollHeight + "px";
|
|
52
|
-
el.scrollHeight;
|
|
53
|
-
},
|
|
54
|
-
leave: function (el) {
|
|
55
|
-
el.style.width = "0";
|
|
56
|
-
},
|
|
57
|
-
afterLeave: function (el) {
|
|
58
|
-
el.style.position = "fixed";
|
|
59
|
-
el.style.top = "0";
|
|
60
|
-
el.style.right = "0";
|
|
61
|
-
el.style.width = "auto";
|
|
62
|
-
el.style.overflow = "initial";
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
</script>
|
|
67
|
-
<style>
|
|
68
|
-
.slideToggleAnimation {
|
|
69
|
-
transition: 0.3s all;
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
.compareNotification{
|
|
73
|
-
transition: 3s all;
|
|
74
|
-
}
|
|
75
|
-
</style>
|