cyy-vue-material 1.0.54 → 1.0.56
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/package.json
CHANGED
|
@@ -277,13 +277,14 @@ export default {
|
|
|
277
277
|
</script>
|
|
278
278
|
|
|
279
279
|
<style scoped lang="scss">
|
|
280
|
-
|
|
281
280
|
.u-countdown {
|
|
281
|
+
display: flex;
|
|
282
282
|
align-items: center;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.u-countdown-item {
|
|
286
|
-
|
|
286
|
+
display: flex;
|
|
287
|
+
flex-direction: row;
|
|
287
288
|
align-items: center;
|
|
288
289
|
justify-content: center;
|
|
289
290
|
padding: 1px;
|
|
@@ -299,7 +300,8 @@ export default {
|
|
|
299
300
|
}
|
|
300
301
|
|
|
301
302
|
.u-countdown-colon {
|
|
302
|
-
|
|
303
|
+
display: flex;
|
|
304
|
+
flex-direction: row;
|
|
303
305
|
justify-content: center;
|
|
304
306
|
padding: 0 0.5px;
|
|
305
307
|
line-height: 1;
|
|
@@ -115,6 +115,23 @@ export default {
|
|
|
115
115
|
imgfn(val) {
|
|
116
116
|
return process.env.REACT_APP_BASE_URL + val;
|
|
117
117
|
},
|
|
118
|
+
// 获取最小时间
|
|
119
|
+
minTime() {
|
|
120
|
+
let arr = [];
|
|
121
|
+
this.secGoodList.forEach((res) => {
|
|
122
|
+
arr.push(res.gmtModified);
|
|
123
|
+
});
|
|
124
|
+
for (let j = 0; j < arr.length - 1; j++) {
|
|
125
|
+
for (let i = 0; i < arr.length - 1; i++) {
|
|
126
|
+
if (arr[i] > arr[i + 1]) {
|
|
127
|
+
let temp = arr[i];
|
|
128
|
+
arr[i] = arr[i + 1];
|
|
129
|
+
arr[i + 1] = temp;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
return arr[0];
|
|
134
|
+
},
|
|
118
135
|
},
|
|
119
136
|
methods: {
|
|
120
137
|
getIsLc() {
|