adata-ui 0.1.92 → 0.1.93
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/dist/adata-ui.common.js +57 -57
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +57 -57
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Button/AButton.vue +2 -2
- package/src/components/Footer/Footer.vue +24 -5
- package/src/components/Header/Header.vue +2 -1
- package/src/components/MailTo/MailTo.stories.js +4 -3
- package/src/components/MailTo/MailTo.vue +7 -6
package/package.json
CHANGED
|
@@ -147,8 +147,8 @@ export default {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
&_yellow {
|
|
150
|
-
background: linear-gradient(
|
|
151
|
-
color: #
|
|
150
|
+
background: linear-gradient(140.08deg, #FFE15A 13.59%, #FBC920 85.57%);
|
|
151
|
+
color: #2C3E50;
|
|
152
152
|
|
|
153
153
|
&:hover {
|
|
154
154
|
background: #FBC920;
|
|
@@ -107,7 +107,6 @@ a {
|
|
|
107
107
|
font-size: 14px;
|
|
108
108
|
margin-top: 20px;
|
|
109
109
|
@media(max-width: 1025px) {
|
|
110
|
-
background: #F6F6F7;
|
|
111
110
|
&.paddinged {
|
|
112
111
|
padding-bottom: 60px;
|
|
113
112
|
}
|
|
@@ -119,11 +118,14 @@ a {
|
|
|
119
118
|
max-width: 900px;
|
|
120
119
|
width: 100%;
|
|
121
120
|
margin: 0 auto;
|
|
122
|
-
padding:
|
|
121
|
+
padding: 19px 21px;
|
|
123
122
|
@media(max-width: 1025px) {
|
|
124
123
|
flex-direction: column;
|
|
125
124
|
padding: 16px 16px;
|
|
126
125
|
}
|
|
126
|
+
@media(max-width: 560px) {
|
|
127
|
+
padding: 26px 17px;
|
|
128
|
+
}
|
|
127
129
|
|
|
128
130
|
.adata-logo {
|
|
129
131
|
display: none;
|
|
@@ -134,6 +136,9 @@ a {
|
|
|
134
136
|
height: 24px;
|
|
135
137
|
}
|
|
136
138
|
}
|
|
139
|
+
@media(max-width: 560px) {
|
|
140
|
+
margin-bottom: 24px;
|
|
141
|
+
}
|
|
137
142
|
}
|
|
138
143
|
|
|
139
144
|
.nav {
|
|
@@ -147,6 +152,10 @@ a {
|
|
|
147
152
|
column-gap: 15px;
|
|
148
153
|
row-gap: 15px;
|
|
149
154
|
}
|
|
155
|
+
@media(max-width: 560px) {
|
|
156
|
+
gap: 0;
|
|
157
|
+
grid-template-columns: 1fr;
|
|
158
|
+
}
|
|
150
159
|
|
|
151
160
|
&__link {
|
|
152
161
|
line-height: 19px;
|
|
@@ -154,6 +163,9 @@ a {
|
|
|
154
163
|
@media(max-width: 1025px) {
|
|
155
164
|
font-size: 12px;
|
|
156
165
|
}
|
|
166
|
+
@media(max-width: 560px) {
|
|
167
|
+
margin-bottom: 21px;
|
|
168
|
+
}
|
|
157
169
|
|
|
158
170
|
&:hover {
|
|
159
171
|
color: #9da3ac;
|
|
@@ -175,6 +187,10 @@ a {
|
|
|
175
187
|
margin-left: 0;
|
|
176
188
|
order: 0;
|
|
177
189
|
}
|
|
190
|
+
@media (max-width: 560px) {
|
|
191
|
+
order: 1;
|
|
192
|
+
margin-top: 5px;
|
|
193
|
+
}
|
|
178
194
|
|
|
179
195
|
a {
|
|
180
196
|
display: flex;
|
|
@@ -233,18 +249,21 @@ a {
|
|
|
233
249
|
|
|
234
250
|
&__bottom {
|
|
235
251
|
text-align: center;
|
|
236
|
-
padding:
|
|
252
|
+
padding: 14px 0 13px;
|
|
237
253
|
border: 1px solid #BDC7CE;
|
|
238
254
|
@media(max-width: 1025px) {
|
|
239
|
-
background: #
|
|
255
|
+
background: #BDC7CE4D;
|
|
240
256
|
border: none;
|
|
241
257
|
border-top: 1px solid #bdc7ce;
|
|
242
258
|
}
|
|
259
|
+
@media(max-width: 560px) {
|
|
260
|
+
padding: 10px 0;
|
|
261
|
+
}
|
|
243
262
|
|
|
244
263
|
span {
|
|
245
264
|
font-size: 10px;
|
|
246
265
|
line-height: 12px;
|
|
247
|
-
color: #
|
|
266
|
+
color: #2C3E50;
|
|
248
267
|
@media(max-width: 1025px) {
|
|
249
268
|
font-size: 10px;
|
|
250
269
|
line-height: 16px;
|
|
@@ -597,7 +597,8 @@ export default {
|
|
|
597
597
|
},
|
|
598
598
|
async fetchNotification() {
|
|
599
599
|
try {
|
|
600
|
-
const
|
|
600
|
+
const link = `https://users.adata.kz/api/v1/system-messages/active-list/?module_name=${this.activeTabKey}`
|
|
601
|
+
const response = await fetch(link);
|
|
601
602
|
const {data} = await response.json();
|
|
602
603
|
|
|
603
604
|
if (data.details.length) {
|
|
@@ -6,9 +6,10 @@ export default {
|
|
|
6
6
|
template: "<a-mail-to></a-mail-to>",
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
const Template = () => ({
|
|
9
|
+
const Template = (args, { argTypes }) => ({
|
|
10
10
|
components: { MailTo },
|
|
11
|
-
|
|
11
|
+
props: Object.keys(argTypes),
|
|
12
|
+
template: '<mail-to v-bind="$props"></mail-to>',
|
|
12
13
|
});
|
|
13
14
|
|
|
14
|
-
export const AMailTo = Template.bind({});
|
|
15
|
+
export const AMailTo = Template.bind({});
|
|
@@ -65,8 +65,7 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
<h2 class="mail__title">Интересует больше данных?</h2>
|
|
67
67
|
<p class="mail__text">
|
|
68
|
-
|
|
69
|
-
в кратчайшие сроки.
|
|
68
|
+
Оставьте комментарий мы обязательно ответим <br />Вам в кратчайшие сроки
|
|
70
69
|
</p>
|
|
71
70
|
<form class="mail__form" novalidate>
|
|
72
71
|
<a-text-field
|
|
@@ -100,6 +99,7 @@
|
|
|
100
99
|
|
|
101
100
|
<script>
|
|
102
101
|
import Loader from "../Loader/Loader.vue";
|
|
102
|
+
|
|
103
103
|
export default {
|
|
104
104
|
name: "MailToTemplate",
|
|
105
105
|
components: {
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
194
194
|
}
|
|
195
195
|
&__title {
|
|
196
196
|
font-size: 24px;
|
|
197
|
-
line-height:
|
|
197
|
+
line-height: 32px;
|
|
198
198
|
color: #2c3e50;
|
|
199
199
|
font-weight: 700;
|
|
200
200
|
text-align: center;
|
|
@@ -231,10 +231,11 @@ export default {
|
|
|
231
231
|
z-index: 2;
|
|
232
232
|
}
|
|
233
233
|
&__text {
|
|
234
|
-
font-size:
|
|
235
|
-
|
|
234
|
+
font-size: 14px;
|
|
235
|
+
color: #71757A;
|
|
236
|
+
font-weight: 400;
|
|
237
|
+
line-height: 20px;
|
|
236
238
|
text-align: center;
|
|
237
|
-
color: #2c3e50;
|
|
238
239
|
margin-bottom: 16px;
|
|
239
240
|
}
|
|
240
241
|
&__form {
|