Commit 9987ae41 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/update_swiper' into 'master'

Feature/update swiper

See merge request !231
parents 4210041b 8c30c592
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
mounted() { mounted() {
setTimeout(() => { setTimeout(() => {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.swiper.resize(); this.$refs?.swiper?.resize();
}); });
}, 600); }, 600);
}, },
...@@ -227,11 +227,6 @@ export default { ...@@ -227,11 +227,6 @@ export default {
} else { } else {
this.status = "HAS_NOT_CHANCE"; this.status = "HAS_NOT_CHANCE";
} }
setTimeout(() => {
this.$nextTick(() => {
this.$refs.swiper.resize();
});
}, 500);
}, },
// 客户端不支持 // 客户端不支持
saveImg() { saveImg() {
......
...@@ -28,8 +28,10 @@ ...@@ -28,8 +28,10 @@
color: @black; color: @black;
} }
span:nth-child(2) { span:nth-child(2) {
display: flex;
justify-content: center;
align-items: center;
width: 89px; width: 89px;
padding-top: 1px;
height: 20px; height: 20px;
line-height: normal; line-height: normal;
text-align: center; text-align: center;
...@@ -231,9 +233,11 @@ ...@@ -231,9 +233,11 @@
} }
} }
&-right { &-right {
display: flex;
justify-content: center;
align-items: center;
width: 72px; width: 72px;
height: 24px; height: 24px;
padding: 0 !important;
border: 0 !important; border: 0 !important;
background: @orange-light !important; background: @orange-light !important;
border-radius: @border-radius-sm !important; border-radius: @border-radius-sm !important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment