adata-ui 0.3.64 → 0.3.66
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 +7 -7
- package/babel.config.js +5 -5
- package/dist/adata-ui.common.js +8632 -6049
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +8632 -6049
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +3 -3
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/dist/img/{facebook.990fd0ba.svg → facebook.797d820f.svg} +4 -4
- package/dist/img/{instagram.90311e74.svg → instagram.8a77381c.svg} +6 -6
- package/dist/img/{logo-white-desktop.0827cb20.svg → logo-white-desktop.7d0e3481.svg} +8 -8
- package/dist/img/{telegram.da3d2408.svg → telegram.be0d1008.svg} +4 -4
- package/dist/img/{tiktok.91223b77.svg → tiktok.eaeb39cb.svg} +4 -4
- package/dist/img/{up-down.de7b3a68.svg → up-down.e2b28f72.svg} +3 -3
- package/dist/img/{youtube.96e7b076.svg → youtube.125aace6.svg} +5 -5
- package/package-lock.json +26218 -26218
- package/package.json +76 -76
- package/public/index.html +17 -17
- package/public/logo.svg +4 -4
- package/src/App.vue +25 -25
- package/src/assets/_text_field.scss +224 -224
- package/src/assets/facebook.svg +4 -4
- package/src/assets/instagram.svg +6 -6
- package/src/assets/logo-desktop.svg +9 -9
- package/src/assets/logo-mobile.svg +9 -9
- package/src/assets/logo-white-desktop.svg +8 -8
- package/src/assets/style.scss +1 -1
- package/src/assets/telegram.svg +4 -4
- package/src/assets/tiktok.svg +4 -4
- package/src/assets/up-down.svg +3 -3
- package/src/assets/youtube.svg +5 -5
- package/src/components/Alert/Alert.stories.js +17 -17
- package/src/components/Alert/Alert.vue +63 -63
- package/src/components/BottomNavigationBar/ABottomNavigationBar.vue +151 -151
- package/src/components/BottomNavigationBar/BottomNavigationBar.stories.js +24 -24
- package/src/components/Button/AButton.vue +231 -231
- package/src/components/Button/Button.stories.js +23 -23
- package/src/components/Checkbox/ACheckbox.vue +114 -114
- package/src/components/Checkbox/Checkbox.stories.js +15 -15
- package/src/components/CheckboxMenu/CheckboxMenu.stories.js +23 -23
- package/src/components/CheckboxMenu/CheckboxMenu.vue +108 -108
- package/src/components/ErrorPages/BadGateway.vue +224 -224
- package/src/components/ErrorPages/Forbidden.vue +468 -468
- package/src/components/ErrorPages/InternalServerError.vue +275 -275
- package/src/components/ErrorPages/NotFound.vue +995 -995
- package/src/components/ErrorPages/Unavailable.vue +3705 -3705
- package/src/components/Footer/Footer.stories.js +20 -20
- package/src/components/Footer/Footer.vue +292 -292
- package/src/components/Header/ChildLinks.vue +122 -122
- package/src/components/Header/Header.stories.js +56 -56
- package/src/components/Header/Header.vue +1307 -1307
- package/src/components/Header/InfoHeader.vue +319 -319
- package/src/components/Header/Profile.vue +670 -670
- package/src/components/Header/ProfileMenu.vue +275 -275
- package/src/components/Header/ProfileMobile.vue +308 -308
- package/src/components/Header/ProfileOld.vue +781 -781
- package/src/components/InternalServerError/InternalServerError.stories.js +16 -16
- package/src/components/InternalServerError/InternalServerError.vue +262 -262
- package/src/components/Introduction.stories.mdx +7 -7
- package/src/components/Loader/Loader.stories.js +24 -24
- package/src/components/Loader/Loader.vue +325 -325
- package/src/components/MailTo/MailTo.stories.js +14 -14
- package/src/components/MailTo/MailTo.vue +258 -258
- package/src/components/NavIcon/ANavIcon.vue +49 -49
- package/src/components/NavIcon/NavIcon.stories.js +14 -14
- package/src/components/PasswordField/PasswordField.stories.js +16 -16
- package/src/components/PasswordField/PasswordField.vue +77 -77
- package/src/components/SearchTextField/SearchTextField.stories.js +77 -77
- package/src/components/SearchTextField/SearchTextField.vue +230 -230
- package/src/components/ServiceSlider/AServiceSlider.vue +782 -782
- package/src/components/ServiceSlider/ServiceSlider.stories.js +20 -20
- package/src/components/Table/ATable.vue +117 -117
- package/src/components/Table/Table.stories.js +15 -15
- package/src/components/TextArea/TextArea.stories.js +17 -17
- package/src/components/TextArea/TextArea.vue +116 -116
- package/src/components/TextError/TextError.stories.js +15 -15
- package/src/components/TextError/TextError.vue +57 -57
- package/src/components/TextField/TextField.stories.js +17 -17
- package/src/components/TextField/TextField.vue +107 -107
- package/src/components/index.js +54 -54
- package/src/components/newComponents/FooterNew/FooterBottom.vue +152 -151
- package/src/components/newComponents/FooterNew/FooterItem.vue +113 -113
- package/src/components/newComponents/FooterNew/FooterNew.stories.js +20 -20
- package/src/components/newComponents/FooterNew/FooterNew.vue +39 -39
- package/src/components/newComponents/FooterNew/FooterTop.vue +319 -318
- package/src/components/transitions/SlideToggle.vue +55 -55
- package/src/components/transitions/VerticalMobileToggle.vue +75 -75
- package/src/configs/icons.js +112 -112
- package/src/configs/profileDropDown.js +134 -134
- package/src/main.js +12 -12
- package/src/.DS_Store +0 -0
|
@@ -1,152 +1,153 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="bottom">
|
|
3
|
-
<div class="bottom__left">
|
|
4
|
-
<a v-for="item in list" :key="item.id" :href="item.link" class="bottom__left__link">
|
|
5
|
-
{{ item.name }}
|
|
6
|
-
</a>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="bottom__right">
|
|
9
|
-
<span class="bottom__right-text">2022 © ТОО "Alldata"</span>
|
|
10
|
-
<span class="logo-desktop"></span>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
export default {
|
|
17
|
-
name: "FooterBottom",
|
|
18
|
-
props: {
|
|
19
|
-
mode: {
|
|
20
|
-
type: String,
|
|
21
|
-
required: true,
|
|
22
|
-
validator: function (value) {
|
|
23
|
-
return ["prod", "dev", "staging"].indexOf(value) !== -1;
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
data() {
|
|
28
|
-
return {
|
|
29
|
-
main: {
|
|
30
|
-
dev: "adtdev.kz",
|
|
31
|
-
prod: "adata.kz",
|
|
32
|
-
staging: "adada.kz",
|
|
33
|
-
},
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
computed:{
|
|
37
|
-
environment() {
|
|
38
|
-
return this.main[this.mode]
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
list(){
|
|
42
|
-
return [
|
|
43
|
-
{
|
|
44
|
-
id: 1,
|
|
45
|
-
name: 'Тарифы',
|
|
46
|
-
link: `https://${this.environment}/tariffs`
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: 2,
|
|
50
|
-
name: 'Полезное',
|
|
51
|
-
link: `https://${this.environment}/about`
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: 3,
|
|
55
|
-
name: 'Описание API',
|
|
56
|
-
link: `https://${this.environment}/apiInfo`
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 4,
|
|
60
|
-
name: 'Пользовательское соглашение',
|
|
61
|
-
link: `https://${this.environment}/user-agreements`
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
id: 5,
|
|
65
|
-
name: 'Политика конфиденциальности',
|
|
66
|
-
link: `https://${this.environment}/privacy-policy`
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: 6,
|
|
70
|
-
name: 'Вакансии',
|
|
71
|
-
link: `https://${this.environment}/vacancy`
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
id: 7,
|
|
75
|
-
name: 'Каталог предприятий',
|
|
76
|
-
link: `https://pk.${this.environment}/counterparty`
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: 8,
|
|
80
|
-
name: 'Контакты',
|
|
81
|
-
link: `https://${this.environment}/contacts`
|
|
82
|
-
},
|
|
83
|
-
]
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
</script>
|
|
89
|
-
|
|
90
|
-
<style lang="scss" scoped>
|
|
91
|
-
.bottom {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
justify-content: space-between;
|
|
95
|
-
max-width: 1140px;
|
|
96
|
-
margin: 0
|
|
97
|
-
padding: 20px
|
|
98
|
-
@media (max-width: 1140px) {
|
|
99
|
-
padding: 20px 16px;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
font-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
font-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
background-
|
|
146
|
-
background-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bottom">
|
|
3
|
+
<div class="bottom__left">
|
|
4
|
+
<a v-for="item in list" :key="item.id" :href="item.link" class="bottom__left__link">
|
|
5
|
+
{{ item.name }}
|
|
6
|
+
</a>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="bottom__right">
|
|
9
|
+
<span class="bottom__right-text">2022 © ТОО "Alldata"</span>
|
|
10
|
+
<span class="logo-desktop"></span>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
export default {
|
|
17
|
+
name: "FooterBottom",
|
|
18
|
+
props: {
|
|
19
|
+
mode: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: true,
|
|
22
|
+
validator: function (value) {
|
|
23
|
+
return ["prod", "dev", "staging"].indexOf(value) !== -1;
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
data() {
|
|
28
|
+
return {
|
|
29
|
+
main: {
|
|
30
|
+
dev: "adtdev.kz",
|
|
31
|
+
prod: "adata.kz",
|
|
32
|
+
staging: "adada.kz",
|
|
33
|
+
},
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
computed:{
|
|
37
|
+
environment() {
|
|
38
|
+
return this.main[this.mode]
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
list(){
|
|
42
|
+
return [
|
|
43
|
+
{
|
|
44
|
+
id: 1,
|
|
45
|
+
name: 'Тарифы',
|
|
46
|
+
link: `https://${this.environment}/tariffs`
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 2,
|
|
50
|
+
name: 'Полезное',
|
|
51
|
+
link: `https://${this.environment}/about`
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 3,
|
|
55
|
+
name: 'Описание API',
|
|
56
|
+
link: `https://${this.environment}/apiInfo`
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 4,
|
|
60
|
+
name: 'Пользовательское соглашение',
|
|
61
|
+
link: `https://${this.environment}/user-agreements`
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: 5,
|
|
65
|
+
name: 'Политика конфиденциальности',
|
|
66
|
+
link: `https://${this.environment}/privacy-policy`
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: 6,
|
|
70
|
+
name: 'Вакансии',
|
|
71
|
+
link: `https://${this.environment}/vacancy`
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: 7,
|
|
75
|
+
name: 'Каталог предприятий',
|
|
76
|
+
link: `https://pk.${this.environment}/counterparty`
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: 8,
|
|
80
|
+
name: 'Контакты',
|
|
81
|
+
link: `https://${this.environment}/contacts`
|
|
82
|
+
},
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
</script>
|
|
89
|
+
|
|
90
|
+
<style lang="scss" scoped>
|
|
91
|
+
.bottom {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: space-between;
|
|
95
|
+
max-width: 1140px;
|
|
96
|
+
margin: 0 calc((100vw - 1180px)/2);
|
|
97
|
+
padding: 20px;
|
|
98
|
+
@media (max-width: 1140px) {
|
|
99
|
+
padding: 20px 16px;
|
|
100
|
+
margin: 0 auto;
|
|
101
|
+
}
|
|
102
|
+
@media (max-width: 768px) {
|
|
103
|
+
padding: 20px 16px 12px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__left {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: 24px;
|
|
110
|
+
@media screen and (max-width: 1140px) {
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
align-items: flex-start;
|
|
113
|
+
gap: 16px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&__link {
|
|
117
|
+
font-weight: 400;
|
|
118
|
+
font-size: 10px;
|
|
119
|
+
line-height: 16px;
|
|
120
|
+
color: #FFFFFF;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&__right {
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
gap: 16px;
|
|
128
|
+
|
|
129
|
+
&-text {
|
|
130
|
+
font-weight: 400;
|
|
131
|
+
font-size: 10px;
|
|
132
|
+
line-height: 16px;
|
|
133
|
+
color: #FFFFFF;
|
|
134
|
+
@media screen and (max-width: 1140px) {
|
|
135
|
+
display: none;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.logo-desktop {
|
|
142
|
+
display: inline-block;
|
|
143
|
+
width: 90px;
|
|
144
|
+
height: 26px;
|
|
145
|
+
background-image: url("~@/assets/logo-white-desktop.svg");
|
|
146
|
+
background-size: cover;
|
|
147
|
+
background-position: center;
|
|
148
|
+
@media screen and (max-width: 1140px) {
|
|
149
|
+
display: none;
|
|
150
|
+
|
|
151
|
+
}
|
|
152
|
+
}
|
|
152
153
|
</style>
|
|
@@ -1,114 +1,114 @@
|
|
|
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
|
-
})
|
|
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
|
-
}
|
|
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
|
+
})
|
|
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
114
|
</style>
|
|
@@ -1,20 +1,20 @@
|
|
|
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
|
+
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 +1,39 @@
|
|
|
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
|
+
<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>
|